/* ===== common.css ===== */
/* ══════════════════════════════════════════════════════
   Zoom Delivery — Premium Design System v8
   Glassmorphism · Neon Accents · Fluid Animations
══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
    /* Core Backgrounds */
    --bg-main:        #080C14;
    --bg-card:        #0F1826;
    --bg-card-hover:  #172033;
    --bg-elevated:    #1A2540;
    --border-color:   #1E2D47;
    --border-bright:  #2A3F62;

    /* Text */
    --text-primary:   #F0F4FF;
    --text-secondary: #8896AE;
    --text-muted:     #4A5568;

    /* Brand Accent — Zoom Delivery Red */
    --accent:         #0082F6;
    --accent-2:       #33A0FF;
    --accent-hover:   #006ED0;
    --accent-light:   rgba(0, 130, 246, 0.14);
    --accent-glow:    rgba(0, 130, 246, 0.35);
    --accent-gradient: linear-gradient(135deg, #0082F6, #33A0FF);

    /* Status Colors */
    --success:        #1B5E20;
    --success-light:  rgba(27, 94, 32, 0.14);
    --success-glow:   rgba(27, 94, 32, 0.3);
    --success-gradient: linear-gradient(135deg, #1B5E20, #2E7D32);

    --warning:        #F5A623;
    --warning-light:  rgba(245, 166, 35, 0.14);
    --danger:         #FF3B3B;
    --danger-light:   rgba(255, 59, 59, 0.14);
    --danger-gradient: linear-gradient(135deg, #FF3B3B, #CC2222);
    --info:           #3B9EFF;
    --info-light:     rgba(59, 158, 255, 0.14);

    /* Geometry */
    --radius-xs:  5px;
    --radius-sm:  10px;
    --radius-md:  16px;
    --radius-lg:  22px;
    --radius-xl:  30px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.35);
    --shadow-md:  0 8px 24px rgba(0,0,0,0.45);
    --shadow-lg:  0 20px 50px rgba(0,0,0,0.60);
    --shadow-accent: 0 8px 32px rgba(255,107,0,0.25);

    /* Glass */
    --glass-bg:     rgba(10, 16, 30, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --blur:         blur(24px);
    --blur-heavy:   blur(40px);

    /* Surfaces */
    --card-bg:      var(--bg-card);
    --body-gradient: radial-gradient(ellipse at 20% 0%, #0F1E3A 0%, var(--bg-main) 60%);
    --wrapper-gradient: linear-gradient(180deg, #0A1020 0%, var(--bg-main) 100%);
    --header-bg:    rgba(10, 16, 32, 0.85);
    --input-bg:     rgba(8, 12, 20, 0.7);
    --input-bg-focus: rgba(8, 12, 20, 0.95);
    --overlay-bg:   rgba(3, 5, 10, 0.92);
    --map-route-color: #E4002B;
    --hero-banner-bg: linear-gradient(135deg, #0F1E3A 0%, #1A1A2E 50%, #0D1117 100%);
    --hero-banner-glow-1: rgba(228, 0, 43, 0.12);
    --hero-banner-glow-2: rgba(59, 158, 255, 0.08);
    --avatar-bg: rgba(255, 255, 255, 0.03);
}

/* ─── LIGHT THEME ───────────────────────────────────── */
[data-theme="light"] {
    --bg-main:        #F0F4FA;
    --bg-card:        #FFFFFF;
    --bg-card-hover:  #F5F8FC;
    --bg-elevated:    #FFFFFF;
    --border-color:   #D8E2EF;
    --border-bright:  #C5D3E3;

    --text-primary:   #0F172A;
    --text-secondary: #475569;
    --text-muted:     #94A3B8;

    --accent-light:   rgba(0, 130, 246, 0.10);
    --accent-glow:    rgba(0, 130, 246, 0.22);

    --success:        #15803D;
    --success-light:  rgba(21, 128, 61, 0.10);
    --success-glow:   rgba(21, 128, 61, 0.22);

    --warning-light:  rgba(245, 166, 35, 0.12);
    --danger-light:   rgba(255, 59, 59, 0.10);
    --info-light:     rgba(59, 158, 255, 0.10);

    --shadow-sm:  0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md:  0 8px 24px rgba(15, 23, 42, 0.10);
    --shadow-lg:  0 20px 50px rgba(15, 23, 42, 0.14);
    --shadow-accent: 0 8px 32px rgba(228, 0, 43, 0.18);

    --glass-bg:     rgba(255, 255, 255, 0.88);
    --glass-border: rgba(15, 23, 42, 0.08);

    --card-bg:      var(--bg-card);
    --body-gradient: radial-gradient(ellipse at 20% 0%, #E8EEF8 0%, var(--bg-main) 55%);
    --wrapper-gradient: linear-gradient(180deg, #FFFFFF 0%, var(--bg-main) 100%);
    --header-bg:    rgba(255, 255, 255, 0.92);
    --input-bg:     rgba(255, 255, 255, 0.95);
    --input-bg-focus: #FFFFFF;
    --overlay-bg:   rgba(15, 23, 42, 0.45);
    --map-route-color: #E4002B;
    --hero-banner-bg: linear-gradient(135deg, #FFFFFF 0%, #F0F4FA 50%, #E8EEF8 100%);
    --hero-banner-glow-1: rgba(228, 0, 43, 0.08);
    --hero-banner-glow-2: rgba(59, 158, 255, 0.06);
    --avatar-bg: rgba(15, 23, 42, 0.06);
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--body-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.35s ease, color 0.25s ease;
}

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--border-bright);
    border-radius: var(--radius-full);
}

/* ─── ICONS ─────────────────────────────────────────── */
.lucide {
    width: 20px; height: 20px;
    stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    fill: none;
    display: inline-block; vertical-align: middle; flex-shrink: 0;
    color: var(--accent);
}
.icon-accent  { color: var(--accent)   !important; }
.icon-success { color: var(--success)  !important; }
.icon-danger  { color: var(--danger)   !important; }
.icon-info    { color: var(--info)     !important; }
.icon-warning { color: var(--warning)  !important; }
.icon-muted   { color: var(--text-secondary) !important; }

/* ─── GLASS CARD ─────────────────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    width: 100%; max-width: 100%;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.glass-card:hover {
    border-color: rgba(255,255,255,0.1);
}

/* Elevated card variant */
.card-elevated {
    background: var(--bg-elevated);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center;
    justify-content: center; gap: 7px;
    padding: 12px 20px; font-size: 13px;
    font-weight: 700; border-radius: var(--radius-md);
    border: none; cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none; text-decoration: none;
    white-space: nowrap; max-width: 100%;
    min-height: 46px; letter-spacing: 0.3px;
    position: relative; overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.08) 0%, transparent 100%);
    opacity: 0; transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
    filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-bright);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--success-glow);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--success-glow);
    filter: brightness(1.08);
}

.btn-danger {
    background: var(--danger-gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,59,59,0.3);
}
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,59,59,0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-ghost:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.btn-sm {
    padding: 8px 14px; font-size: 12px;
    border-radius: var(--radius-sm); min-height: 38px;
}

.btn-xs {
    padding: 5px 10px; font-size: 11px;
    border-radius: var(--radius-xs); min-height: 30px;
}

.btn:disabled {
    opacity: 0.35; cursor: not-allowed;
    transform: none !important; box-shadow: none !important;
}

.btn-icon {
    width: 42px; height: 42px;
    padding: 0; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
}
.btn-icon:hover { background: rgba(255,255,255,0.12); }

/* ─── BADGES ─────────────────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 11px; font-size: 10px; font-weight: 800;
    border-radius: var(--radius-full); flex-shrink: 0;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-pending  { background: var(--warning-light);  color: var(--warning); border: 1px solid rgba(245,166,35,0.25); }
.badge-success  { background: var(--success-light);  color: var(--success); border: 1px solid rgba(0,212,126,0.25); }
.badge-info     { background: var(--info-light);     color: var(--info);    border: 1px solid rgba(59,158,255,0.25); }
.badge-danger   { background: var(--danger-light);   color: var(--danger);  border: 1px solid rgba(255,59,59,0.25); }
.badge-accent   { background: var(--accent-light);   color: var(--accent);  border: 1px solid rgba(255,107,0,0.25); }

/* ─── FORMS ──────────────────────────────────────────── */
.form-group {
    margin-bottom: 14px; width: 100%;
}
.form-group label {
    display: block; font-size: 12px; font-weight: 700;
    color: var(--text-secondary); margin-bottom: 6px;
    text-align: right; letter-spacing: 0.3px;
}
.form-input {
    width: 100%;
    background: var(--input-bg);
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    padding: 11px 14px; border-radius: var(--radius-sm);
    font-size: 14px; transition: all 0.2s;
    outline: none; text-align: right;
    min-height: 46px;
}
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
    background: var(--input-bg-focus);
}
.form-input::placeholder { color: var(--text-muted); }

