/* General Layout Structure */
.row {
    width: 1200px; /* Default desktop width */
    margin: 0 auto;
}

.main {
    margin-left: 200px; /* Base for desktop, overridden for mobile */
    padding: 10px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    border-radius: 6px;
    background-color: var(--primary-color);
    display: flex; /* Default display */
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

/* Sidebar */
.sidebar {
    background-color: #e6e6e6;
    padding: 25px;
    height: 100vh; /* Full viewport height for non-desktop layouts, adjusted for desktop in responsive.css */
    position: fixed; /* Fixed by default, changed to static on mobile */
    top: 0; /* Starts at the very top, will overlap header if higher z-index */
    left: 0;
    width: 100%; /* Full width for small screens */
    max-width: 250px; /* Max width for desktop */
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 1001; /* Higher than header, so it will overlap if top:0 */
}

.sidebar h2 {
    margin-top: 5px;
    color: var(--primary-color);
}