/* ==========================================================================
   DESAIN UI/UX MODERN, BERSIH, PROFESIONAL & RESPONSIVE (MOBILE-FIRST)
   SISTEM GURU WALI SMP NEGERI 16 PALEMBANG
   ========================================================================== */

:root {
    --primary: #1E3A8A;
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    --secondary: #0F172A;
    --accent: #D97706;
    --success: #059669;
    --success-bg: #ECFDF5;
    --warning: #D97706;
    --warning-bg: #FFFBEB;
    --danger: #DC2626;
    --danger-bg: #FEF2F2;
    --info: #2563EB;
    --info-bg: #EFF6FF;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --border: #E2E8F0;
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #64748B;
    --sidebar-width: 268px;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.55;
    font-size: 14.5px;
}

a {
    color: var(--primary-hover);
    text-decoration: none;
}

/* ==========================================================================
   HALAMAN AUTENTIKASI (LOGIN & LUPA KATA SANDI)
   ========================================================================== */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 55%, #1D4ED8 100%);
    padding: 20px;
}

.auth-wrapper {
    width: 100%;
    max-width: 1060px;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.auth-single-container {
    width: 100%;
    max-width: 480px;
}

.auth-brand-panel {
    background: linear-gradient(160deg, #1E3A8A 0%, #0F172A 100%);
    color: #FFFFFF;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.auth-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.2);
    color: #FDE68A;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.auth-school-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.auth-school-subtitle {
    color: #BFDBFE;
    font-size: 15px;
    font-weight: 600;
}

.auth-mission-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 22px;
    margin: 24px 0;
}

.auth-mission-box h2 {
    font-size: 15px;
    color: #FDE68A;
    margin-bottom: 8px;
}

.auth-mission-box p {
    font-size: 13.5px;
    color: #E2E8F0;
    margin-bottom: 16px;
}

.auth-scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-scope-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.45);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12.5px;
}

.scope-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F59E0B;
    color: #0F172A;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-footer-note {
    font-size: 12px;
    color: #94A3B8;
}

.auth-form-panel {
    padding: 36px;
    display: flex;
    align-items: center;
}

.auth-form-card {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 10px;
}

.auth-single-container .auth-form-card {
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.auth-brand-compact {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.auth-form-header h2 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.auth-form-header p {
    color: var(--text-muted);
    font-size: 13.5px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--secondary);
    margin-bottom: 6px;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-link-sm {
    font-size: 12.5px;
    font-weight: 600;
}

.form-control, .form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-main);
    background: #FFFFFF;
    transition: border-color 0.15s;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.password-input-group {
    display: flex;
    gap: 6px;
}

.btn-toggle-password {
    padding: 0 14px;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary);
}

.form-check-row {
    margin: 14px 0 18px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--text-muted);
}

.demo-accounts-box {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}

.demo-box-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.demo-btn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.btn-demo-role {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-demo-role:hover {
    background: var(--primary-light);
    border-color: #93C5FD;
}

.btn-demo-role strong {
    display: block;
    font-size: 11.5px;
    color: var(--primary);
}

.btn-demo-role span {
    font-size: 11px;
    color: var(--text-light);
}

/* ==========================================================================
   LAYOUT APLIKASI UTAMA (SIDEBAR + TOPBAR + KONTEN)
   ========================================================================== */
.app-body {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: var(--sidebar-width);
    background: #0F172A;
    color: #F8FAFC;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 18px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo {
    width: 42px;
    height: 42px;
}

.sidebar-brand-text strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0.4px;
    color: #FFFFFF;
}

.sidebar-brand-text span {
    font-size: 11.5px;
    color: #94A3B8;
}

.sidebar-role-card {
    margin: 14px 14px 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.role-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 99px;
    margin-bottom: 6px;
    background: #2563EB;
    color: #FFFFFF;
}

