/* ═══════════════════════════════════════════════════════════════
   Moove — Clean & Modern Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
    --bg:          #09090b;
    --bg-card:     #18181b;
    --text:        #f8fafc;
    --text-muted:  #94a3b8;
    --text-light:  #cbd5e1;
    --border:      #27272a;
    --primary:     #3B82F6;
    --primary-light: rgba(59, 130, 246, 0.15);
    --primary-dark: #2563EB;
    --accent:      #F59E0B;
    --danger:      #EF4444;
    --danger-light: rgba(239, 68, 68, 0.15);
    --warning:     #F59E0B;
    --warning-light:rgba(245, 158, 11, 0.15);
    --success:     #10B981;
    --success-light:rgba(16, 185, 129, 0.15);
    --shadow-sm:   0 1px 3px rgba(0,0,0,.3);
    --shadow-md:   0 4px 12px rgba(0,0,0,.4);
    --shadow-lg:   0 8px 30px rgba(0,0,0,.5);
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --transition:  all .25s cubic-bezier(.4,0,.2,1);
    --font:        'Prompt', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;
    
    --navbar-bg:   rgba(24, 24, 27, 0.7);
    --navbar-border: rgba(255, 255, 255, 0.08);
    --invert-close-btn: invert(1) grayscale(100%) brightness(200%);
}

[data-theme="light"] {
    --bg:          #f8fafc;
    --bg-card:     #ffffff;
    --text:        #0f172a;
    --text-muted:  #64748b;
    --text-light:  #475569;
    --border:      #e2e8f0;
    --primary:     #2563eb;
    --primary-light: rgba(37, 99, 235, 0.1);
    --primary-dark: #1d4ed8;
    --shadow-sm:   0 3px 10px rgba(0,0,0,.08);
    --shadow-md:   0 8px 24px rgba(0,0,0,.12);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.16);
    
    --navbar-bg:   rgba(255, 255, 255, 0.75);
    --navbar-border: rgba(0, 0, 0, 0.08);
    --invert-close-btn: invert(0);
}

[data-theme="light"] .hero-title {
    background: linear-gradient(to right, #0f172a, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

[data-theme="light"] .nav-link:hover, 
[data-theme="light"] .nav-link.active,
[data-theme="light"] .dropdown-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .dropdown-profile-btn {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

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

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-wrapper {
    position: sticky;
    top: 1rem;
    z-index: 1030;
    padding: 0 1rem;
}

.moove-navbar {
    background: var(--navbar-bg);
    border: 1px solid var(--navbar-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: .5rem 1.25rem;
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 1200px;
    margin: 0 auto;
    transition: var(--transition);
}

.moove-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.moove-brand .brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem 1rem !important;
    border-radius: 100px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-menu .dropdown-item {
    color: var(--text);
    transition: var(--transition);
    border-radius: 6px;
    margin: 0 .25rem;
    width: auto;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}
.dropdown-menu .dropdown-item.text-danger:hover {
    background: var(--danger-light);
    color: var(--danger) !important;
}

.cart-badge {
    position: relative;
}

.cart-badge .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: .65rem;
    padding: .2rem .45rem;
    border-radius: 50px;
    background: var(--danger);
    border: 2px solid var(--bg-card);
}

/* ── Hero / Page Header ────────────────────────────────────── */
.page-header {
    padding: 2.5rem 0 1.5rem;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.page-header .subtitle {
    color: var(--text-muted);
    font-size: .95rem;
    margin-top: .25rem;
}

/* ── Cards ──────────────────────────────────────────────────── */
.moove-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.moove-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.moove-card .card-body { padding: 1.25rem; }

/* ── Product Cards ─────────────────────────────────────────── */
.product-card {
    position: relative;
    cursor: pointer;
}

.product-card .product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .flavor-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.product-card .product-info {
    padding: 1rem 1.25rem;
}

.product-card .flavor-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: .15rem;
}

.product-card .flavor-name-th {
    color: var(--text-muted);
    font-size: .8rem;
}

.product-card .product-footer {
    padding: .75rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card .price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.product-card .stock-badge {
    font-size: .75rem;
    padding: .2rem .6rem;
    border-radius: 50px;
    font-weight: 500;
}

.stock-in {
    background: var(--success-light);
    color: var(--success);
}

.stock-low {
    background: var(--warning-light);
    color: var(--warning);
}

.stock-out {
    background: var(--danger-light);
    color: var(--danger);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-moove {
    background: var(--primary);
    color: white;
    border: none;
    padding: .6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: .9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.btn-moove:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91,140,126,.3);
}

.btn-moove-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: .55rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: .9rem;
    transition: var(--transition);
}

