/* ═══════════════════════════════════════════
   Đường Thọ Prompts — Modern Design System v3
   Header Fix · Mobile & Tablet Ultra Responsive System
   ═══════════════════════════════════════════ */

:root {
    --primary: #7C5CFF;
    --primary-dark: #6847E8;
    --primary-light: #F1EDFF;
    --primary-glow: rgba(124, 92, 255, 0.25);
    --bg: #F7F7FA;
    --card: #FFFFFF;
    --text: #17151F;
    --muted: #6E6A7C;
    --border: #E9E7F0;
    --green: #16A34A;
    --green-light: #DCFCE7;
    --amber: #D97706;
    --amber-light: #FEF3C7;
    --red: #DC2626;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(23, 21, 31, 0.05);
    --shadow-md: 0 8px 24px rgba(23, 21, 31, 0.08);
    --shadow-hover: 0 12px 32px rgba(124, 92, 255, 0.18);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(ellipse 90% 500px at 50% -80px, rgba(124, 92, 255, 0.14), transparent),
        linear-gradient(180deg, #ECE7FD 0%, #F4F2FB 420px, var(--bg) 850px);
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; padding-bottom: 60px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }

a { color: var(--primary); text-decoration: none; transition: all 0.15s ease; }
a:hover { opacity: 0.85; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ─── Header Navigation (Single Line Fix) ─── */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #9B82FF);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 4px 12px var(--primary-glow);
    border: 1px solid rgba(255,255,255,0.3);
}

.brand b { color: var(--primary); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.admin-nav-btn {
    background: #1E1B2E !important;
    color: #FBBF24 !important;
    border: 1px solid #3B2D71 !important;
    white-space: nowrap;
}

.nav-btn {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px var(--primary-glow);
    white-space: nowrap;
}
.nav-btn:hover { background: var(--primary-dark) !important; opacity: 1 !important; transform: translateY(-1px); }

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F0EFF6;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
}

.user-avatar-sm {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--primary);
}

.nav-badge-admin {
    background: linear-gradient(135deg, #7C5CFF, #4338CA);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.nav-badge-vip {
    background: #F59E0B;
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.nav-badge-free {
    background: #E5E7EB;
    color: #4B5563;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-toggle-cb { display: none; }
.nav-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* ─── Profile Strip ─── */
.profile-strip {
    text-align: center;
    padding: 32px 0 20px;
}

.avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.25);
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: var(--primary);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.profile-name { font-size: 28px; font-weight: 900; color: var(--text); }
.profile-name b { color: var(--primary); }
.byline { color: var(--muted); font-size: 15.5px; margin-top: 4px; font-weight: 500; }

/* ─── User Guide Cards & Code Box ─── */
.guide-step-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}

.step-num {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.2;
}

.command-code-box {
    background: #1E1B2E;
    color: #F8F7FC;
    padding: 12px 14px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 13px;
    margin-top: 8px;
    border: 1px solid #3B2D71;
    position: relative;
    line-height: 1.5;
}

/* ─── Filter & Search Controls Bar ─── */
.controls-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: all 0.15s ease;
}
.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 16px;
    pointer-events: none;
}

.sort-select {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: var(--text);
    outline: none;
    cursor: pointer;
}
.sort-select:focus { border-color: var(--primary); }

