/* =========================================================
   Team TCB Inventory & Billing Manager
   Minimal black & yellow theme
   ========================================================= */

:root {
    /* Legacy variables mapping to new for safety */
    --black: #1A1A1A;
    --black-soft: #242424;
    --yellow: #C9A227; /* mapping gold */
    --yellow-dark: #B8802E; /* mapping amber */
    --bg: #FBFAF8; /* mapping canvas */
    --card: #FFFFFF; /* mapping surface */
    --border: #E5DFD6; /* mapping line */
    --text: #1A1A1A; /* mapping ink */
    --text-muted: #6B6660;
    --danger: #6B0F1A; /* mapping maroon */
    --success: #2F6B4F; /* mapping emerald */
    --radius: 18px; /* mapping card radius */
    --shadow: 0 4px 20px rgba(107,15,26,0.06);

    /* New Redesign Tokens */
    --color-canvas: #FBFAF8;
    --color-surface: #FFFFFF;
    --color-maroon: #6B0F1A;
    --color-gold: #C9A227;
    --color-emerald: #2F6B4F;
    --color-amber: #B8802E;
    --color-slate: #4A5A6B;
    --color-ink: #1A1A1A;
    --color-muted: #6B6660;
    --color-line: #E5DFD6;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --radius-card: 18px;
    --shadow-card: 0 4px 20px rgba(107,15,26,0.06);
    --gap-section: 24px;
    --pad-card: 24px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--color-canvas);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 15px;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Layout ---------- */
.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 226px;
    background: var(--black);
    color: var(--black-text, #fff);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
}

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

.sidebar .brand .dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--yellow);
}

.sidebar .brand h1 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.2px;
}
.sidebar .brand span {
    display: block;
    font-size: 11px;
    color: #9c9c98;
    font-weight: 400;
}