select.form-input { cursor: pointer; }

/* ─── MOBILE FRAME ───────────────────────────────────── */
.mobile-wrapper {
    width: 100%; max-width: 480px;
    height: 100vh; height: 100dvh;
    margin: 0 auto;
    display: flex; flex-direction: column;
    background: var(--wrapper-gradient);
    position: relative; overflow: hidden;
    border-left: 1px solid var(--border-bright);
    border-right: 1px solid var(--border-bright);
    box-shadow: var(--shadow-lg), 0 0 80px rgba(228, 0, 43, 0.04);
    transition: background 0.35s ease;
}

.mobile-header {
    height: 56px; min-height: 56px;
    background: var(--header-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 0 12px; z-index: 100; flex-shrink: 0;
}

.mobile-header h1 {
    font-size: 15px; font-weight: 900;
    letter-spacing: -0.3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-header h1.header-title-wrap {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: none; -webkit-text-fill-color: unset;
}
.mobile-header h1.header-title-wrap span {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-logo {
    width: 32px; height: 32px; border-radius: 50%;
    object-fit: contain; background: var(--card-bg); border: 1px solid var(--border-color); flex-shrink: 0;
}
.app-logo-lg {
    width: 72px; height: 72px; border-radius: 50%;
    object-fit: contain; background: var(--card-bg); border: 1px solid var(--border-color); margin: 0 auto 10px; display: block;
}
.header-title-wrap {
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.merchant-header-logo {
    width: 40px; height: 40px; border-radius: 50%;
    object-fit: contain; border: 2px solid var(--accent);
    background: var(--card-bg); flex-shrink: 0;
}

/* ─── ORDER HISTORY & RATING ───────────────────────── */
.history-card {
    background: var(--glass-bg);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 10px;
}
.history-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px; gap: 8px; flex-wrap: wrap;
}
.star-rating { display: inline-flex; gap: 4px; direction: ltr; }
.star-btn {
    background: none; border: none; cursor: pointer;
    font-size: 22px; color: var(--border-bright); padding: 0 2px;
    transition: color 0.15s, transform 0.15s;
}
.star-btn.active, .star-btn:hover { color: #F5A623; transform: scale(1.1); }
.star-btn.readonly { cursor: default; pointer-events: none; }
.rating-section { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-color); }
.rating-label { font-size: 11px; color: var(--text-secondary); font-weight: 700; margin-bottom: 6px; }

.header-start, .header-end {
    display: flex; align-items: center; gap: 8px;
}
.header-end { justify-content: flex-end; }

.header-toolbar {
    display: flex; align-items: center; gap: 6px;
}

.lang-select {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-xs);
    font-size: 11px; font-weight: 700;
    padding: 4px 6px; cursor: pointer;
    outline: none; min-width: 48px;
}
.lang-select:focus { border-color: var(--accent); }

.theme-toggle-btn {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xs);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    color: var(--text-primary);
    transition: all 0.2s;
}
.theme-toggle-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.global-settings-bar {
    position: fixed; top: 12px; left: 12px; z-index: 9000;
    display: flex; align-items: center; gap: 6px;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 4px 8px;
    box-shadow: var(--shadow-sm);
}

.mobile-body {
    flex: 1 1 0; min-height: 0;
    overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding: 16px;
    padding-bottom: 90px;
}

.mobile-view {
    flex-direction: column;
    width: 100%;
    min-height: 0;
}

/* ─── MAP CONTAINERS ─────────────────────────────────── */
.map-container {
    width: 100%; height: 185px;
    min-height: 145px; max-height: 34vh;
    border-radius: var(--radius-md); overflow: hidden;
    position: relative; border: 1px solid var(--border-bright);
    z-index: 10; flex-shrink: 0; margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ─── GRID SYSTEM ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }

/* ─── RTL / LTR ──────────────────────────────────────── */
.rtl { direction: rtl; }
.ltr { direction: ltr; }
.rtl .form-group label,
.rtl .form-input { text-align: right; }
.ltr .form-group label,
.ltr .form-input { text-align: left; }
.rtl .header-toolbar .lang-select { direction: ltr; }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
    0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
    70%  { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.animate-fade-in {
    animation: fadeInUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.animate-scale-in {
    animation: fadeInScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-slide-up {
    animation: slideUp 0.4s ease forwards;
}

.animate-pulse {
    animation: pulseGlow 2s infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg,
        var(--bg-card) 0%, var(--bg-elevated) 50%, var(--bg-card) 100%);
    background-size: 200% auto;
    animation: shimmer 1.8s linear infinite;
}

.animate-spin { animation: spin 1s linear infinite; }
.animate-float { animation: floatBob 3s ease-in-out infinite; }

/* ─── MODAL ──────────────────────────────────────────── */
.modal-overlay {
    position: absolute; inset: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    display: flex; align-items: center;
    justify-content: center; z-index: 2000;
    opacity: 0; pointer-events: none;
    transition: all 0.25s ease-in-out;
    border-radius: inherit; padding: 16px; overflow-y: auto;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 20px; width: 100%;
    max-width: 420px; box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease forwards;
}

.modal-header {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}
.modal-header h3 { font-size: 16px; font-weight: 800; }
.modal-close {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    color: var(--text-secondary); width: 32px; height: 32px;
    border-radius: var(--radius-sm); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: all 0.2s;
}
.modal-close:hover { background: var(--danger-light); color: var(--danger); }

/* ─── DIVIDERS ───────────────────────────────────────── */
.divider {
    border: none; border-top: 1px solid var(--border-color);
    margin: 14px 0;
}

.divider-text {
    display: flex; align-items: center; gap: 10px; margin: 16px 0;
    color: var(--text-muted); font-size: 11px; font-weight: 700;
}
.divider-text::before, .divider-text::after {
    content: ''; flex: 1; height: 1px; background: var(--border-color);
}

/* ─── UTILITY ─────────────────────────────────────────── */
.text-accent   { color: var(--accent); }
.text-success  { color: var(--success); }
.text-danger   { color: var(--danger); }
.text-muted    { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 900; }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-col      { display: flex; flex-direction: column; }
.gap-4  { gap: 4px; }   .gap-6  { gap: 6px; }
.gap-8  { gap: 8px; }   .gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }  .gap-16 { gap: 16px; }
.p-12 { padding: 12px; } .p-16 { padding: 16px; }
.mt-8  { margin-top: 8px; }  .mt-12 { margin-top: 12px; }
.mb-8  { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; }

/* Gradient text */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neon border glow */
.glow-border-accent { box-shadow: 0 0 0 1.5px var(--accent), 0 0 20px var(--accent-glow); }
.glow-border-success { box-shadow: 0 0 0 1.5px var(--success), 0 0 20px var(--success-glow); }

/* Leaflet override */
.leaflet-control-container .leaflet-routing-container { display: none !important; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 480px) {
    .mobile-wrapper {
        border-left: none !important; border-right: none !important;
        border-radius: 0 !important; box-shadow: none !important;
        max-width: 100% !important; width: 100% !important;
    }
    .mobile-body { padding: 12px; padding-bottom: 72px; }
    .mobile-header { height: 52px; min-height: 52px; padding: 0 12px; }
    .mobile-header h1 { font-size: 15px; }
    .map-container { min-height: 135px; max-height: 180px; height: 165px; }
    .grid-2 { grid-template-columns: 1fr; gap: 8px; }
    .btn { padding: 10px 16px; font-size: 12px; }
    .form-input { font-size: 14px; }
}

@media (max-width: 360px) {
    .mobile-body { padding: 10px; padding-bottom: 64px; }
    .map-container { min-height: 120px; max-height: 155px; height: 145px; }
}

/* ─── APP SHELL: Splash, Offline, Loader, PTR, Embedded ─ */
body.splash-active { overflow: hidden; }
#app-splash {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg-main, #080C14);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    overflow: hidden;
}
.app-splash-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 35%, rgba(228,0,43,0.18) 0%, transparent 70%),
                radial-gradient(ellipse 60% 40% at 50% 100%, rgba(228,0,43,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.app-splash-logo-wrap {
    width: 110px; height: 110px; display: flex; align-items: center; justify-content: center;
    border-radius: 28px; background: rgba(228,0,43,0.08);
    border: 1px solid rgba(228,0,43,0.2);
    box-shadow: 0 8px 32px rgba(228,0,43,0.15);
}
.app-splash-progress {
    width: 160px; height: 3px; background: rgba(255,255,255,0.08);
    border-radius: 2px; overflow: hidden; margin-top: 4px;
}
.app-splash-progress-bar {
    height: 100%; width: 0; background: var(--accent, #0082F6);
    border-radius: 2px; animation: splashProgress 2.5s ease-out forwards;
}
@keyframes splashProgress { from { width: 0; } to { width: 100%; } }
#app-splash.app-splash-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.app-splash-inner {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 24px; gap: 12px;
}
.app-splash-logo { width: 80px; height: 80px; object-fit: contain; animation: splashPulse 2s ease-in-out infinite; }
.app-splash-title { font-size: 26px; font-weight: 900; color: var(--accent, #0082F6); margin: 0; }
.app-splash-sub { font-size: 14px; color: var(--text-secondary, #8896AE); margin: 0; }
.app-splash-loader { margin-top: 20px; }
.app-splash-spinner {
    width: 36px; height: 36px; border: 3px solid rgba(228,0,43,0.2);
    border-top-color: var(--accent, #0082F6); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.app-splash-status { font-size: 13px; color: var(--text-muted, #4A5568); margin-top: 8px; }
.app-splash-offline {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 32px 24px; gap: 12px; max-width: 340px;
}
.app-splash-offline-icon { font-size: 48px; }
.app-splash-offline h2 { font-size: 20px; font-weight: 800; color: var(--text-primary); margin: 0; }
.app-splash-offline p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
#page-loader {
    position: fixed; inset: 0; z-index: 99990;
    background: rgba(8,12,20,0.75); backdrop-filter: blur(4px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; opacity: 0; visibility: hidden; transition: opacity 0.25s;
    pointer-events: none; color: var(--text-primary); font-weight: 700; font-size: 14px;
}
#page-loader.visible { opacity: 1; visibility: visible; pointer-events: auto; }
.page-loader-spinner {
    width: 40px; height: 40px; border: 3px solid rgba(228,0,43,0.2);
    border-top-color: var(--accent, #0082F6); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
#ptr-indicator {
    position: fixed; top: 0; left: 50%;
    transform: translateX(-50%) translateY(-64px);
    z-index: 99980; display: flex; align-items: center; gap: 12px;
    background: var(--bg-card, #0F1826); border: 2px solid var(--border-color);
    border-radius: 28px; padding: 14px 24px; font-size: 15px; font-weight: 800;
    color: var(--text-secondary); transition: transform 0.2s ease, opacity 0.2s ease, color 0.15s;
    box-shadow: 0 6px 28px rgba(0,0,0,0.45);
    pointer-events: none; opacity: 0;
}
#ptr-indicator.ptr-visible, #ptr-indicator.refreshing { opacity: 1; }
#ptr-indicator.pulling { color: var(--accent); border-color: rgba(0,130,246,0.35); }
#ptr-indicator.ready { color: var(--accent); background: var(--accent-light, rgba(0,130,246,0.12)); }
#ptr-indicator.refreshing .ptr-spinner { animation: spin 0.7s linear infinite; }
.ptr-spinner {
    width: 24px; height: 24px; border: 3px solid rgba(228,0,43,0.2);
    border-top-color: var(--accent); border-radius: 50%; flex-shrink: 0;
}
.ptr-label { white-space: nowrap; }

/* ─── NATIVE APP LOGIN GATE ─── */
#native-app-gate {
    position: fixed; inset: 0; z-index: 99998;
    background: var(--bg-main, #080C14);
    display: none; align-items: center; justify-content: center;
    overflow-y: auto; padding: 24px 16px;
}
#native-app-gate.open { display: flex; }
body.native-gate-active .mobile-wrapper { visibility: hidden; pointer-events: none; }
/* Removed: body.native-shell .web-only-auth { display: none !important; } - Show web auth in native app */
.native-gate-inner {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 400px; gap: 16px;
}
.native-gate-logo {
    width: 110px; height: 110px; object-fit: contain;
    animation: splashPulse 2.5s ease-in-out infinite;
}
.native-gate-title {
    font-size: 28px; font-weight: 900; color: var(--accent, #0082F6);
    margin: 0; letter-spacing: -0.5px;
}
.native-gate-sub { font-size: 14px; color: var(--text-secondary); margin: 0; }
.native-role-tabs {
    display: flex; gap: 8px; width: 100%; margin-top: 4px;
}
.native-role-btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 12px 8px; border-radius: 14px;
    background: var(--bg-card); border: 2px solid var(--border-color);
    color: var(--text-secondary); font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all 0.2s;
}
.native-role-btn.active {
    border-color: var(--accent); color: var(--accent);
    background: var(--accent-light, rgba(0,130,246,0.1));
}
.native-role-icon { font-size: 22px; line-height: 1; }
.native-gate-card { width: 100%; padding: 20px !important; }
.native-login-form { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.native-remember-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-secondary); cursor: pointer;
}
.native-remember-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.native-login-btn { margin-top: 4px; padding: 14px !important; font-size: 16px !important; }
.native-gate-footer {
    display: flex; align-items: center; gap: 12px; margin-top: 8px;
}
.native-lang-select {
    padding: 8px 12px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-primary); font-weight: 700; font-size: 13px;
}
#embedded-app-overlay {
    position: fixed; inset: 0; z-index: 99985;
    background: var(--bg-main, #080C14);
    display: none; flex-direction: column;
}
#embedded-app-overlay.open { display: flex; }
body.embedded-app-open { overflow: hidden; }
.embedded-app-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    min-height: 48px; flex-shrink: 0;
}
.embedded-app-btn {
    background: var(--bg-elevated); border: 1px solid var(--border-color);
    color: var(--text-primary); border-radius: 10px;
    width: 36px; height: 36px; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.embedded-app-title { flex: 1; text-align: center; font-weight: 800; font-size: 15px; }
.embedded-app-loader {
    position: absolute; inset: 48px 0 0 0; z-index: 2;
    background: var(--bg-main); display: none;
    flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    font-weight: 700; font-size: 14px; color: var(--text-secondary);
}
.embedded-app-loader.visible { display: flex; }
#embedded-app-frame {
    flex: 1; width: 100%; border: none; background: var(--bg-main);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes splashPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}


/* ===== user.css ===== */
/* ══════════════════════════════════════════════════════
   Alger Express — User App Premium Styles v8
══════════════════════════════════════════════════════ */

/* ─── ROLE SELECTOR (UNIFIED AUTH) ────────────────── */
.auth-wrapper {
    min-height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 20px;
    padding: 20px 0;
}

.auth-logo-ring {
    width: 88px; height: 88px; border-radius: 50%;
    background: var(--accent-gradient);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(255,107,0,0.12);
    font-size: 40px;
    animation: floatBob 3s ease-in-out infinite;
    flex-shrink: 0;
}

.auth-title {
    font-size: 26px; font-weight: 900; text-align: center;
    background: linear-gradient(135deg, #fff 30%, var(--accent-2) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1.2;
}
.auth-subtitle { font-size: 13px; color: var(--text-secondary); text-align: center; }

/* Role cards */
.role-selector-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; width: 100%;
}

.role-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 8px;
    text-align: center; cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    position: relative; overflow: hidden;
}
.role-card::before {
    content: ''; position: absolute; inset: 0;
    background: var(--accent-gradient); opacity: 0;
    transition: opacity 0.25s;
}
.role-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.role-card.active {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 0 20px var(--accent-glow);
}
.role-card .role-icon {
    font-size: 30px; position: relative; z-index: 1;
    transition: transform 0.25s;
}
.role-card:hover .role-icon, .role-card.active .role-icon {
    transform: scale(1.15);
}
.role-card .role-label {
    font-size: 12px; font-weight: 800; position: relative; z-index: 1;
    color: var(--text-secondary); transition: color 0.2s;
}
.role-card.active .role-label { color: var(--accent); }

/* Auth form card */
.auth-form-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px; width: 100%;
    box-shadow: var(--shadow-md);
    animation: slideUp 0.3s ease;
}

/* Tab switcher */
.auth-tabs {
    display: flex; border-bottom: 1.5px solid var(--border-color);
    margin-bottom: 18px;
}
.auth-tab {
    flex: 1; padding: 10px; font-size: 13px; font-weight: 800;
    text-align: center; cursor: pointer; border: none;
    background: transparent; border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px; color: var(--text-muted);
    transition: all 0.2s;
}
.auth-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ─── MAP MARKER for extra-fields store location ─── */
.location-picker-box {
    background: var(--bg-card);
    border: 1.5px dashed var(--border-bright);
    border-radius: var(--radius-md);
    padding: 12px; margin-top: 6px;
}

/* ─── STORE SLIDER ─────────────────────────────────── */
.stores-slider {
    display: flex; gap: 12px;
    overflow-x: auto; padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.stores-slider::-webkit-scrollbar { display: none; }

.store-card-slide {
    flex-shrink: 0; width: 125px; padding: 16px 10px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center; cursor: pointer;
    scroll-snap-align: start;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; overflow: hidden;
}
.store-card-slide::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--accent-gradient);
    transform: scaleX(0); transition: transform 0.3s; transform-origin: center;
}
.store-card-slide:hover::before,
.store-card-slide:active::before { transform: scaleX(1); }
.store-card-slide:hover,
.store-card-slide:active {
    border-color: var(--accent);
    background: var(--bg-elevated);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.store-card-logo {
    font-size: 30px; margin-bottom: 8px;
    transition: transform 0.3s;
}
.store-card-slide:hover .store-card-logo { transform: scale(1.1); }

/* ─── FEATURE GRID ─────────────────────────────────── */
.features-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.feature-btn-card {
    padding: 22px 12px;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); text-align: center;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; overflow: hidden;
}
.feature-btn-card::after {
    content: ''; position: absolute; inset: 0;
    background: var(--accent-gradient); opacity: 0; transition: opacity 0.3s;
}
.feature-btn-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 20px var(--accent-glow);
}

.feature-btn-icon {
    font-size: 34px; margin-bottom: 10px;
    display: block; transition: transform 0.3s;
}
.feature-btn-card:hover .feature-btn-icon { transform: scale(1.12) rotate(5deg); }

/* Teaser "coming soon" feature cards */
.feature-btn-card--soon {
    opacity: 0.72;
    border-style: dashed;
    cursor: pointer;
}
.feature-btn-card--soon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.coming-soon-badge {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.gps-locate-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; margin-top: 8px; margin-bottom: 10px; padding: 12px;
    background: var(--accent-light); border: 2px solid var(--accent);
    color: var(--accent); border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 800; cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative; z-index: 20;
    touch-action: manipulation;
}
.gps-locate-btn:disabled { opacity: 0.7; cursor: wait; }
.map-wrapper { width: 100%; margin-bottom: 10px; }

.feature-coming-soon {
    opacity: 0.85;
    cursor: pointer;
}
.feature-coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}
.coming-soon-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--warning);
    color: #111;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 999px;
    z-index: 2;
}

