/* Layout - Grid and Responsive Design */
.container {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 24px;
    max-width: 1800px;
    margin: 0 auto;
}

.main-content {
    min-width: 0;
    position: relative;
}

/* Responsive: Sidebar drawers */
@media (max-width: 1400px) {
    .container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 320px;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        border-radius: 0;
        border: none;
        border-right: 1px solid var(--border-default);
    }

    .sidebar:last-child {
        right: 0;
        left: auto;
        transform: translateX(100%);
        border-right: none;
        border-left: 1px solid var(--border-default);
    }

    .sidebar.drawer-open {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 85vw;
        max-width: 320px;
    }
}