.sidebar nav {
    flex: 1;
    padding: 14px 10px;
    overflow-y: auto;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 8px;
    color: #cfcfcb;
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.sidebar nav a i { font-size: 17px; width: 20px; text-align: center; }

.sidebar nav a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.sidebar nav a.active {
    background: var(--yellow);
    color: var(--yellow-text, var(--black));
    font-weight: 700;
}

.sidebar .user-box {
    padding: 14px 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12.5px;
}
.sidebar .user-box .name { font-weight: 600; color: #fff; }
.sidebar .user-box .role { color: #9c9c98; text-transform: capitalize; }
.sidebar .user-box a.logout { color: var(--yellow); font-weight: 600; display: inline-block; margin-top: 6px; }

/* ---------- Main content ---------- */
.main {
    margin-left: 226px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}

.topbar h2 { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.topbar .sub { color: var(--color-muted); font-size: 13px; margin-top: 4px; }

.content {
    padding: 24px 28px;
    flex: 1;
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 16px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: var(--pad-card);
    min-width: 0;
}

.card h3 { margin: 0 0 14px 0; font-family: var(--font-display); font-size: 19px; font-weight: 500; }

.stat-card { position: relative; overflow: hidden; }
.stat-card .label { color: var(--color-muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card .value { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; padding-right: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-card .icon {
    position: absolute; right: var(--pad-card); top: var(--pad-card);
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s, transform 0.05s;
    font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--yellow-text, var(--black)); }
.btn-primary:hover { filter: brightness(0.95); }
.btn-dark { background: var(--black); color: var(--black-text, #fff); }
.btn-dark:hover { filter: brightness(1.3); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: #f1f1ee; }
.btn-danger { background: #fdeceb; color: var(--danger); }
.btn-danger:hover { background: #fbdcda; }
.btn-sm { padding: 6px 10px; font-size: 12.5px; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Quick Actions Module Phase 2 */
.qa-card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-line);
    padding: var(--pad-card);
    margin-bottom: var(--gap-section);
}
.qa-card-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--color-ink);
    margin: 0 0 16px 0;
}
.qa-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1100px) { .qa-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .qa-grid { grid-template-columns: repeat(2, 1fr); } }

.qa-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    text-align: center;
    color: var(--color-ink);
}
.qa-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}
.qa-tile-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    transition: filter 0.15s;
}
.qa-tile:hover .qa-tile-icon { filter: brightness(0.9); }
.qa-tile-label {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
}

.numeric {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* ---------- Forms ---------- */
label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: #444; }
input, textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--yellow-dark);
    box-shadow: 0 0 0 3px rgba(255,195,0,0.25);
}

/* ---------- Ultra-Modern Luxury Dropdowns (Global) ---------- */
select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 100%;
    padding: 9.5px 40px 9.5px 14px;
    padding-right: 40px !important;
    border: 1.5px solid var(--color-line, #E5DFD6);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    background-color: #FFFFFF;
    color: var(--color-ink, #1A1A1A);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236B6660" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
select:hover {
    border-color: var(--color-slate, #4A5A6B);
    background-color: #FAFAFC;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%231A1A1A" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
}
select:focus {
    outline: none !important;
    border-color: var(--color-gold, #C9A227) !important;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23C9A227" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
}
select:disabled {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
    color: #94A3B8;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.8;
}
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table th, table td { white-space: nowrap; }
thead th {
    text-align: left;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    font-weight: 500;
    padding: 10px 12px;
    border-bottom: 2px solid var(--color-line);
}
tbody td { padding: 11px 12px; border-bottom: 1px solid var(--color-line); vertical-align: middle; }
tbody tr.hover-row:hover { background: var(--color-canvas); }
tbody tr:last-child td { border-bottom: none; }

.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}
.badge-yellow { background: rgba(184, 128, 46, 0.12); color: var(--color-amber); }
.badge-green { background: rgba(47, 107, 79, 0.12); color: var(--color-emerald); }
.badge-red { background: rgba(107, 15, 26, 0.12); color: var(--color-maroon); }
.badge-gray { background: #eee; color: var(--color-muted); }

/* ---------- Toolbar ---------- */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}
.toolbar .search-box { position: relative; width: 280px; max-width: 100%; }
.toolbar .search-box i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.toolbar .search-box input { padding-left: 32px; }

/* ---------- Modal ---------- */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(20,20,20,0.5);
    align-items: center; justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
    background: #fff;
    border-radius: var(--radius);
    width: 480px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px;
}
.modal h3 { margin: 0 0 16px 0; font-size: 16px; }
.modal .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.modal-close { float: right; cursor: pointer; color: var(--text-muted); font-size: 20px; line-height: 1; }

/* ---------- POS / Billing screen ---------- */
.pos-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.pos-products { max-height: calc(100vh - 180px); overflow-y: auto; }
.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pos-item {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 12px 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s;
}
.pos-item:hover { border-color: var(--yellow); }
.pos-item .name { font-weight: 700; font-size: 13px; }
.pos-item .price { color: var(--yellow-dark); font-weight: 700; margin-top: 5px; }
.pos-item .stock { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.pos-item.out { opacity: 0.4; cursor: not-allowed; }

.cart-panel { position: sticky; top: 14px; }
.qty-pill {
    display: inline-flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 20px;
    padding: 2px;
    white-space: nowrap;
    border: 1px solid #e0e0e0;
}
.qty-pill button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 0;
    color: var(--black);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.1s, box-shadow 0.1s;
}
.qty-pill button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.qty-pill button:active {
    transform: scale(0.95);
}
.qty-pill span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    padding: 0 4px;
}
.cart-line .line-total { width: 70px; text-align: right; font-weight: 700; font-size: 13px; }
.cart-line .remove { color: var(--danger); cursor: pointer; font-size: 15px; }

.summary-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13.5px; }
.summary-row.total { font-size: 18px; font-weight: 800; border-top: 2px solid var(--black); margin-top: 8px; padding-top: 10px; }

/* ---------- Login ---------- */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111 0%, #2b2b2b 100%);
    position: relative;
    overflow: hidden;
}
.login-wrap::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,195,0,0.06) 0%, rgba(255,195,0,0) 70%);
    top: -250px;
    left: -250px;
    border-radius: 50%;
}
.login-wrap::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,195,0,0.04) 0%, rgba(255,195,0,0) 70%);
    bottom: -200px;
    right: -200px;
    border-radius: 50%;
}
.login-box {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px 36px 28px;
    width: 400px;
    max-width: 92%;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
    position: relative;
    z-index: 10;
}
.login-box .logo { text-align: center; margin-bottom: 12px; }
.login-box h1 { text-align: center; font-size: 22px; margin: 6px 0 2px; color: #fff; letter-spacing: -0.5px; }
.login-box p.sub { text-align: center; color: #aaa; font-size: 13.5px; margin: 0 0 28px; }
.login-box .field label { color: #ccc; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.login-box input { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 13px 14px; font-size: 14.5px; color: #fff; transition: all 0.2s;}
.login-box input::placeholder { color: #666; }
.login-box input:focus { background: rgba(0,0,0,0.5); border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,195,0,0.15); outline: none; }
.login-box .btn-primary { border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 700; background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%); color: var(--yellow-text, #000); border: none; margin-top: 10px; transition: all 0.2s; }
.login-box .btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,195,0,0.25); }
.login-error { background: rgba(224, 69, 63, 0.15); border: 1px solid rgba(224, 69, 63, 0.3); color: #ff8b85; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px;}

/* ---------- Misc ---------- */
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state i { font-size: 34px; display: block; margin-bottom: 10px; color: #ddd; }

.toast {
    position: fixed;
    bottom: 22px; right: 22px;
    background: var(--black);
    color: #fff;
    padding: 12px 18px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 999;
    display: flex; align-items: center; gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success i { color: #6fdc8c; }
.toast.error i { color: #ff8b85; }

/* ---------- Print invoice ---------- */
@media print {
    .no-print { display: none !important; }
    
    @page {
        margin: 10mm;
        @bottom-right {
            content: "Page " counter(page) " of " counter(pages);
        }
    }
    
    body { background: #fff; }
    .invoice-print { box-shadow: none !important; border: none !important; }
}

/* ---------- Mobile Responsive Overhaul ---------- */
.menu-toggle-btn { display: none; }
.sidebar-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.dashboard-charts-grid {
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 900px) {
    .menu-toggle-btn { display: inline-flex !important; }
    
    .sidebar { position: fixed; left: -260px; z-index: 9999; transition: left 0.3s ease; box-shadow: none; }
    .sidebar.open { left: 0; box-shadow: 2px 0 15px rgba(0,0,0,0.5); }
    
    .main { margin-left: 0; }
    
    .topbar { padding: 12px 16px; }
    .content { padding: 16px; }
    
    :root {
        --pad-card: 16px;
        --gap-section: 16px;
    }
    
    .dashboard-charts-grid { grid-template-columns: 1fr; }
    
    /* Make stat cards smaller on mobile */
    .stat-card .value { font-size: 20px; }
    
    /* Grid overrides for < 900px */
    .grid-5, .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    .pos-layout { grid-template-columns: 1fr; }
    .pos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    /* Stack stats on very small screens or keep as 2-column? 2-column is okay, but 1-column is safer if values are large. Let's keep 2-column for stats if they fit, but stack if needed. */
    .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    /* Let's make stats specifically 2-column on mobile for compactness if we use a specific class, but grid-4 is what it uses currently */
    .grid-4 { grid-template-columns: repeat(2, 1fr); } 
    /* Actually, today's sales and bills side by side looks good on phone. We'll leave grid-4 as 2 cols */
    
    .qa-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .qa-tile { padding: 12px; }
    
    .topbar h2 { font-size: 22px; }
    
    /* Modal and Form fixes for mobile */
    .modal { padding: 20px; width: 95%; max-width: 400px; margin: 20px auto; }
    .field-row { grid-template-columns: 1fr; gap: 12px; }
}


/* Bottom Navigation Bar (Hidden on Desktop) */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    .content {
        padding-bottom: 90px !important;
    }
    .site-footer {
        padding-bottom: 80px !important;
    }
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        padding: 0 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 10px;
        font-weight: 700;
        gap: 4px;
        width: 60px;
        height: 50px;
        border-radius: 16px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .mobile-bottom-nav .nav-item i {
        font-size: 22px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .mobile-bottom-nav .nav-item.active {
        color: var(--yellow-dark);
        background: rgba(201, 162, 39, 0.12);
    }
    
    .mobile-bottom-nav .nav-item.active i {
        transform: translateY(-2px) scale(1.1);
        color: var(--yellow-dark);
    }
    
    .mobile-bottom-nav .nav-item:active {
        transform: scale(0.92);
    }
}
