/* ============================================================
   DASHBOARD.CSS — Authenticated Dashboard overrides
   Fixes:
   1. Forces dark theme in authenticated state (overrides light theme)
   2. Hides ALL public page sections when logged in
   3. Full-screen dashboard layout, no public content bleed-through
   4. Premium dark sidebar + viewport styling
   ============================================================ */

/* ─────────────────────────────────────────────────
   1. DARK THEME OVERRIDE — authenticated state
   Replaces the light theme set by style.css
───────────────────────────────────────────────── */
body.public-home.is-authenticated {
  --text: #e2ecff !important;
  --muted: rgba(226, 236, 255, 0.45) !important;
  --line: rgba(255,255,255,0.08) !important;
  --card: rgba(255,255,255,0.04) !important;
  --card-strong: rgba(255,255,255,0.07) !important;
  --accent: #3b82f6 !important;
  --accent-strong: #2563eb !important;
  background: #090f1d !important;
  color: #e2ecff !important;
}

body.public-home.is-authenticated h2,
body.public-home.is-authenticated h3,
body.public-home.is-authenticated h4,
body.public-home.is-authenticated strong {
  color: #e2ecff !important;
}

body.public-home.is-authenticated .brand,
body.public-home.is-authenticated .brand-subtitle,
body.public-home.is-authenticated .muted {
  color: rgba(226, 236, 255, 0.5) !important;
}

/* Topbar in authenticated state — dark */
body.public-home.is-authenticated .topbar {
  background: rgba(9, 15, 29, 0.95) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 1px 12px rgba(0,0,0,0.3) !important;
}

/* ─────────────────────────────────────────────────
   2. HIDE ALL PUBLIC SECTIONS when authenticated
───────────────────────────────────────────────── */
body.public-home.is-authenticated #home-hero,
body.public-home.is-authenticated #home-guest-actions,
body.public-home.is-authenticated #services-suggestions,
body.public-home.is-authenticated #auth-guest,
body.public-home.is-authenticated #how-it-works,
body.public-home.is-authenticated #fair-fares-model,
body.public-home.is-authenticated #safety-commitment,
body.public-home.is-authenticated #app-download-callout,
body.public-home.is-authenticated #cta-banner,
body.public-home.is-authenticated .public-footer,
body.public-home.is-authenticated .public-hero-shell,
body.public-home.is-authenticated .hero-shell,
body.public-home.is-authenticated .feature-strip,
body.public-home.is-authenticated #auth-restore-state {
  display: none !important;
}

/* Show the authenticated user dashboard */
body.public-home.is-authenticated #auth-user {
  display: grid !important;
}

/* ─────────────────────────────────────────────────
   3. FULL-SCREEN DASHBOARD LAYOUT
───────────────────────────────────────────────── */
body.public-home.is-authenticated .container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Dashboard shell: sidebar + viewport side by side */
.dashboard-shell {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  min-height: 100vh !important;
  height: 100vh !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #090f1d !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ─────────────────────────────────────────────────
   4. SIDEBAR — Premium dark sidebar
───────────────────────────────────────────────── */
.dashboard-sidebar {
  display: flex !important;
  flex-direction: column !important;
  background: #090e17 !important;
  border-right: 1px solid rgba(255,255,255,0.08) !important;
  padding: 16px 14px !important;
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255,255,255,0.06) transparent !important;
  z-index: 50 !important;
}

.dashboard-sidebar::-webkit-scrollbar { width: 3px; }
.dashboard-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 99px; }

/* Sidebar brand area */
.sidebar-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 20px 20px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.sidebar-logo {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

.sidebar-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  line-height: 1.1 !important;
}

.sidebar-subtitle {
  font-size: 11px !important;
  color: rgba(226,236,255,0.35) !important;
  font-weight: 500 !important;
  margin-top: 1px !important;
}

/* Sidebar profile card */
.sidebar-profile-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  margin: 12px 12px 8px !important;
  background: rgba(59, 130, 246, 0.07) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  border-radius: 14px !important;
}