/* ─── MENU ITEMS ───────────────────────────────────── */
.menu-item-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px; display: flex;
    justify-content: space-between; align-items: center;
    gap: 10px; margin-bottom: 10px;
    transition: border-color 0.2s, background 0.2s;
}
.menu-item-card:hover {
    border-color: var(--border-bright);
    background: var(--bg-elevated);
}

.menu-item-info { text-align: right; flex: 1; min-width: 0; }
.menu-item-info h4 { font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.menu-item-info p {
    font-size: 11px; color: var(--text-secondary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ─── SHOPPING CART BAR ────────────────────────────── */
.shopping-cart-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: var(--accent-gradient);
    color: #fff; padding: 15px 18px;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 800; font-size: 13px;
    z-index: 1000; cursor: pointer;
    box-shadow: 0 -6px 24px rgba(255,107,0,0.4);
    transition: filter 0.2s;
}
.shopping-cart-bar:hover { filter: brightness(1.08); }

/* ─── BIDDING ROOM ─────────────────────────────────── */
.pricing-negotiator-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px; display: flex; flex-direction: column; gap: 12px;
}

.bid-input-container {
    display: flex; align-items: center;
    background: rgba(8,12,20,0.8);
    border: 1.5px solid var(--border-bright);
    border-radius: var(--radius-md); padding: 4px 8px;
    transition: border-color 0.2s;
}
.bid-input-container:focus-within { border-color: var(--accent); }
.bid-input-container input {
    flex: 1; background: none; border: none;
    color: #fff; padding: 10px 8px;
    text-align: center; font-size: 22px; font-weight: 900;
    outline: none; min-width: 0;
}

.bid-btn-adjust {
    background: var(--border-bright); border: none;
    color: #fff; width: 42px; height: 42px;
    border-radius: var(--radius-sm); font-size: 22px;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
    transition: all 0.2s;
}
.bid-btn-adjust:hover { background: var(--accent); transform: scale(1.08); }

/* Driver offer cards */
.driver-offer-card {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-bright);
    border-radius: var(--radius-md); padding: 14px;
    display: flex; justify-content: space-between;
    align-items: center; gap: 12px;
    animation: slideUp 0.3s ease;
    transition: border-color 0.2s;
}
.driver-offer-card:hover { border-color: var(--accent); }
.driver-offer-card.highlight {
    border-color: var(--success);
    box-shadow: 0 0 16px var(--success-glow);
}