.cat-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.pill {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    background: #F0EFF6;
    color: var(--muted);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.pill:hover { background: #E5E3F0; color: var(--text); }
.pill.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* ─── VIP Upgrade Banner & Package Switcher ─── */
.vip-banner {
    background: linear-gradient(135deg, #1E1B2E 0%, #3B2D71 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 18px 24px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.vip-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}
.vip-banner-text span { font-size: 28px; }

/* VIP Package Selection Grid in Modal */
.vip-pkg-card {
    background: #F8F7FC;
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.vip-pkg-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.vip-pkg-card.active {
    background: #EEF2FF;
    border-color: var(--primary);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.pkg-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: #E2E8F0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 6px;
}
.pkg-badge.recommended { background: #FEF3C7; color: #D97706; }
.pkg-badge.lifetime { background: #F3E8FF; color: #7E22CE; }

.pkg-title { font-size: 14px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.pkg-price { font-size: 18px; font-weight: 900; color: var(--primary); margin-bottom: 2px; }
.pkg-sub { font-size: 11px; color: var(--muted); }

.qr-display-box {
    transition: all 0.25s ease;
}

/* ─── Prompts Grid Layout ─── */
.plist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 800;
}

.prompt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    min-height: 200px;
}

.pcard {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(124, 92, 255, 0.4);
}

.pcard-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    min-height: 140px;
    background: #EAE8F2;
    overflow: hidden;
}

.pcard-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.pcard:hover .pcard-thumb img { transform: scale(1.05); }

.badge-status {
    position: absolute;
    top: 10px; right: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
}
.badge-status.is-free { background: rgba(22, 163, 74, 0.9); }
.badge-status.is-premium { background: rgba(217, 119, 6, 0.95); }

.pcard-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pcard-cat {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.pcard-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: 40px;
}

.pcard-foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Pagination Bar */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text);
    transition: all 0.15s ease;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
.page-dots { padding: 0 6px; color: var(--muted); }

/* Buttons & Inputs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-amber { background: #F59E0B; color: #fff; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3); }
.btn-amber:hover { background: #D97706; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* Form Controls */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    font-family: inherit;
    background: #fff;
    color: var(--text);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

/* Modal System */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15, 13, 25, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-box {
    background: var(--card);
    border-radius: 20px;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s ease;
    position: relative;
}

.modal-backdrop.active .modal-box { transform: translateY(0) scale(1); }

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.modal-title { font-size: 18px; font-weight: 800; }

.close-btn {
    background: #F0EFF6;
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}
.close-btn:hover { background: #E2E0EE; color: var(--text); }

.modal-body { padding: 24px; }

/* Prompt Box & Markdown Render Styling */
.prompt-box-wrapper {
    background: #F8F7FC;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 16px;
    position: relative;
}

.prompt-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prompt-rendered-content {
    font-family: var(--font);
    font-size: 14px;
    color: #231F2E;
    line-height: 1.65;
}

.prompt-rendered-content .md-h1 { font-size: 18px; font-weight: 800; color: var(--primary); margin: 16px 0 8px; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
.prompt-rendered-content .md-h2 { font-size: 16px; font-weight: 700; color: #3730A3; margin: 14px 0 6px; }
.prompt-rendered-content .md-h3 { font-size: 14.5px; font-weight: 700; color: #4338CA; margin: 12px 0 4px; }
.prompt-rendered-content .md-li { margin-left: 20px; list-style-type: disc; margin-bottom: 4px; }
.prompt-rendered-content .md-inline-code { background: #E0E7FF; color: #3730A3; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 13px; }

.copy-mini-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px var(--primary-glow);
    white-space: nowrap;
}
.copy-mini-btn:hover { background: var(--primary-dark); }

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #1E1B2E;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   ULTRA RESPONSIVE BREAKPOINTS (DESKTOP, TABLET & MOBILE)
   ═══════════════════════════════════════════ */

/* 1. Large Desktops (> 1024px) */
@media (min-width: 1025px) {
    .prompt-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
    }
}

/* 2. Tablets & Small Laptops (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container { padding: 0 16px !important; }
    .prompt-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
    .vip-banner { padding: 16px 20px; }
    .profile-name { font-size: 24px; }
    .profile-avatar { width: 90px; height: 90px; }
}

/* 3. Small Tablets & Big Phones (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container { padding: 0 14px !important; }
    
    .prompt-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 60px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: none;
    }
    .nav-toggle-cb:checked ~ .main-nav { display: flex; }

    .controls-bar { padding: 14px; }
    .search-row { flex-direction: column; gap: 10px; }
    .sort-select { width: 100%; }

    .cat-pills {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .pill { flex-shrink: 0; font-size: 12.5px; }

    .vip-banner { flex-direction: column; text-align: center; gap: 14px; }
    .vip-banner .btn { width: 100%; }
}

/* 4. Compact Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
    .container { padding: 0 12px !important; }

    /* 2-Column Grid on Mobile for Modern App-like Feel */
    .prompt-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .pcard {
        border-radius: 12px !important;
    }

    .pcard-body {
        padding: 10px !important;
    }

    .pcard-title {
        font-size: 13px !important;
        min-height: 36px !important;
        margin-bottom: 6px !important;
    }

    .pcard-foot {
        padding-top: 8px !important;
    }

    .pcard-foot .btn {
        padding: 6px 8px !important;
        font-size: 11.5px !important;
    }

    .nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 60px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: none;
    }
    .nav-toggle-cb:checked ~ .main-nav { display: flex; }

    .profile-strip { padding: 18px 0 12px; }
    .profile-avatar { width: 72px; height: 72px; }
    .profile-name { font-size: 20px; }
    .byline { font-size: 13px; }

    .controls-bar { padding: 12px; }
    .search-row { flex-direction: column; gap: 8px; }
    .sort-select { width: 100%; }

    .cat-pills {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .pill { flex-shrink: 0; font-size: 12px; padding: 5px 12px; }

    .vip-banner { flex-direction: column; text-align: center; gap: 12px; padding: 14px; }
    .vip-banner-text { flex-direction: column; gap: 4px; font-size: 14px; }
    .vip-banner .btn { width: 100%; }

    /* Modals Mobile */
    .modal-backdrop { padding: 8px; }
    .modal-box { border-radius: 14px; }
    .modal-header { padding: 12px 14px; }
    .modal-body { padding: 14px; }
    .modal-title { font-size: 15px; }

    .toast-container { left: 12px; right: 12px; bottom: 12px; }
    .toast { font-size: 12.5px; padding: 10px 14px; }
}

/* 5. Admin Portal Mobile Responsive (admin.html) */
@media (max-width: 900px) {
    .adm-app-shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 90vh;
        border-radius: 16px;
    }
    .admin-sidebar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        overflow-x: auto;
    }
    .admin-nav-menu {
        flex-direction: row;
        overflow-x: auto;
        gap: 6px;
        width: 100%;
    }
    .admin-nav-item {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    .stat-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .adm-table {
        font-size: 12px;
    }
    .adm-table th, .adm-table td {
        padding: 8px 10px;
    }
}