.avatar-circle {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fff !important;
  flex-shrink: 0 !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

.user-details {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.user-details strong {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.role-badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #60a5fa !important;
  display: block !important;
}

/* Sidebar navigation */
.sidebar-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 8px 10px !important;
  flex: 1 !important;
}

.desktop-tab {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: 1.5px solid transparent !important;
  cursor: pointer !important;
  text-align: left !important;
  width: 100% !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  letter-spacing: 0.005em !important;
  text-decoration: none !important;
}

.desktop-tab:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.desktop-tab.is-active {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.5)) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.12) !important;
}

.desktop-tab.is-active:hover {
  transform: none !important;
}

.nav-icon {
  font-size: 16px !important;
  flex-shrink: 0 !important;
  width: 20px !important;
  text-align: center !important;
}

/* Sidebar footer */
.sidebar-footer {
  padding: 12px 10px 16px !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.sidebar-footer .btn-secondary,
.sidebar-footer .logout-btn {
  background: rgba(239,68,68,0.06) !important;
  border: 1px solid rgba(239,68,68,0.15) !important;
  color: #f87171 !important;
  width: 100% !important;
  justify-content: center !important;
  padding: 9px 16px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.sidebar-footer .btn-secondary:hover,
.sidebar-footer .logout-btn:hover {
  background: rgba(239,68,68,0.12) !important;
  border-color: rgba(239,68,68,0.28) !important;
  color: #fca5a5 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ─────────────────────────────────────────────────
   5. DASHBOARD VIEWPORT (right content area)
───────────────────────────────────────────────── */
.dashboard-viewport {
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(100vh - 64px) !important;
  overflow-y: auto !important;
  background: #090f1d !important;
}

/* Viewport header bar */
.viewport-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 18px 32px 14px !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
  background: rgba(9, 15, 29, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.viewport-eyebrow {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  color: rgba(226,236,255,0.35) !important;
  margin-bottom: 3px !important;
}

.viewport-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  letter-spacing: -0.025em !important;
  margin: 0 !important;
  line-height: 1.15 !important;
}

.viewport-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

/* Viewport scrollable body */
.viewport-body {
  flex: 1 !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255,255,255,0.06) transparent !important;
}

.viewport-body::-webkit-scrollbar { width: 4px; }
.viewport-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.07); border-radius: 99px; }

/* Wallet header badge */
.header-wallet-badge {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: rgba(245,158,11,0.1) !important;
  border: 1px solid rgba(245,158,11,0.2) !important;
  border-radius: 10px !important;
  padding: 5px 14px !important;
}

.wallet-lbl {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: rgba(251,191,36,0.7) !important;
}

.wallet-val {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

/* ─────────────────────────────────────────────────
   6. PANEL CARDS in dark dashboard
───────────────────────────────────────────────── */
body.public-home.is-authenticated .card,
body.public-home.is-authenticated .lane-card,
body.public-home.is-authenticated .account-profile-card,
body.public-home.is-authenticated .wallet-history-card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  color: #e2ecff !important;
  box-shadow: none !important;
}

body.public-home.is-authenticated .wallet-toolbar {
  background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(37,99,235,0.08)) !important;
  border: 1px solid rgba(245,158,11,0.18) !important;
  color: #e2ecff !important;
  box-shadow: none !important;
}

/* Fix input text in dark theme */
body.public-home.is-authenticated input,
body.public-home.is-authenticated select,
body.public-home.is-authenticated textarea {
  color: #e2ecff !important;
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.09) !important;
}

body.public-home.is-authenticated input::placeholder,
body.public-home.is-authenticated textarea::placeholder {
  color: rgba(226,236,255,0.2) !important;
}

body.public-home.is-authenticated input:focus,
body.public-home.is-authenticated select:focus,
body.public-home.is-authenticated textarea:focus {
  border-color: rgba(59,130,246,0.4) !important;
  background: rgba(59,130,246,0.05) !important;
  color: #fff !important;
  outline: none !important;
}