/* ─── TRACKING STEPS ───────────────────────────────── */
.tracking-steps {
    display: flex; justify-content: space-between;
    position: relative; margin: 16px 0;
}
.tracking-steps::before {
    content: ''; position: absolute;
    top: 15px; left: 14px; right: 14px;
    height: 2px; background: var(--border-color); z-index: 1;
}

.step-item {
    display: flex; flex-direction: column; align-items: center;
    z-index: 2; flex: 1; text-align: center;
}
.step-circle {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-bright);
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900;
    margin-bottom: 5px; transition: all 0.35s;
}
.step-item.active .step-circle {
    background: var(--accent-gradient); border-color: var(--accent);
    color: #fff; box-shadow: 0 0 16px var(--accent-glow);
    animation: pulseGlow 2s infinite;
}
.step-item.done .step-circle {
    background: var(--success-gradient); border-color: var(--success);
    color: #fff; box-shadow: 0 0 12px var(--success-glow);
}
.step-label { font-size: 10px; color: var(--text-muted); font-weight: 700; }
.step-item.active .step-label { color: var(--accent); }
.step-item.done .step-label { color: var(--success); }

/* ─── HERO BANNER ──────────────────────────────────── */
.hero-banner {
    background: var(--hero-banner-bg);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 20px 18px; margin-bottom: 16px;
    position: relative; overflow: hidden;
}
.hero-banner::before {
    content: ''; position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-banner-glow-1) 0%, transparent 70%);
}
.hero-banner::after {
    content: ''; position: absolute;
    bottom: -30px; left: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-banner-glow-2) 0%, transparent 70%);
}