.btn-moove-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-moove-danger {
    background: var(--danger);
    color: white;
    border: none;
    padding: .6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.btn-moove-danger:hover {
    background: #C0392B;
    color: white;
}

.btn-moove-sm {
    padding: .4rem 1rem;
    font-size: .8rem;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .65rem 1rem;
    font-size: .9rem;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91,140,126,.15);
}

.form-label {
    font-weight: 500;
    font-size: .85rem;
    color: var(--text);
    margin-bottom: .35rem;
}

/* ── Quantity Selector ──────────────────────────────────────── */
.qty-selector {
    display: flex;
    align-items: center;
    gap: .25rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: .2rem;
}

.qty-selector button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-card);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}

.qty-selector button:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.qty-selector input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: .9rem;
}

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    font-size: .9rem;
    padding: .75rem 1.25rem;
}

.alert-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.alert-danger  { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }
.alert-warning { background: var(--warning-light); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.alert-info    { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(59, 130, 246, 0.3); }

/* Floating Alerts (Modern Toast) */
.floating-alert {
    background: var(--bg-card) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
}
.floating-alert.alert-success { border-left: 4px solid var(--success) !important; }
.floating-alert.alert-danger  { border-left: 4px solid var(--danger) !important; }
.floating-alert.alert-warning { border-left: 4px solid var(--warning) !important; }
.floating-alert.alert-info    { border-left: 4px solid var(--primary) !important; }

.floating-alert.alert-success i.bi { color: var(--success); }
.floating-alert.alert-danger i.bi  { color: var(--danger); }
.floating-alert.alert-warning i.bi { color: var(--warning); }
.floating-alert.alert-info i.bi    { color: var(--primary); }

.floating-alert .btn-close {
    filter: var(--invert-close-btn);
    opacity: 0.6;
}
.floating-alert .btn-close:hover {
    opacity: 1;
}

/* ── Status Badges ──────────────────────────────────────────── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .75rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 500;
}

.status-pending   { background: var(--warning-light); color: var(--warning); }
.status-paid      { background: var(--primary-light); color: var(--primary); }
.status-confirmed { background: var(--success-light); color: var(--success); }
.status-shipped   { background: rgba(139, 92, 246, 0.15); color: #A78BFA; }
.status-completed { background: var(--primary-light); color: var(--primary); }
.status-cancelled { background: var(--danger-light); color: var(--danger); }

/* ── Cart ───────────────────────────────────────────────────── */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item .item-color {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cart-item .item-info { flex: 1; }
.cart-item .item-name { font-weight: 600; font-size: .95rem; }
.cart-item .item-price { color: var(--text-muted); font-size: .85rem; }
.cart-item .item-subtotal { font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ── Payment QR ─────────────────────────────────────────────── */
.qr-container {
    text-align: center;
    padding: 2rem;
}

.qr-container img {
    max-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.qr-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0 .25rem;
}

.qr-label {
    color: var(--text-muted);
    font-size: .9rem;
}

/* ── Admin Dashboard ───────────────────────────────────────── */
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: .75rem;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: .85rem;
    margin-top: .15rem;
}

/* ── Admin Table ───────────────────────────────────────────── */
.moove-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text);
}

