/* =====================================================
   LUMIERE NEXUS — CLIENT DASHBOARD STYLING (dashboard.css)
   Aesthetic: Cyberpunk Dark Luxury Glassmorphism
   Colors: Gold (#ffd700), Cyan (#00ffff), Dark (#050b14)
   ===================================================== */

:root {
    --bg-dark: #050b14;
    --bg-surface: #0a1120;
    --bg-card: rgba(13, 27, 42, 0.75);
    --bg-card-hover: rgba(18, 38, 58, 0.85);
    --cyan-glow: #00ffff;
    --gold-glow: #ffd700;
    --purple-glow: #9d4edd;
    --border-glass: rgba(0, 255, 255, 0.2);
    --border-gold: rgba(255, 215, 0, 0.25);
    --text-primary: #ffffff;
    --text-muted: #8899a6;
    --text-dim: #556677;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* ── Dashboard Navigation Bar ────────────────────────────── */
.dash-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 11, 20, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 14px 24px;
}

.dash-nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.dash-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--gold-glow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.dash-brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gold-glow);
    text-transform: uppercase;
}

.dash-brand-subtitle {
    font-size: 0.72rem;
    color: var(--cyan-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: -2px;
}

.dash-nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dash-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dash-nav-link:hover,
.dash-nav-link.active {
    color: var(--cyan-glow);
    background: rgba(0, 255, 255, 0.08);
}

.dash-nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 30px;
}

.dash-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-glow), var(--cyan-glow));
    color: #050b14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.dash-user-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-btn-logout {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff6b6b;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.dash-btn-logout:hover {
    background: rgba(255, 59, 48, 0.25);
    border-color: #ff6b6b;
}

/* ── Auth Gate / Locked State ────────────────────────────── */
.auth-gate-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-gate-card {
    width: 100%;
    max-width: 480px;
    background: rgba(10, 17, 32, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 255, 0.15);
    padding: 36px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-gate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan-glow), var(--gold-glow), transparent);
}

.gate-icon-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--cyan-glow);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.auth-gate-card h2 {
    font-size: 1.6rem;
    color: var(--gold-glow);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.auth-gate-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Gate Switch Tabs */
.gate-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gate-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.gate-tab-btn.active {
    background: var(--cyan-glow);
    color: #050b14;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.gate-form-panel {
    display: none;
    text-align: left;
}

.gate-form-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.gate-input-group {
    margin-bottom: 16px;
}

.gate-input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.gate-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gate-input-wrap i {
    position: absolute;
    left: 14px;
    color: var(--text-dim);
    font-size: 1.1rem;
}

.gate-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 12px 14px 12px 42px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.gate-input:focus {
    border-color: var(--cyan-glow);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.gate-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-glow), #e6a800);
    border: none;
    color: #050b14;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.gate-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.45);
}

.gate-quick-demo {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gate-demo-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.gate-demo-btn:hover {
    color: var(--cyan-glow);
    border-color: var(--cyan-glow);
    background: rgba(0, 255, 255, 0.08);
}

.gate-error-banner {
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: #ff8080;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: none;
    text-align: left;
}

/* ── Main Dashboard Content Layout ──────────────────────── */
.dash-main {
    flex: 1;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 24px 60px 24px;
}

/* Hero Profile Banner */
.dash-hero-banner {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(9, 17, 30, 0.85) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.dash-hero-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dash-hero-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dash-hero-avatar-large {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-glow), var(--cyan-glow));
    color: #050b14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.dash-hero-text h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.dash-hero-text h1 span {
    color: var(--cyan-glow);
}

.dash-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.dash-client-tag {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--gold-glow);
    color: var(--gold-glow);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-btn {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.dash-btn-gold {
    background: linear-gradient(135deg, var(--gold-glow), #e6a800);
    color: #050b14;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}

.dash-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.dash-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: #ffffff;
}

.dash-btn-outline:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--cyan-glow);
    color: var(--cyan-glow);
}

/* ── Metric Stat Cards ───────────────────────────────────── */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 35px;
}

.dash-stat-card {
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.dash-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glass);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.1);
}

.dash-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dash-stat-title {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

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

.stat-icon-cyan {
    background: rgba(0, 255, 255, 0.12);
    color: var(--cyan-glow);
}

.stat-icon-gold {
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold-glow);
}

.stat-icon-purple {
    background: rgba(157, 78, 221, 0.15);
    color: #c77dff;
}

.stat-icon-green {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
}

.dash-stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
    font-family: monospace;
}

.dash-stat-footer {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ── Tab Bar Navigation ──────────────────────────────────── */
.dash-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    padding-bottom: 12px;
}