/* ─── ORDER HISTORY & RATING ───────────────────────── */
.history-card {
    background: var(--glass-bg);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 10px;
}
.history-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px; gap: 8px; flex-wrap: wrap;
}
.star-rating { display: inline-flex; gap: 4px; direction: ltr; }
.star-btn {
    background: none; border: none; cursor: pointer;
    font-size: 22px; color: var(--border-bright); padding: 0 2px;
    transition: color 0.15s, transform 0.15s;
}
.star-btn.active, .star-btn:hover { color: #F5A623; transform: scale(1.1); }
.star-btn.readonly { cursor: default; pointer-events: none; }
.rating-section { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-color); }
.rating-label { font-size: 11px; color: var(--text-secondary); font-weight: 700; margin-bottom: 6px; }

/* ─── ORDER CARD ───────────────────────────────────── */
.order-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); padding: 16px;
    margin-bottom: 12px; width: 100%;
    transition: border-color 0.2s;
}
.order-card:hover { border-color: var(--border-bright); }
.order-card-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 12px;
}

.order-items-list {
    list-style: none; margin: 0; padding: 0;
    font-size: 12px; color: var(--text-secondary);
    display: flex; flex-direction: column; gap: 4px;
}
.order-items-list li {
    display: flex; justify-content: space-between;
    padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ─── SECTION HEADERS ──────────────────────────────── */
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.section-title {
    font-size: 14px; font-weight: 800;
    display: flex; align-items: center; gap: 7px;
}

/* ─── STATUS PILL ──────────────────────────────────── */
.status-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; font-size: 11px; font-weight: 800;
    border-radius: var(--radius-full);
}

/* ─── EMPTY STATE ──────────────────────────────────── */
.empty-state {
    text-align: center; padding: 48px 24px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-state-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--bg-elevated);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--text-muted);
}

/* ─── STAT CHIP ────────────────────────────────────── */
.stat-chip {
    background: var(--bg-elevated); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: 10px 12px;
    text-align: center;
}
.stat-chip .stat-value { font-size: 18px; font-weight: 900; color: var(--accent); }
.stat-chip .stat-label { font-size: 10px; color: var(--text-muted); font-weight: 700; margin-top: 2px; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 480px) {
    .role-selector-grid { gap: 8px; }
    .role-card { padding: 14px 6px; }
    .role-card .role-icon { font-size: 26px; }
    .store-card-slide { width: 112px; padding: 14px 8px; }
    .feature-btn-card { padding: 18px 10px; }
}

/* ─── VIEW Z-INDEX ─────────────────────────────────────── */
.mobile-view {
    position: relative;
    z-index: 10;
}
