/* css/layout.css */
body {
    background-color: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding-top: 60px;
    font-family: 'Courier New', Courier, monospace;
}

.top-nav {
    position: absolute;
    top: 0; left: 0; width: 100%;
    background: #0f172a;
    padding: 15px 30px;
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #4cc9f0;
    box-sizing: border-box;
}

.top-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: 0.2s;
}

.top-nav a:hover { color: #fff; }
.top-nav a.active { color: #ff3333; }

.dashboard {
    display: flex;
    flex-direction: row;
    background: #16213e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    width: 95vw; 
    max-width: 1400px; 
    min-height: 100dvh; /* dvh stands for Dynamic Viewport Height */
    margin-bottom: 40px; /* Gives buffer at the bottom of the page */
    gap: 40px;
}

.left-panel {
    display: flex;
    flex-direction: column;
    width: 450px;
    flex-shrink: 0;
}

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* REMOVED overflow-y: auto; */
    padding-right: 10px;
}

/* --- CUSTOM SCROLLBAR (Now applies to the whole window) --- */
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: #0f172a; }
body::-webkit-scrollbar-thumb { background: #4cc9f0; border-radius: 4px; }
body::-webkit-scrollbar-thumb:hover { background: #0ea5e9; }