/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        width: 240px !important;
        z-index: 99999 !important;
        transition: transform 0.3s ease !important;
    }

    .sidebar.open {
        transform: translateX(0) !important;
        box-shadow: var(--shadow-lg) !important;
    }

    #md-hamburger {
        position: relative;
        z-index: 999999 !important;
        pointer-events: all !important;
    }

    .main-content { margin-left: 0; }
    .btn-hamburger { display: flex !important; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .page-body { padding: 16px; }
    .topbar { padding: 0 16px; }
    .modal-box {
        max-width: 100%;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        position: fixed;
        bottom: 0;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-body {
        max-height: 65vh;
        overflow-y: auto;
    }
    .main-content { margin-left: 0; }
    .btn-hamburger { display: flex; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .page-body { padding: 16px; }
    .topbar { padding: 0 16px; }
    .modal-box {
        max-width: 100%;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        position: fixed;
        bottom: 0;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-body {
        max-height: 65vh;
        overflow-y: auto;
    }
}