/* ─────────────────────────────────────────────────
   7. RESPONSIVE SIDEBAR
───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dashboard-shell {
    grid-template-columns: 1fr !important;
  }

  .dashboard-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    height: 100vh !important;
    z-index: 200 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
  }

  .dashboard-sidebar.is-open {
    transform: translateX(0) !important;
  }

  .dashboard-viewport {
    min-height: 100vh !important;
  }

  .viewport-header {
    padding: 14px 18px !important;
  }
}

/* ─────────────────────────────────────────────────
   8. VISIBILITY BUG FIXES (Authentication / Restoration)
   Ensures dashboard and logout elements hide properly when not logged in.
───────────────────────────────────────────────── */
body:not(.is-authenticated) #auth-user,
body:not(.is-authenticated) .dashboard-shell,
body.auth-restoring #auth-user,
body.auth-restoring .dashboard-shell {
  display: none !important;
}

body:not(.is-authenticated) #logout-btn {
  display: none !important;
}

body.is-authenticated #home-guest-actions {
  display: none !important;
}

/* ─────────────────────────────────────────────────
   9. RADAR MATCHING & DRIVER DISPATCH UI
───────────────────────────────────────────────── */
.radar-pulse-container {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.radar-sweep {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.4);
  background: conic-gradient(from 0deg, rgba(99, 102, 241, 0.35) 0deg, rgba(99, 102, 241, 0.05) 60deg, transparent 90deg);
  animation: radar-spin 2s linear infinite;
}

.radar-ripple-1, .radar-ripple-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.6);
  animation: radar-pulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.radar-ripple-2 {
  animation-delay: 0.8s;
}