.dash-tab-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dash-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.dash-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.dash-tab-btn.active {
    background: rgba(0, 255, 255, 0.12);
    border-color: var(--cyan-glow);
    color: var(--cyan-glow);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.dash-tab-pill-count {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.dash-tab-btn.active .dash-tab-pill-count {
    background: var(--cyan-glow);
    color: #050b14;
    font-weight: bold;
}

.dash-search-box {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
}

.dash-search-box i {
    position: absolute;
    left: 12px;
    color: var(--text-dim);
}

.dash-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 8px 12px 8px 36px;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.dash-search-input:focus {
    border-color: var(--cyan-glow);
    background: rgba(255, 255, 255, 0.08);
}

/* ── Content Panes ───────────────────────────────────────── */
.dash-pane {
    display: none;
}

.dash-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Filter Sub-bar */
.dash-filter-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.dash-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dash-chip {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.dash-chip:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.dash-chip.active {
    background: rgba(255, 215, 0, 0.12);
    border-color: var(--gold-glow);
    color: var(--gold-glow);
    font-weight: 600;
}

/* ── Card Grids for Bookings & Orders ────────────────────── */
.dash-cards-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Event Booking Card */
.booking-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.booking-card:hover {
    border-color: var(--border-glass);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.booking-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.booking-title-group h3 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-ref-badge {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--cyan-glow);
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
}

.booking-org-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Status Badges */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid #ffaa00;
    color: #ffaa00;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.2);
}

.status-scheduled {
    background: rgba(0, 255, 255, 0.12);
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.status-approved,
.status-confirmed {
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid #2ed573;
    color: #2ed573;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.2);
}

.status-completed {
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid #c77dff;
    color: #c77dff;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.2);
}

.status-delivery {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
    animation: pulseGlow 2s infinite;
}

.status-packing {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--gold-glow);
    color: var(--gold-glow);
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 255, 255, 0.2); }
    50% { box-shadow: 0 0 18px rgba(0, 255, 255, 0.6); }
}

/* Booking Details Grid */
.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.booking-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-detail-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.booking-detail-val {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-detail-val i {
    color: var(--cyan-glow);
}

.booking-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-notes-preview {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 600px;
}

.booking-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Merchandise Order Card ──────────────────────────────── */
.order-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.order-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-meta-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.order-id-highlight {
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-glow);
}

.order-fulfillment-badge {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Order Pipeline Step Tracker */
.order-tracker-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 22px 10px 24px 10px;
}

.order-tracker-line {
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.order-tracker-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-glow), var(--cyan-glow));
    transition: width 0.5s ease;
}

.tracker-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.tracker-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #091322;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-dim);
    transition: var(--transition);
}

.tracker-node.completed .tracker-dot {
    background: var(--gold-glow);
    border-color: var(--gold-glow);
    color: #050b14;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.tracker-node.active .tracker-dot {
    background: var(--cyan-glow);
    border-color: #fff;
    color: #050b14;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    animation: nodePulse 1.5s infinite;
}

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

.tracker-node-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
}

.tracker-node.active .tracker-node-label,
.tracker-node.completed .tracker-node-label {
    color: #ffffff;
    font-weight: 700;
}

/* Order Items Table / Row */
.order-items-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 16px;
}

.order-item-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
}

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

.order-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-item-qty {
    background: rgba(0, 255, 255, 0.12);
    color: var(--cyan-glow);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.order-item-price {
    font-family: monospace;
    font-weight: 600;
    color: var(--text-primary);
}

.order-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
}

.order-total-highlight {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-glow);
    font-family: monospace;
}

.order-total-highlight small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: normal;
}

.order-rider-telemetry {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--cyan-glow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ── Empty State Card ────────────────────────────────────── */
.dash-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
}

.dash-empty-icon {
    font-size: 48px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.dash-empty-state h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
}

.dash-empty-state p {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 440px;
    margin: 0 auto 24px auto;
}

/* ── Interactive Modal for Receipts & Live Tracking ─────── */
.dash-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 11, 20, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dash-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.dash-modal-box {
    background: #0b1424;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 255, 0.15);
    position: relative;
    padding: 30px;
}

.dash-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.dash-modal-close:hover {
    background: rgba(255, 59, 48, 0.3);
    color: #ff6b6b;
}

/* Tracking Map inside Modal */
#dash-map-container {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    margin-top: 15px;
    overflow: hidden;
}

/* Toast Notifications */
#dash-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: rgba(10, 17, 32, 0.95);
    border: 1px solid var(--cyan-glow);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 10px;
}

#dash-toast.show {
    display: flex;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

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

/* ── Responsive Queries ──────────────────────────────────── */
@media (max-width: 768px) {
    .dash-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .dash-hero-actions {
        width: 100%;
    }

    .dash-btn {
        flex: 1;
        justify-content: center;
    }

    .dash-tabs-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-search-box {
        width: 100%;
    }

    .booking-details-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Dashboard Helper Utility Classes ────────────────────── */
.dash-user-nav-hidden {
    display: none;
}

.dash-content-hidden {
    display: none;
}

.dash-loader-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 11, 20, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.dash-loader-inner {
    text-align: center;
    color: var(--cyan-glow);
}

.dash-loader-spinner {
    font-size: 42px;
    margin-bottom: 12px;
    display: inline-block;
}

.dash-loader-text {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.gate-footer-link {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.gate-back-link {
    color: var(--cyan-glow);
    text-decoration: none;
}

.stat-next-event-val {
    font-size: 1.25rem;
    font-family: var(--font-sans);
    padding-top: 4px;
}

.dash-sync-badge {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.track-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.track-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.15);
    color: var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.track-title {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.track-subtitle {
    color: var(--cyan-glow);
    font-size: 0.85rem;
    margin: 0;
}

.track-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 10px;
}

.track-origin-pin {
    color: var(--gold-glow);
}

.track-dest-pin {
    color: #2ed573;
}

.track-verified-pin {
    color: var(--cyan-glow);
}

.toast-icon {
    color: var(--cyan-glow);
}