.moove-table thead th {
    background: var(--bg);
    padding: .75rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.moove-table tbody td {
    padding: .85rem 1rem;
    font-size: .9rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.moove-table tbody tr:hover {
    background: var(--bg);
}

/* ── Low Stock Alert ───────────────────────────────────────── */
.low-stock-row {
    background: var(--danger-light) !important;
}

.low-stock-row td {
    color: var(--danger) !important;
    font-weight: 500;
}

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card .auth-logo h2 {
    font-weight: 700;
    color: var(--primary);
    margin-top: .5rem;
}

.auth-card .auth-logo .logo-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* ── Empty State ───────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: .5;
}

.empty-state h5 { color: var(--text-muted); font-weight: 500; }
.empty-state p  { color: var(--text-light); font-size: .9rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.moove-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
    flex-shrink: 0;
}

/* ── Breadcrumbs ────────────────────────────────────────────── */
.moove-breadcrumb {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.moove-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.moove-breadcrumb a:hover {
    color: var(--primary);
}
.moove-breadcrumb .separator {
    color: var(--text-muted);
    opacity: 0.5;
}
.moove-breadcrumb .current {
    color: var(--text);
    font-weight: 600;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp .6s forwards;
}

/* ── Hero & Landing ─────────────────────────────────────────── */
.hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

.hero-text {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.fade-in-up:nth-child(2) { animation-delay: .05s; }
.fade-in-up:nth-child(3) { animation-delay: .1s; }
.fade-in-up:nth-child(4) { animation-delay: .15s; }
.fade-in-up:nth-child(5) { animation-delay: .2s; }
.fade-in-up:nth-child(6) { animation-delay: .25s; }
.fade-in-up:nth-child(7) { animation-delay: .3s; }
.fade-in-up:nth-child(8) { animation-delay: .35s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* General */
    .page-header { padding: 1.5rem 0 1rem; }
    .page-header h1 { font-size: 1.35rem; }
    .auth-card { padding: 2rem 1.5rem; }
    
    /* Native App Experience (Anti-Zoom) */
    a, button, input, select, textarea, .nav-link, .btn {
        touch-action: manipulation;
    }
    input[type="text"], input[type="password"], input[type="email"], 
    input[type="number"], input[type="tel"], select, textarea, .form-control, .form-select {
        font-size: 16px !important;
    }
    
    /* Navbar */
    .navbar-wrapper { padding: 0 0.5rem; top: 0.5rem; }
    .moove-navbar { padding: .4rem .75rem; border-radius: 30px; }
    .moove-brand { font-size: 1.15rem; gap: 0.4rem; }
    .moove-brand .brand-icon { width: 28px; height: 28px; font-size: 0.8rem; }
    .nav-link { padding: .4rem .6rem !important; font-size: .85rem; }
    .btn-moove-sm { padding: .3rem .75rem; font-size: .8rem; }
    
    /* Dashboard & Cards */
    .stat-card .stat-value { font-size: 1.4rem; }
    .qr-container img { max-width: 200px; }
    .qr-amount { font-size: 1.5rem; }
    .cart-item { flex-wrap: wrap; }

    .product-card .product-footer {
        flex-direction: column;
        gap: .5rem;
        align-items: flex-start;
    }
    .product-card .product-footer .btn {
        width: 100%;
    }

    /* Tables */
    .moove-table th, .moove-table td { padding: 0.75rem 0.5rem; font-size: 0.85rem; }
    
    /* Checkout & Flex */
    .d-flex.justify-content-between { flex-wrap: wrap; gap: 0.5rem; }
}

@media (max-width: 576px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .moove-card .card-body { padding: 1rem; }
    .stat-card { padding: 1rem; }
    
    /* Full-width navbar on very small screens */
    .navbar-wrapper { padding: 0; top: 0; }
    .moove-navbar { border-radius: 0; border-left: none; border-right: none; border-top: none; padding: .5rem 1rem; }
    
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    
    /* Tighter tables */
    .moove-table th, .moove-table td { padding: 0.6rem 0.4rem; font-size: 0.8rem; white-space: nowrap; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.bg-primary-light { background: var(--primary-light) !important; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }

/* ── Mobile App Bottom Navigation ── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    z-index: 1040;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px; /* Add space for bottom nav */
    }
    
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 25%;
        height: 100%;
        color: var(--text-muted);
        text-decoration: none;
        transition: var(--transition);
        position: relative;
    }
    
    .bottom-nav-item:hover, .bottom-nav-item.active {
        color: var(--primary);
    }
    
    .bottom-nav-item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }
    
    .bottom-nav-item span {
        font-size: 0.65rem;
        font-weight: 500;
    }
    
    .bottom-nav-badge {
        position: absolute;
        top: 6px;
        right: 22%;
        background: #ef4444; /* Modern red */
        color: white;
        font-size: 0.7rem;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        border-radius: 50px;
        border: 2px solid var(--bg-card);
        line-height: 1;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
        transform: translateX(50%);
    }
    
    .desktop-nav-links {
        display: none !important;
    }
}

/* ── Custom Accordion ───────────────────────────────────────── */
.moove-accordion {
    --bs-accordion-bg: var(--bg-card);
    --bs-accordion-color: var(--text);
    --bs-accordion-border-color: var(--border);
    --bs-accordion-btn-color: var(--text);
    --bs-accordion-btn-bg: var(--bg-card);
    --bs-accordion-active-color: var(--primary);
    --bs-accordion-active-bg: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.moove-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border);
}

.moove-accordion .accordion-item:last-child {
    border-bottom: none;
}

.moove-accordion .accordion-button {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    box-shadow: none !important;
}

.moove-accordion .accordion-button:not(.collapsed) {
    background: rgba(37, 99, 235, 0.05); /* Very light primary tint */
}

.moove-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}