.radar-center-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  z-index: 2;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radar-pulse {
  0% { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.dispatch-overlay-modal {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1050;
  width: 360px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 20px;
  padding: 22px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.3);
  animation: dispatch-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dispatch-slide-in {
  from { transform: translateY(-30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.dispatch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.dispatch-timer-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.dispatch-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 12px 0 16px 0;
}

.dispatch-progress-inner {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #ef4444);
  transition: width 1s linear;
}

.dispatch-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 16px;
}

.btn-dispatch-decline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dispatch-decline:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.btn-dispatch-accept {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: all 0.2s ease;
}

.btn-dispatch-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

/* ─────────────────────────────────────────────────
   10. IN-APP MASKED VOICE CALLING MODAL
───────────────────────────────────────────────── */
.call-modal-overlay {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1100;
  width: 340px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 24px;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.35);
  animation: call-modal-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes call-modal-slide-up {
  from { transform: translateY(40px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.call-modal-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px auto;
}

.call-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}

.call-status-badge {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #818cf8;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.call-participant-name {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.call-masked-number {
  text-align: center;
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.voice-wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  margin-bottom: 18px;
}

.wave-bar {
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #818cf8, #6366f1);
  border-radius: 2px;
  animation: wave-bounce 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; }
.wave-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes wave-bounce {
  0% { height: 6px; opacity: 0.3; }
  100% { height: 26px; opacity: 1; }
}

.canned-clips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.btn-canned-clip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-canned-clip:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  color: #ffffff;
}

.call-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.btn-call-tool {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-call-tool.active {
  background: rgba(99, 102, 241, 0.8);
  border-color: #818cf8;
}

.btn-end-call {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
  transition: all 0.2s ease;
}

.btn-end-call:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.7);
}

/* ─────────────────────────────────────────────────
   11. DRIVER TURN-BY-TURN NAVIGATION HUD & TRIP METER
───────────────────────────────────────────────── */
.nav-hud-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 20px;
  margin-top: 14px;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.nav-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.speedometer-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px 16px;
}

.speed-value-display {
  font-size: 26px;
  font-weight: 900;
  color: #38bdf8;
  font-family: monospace;
}

.speed-unit {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
}

.speed-limit-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #ef4444;
  color: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.maneuver-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.maneuver-icon-badge {
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
}

.maneuver-info {
  flex: 1;
}

.maneuver-dist {
  font-size: 13px;
  font-weight: 800;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.maneuver-text {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.trip-meter-bar-wrapper {
  margin-top: 10px;
}

.trip-meter-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.trip-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.trip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #22c55e);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ─────────────────────────────────────────────────
   12. RIDER TRAVEL SUMMARY & CARBON SAVINGS ANALYTICS
───────────────────────────────────────────────── */
.rider-analytics-container {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 24px;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.analytics-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.analytics-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.analytics-stat-val {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}

.analytics-stat-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
}

.eco-impact-banner {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(34, 197, 94, 0.5);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-download-statement {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-download-statement:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* ─────────────────────────────────────────────────
   13. DRIVER EARNINGS HEATMAP & SURGE MULTIPLIER RADAR
───────────────────────────────────────────────── */
.surge-heatmap-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 24px;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.surge-hotspots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.hotspot-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.hotspot-card:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
}

.surge-pill-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.surge-pill-badge.high {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
  animation: surge-badge-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes surge-badge-pulse {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.earnings-recommend-banner {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─────────────────────────────────────────────────
   14. EMERGENCY SOS GUARD & SAFETY AUDIO RECORDING
───────────────────────────────────────────────── */
.btn-emergency-sos {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  border: 2px solid #fca5a5;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.6);
  animation: sos-btn-pulse 1.8s ease-in-out infinite alternate;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@keyframes sos-btn-pulse {
  from { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  to { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.sos-modal-card {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border: 2px solid #ef4444;
  border-radius: 24px;
  padding: 28px;
  max-width: 480px;
  width: 90%;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.4);
  text-align: center;
}

.sos-recording-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  margin: 20px 0;
}

.sos-waveform-bar {
  width: 6px;
  background: #ef4444;
  border-radius: 999px;
  animation: record-waveform-bounce 1s ease-in-out infinite alternate;
}

.sos-waveform-bar:nth-child(1) { height: 16px; animation-delay: 0.1s; }
.sos-waveform-bar:nth-child(2) { height: 32px; animation-delay: 0.2s; }
.sos-waveform-bar:nth-child(3) { height: 24px; animation-delay: 0.3s; }
.sos-waveform-bar:nth-child(4) { height: 38px; animation-delay: 0.4s; }
.sos-waveform-bar:nth-child(5) { height: 20px; animation-delay: 0.5s; }

@keyframes record-waveform-bounce {
  from { transform: scaleY(0.4); opacity: 0.6; }
  to { transform: scaleY(1.2); opacity: 1; }
}

/* ─────────────────────────────────────────────────
   15. RIDE FARE SPLITTING BETWEEN MULTIPLE RIDERS
───────────────────────────────────────────────── */
.btn-split-fare {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-split-fare:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.6);
}

.split-modal-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 24px;
  padding: 28px;
  max-width: 480px;
  width: 90%;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.split-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 8px;
}

.split-badge-pending {
  background: #f59e0b;
  color: #1e293b;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.split-badge-accepted {
  background: #22c55e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────
   16. DRIVER DYNAMIC TOLL & PARKING REIMBURSEMENT
───────────────────────────────────────────────── */
.btn-toll-expense {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-toll-expense:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.6);
}

.toll-modal-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 24px;
  padding: 28px;
  max-width: 480px;
  width: 90%;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.detected-toll-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 8px;
}

.btn-add-detected-toll {
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-detected-toll:hover {
  background: #0284c7;
  color: #ffffff;
}

/* ─────────────────────────────────────────────────
   17. SCHEDULED RIDES & ADVANCE BOOKING RESERVE SYSTEM
───────────────────────────────────────────────── */
.badge-scheduled-countdown {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(168, 85, 247, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.scheduled-ride-card {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.reserve-datetime-picker {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────────
   18. PET-FRIENDLY & LUGGAGE CARGO PREFERENCES
───────────────────────────────────────────────── */
.badge-preference-pet {
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid #ec4899;
  color: #f472b6;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-preference-luggage {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ─────────────────────────────────────────────────
   19. DRIVER IN-APP TIPPING & GRATITUDE SYSTEM
───────────────────────────────────────────────── */
.btn-tip-driver {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-tip-driver:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6);
}

.tip-modal-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 24px;
  padding: 28px;
  max-width: 440px;
  width: 90%;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.chip-tip-preset {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-tip-preset:hover, .chip-tip-preset.active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}

/* ─────────────────────────────────────────────────
   20. CUSTOM PREFERENCE TOGGLES & SCHEDULE PICKER
───────────────────────────────────────────────── */
.pref-options-card {
  margin-top: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(12px);
}

.pref-toggles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.toggle-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

.custom-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 999px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Pet Friendly Pink Toggle */
.custom-switch.switch-pet input:checked + .switch-slider {
  background: linear-gradient(135deg, #ec4899, #db2777);
  border-color: #f472b6;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.4);
}

/* Extra Luggage Amber Toggle */
.custom-switch.switch-luggage input:checked + .switch-slider {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* Schedule Purple Toggle */
.custom-switch.switch-schedule input:checked + .switch-slider {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  border-color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.custom-switch input:checked + .switch-slider:before {
  transform: translateX(20px);
}

.schedule-picker-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-datetime-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
  color-scheme: dark;
}

.schedule-datetime-input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* ─────────────────────────────────────────────────
   21. DRIVER DYNAMIC AIRPORT QUEUE & SURGE RADAR
───────────────────────────────────────────────── */
.airport-queue-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.airport-pos-badge {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.5);
}

.airport-surge-chip {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pickup-instructions-badge {
  margin-top: 8px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #e9d5ff;
}

/* ─────────────────────────────────────────────────
   22. DRIVER GOALS GAMIFICATION & STREAKS
───────────────────────────────────────────────── */
.driver-goals-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(13, 25, 41, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tier-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  flex: 1;
  min-width: 110px;
  text-align: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.tier-chip.unlocked {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #4ade80;
}

.tier-chip.claimed {
  background: rgba(148, 163, 184, 0.15);
  border-color: #64748b;
  color: #94a3b8;
}

.goal-progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0;
}

.goal-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #eab308, #22c55e);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ─────────────────────────────────────────────────
   23. DRIVER HEADING HOME MODE FILTER
───────────────────────────────────────────────── */
.heading-home-card {
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 16px;
  padding: 16px;
  color: #ffffff;
}

.heading-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   24. RIDER SHARED CORRIDOR POOL & EXPRESS PASS
───────────────────────────────────────────────── */
.express-pass-banner {
  margin: 12px 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.express-pass-active-badge {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #c084fc;
  color: #e9d5ff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   25. DRIVER EV CHARGING RADAR & BATTERY OPTIMIZER
───────────────────────────────────────────────── */
.ev-charging-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(16, 37, 43, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ev-station-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plug-chip-free {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   26. ADMIN AUTOMATED DRIVER PAYOUT & SETTLEMENT
───────────────────────────────────────────────── */
.admin-payout-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.payout-status-chip {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   27. RIDER IN-APP AUDIO GUIDE & SIGHTSEEING TOUR
───────────────────────────────────────────────── */
.sightseeing-tour-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: 18px;
  padding: 18px;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(236, 72, 153, 0.1);
}

.landmark-item-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25 ease;
}

.landmark-item-card.is-speaking {
  border-color: #ec4899 !important;
  background: rgba(236, 72, 153, 0.1) !important;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.25) !important;
}

.landmark-tag-chip {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: #f472b6;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* ─────────────────────────────────────────────────
   28. DRIVER FLEET EXPENSE TRACKING LOGBOOK
───────────────────────────────────────────────── */
.driver-expense-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(20, 35, 45, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.expense-category-chip {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────
   29. RIDER GROUP BOOKING & MULTI-VEHICLE CONVOY
───────────────────────────────────────────────── */
.group-convoy-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.convoy-count-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.convoy-count-btn.is-active {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  border-color: #818cf8;
  color: #ffffff;
}

/* ─────────────────────────────────────────────────
   30. DRIVER IN-APP VOICE COMMAND ASSISTANT
───────────────────────────────────────────────── */
.driver-voice-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(24, 30, 45, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.voice-pulse-badge {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #34d399;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   31. RIDER SCHEDULED RECURRING COMMUTE SUBSCRIPTIONS
───────────────────────────────────────────────── */
.recurring-commute-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(6, 78, 59, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.commute-status-active {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #34d399;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
}

.commute-status-paused {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   32. DRIVER SMART AUTO-ACCEPT & SURGE FILTER
───────────────────────────────────────────────── */
.auto-accept-card {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(20, 25, 45, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.surge-threshold-chip {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.surge-threshold-chip.is-selected {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fbbf24;
  color: #ffffff;
}

/* ─────────────────────────────────────────────────
   33. LUXURY GLASSMORPHISM & CORRIDOR UI ENHANCEMENTS
───────────────────────────────────────────────── */
@keyframes seatGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

@keyframes radarBeamSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes neonBorderPulse {
  0%, 100% {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
  }
  50% {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.25);
  }
}

.luxury-glass-panel {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75)) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.luxury-seat-pulse {
  animation: seatGlowPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.luxury-neon-card {
  animation: neonBorderPulse 6s infinite ease-in-out;
}

.luxury-chip-button {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.luxury-chip-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.luxury-chip-button:active {
  transform: translateY(0);
}

/* Home Panel Luxury Glassmorphism & Speed Dials */
.home-hero-glow-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8)) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: 28px !important;
}

.home-speed-dial-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-speed-dial-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
  color: #7dd3fc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
}

.home-stat-tile {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: left !important;
}

.home-stat-tile:hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}

/* Sidebar & Header Luxury Upgrades */
.dashboard-sidebar {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(10, 15, 30, 0.98)) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sidebar-profile-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin-bottom: 16px !important;
  transition: all 0.2s ease !important;
}

.sidebar-profile-card:hover {
  border-color: rgba(56, 189, 248, 0.35) !important;
}

.desktop-tab {
  border-radius: 12px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: 700 !important;
}

.desktop-tab:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateX(3px) !important;
}

.desktop-tab.is-active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(14, 165, 233, 0.15)) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.2) !important;
}

.sidebar-gold-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(161, 98, 7, 0.3));
  border: 1px solid rgba(234, 179, 8, 0.5);
  color: #fde047;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.viewport-header {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6)) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 16px 28px !important;
  border-radius: 0 0 20px 20px !important;
  margin-bottom: 20px !important;
}

/* ─────────────────────────────────────────────────
   34. LUXURY FINTECH VIRTUAL CARD & WALLET STYLES
───────────────────────────────────────────────── */
.virtual-smart-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0369a1 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  max-width: 440px !important;
}

.virtual-smart-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.card-chip-gold {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid #fbbf24;
  border-radius: 6px;
  display: inline-block;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.topup-preset-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.topup-preset-chip:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #7dd3fc;
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────
   35. ULTRA-ATTRACTIVE PLATINUM OBSIDIAN & GOLD PVC CARD
───────────────────────────────────────────────── */
.pvc-smart-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.586 / 1;
  background: radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
              linear-gradient(135deg, #0b1528 0%, #112240 50%, #070e1e 100%);
  border: 1.5px solid #d4af37;
  border-radius: 16px;
  padding: 14px 16px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Brushed Holographic & Specular Laminate Reflection */
.pvc-smart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.15) 0%, rgba(212, 175, 55, 0.08) 35%, transparent 65%);
  pointer-events: none;
  border-radius: 16px;
}

.pvc-header-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.2px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 8px;
  position: relative;
  z-index: 2;
}

.pvc-card-body {
  display: grid;
  grid-template-columns: 82px 1fr 70px;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin: 4px 0;
}

.pvc-photo-box {
  width: 76px;
  height: 84px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e3a8a, #0f2b5c);
  border: 1.8px solid #d4af37;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.pvc-chip-gold {
  width: 30px;
  height: 22px;
  background: linear-gradient(135deg, #fde047 0%, #d4af37 50%, #854d0e 100%);
  border: 1px solid #fef08a;
  border-radius: 4px;
  margin-top: 4px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.3);
}

.pvc-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pvc-user-name {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pvc-user-role {
  font-size: 9.5px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pvc-id-num {
  font-size: 12px;
  font-weight: 900;
  font-family: monospace;
  color: #38bdf8;
  letter-spacing: 1px;
  margin-top: 1px;
}

.pvc-telemetry-row {
  display: flex;
  gap: 10px;
  font-size: 8.5px;
  color: #94a3b8;
  margin-top: 3px;
}

.pvc-qr-box {
  background: #ffffff;
  padding: 5px;
  border: 1.5px solid #d4af37;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.pvc-footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 6px;
  font-size: 8px;
  color: #94a3b8;
  font-weight: 700;
  position: relative;
  z-index: 2;
}



/* ─────────────────────────────────────────────────
   36. HIGH-PRECISION CR80 PVC CARD PRINT MEDIA RULES
───────────────────────────────────────────────── */
@media print {
  @page {
    size: A4 portrait;
    margin: 15mm;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Hide web layout containers */
  .auth-user,
  .dashboard-sidebar,
  .dashboard-viewport,
  .viewport-header,
  .viewport-body,
  .account-profile-shell,
  header,
  nav,
  aside,
  footer {
    display: none !important;
  }

  /* Show only the modal content as a clean printable card */
  #digital-id-card-modal {
    display: block !important;
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    height: auto !important;
    inset: auto !important;
    z-index: 1 !important;
  }

  #digital-id-card-modal > div {
    max-width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Hide print/download action buttons on printed paper */
  #btn-download-smart-id-png,
  #btn-print-smart-id-card,
  #btn-close-smart-id-modal {
    display: none !important;
  }

  /* Physical CR80 Card Dimensions on Print */
  #smart-id-card-render {
    width: 90mm !important;
    max-width: 90mm !important;
    height: 56.5mm !important;
    min-height: 56.5mm !important;
    border-radius: 4mm !important;
    margin: 30mm auto 10mm auto !important;
    box-shadow: none !important;
    border: 1.5px solid #0284c7 !important;
    page-break-inside: avoid !important;
    page-break-after: avoid !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #091326 0%, #0d1e38 40%, #032b4f 100%) !important;
  }

  .pvc-header-banner {
    border-bottom: 1.5px solid rgba(56, 189, 248, 0.5) !important;
  }

  .pvc-card-body {
    display: grid !important;
    grid-template-columns: 80px 1fr 70px !important;
    gap: 12px !important;
  }

  .pvc-photo-box {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    border: 2px solid #38bdf8 !important;
  }

  .pvc-chip-gold {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #b45309 100%) !important;
    border: 1px solid #fef08a !important;
  }

  .pvc-qr-box {
    background: #ffffff !important;
  }
}

/* ─────────────────────────────────────────────────
   37. INTERACTIVE TURNSTILE NFC TAP SIMULATOR
───────────────────────────────────────────────── */
.turnstile-gate-container {
  background: #0f172a;
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.turnstile-barrier {
  height: 12px;
  width: 180px;
  background: #ef4444;
  border-radius: 999px;
  margin: 18px auto;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.turnstile-barrier.unlocked {
  background: #22c55e;
  transform: rotate(-75deg) translateY(-20px);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.8);
}

.nfc-tap-target {
  border: 2px dashed #38bdf8;
  border-radius: 16px;
  padding: 16px;
  background: rgba(56, 189, 248, 0.05);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nfc-tap-target:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #7dd3fc;
  transform: scale(1.02);
}

/* ─────────────────────────────────────────────────
   38. ECO-COIN & GREEN MILEAGE REWARDS STORE
───────────────────────────────────────────────── */
.eco-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.eco-reward-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.eco-reward-card:hover {
  border-color: #4ade80;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.15);
}

/* ─────────────────────────────────────────────────
   39. LIVE PASSENGER SOS EMERGENCY CONSOLE
───────────────────────────────────────────────── */
.sos-pulse-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  animation: sosPulse 2s infinite;
}

@keyframes sosPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 25px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ─────────────────────────────────────────────────
   40. AI COMMUTE BUTLER & PREDICTIVE PLANNER
───────────────────────────────────────────────── */
.ai-butler-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ─────────────────────────────────────────────────
   41. CORPORATE CARPOOL & TECH-PARK MATCHER
───────────────────────────────────────────────── */
.carpool-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.carpool-match-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s ease;
}

.carpool-match-card:hover {
  border-color: #c084fc;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

/* ─────────────────────────────────────────────────
   42. IN-CAB AUDIO LOUNGE & STATION ANNOUNCER
───────────────────────────────────────────────── */
.audio-lounge-bar {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 320px;
  width: calc(100% - 32px);
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  padding: 10px 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}

.station-pill-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.station-pill-chip.active {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border-color: #38bdf8;
  color: #ffffff;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   43. PATHIKGO CLUB MEMBERSHIP SUBSCRIPTION
───────────────────────────────────────────────── */
.membership-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.membership-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.membership-card.gold-tier {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.08) 0%, rgba(15, 23, 42, 0.9) 100%);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.membership-card.platinum-tier {
  border-color: rgba(168, 85, 247, 0.6);
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2);
}

.membership-perks-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  color: #cbd5e1;
}

.membership-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  line-height: 1.35;
}

.membership-perks-list li span:first-child {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─────────────────────────────────────────────────
   44. ACCOUNT OVERVIEW HUB & EDIT PROFILE MODAL
───────────────────────────────────────────────── */
.account-profile-shell {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 1100px) {
  .account-profile-shell {
    grid-template-columns: 1fr;
  }
}

.account-profile-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.account-info-tile {
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.account-info-tile:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.info-tile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.info-tile-title {
  font-size: 11px;
  font-weight: 800;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-tile-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-tile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-tile-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-tile-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.info-tile-val {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

#edit-profile-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 9999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.edit-profile-modal-box {
  margin: auto !important;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: #0b1329;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  padding: 26px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.edit-profile-modal-box::-webkit-scrollbar {
  width: 6px;
}
.edit-profile-modal-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

/* ─────────────────────────────────────────────────
   45. LUXURY OFFERS & VOUCHERS HUB
───────────────────────────────────────────────── */
.offers-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.offers-hub-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.offers-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

.offer-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #818cf8);
}

.offer-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.offer-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offer-discount-badge {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(56, 189, 248, 0.15));
  border: 1.5px solid #38bdf8;
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.offer-status-pill {
  font-size: 10px;
  font-weight: 800;
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.offer-code-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 14px;
  margin: 6px 0;
}

.offer-code-text {
  font-family: monospace;
  font-size: 18px;
  font-weight: 900;
  color: #fde047;
  letter-spacing: 1px;
}

.offer-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.offer-copy-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #fff;
}

.offer-card-desc {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.offer-apply-btn {
  width: 100%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 16px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.offer-apply-btn:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

/* ─────────────────────────────────────────────────
   46. LUXURY RIDE CARD & SUPPORT CHANNELS
───────────────────────────────────────────────── */
.support-quick-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: rgba(56, 189, 248, 0.6) !important;
}

.support-topic-chip {
  transition: all 0.15s ease;
}

.support-topic-chip:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
  transform: translateY(-1px);
}

.ride-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.65) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 20px 22px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ride-card:hover {
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6) !important;
}

.ride-card-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
  margin: 12px 0;
}

@media (max-width: 900px) {
  .ride-card-main-grid {
    grid-template-columns: 1fr;
  }
}

.ride-route-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 20px;
}

.ride-route-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #22c55e 0%, #38bdf8 50%, #f43f5e 100%);
  border-radius: 999px;
}

.ride-route-point {
  position: relative;
}

.ride-route-point::before {
  content: '';
  position: absolute;
  left: -19px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.ride-route-point.pickup::before {
  background: #22c55e;
  color: #22c55e;
}

.ride-route-point.dropoff::before {
  background: #f43f5e;
  color: #f43f5e;
}

.booking-map-frame {
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: #0b1329;
}

#active-sessions-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 9999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.active-sessions-modal-box {
  margin: auto !important;
  max-width: 580px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: #0b1329;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  padding: 26px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.active-sessions-modal-box::-webkit-scrollbar {
  width: 6px;
}
.active-sessions-modal-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}


