.role-admin { background: #DC2626; }
.role-kepsek { background: #D97706; }
.role-wakasek { background: #7C3AED; }
.role-guru_wali { background: #059669; }

.sidebar-user-name {
    font-weight: 600;
    font-size: 13.5px;
    color: #FFFFFF;
}

.sidebar-user-nip {
    font-size: 11.5px;
    color: #94A3B8;
}

.sidebar-nav {
    flex: 1;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #CBD5E1;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.15s;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.sidebar-link.active {
    background: var(--primary-hover);
    color: #FFFFFF;
    font-weight: 600;
}

.sidebar-footer {
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-topbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.topbar-subtitle {
    font-size: 12px;
    color: var(--text-light);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.context-switcher-form {
    display: flex;
    gap: 8px;
}

.form-select-sm {
    padding: 6px 10px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    background: #F8FAFC;
    color: var(--secondary);
}

.notif-badge-link {
    position: relative;
    font-size: 18px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid var(--border);
}

.notif-counter {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 99px;
}

.app-content {
    flex: 1;
    padding: 24px;
}

.app-footer {
    padding: 14px 24px;
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

/* ==========================================================================
   KOMPONEN UI (CARD, BUTTON, BADGE, ALERT, TABLE, TIMELINE, MODAL)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 11px 18px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #FFFFFF; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-success { background: var(--success); color: #FFFFFF; }
.btn-warning { background: var(--warning); color: #FFFFFF; }
.btn-danger { background: var(--danger); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; border-color: #CBD5E1; color: var(--text-main); }
.btn-outline:hover { background: #F1F5F9; }
.btn-danger-outline { background: transparent; border: 1px solid rgba(248, 113, 113, 0.5); color: #FCA5A5; }
.btn-danger-outline:hover { background: #DC2626; color: #FFFFFF; }

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 13.5px;
    border: 1px solid transparent;
}
.alert-success { background: var(--success-bg); color: #065F46; border-color: #A7F3D0; }
.alert-warning { background: var(--warning-bg); color: #92400E; border-color: #FDE68A; }
.alert-danger  { background: var(--danger-bg);  color: #991B1B; border-color: #FECACA; }
.alert-info    { background: var(--info-bg);    color: #1E40AF; border-color: #BFDBFE; }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--secondary);
}

.card-body {
    padding: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    margin: 6px 0;
}

.stat-meta {
    font-size: 12px;
    color: var(--text-light);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 600;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger); }
.badge-info    { background: var(--info-bg);    color: var(--info); }
.badge-neutral { background: #F1F5F9; color: #475569; }

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 13.5px;
    vertical-align: top;
}

.table th {
    background: #F8FAFC;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.table tr:hover td {
    background: #F8FAFC;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-end;
}

.filter-item {
    min-width: 160px;
    flex: 1;
}

.empty-state {
    text-align: center;
    padding: 36px 20px;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 6px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Timeline Profil Pendampingan Siswa (Bagian 9) */
.timeline {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid #CBD5E1;
}

.timeline-item {
    position: relative;
    margin-bottom: 18px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #FFFFFF;
}

/* Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-dialog {
    background: #FFFFFF;
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-hamburger, .mobile-only {
    display: none;
}

.sidebar-overlay {
    display: none;
}

.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }

/* ==========================================================================
   RESPONSIVE MOBILE & SMARTPHONE (Bagian 40 Spesifikasi)
   - Sidebar menjadi Hamburger Menu
   - Table berubah menjadi Card
   - Form satu kolom
   ========================================================================== */
@media (max-width: 900px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
    .auth-brand-panel {
        padding: 24px;
    }
    .demo-btn-grid {
        grid-template-columns: 1fr 1fr;
    }
    .app-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }
    .app-sidebar.open {
        transform: translateX(0);
    }
    .sidebar-overlay.show {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 90;
    }
    .app-main {
        margin-left: 0;
    }
    .btn-hamburger, .mobile-only {
        display: inline-flex;
        background: #F1F5F9;
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 6px 10px;
        font-size: 18px;
        cursor: pointer;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .app-content {
        padding: 14px;
    }
    /* Transformasi Table menjadi Card pada Smartphone */
    .table-mobile-card thead {
        display: none;
    }
    .table-mobile-card,
    .table-mobile-card tbody,
    .table-mobile-card tr,
    .table-mobile-card td {
        display: block;
        width: 100%;
    }
    .table-mobile-card tr {
        background: #FFFFFF;
        border: 1px solid var(--border);
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 10px 12px;
        box-shadow: var(--shadow-sm);
    }
    .table-mobile-card td {
        border-bottom: 1px dashed #E2E8F0;
        padding: 7px 4px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        text-align: right;
    }
    .table-mobile-card td:last-child {
        border-bottom: none;
    }
    .table-mobile-card td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 12px;
        color: var(--text-muted);
        text-align: left;
        flex-shrink: 0;
    }
}

/* ==========================================================================
   PENYEMPURNAAN TAMPILAN (UI POLISH)
   - Elemen khusus cetak disembunyikan di layar (print.css hanya dimuat saat print)
   - Topbar rapi di desktop & smartphone
   ========================================================================== */
.official-kop,
.print-title-box,
.print-only-header,
.print-footer-info,
.signature-container.print-only {
    display: none;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

.app-content {
    min-width: 0;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.app-topbar {
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.topbar-left {
    min-width: 0;
    flex: 1;
}

.topbar-title-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar-page-title {
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-right {
    flex-shrink: 0;
}

.form-select-sm {
    max-width: 190px;
    cursor: pointer;
}

.card-header > div:first-child {
    min-width: 0;
}

.card-title {
    margin: 0;
    line-height: 1.35;
}

.card-header .text-muted {
    margin: 4px 0 0 0;
    font-size: 13px;
}

.btn {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .app-topbar {
        flex-wrap: wrap;
        padding: 10px 14px;
        gap: 10px;
    }

    .topbar-left {
        flex: 1 1 100%;
        gap: 10px;
    }

    .topbar-page-title {
        font-size: 15px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .topbar-subtitle {
        font-size: 11.5px;
    }

    .topbar-right {
        flex: 1 1 100%;
        width: 100%;
        gap: 8px;
    }

    .context-switcher-form {
        flex: 1;
        min-width: 0;
    }

    .context-switcher-form .form-select-sm {
        flex: 1;
        min-width: 0;
        max-width: none;
    }

    .card-header {
        padding: 14px;
    }

    .card-body {
        padding: 14px;
    }

    .card-header > div[style*="display:flex"] {
        width: 100%;
    }

    .card-header .btn {
        flex: 1 1 auto;
    }

    .filter-item {
        min-width: 100%;
    }

    .btn {
        white-space: normal;
    }

    .modal-dialog {
        max-height: 94vh;
    }

    .app-footer {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* ==========================================================================
   HALAMAN LOGIN — PENYESUAIAN SMARTPHONE
   ========================================================================== */
@media (max-width: 900px) {
    .auth-body {
        align-items: flex-start;
        padding: 14px;
    }

    .auth-wrapper {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
        margin: 0 auto;
    }

    .auth-brand-panel,
    .auth-form-panel,
    .auth-brand-header > div,
    .auth-mission-box,
    .auth-form-card {
        min-width: 0;
    }

    .auth-brand-panel {
        padding: 22px 18px;
    }

    .auth-brand-header {
        gap: 12px;
    }

    .auth-logo {
        width: 56px;
        height: 56px;
    }

    .auth-badge {
        font-size: 10px;
        padding: 3px 8px;
        max-width: 100%;
        white-space: normal;
    }

    .auth-school-title {
        font-size: 19px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .auth-school-subtitle {
        font-size: 13px;
    }

    .auth-mission-box {
        padding: 16px;
        margin: 18px 0;
    }

    .auth-scope-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-footer-note {
        font-size: 11.5px;
    }

    .auth-form-panel {
        padding: 22px 18px;
    }

    .auth-form-card {
        padding: 0;
    }

    .demo-btn-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .demo-box-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
