* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --bg-soft: #0d1b31;
  --card: rgba(10, 20, 36, 0.78);
  --card-strong: rgba(16, 31, 55, 0.92);
  --line: rgba(161, 196, 255, 0.16);
  --line-strong: rgba(125, 212, 252, 0.32);
  --text: #eff6ff;
  --muted: rgba(226, 236, 255, 0.72);
  --accent: #64d2ff;
  --accent-strong: #0ea5e9;
  --accent-warm: #f59e0b;
  --success: #34d399;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Instrument Sans', 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(245, 158, 11, 0.14), transparent 22%),
    linear-gradient(180deg, #091222 0%, #07111f 55%, #050c17 100%);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(161, 196, 255, 0.08);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: block;
  flex: 0 0 auto;
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.24);
}

.brand {
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 80px;
}

body[data-admin-page] .container {
  max-width: 1420px;
}

body.public-home:not(.is-authenticated) {
  --bg-soft: #0d1b31;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(161, 196, 255, 0.16);
  --card: rgba(10, 20, 36, 0.45);
  --card-strong: rgba(16, 31, 55, 0.85);
  --accent: #1b7cff;
  --accent-strong: #2563eb;
  background:
    radial-gradient(circle at top left, rgba(27, 124, 255, 0.16), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.12), transparent 22%),
    linear-gradient(180deg, #0b1220 0%, #070c16 55%, #03060b 100%);
  color: var(--text);
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.hero-glow-1, .hero-glow-2 {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  background: radial-gradient(circle, #1b7cff, transparent 70%);
  top: -10%;
  left: -10%;
  animation: floatGlow1 24s infinite alternate ease-in-out;
}
.hero-glow-2 {
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  bottom: 0%;
  right: -5%;
  animation: floatGlow2 28s infinite alternate ease-in-out;
}
@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.1); }
  100% { transform: translate(-20px, 120px) scale(0.95); }
}
@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, -80px) scale(0.9); }
  100% { transform: translate(40px, 30px) scale(1.15); }
}

body.public-home:not(.is-authenticated)::before {
  display: block;
  z-index: -1;
  pointer-events: none;
}

body.public-home:not(.is-authenticated) .topbar {
  background: rgba(17, 26, 46, 0.82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

body.public-home:not(.is-authenticated) .brand-mark {
  box-shadow: 0 10px 26px rgba(27, 124, 255, 0.2);
}

body.public-home:not(.is-authenticated) .brand {
  color: var(--text);
}

body.public-home:not(.is-authenticated) .brand-subtitle {
  color: var(--muted);
}

body.public-home:not(.is-authenticated) .container {
  max-width: 1180px;
  padding-top: 44px;
}

body.public-home:not(.is-authenticated) .public-hero-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: 28px;
  align-items: center;
}

body.public-home:not(.is-authenticated) .hero-copy h1 {
  max-width: 720px;
  color: var(--text);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.15;
}

body.public-home:not(.is-authenticated) .hero-text {
  max-width: 620px;
  color: var(--muted);
}

body.public-home:not(.is-authenticated) .eyebrow,
body.public-home:not(.is-authenticated) .panel-label {
  color: var(--accent);
}

body.public-home:not(.is-authenticated) .card,
body.public-home:not(.is-authenticated) .hero-panel,
body.public-home:not(.is-authenticated) .showcase-card,
body.public-home:not(.is-authenticated) .auth-entry-card,
body.public-home:not(.is-authenticated) .status-shell {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(8px);
}

body.public-home:not(.is-authenticated) .btn {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px rgba(27, 124, 255, 0.35);
  transition: all 0.2s ease;
}

body.public-home:not(.is-authenticated) .btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 6px 20px rgba(27, 124, 255, 0.45);
}

body.public-home:not(.is-authenticated) .btn-ghost,
body.public-home:not(.is-authenticated) .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line);
  transition: all 0.2s ease;
}

body.public-home:not(.is-authenticated) .btn-ghost:hover,
body.public-home:not(.is-authenticated) .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

body.public-home:not(.is-authenticated) .feature-strip {
  gap: 10px;
}

body.public-home:not(.is-authenticated) .feature-pill,
body.public-home:not(.is-authenticated) .inline-badge {
  background: rgba(27, 124, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

body.public-home:not(.is-authenticated) .feature-pill:hover {
  background: rgba(27, 124, 255, 0.14);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(27, 124, 255, 0.2);
}

.public-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-top: 38px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.public-footer div,
.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.public-footer strong {
  color: var(--text);
}

.public-footer a {
  color: var(--muted);
  font-weight: 800;
  transition: color 0.2s ease;
}

.public-footer a:hover {
  color: var(--accent);
}

body.public-home.is-authenticated .public-footer {
  display: none;
}

/* Store Policy Pages Modern Glassmorphism Theme System */
:root {
  --store-bg: #090d16;
  --store-text: #f8fafc;
  --store-header-bg: rgba(15, 23, 42, 0.85);
  --store-border: rgba(255, 255, 255, 0.1);
  --store-card-bg: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.6));
  --store-card-border: rgba(255, 255, 255, 0.08);
  --store-subtext: #94a3b8;
  --store-heading: #ffffff;
  --store-sidebar-active-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
  --store-sidebar-active-text: #818cf8;
  --store-sidebar-active-border: rgba(99, 102, 241, 0.5);
  --store-link: #818cf8;
}

[data-theme="light"] {
  --store-bg: #f8fafc;
  --store-text: #0f172a;
  --store-header-bg: rgba(255, 255, 255, 0.92);
  --store-border: #e2e8f0;
  --store-card-bg: #ffffff;
  --store-card-border: #e2e8f0;
  --store-subtext: #475569;
  --store-heading: #0f172a;
  --store-sidebar-active-bg: #eff6ff;
  --store-sidebar-active-text: #2563eb;
  --store-sidebar-active-border: #93c5fd;
  --store-link: #1d4ed8;
}

.store-page {
  min-height: 100vh;
  background: var(--store-bg);
  color: var(--store-text);
  transition: background 0.3s ease, color 0.3s ease;
}

.store-page::before {
  display: none;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: var(--store-header-bg);
  border-bottom: 1px solid var(--store-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(16px);
}

.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--store-heading);
  font-size: 20px;
  font-weight: 900;
}

.store-brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.store-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.store-nav a,
.store-sidebar a {
  border: 1px solid var(--store-border);
  background: var(--store-card-bg);
  color: var(--store-subtext);
  font-weight: 600;
  transition: all 0.2s ease;
}

.store-nav a:hover,
.store-sidebar a:hover {
  color: var(--store-heading);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.store-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.store-main {
  display: grid;
  grid-template-columns: 260px minmax(0, 860px);
  gap: clamp(22px, 4vw, 52px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px) 20px 80px;
}

.store-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  align-self: start;
  gap: 10px;
}

.store-sidebar a {
  padding: 13px 16px;
  border-radius: 12px;
}

.store-sidebar a.is-active {
  border-color: var(--store-sidebar-active-border);
  background: var(--store-sidebar-active-bg);
  color: var(--store-sidebar-active-text);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

.store-document {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--store-card-border);
  border-radius: 20px;
  background: var(--store-card-bg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.store-document h1,
.store-document h2,
.store-document p,
.store-document ul,
.store-document ol {
  max-width: 760px;
}

.store-document h1 {
  margin: 0 0 18px;
  color: var(--store-heading);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.store-document h2 {
  margin: 34px 0 10px;
  color: var(--store-heading);
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.store-document p,
.store-document li {
  color: var(--store-subtext);
  font-size: 1rem;
  line-height: 1.7;
}

.store-document a {
  color: var(--store-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
}

.store-document ul,
.store-document ol {
  padding-left: 22px;
}

.store-document li + li {
  margin-top: 8px;
}

.store-eyebrow {
  margin: 0 0 12px;
  color: #2563eb !important;
  font-size: 0.82rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 8px;
}

.store-contact-grid div,
.store-action-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #f8fafc;
}

.store-contact-grid strong {
  color: #101828;
}

.store-contact-grid span {
  color: #667085;
  font-size: 0.94rem;
  line-height: 1.5;
}

.store-action-panel {
  max-width: 760px;
  margin: 24px 0 8px;
}

.store-action-panel h2 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .store-main {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }

  .store-sidebar a {
    flex: 1 1 190px;
  }

  .store-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .public-footer,
  .store-header {
    align-items: stretch;
    flex-direction: column;
  }

  .public-footer nav,
  .store-nav {
    justify-content: flex-start;
  }

  .store-document {
    padding: 22px;
  }

  .store-document h1 {
    font-size: 2.35rem;
  }
}

.public-booking-preview {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(10, 20, 36, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(161, 196, 255, 0.12);
  border-radius: 24px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-booking-preview:hover {
  border-color: rgba(142, 215, 255, 0.3);
  box-shadow: 
    0 32px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 30px rgba(27, 124, 255, 0.12);
}

.preview-route-card,
.preview-status-card,
.preview-fare-row {
  padding: 14px;
  border-radius: 16px;
  background: rgba(13, 27, 49, 0.55);
  border: 1px solid rgba(161, 196, 255, 0.08);
  color: var(--text);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-fare-row:hover {
  background: rgba(13, 27, 49, 0.85);
  border-color: rgba(142, 215, 255, 0.2);
  transform: translateY(-2px);
}

.preview-route-card {
  display: grid;
  gap: 12px;
}

.preview-route-card span,
.preview-status-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-route-card strong,
.preview-status-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.preview-fare-list {
  display: grid;
  gap: 10px;
}

.preview-fare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-fare-row.is-selected {
  background: rgba(27, 124, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(27, 124, 255, 0.12);
}

.preview-tabs button {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 12px !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.preview-tabs button.is-active {
  background: linear-gradient(135deg, #4f46e5, #1b7cff) !important;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.45) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  color: #ffffff !important;
}

.preview-tabs button.btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
}

.preview-tabs button.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px);
}

.settings-tab-btn {
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

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

.settings-tab-btn.is-active {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
}

body.public-home:not(.is-authenticated) .check-list div,
body.public-home:not(.is-authenticated) .auth-empty-state {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--text);
}

body.public-home:not(.is-authenticated) .auth-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-home.is-authenticated {
  --text: #111827;
  --muted: #667085;
  --line: #d9e1ec;
  --card: #ffffff;
  --card-strong: #ffffff;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  background: #f4f6fb;
  color: var(--text);
}

body.public-home.is-authenticated::before {
  display: none;
}

body.public-home.is-authenticated .topbar {
  min-width: 0;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e4e7ec;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

body.public-home.is-authenticated .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex: 0 0 auto;
  box-shadow: none;
}

body.public-home.is-authenticated .brand-lockup {
  min-width: 0;
}

body.public-home.is-authenticated .top-actions {
  margin-left: auto;
  flex: 0 0 auto;
}

body.public-home.is-authenticated .btn-ghost,
body.public-home.is-authenticated .btn-secondary {
  background: #ffffff;
  border-color: #d0d5dd;
  color: #344054;
  box-shadow: none;
}

body.public-home.is-authenticated .btn-ghost:hover,
body.public-home.is-authenticated .btn-secondary:hover {
  background: #f8fafc;
  border-color: #b8c3d4;
  box-shadow: none;
}

body.public-home.is-authenticated .brand,
body.public-home.is-authenticated h2,
body.public-home.is-authenticated h3,
body.public-home.is-authenticated strong {
  color: #111827;
}

body.public-home.is-authenticated .brand-subtitle,
body.public-home.is-authenticated .muted {
  color: #667085;
}

body.public-home.is-authenticated .container {
  max-width: 1320px;
  padding: 26px 24px 72px;
}

body.public-home.is-authenticated .dashboard-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

body.public-home.auth-restoring #home-hero,
body.public-home.auth-restoring #home-guest-actions,
body.public-home.auth-restoring #services-suggestions,
body.public-home.auth-restoring #auth-guest,
body.public-home.auth-restoring #how-it-works,
body.public-home.auth-restoring #fair-fares-model,
body.public-home.auth-restoring #safety-commitment,
body.public-home.auth-restoring #app-download-callout,
body.public-home.auth-restoring #cta-banner,
body.public-home.auth-restoring #auth-user {
  display: none !important;
}

body.public-home.auth-restoring #auth-restore-state {
  display: grid !important;
}

body.public-home.is-authenticated .auth-restore-state .dashboard-main {
  min-height: 360px;
}

body.public-home.is-authenticated .dashboard-side {
  display: none;
}

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,
body.public-home.is-authenticated .wallet-toolbar {
  background: #ffffff;
  border: 1px solid #d9e1ec;
  color: #111827;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

body.public-home.is-authenticated .dashboard-main {
  padding: 20px;
  max-width: 100%;
}

body.public-home.is-authenticated .dashboard-welcome {
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid #e4e7ec;
}

body.public-home.is-authenticated .dashboard-welcome h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.08;
}

body.public-home.is-authenticated .profile-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body.public-home.is-authenticated .profile-item,
body.public-home.is-authenticated .desktop-home-hero,
body.public-home.is-authenticated .desktop-home-card,
body.public-home.is-authenticated .desktop-app-tabs,
body.public-home.is-authenticated .mini-metrics,
body.public-home.is-authenticated .auth-empty-state,
body.public-home.is-authenticated .auth-pane,
body.public-home.is-authenticated .ride-feedback-box {
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  color: #111827;
}

body.public-home.is-authenticated .desktop-app-tabs {
  margin-top: 14px;
  padding: 6px;
  border-radius: 14px;
  overflow-x: auto;
  flex-wrap: nowrap;
  position: sticky;
  top: 73px;
  z-index: 4;
}

body.public-home.is-authenticated .desktop-tab {
  min-height: 38px;
  padding: 0 16px;
  color: #667085;
  white-space: nowrap;
}

body.public-home.is-authenticated .desktop-tab.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

body.public-home.is-authenticated .desktop-home-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06)),
    #ffffff;
}

body.public-home.is-authenticated .desktop-home-hero h3 {
  color: #111827;
}

body.public-home.is-authenticated .desktop-home-route-cta {
  background: #ffffff;
  border-color: #d9e1ec;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

body.public-home.is-authenticated .desktop-home-route-cta:hover {
  background: #f8fbff;
  border-color: #bfdbfe;
}

.desktop-home-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.desktop-flow-card {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e4e7ec;
}

.desktop-flow-card.primary {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.desktop-flow-card span,
body.public-home.is-authenticated .desktop-home-card span,
body.public-home.is-authenticated .profile-label,
body.public-home.is-authenticated .mini-label {
  color: #667085;
}

.desktop-flow-card strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.desktop-flow-card p {
  margin: 8px 0 0;
  color: #667085;
  line-height: 1.5;
}

body.public-home.is-authenticated .desktop-home-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

body.public-home.is-authenticated .desktop-home-card {
  min-height: 96px;
}

body.public-home.is-authenticated .profile-item {
  min-width: 0;
  min-height: 78px;
  padding: 14px 16px;
}

body.public-home.is-authenticated .profile-item strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.25;
  font-size: clamp(18px, 1.8vw, 23px);
}

body.public-home.is-authenticated #user-email {
  font-size: clamp(15px, 1.35vw, 19px);
}

body.public-home.is-authenticated .profile-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.public-home.is-authenticated input,
body.public-home.is-authenticated select,
body.public-home.is-authenticated textarea {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #111827;
}

body.public-home.is-authenticated input::placeholder,
body.public-home.is-authenticated textarea::placeholder {
  color: #98a2b3;
}

body.public-home.is-authenticated label {
  color: #344054;
}

body.public-home.is-authenticated .inline-badge {
  background: #f2f4f7;
  border-color: #e4e7ec;
  color: #344054;
}

body.public-home.is-authenticated .inline-badge.success {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #047857;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-copy {
  position: relative;
}

.hero-copy {
  padding: 14px 4px;
}

.eyebrow,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  color: #8ed7ff;
}

.hero-copy h1 {
  margin: 14px 0 16px;
  max-width: 12ch;
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: clamp(3rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 26px;
}

.feature-strip {
  margin-top: 22px;
}

.feature-pill,
.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(161, 196, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #dff4ff;
  font-size: 13px;
  flex-shrink: 0;
  white-space: nowrap;
}

.inline-badge.accent {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.24);
}

.inline-badge.success {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero-panel {
  background:
    radial-gradient(circle at top right, rgba(100, 210, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--card-strong);
}

.journey-steps {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.journey-step {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.journey-step strong,
.stat-value,
h1,
h2,
h3,
h4 {
  color: var(--text);
}

.journey-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.step-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 999px;
  border: 3px solid rgba(7, 17, 31, 0.9);
  background: rgba(161, 196, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(161, 196, 255, 0.18);
}

.journey-step.is-active .step-dot {
  background: linear-gradient(135deg, #67e8f9, #fbbf24);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat-card {
  display: grid;
  gap: 4px;
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(161, 196, 255, 0.12);
}

.stat-card.accent {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.05));
  border-color: rgba(245, 158, 11, 0.22);
}

.stat-value {
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.stat-label,
.muted,
.profile-label,
.mini-label {
  color: var(--muted);
}

.status-shell {
  margin-top: 22px;
}

.status {
  min-height: 0;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-grid,
.dashboard-grid {
  gap: 18px;
  margin-top: 22px;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(260px, 0.96fr) minmax(260px, 0.96fr);
  align-items: start;
}

.auth-grid-compact {
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 1fr);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.dashboard-main {
  width: 100%;
  min-width: 0;
}

body[data-admin-page]:not([data-admin-page='overview']) .dashboard-main {
  padding: 28px;
}

.showcase-card,
.dashboard-side {
  min-height: 100%;
}

.showcase-card h2,
.dashboard-side h2 {
  margin: 12px 0 12px;
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.card-header,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.card-header h2,
.section-heading h3,
.lane-card h4 {
  margin: 6px 0 0;
}

.auth-card h2 {
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.auth-entry-card {
  display: grid;
  gap: 16px;
}

.auth-mode-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  margin-top: 16px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.auth-mode-switch .btn {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #94a3b8;
  box-shadow: none;
  transition: all 0.25s ease;
}

.auth-mode-switch .btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.auth-mode-switch .btn:not(.btn-secondary),
.auth-mode-switch .btn.active-tab {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
}

.auth-empty-state,
.auth-pane {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.role-pill-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-pill-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.role-pill-btn.active {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.22), rgba(79, 70, 229, 0.12));
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.btn-primary-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
  background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
}

.auth-empty-state {
  display: grid;
  gap: 8px;
}

.auth-empty-state strong {
  color: var(--text);
  font-size: 18px;
}

.auth-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.auth-pane-header h3 {
  margin: 6px 0 0;
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.auth-pane-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.auth-helper-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-helper-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.auth-helper-card a {
  color: #7dd3fc;
  word-break: break-all;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(239, 246, 255, 0.92);
}

input,
select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(161, 196, 255, 0.14);
  background: rgba(3, 10, 20, 0.46);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

input::placeholder {
  color: rgba(226, 236, 255, 0.38);
}

input:focus,
select:focus {
  border-color: rgba(100, 210, 255, 0.54);
  background: rgba(5, 17, 30, 0.68);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(125, 212, 252, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(59, 130, 246, 0.88));
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(14, 165, 233, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(161, 196, 255, 0.16);
  box-shadow: none;
}

.btn-danger {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.92), rgba(225, 29, 72, 0.88));
  border-color: rgba(251, 113, 133, 0.26);
  box-shadow: 0 16px 32px rgba(225, 29, 72, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(161, 196, 255, 0.18);
  box-shadow: none;
  color: var(--text);
}

.small {
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check-list div {
  position: relative;
  padding-left: 20px;
  color: rgba(239, 246, 255, 0.92);
}

.check-list div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #67e8f9, #fbbf24);
}

.kv,
.profile-grid {
  display: grid;
  gap: 12px;
}

.profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.profile-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.profile-item strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  word-break: break-word;
}

.row {
  margin-top: 18px;
}

.dashboard-actions {
  display: flex;
  justify-content: flex-start;
}

.desktop-app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.desktop-tab {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.desktop-tab.is-active {
  color: var(--text);
  background: rgba(111, 211, 255, 0.12);
  border-color: rgba(111, 211, 255, 0.28);
}

.desktop-panel {
  margin-top: 18px;
}

.desktop-home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.desktop-home-hero h3 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}

.desktop-home-route-cta {
  width: min(520px, 100%);
  margin-top: 18px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(161, 196, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.desktop-home-route-cta:hover {
  border-color: rgba(111, 211, 255, 0.34);
  background: rgba(111, 211, 255, 0.08);
}

.desktop-home-route-cta strong,
.desktop-home-route-cta small {
  display: block;
}

.desktop-home-route-cta strong {
  font-size: 18px;
}

.desktop-home-route-cta small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.route-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 28px 0 #fb7185;
}

.desktop-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.desktop-home-card {
  min-height: 96px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(161, 196, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.desktop-home-card span,
.desktop-home-card strong {
  display: block;
}

.desktop-home-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.desktop-home-card strong {
  margin-top: 10px;
  font-size: 22px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.offer-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(161, 196, 255, 0.12);
}

.offer-card span {
  color: #8ed7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card > strong {
  color: var(--text);
  font-size: 26px;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.role-panel {
  margin-top: 20px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(161, 196, 255, 0.12);
}

.account-profile-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-top: 0;
  align-items: start;
}

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

.account-profile-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(13, 25, 47, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.account-profile-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.section-heading.compact {
  align-items: center;
}

.profile-preview-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.profile-avatar-upload {
  position: relative;
  width: 88px;
  height: 88px;
}

.profile-avatar-trigger,
.profile-avatar-image,
.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.profile-avatar-trigger {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(161, 196, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.profile-avatar-trigger:hover,
.profile-avatar-trigger:focus-visible,
.profile-avatar-trigger.is-dragging {
  border-color: rgba(100, 210, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(100, 210, 255, 0.14);
  transform: translateY(-1px);
}

.profile-avatar-image {
  display: block;
  object-fit: cover;
}

.profile-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(125, 212, 252, 0.22);
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
}

.profile-avatar-overlay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #06111f;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.profile-avatar-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(251, 113, 133, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(225, 29, 72, 0.92);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.24);
}

.profile-avatar-upload:has(.profile-avatar-image[src]) .profile-avatar-remove {
  display: inline-flex;
}

.profile-preview-copy {
  display: grid;
  gap: 6px;
}

.profile-preview-copy strong {
  font-size: 20px;
}

.profile-progress-track {
  width: 100%;
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.profile-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.92), rgba(52, 211, 153, 0.92));
  transition: width 180ms ease;
}

.profile-missing-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.profile-missing-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(161, 196, 255, 0.12);
  color: #dff4ff;
  font-size: 12px;
}

.profile-missing-pill.is-complete {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.24);
}

.profile-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.driver-document-section {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.driver-document-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.driver-document-card {
  display: grid;
  gap: 6px;
  min-height: 98px;
  padding: 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(161, 196, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.driver-document-card:hover {
  transform: translateY(-1px);
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(52, 211, 153, 0.08);
}

.driver-document-card strong {
  font-size: 14px;
}

.driver-document-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.driver-document-preview,
.admin-document-preview {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(161, 196, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.driver-document-preview img,
.admin-document-preview img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.driver-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.driver-document-action {
  flex: 1 1 92px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.driver-verification-notice {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.12);
  color: #fef3c7;
  font-size: 13px;
  line-height: 1.5;
}

.driver-availability-card {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(161, 196, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.driver-availability-card strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 18px;
}

.driver-earnings-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.driver-earning-item {
  padding: 12px;
  border-radius: 16px;
  background: rgba(27, 124, 255, 0.12);
  border: 1px solid rgba(111, 211, 255, 0.22);
}

.driver-earning-item strong {
  display: block;
  color: var(--text);
  font-size: 20px;
}

.driver-earning-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.driver-history-card {
  margin-top: 14px;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
  justify-content: start;
  gap: 16px;
  margin-top: 16px;
}

.admin-filter-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.admin-filter-toolbar {
  align-items: flex-start;
}

.admin-filter-sections {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.admin-filter-group {
  padding: 14px;
  border-radius: 18px;
  background: rgba(7, 12, 27, 0.36);
  border: 1px solid rgba(161, 196, 255, 0.08);
}

.admin-page-nav {
  width: min(1200px, calc(100vw - 32px));
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-admin-page] .admin-page-nav {
  width: min(1420px, calc(100vw - 32px));
}

.admin-page-link {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(161, 196, 255, 0.12);
  background: rgba(8, 17, 31, 0.68);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.admin-page-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.admin-page-link.is-active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(16, 185, 129, 0.24));
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.28);
  color: #ffffff;
}

.admin-filter-group-search .field input {
  min-height: 48px;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.admin-filter-grid .field {
  margin-top: 0;
}

.admin-user-browser {
  padding: 14px;
  border-radius: 18px;
  background: rgba(7, 12, 27, 0.28);
  border: 1px solid rgba(161, 196, 255, 0.08);
}

.admin-overview-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.admin-overview-link {
  display: grid;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.admin-overview-link:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 162, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.admin-overview-link p {
  margin: 0;
  color: var(--muted);
}

.admin-user-browser-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-user-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-user-tab {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(161, 196, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.admin-user-tab:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.admin-user-tab.is-active {
  background: linear-gradient(135deg, rgba(122, 162, 255, 0.22), rgba(95, 232, 219, 0.2));
  border-color: rgba(122, 162, 255, 0.45);
}

.admin-user-browser-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-user-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.admin-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
}

.admin-item-card {
  min-height: 118px;
}

.admin-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-card-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.admin-card-metric {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 12, 27, 0.34);
  border: 1px solid rgba(161, 196, 255, 0.08);
}

.admin-card-metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-card-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.25;
}

.admin-user-card,
.admin-ride-card {
  display: grid;
  gap: 8px;
}

.admin-documents-panel {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(161, 196, 255, 0.08);
}

.admin-load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.admin-settlement-card {
  display: grid;
  gap: 10px;
}

.admin-settlement-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.admin-settlement-metric {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 12, 27, 0.34);
  border: 1px solid rgba(161, 196, 255, 0.08);
}

.admin-settlement-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-settlement-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.admin-settlement-actions {
  margin-top: 2px;
}

.admin-ledger-summary {
  margin-top: 10px;
}

.admin-ledger-open-rides {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.admin-ledger-open-ride {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(161, 196, 255, 0.06);
}

.admin-feedback-alert {
  color: #ffd9a8;
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.14);
  border: 1px solid rgba(217, 119, 6, 0.28);
}

.admin-document-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(161, 196, 255, 0.08);
}

.admin-document-row .muted {
  flex: 1 1 150px;
}

.admin-document-preview {
  flex: 0 0 74px;
}

.admin-document-preview img {
  height: 58px;
}

.admin-document-action {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.admin-lane-grid {
  margin-top: 18px;
}

body[data-admin-page='riders'] .admin-lane-grid,
body[data-admin-page='drivers'] .admin-lane-grid,
body[data-admin-page='rides'] .admin-lane-grid,
body[data-admin-page='selfDrive'] .admin-lane-grid,
body[data-admin-page='support'] .admin-lane-grid {
  grid-template-columns: minmax(0, 1fr);
}

body[data-admin-page='riders'] #admin-users-module,
body[data-admin-page='drivers'] #admin-users-module,
body[data-admin-page='rides'] #admin-rides-module,
body[data-admin-page='selfDrive'] #admin-self-drive-module,
body[data-admin-page='support'] #admin-support-module {
  grid-column: 1 / -1;
}

body[data-admin-page='settlements'] .admin-lane-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-assign-select {
  min-width: 180px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(161, 196, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-modal-card {
  width: min(640px, 94vw);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  border-radius: 20px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.admin-modal-card form.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  overflow-y: auto;
  margin-top: 16px;
  padding-right: 4px;
  max-height: calc(100vh - 180px);
}

.admin-modal-card form.form > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(226, 236, 255, 0.7);
}

.admin-modal-card form.form > label input,
.admin-modal-card form.form > label select,
.admin-modal-card form.form > label textarea {
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  padding: 0 14px;
  font-size: 13.5px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
}

.admin-modal-card form.form > label textarea {
  height: 70px;
  padding: 10px 14px;
  resize: vertical;
}

.admin-modal-card form.form > label input:focus,
.admin-modal-card form.form > label select:focus,
.admin-modal-card form.form > label textarea:focus {
  border-color: rgba(59, 130, 246, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.admin-modal-card form.form .row-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-modal-card textarea {
  min-height: 110px;
  resize: vertical;
}

body[data-admin-page] {
  --admin-bg: #0b1220;
  --admin-panel: #111a2e;
  --admin-panel-soft: #17223b;
  --admin-border: rgba(27, 124, 255, 0.15);
  --admin-border-strong: rgba(27, 124, 255, 0.3);
  --admin-text: #f8fafc;
  --admin-muted: #94a3b8;
  --admin-primary: #1b7cff;
  --admin-primary-soft: rgba(27, 124, 255, 0.1);
  --admin-danger: #ef4444;
  --admin-success: #10b981;
  --admin-header-height: 72px;
  min-height: 100vh;
  background: var(--admin-bg);
  color: var(--admin-text);
}

body[data-admin-page]::before {
  display: block;
  z-index: -1;
  pointer-events: none;
}

body[data-admin-page] .topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--admin-header-height);
  min-height: var(--admin-header-height);
  padding: 10px 24px;
  background: rgba(17, 26, 46, 0.85);
  border-bottom: 1px solid var(--admin-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

body[data-admin-page] .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: none;
}

body[data-admin-page] .brand {
  color: var(--admin-text);
  font-family: 'Instrument Sans', 'Segoe UI', sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

body[data-admin-page] .brand-subtitle,
body[data-admin-page] .muted {
  color: var(--admin-muted);
}

body[data-admin-page] .admin-page-nav {
  position: fixed;
  top: var(--admin-header-height);
  left: 0;
  bottom: 0;
  z-index: 50;
  width: 256px;
  margin: 0;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(10, 18, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: 12px 0 32px rgba(0, 0, 0, 0.3);
}

body[data-admin-page].admin-page-switching .admin-page-link {
  pointer-events: none;
}

body[data-admin-page] .admin-session-loading-shell {
  display: none;
}

body[data-admin-page].admin-session-loading .topbar,
body[data-admin-page].admin-session-loading .admin-page-nav,
body[data-admin-page].admin-session-loading .container {
  visibility: hidden;
}

body[data-admin-page].admin-session-loading .admin-session-loading-shell {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--admin-bg);
}

body[data-admin-page] .admin-session-loading-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: var(--admin-panel);
  color: var(--admin-text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

body[data-admin-page] .admin-session-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d5dd;
  border-top-color: var(--admin-primary);
  border-radius: 50%;
  animation: admin-session-spin 0.7s linear infinite;
}

@keyframes admin-session-spin {
  to { transform: rotate(360deg); }
}

body[data-admin-page]:not(.admin-authenticated) .admin-page-nav {
  display: none;
}

body[data-admin-page]:not(.admin-authenticated) .container {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 46px;
}

body[data-admin-page] .admin-page-link {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-admin-page] .admin-page-link:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-admin-page] .admin-page-link.is-active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28) 0%, rgba(79, 70, 229, 0.16) 100%);
  color: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.55);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.3), inset 3px 0 0 #6366f1;
}

body[data-admin-page] .admin-page-link.is-active .nav-icon-badge {
  background: #6366f1 !important;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

body[data-admin-page] .container {
  width: auto;
  max-width: none;
  margin: 0 0 0 248px;
  padding: 22px 24px 56px;
}

body[data-admin-page] .hero-shell,
body[data-admin-page] #admin-context-shell,
body[data-admin-page] #admin-workspace-badge {
  display: none !important;
}

body[data-admin-page] .dashboard-grid,
body[data-admin-page] .admin-ops-layout {
  display: block;
  margin-top: 0;
}

body[data-admin-page] .admin-workspace,
body[data-admin-page] .dashboard-main,
body[data-admin-page] .role-panel {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-admin-page] .section-heading {
  align-items: center;
}

body[data-admin-page] .role-panel > .section-heading {
  min-height: auto;
  margin-bottom: 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--admin-border);
}

body[data-admin-page] .panel-label {
  color: #2563eb;
  font-size: 11px;
  letter-spacing: 0.1em;
}

body[data-admin-page] .section-heading h3,
body[data-admin-page] .lane-card h4,
body[data-admin-page] .section-heading h4 {
  margin: 4px 0 0;
  color: var(--admin-text);
  font-family: 'Instrument Sans', 'Segoe UI', sans-serif;
  letter-spacing: -0.03em;
}

body[data-admin-page] .section-heading h3 {
  font-size: 24px;
}

body[data-admin-page] .section-heading h4,
body[data-admin-page] .lane-card h4 {
  font-size: 18px;
}

body[data-admin-page] #admin-dashboard-status {
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
  border: 0;
  font-weight: 700;
}

body[data-admin-page] #admin-dashboard-status:empty {
  display: none;
}

body[data-admin-page] .admin-summary-grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

body[data-admin-page] .stat-card,
body[data-admin-page] .admin-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

body[data-admin-page] .stat-value {
  color: var(--admin-text);
  font-size: 28px;
  line-height: 1;
}

body[data-admin-page] .stat-label {
  color: var(--admin-muted);
  font-size: 13px;
}

body[data-admin-page] .admin-overview-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

body[data-admin-page] .admin-overview-link,
body[data-admin-page] .admin-filter-card,
body[data-admin-page] .lane-card,
body[data-admin-page] .admin-user-browser {
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  color: var(--admin-text);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

body[data-admin-page] .admin-overview-link {
  min-height: 116px;
  padding: 14px 16px;
}

body[data-admin-page] .admin-overview-link:hover {
  transform: translateY(-2px);
  border-color: var(--admin-primary);
  background: var(--admin-primary-soft);
  box-shadow: 0 4px 20px rgba(27, 124, 255, 0.15);
}

body[data-admin-page] .admin-overview-link p {
  color: var(--admin-muted);
  font-size: 13px;
}

body[data-admin-page] .admin-overview-link h4 {
  color: var(--admin-text);
  opacity: 1;
}

body[data-admin-page] .admin-overview-link .panel-label {
  color: var(--admin-primary);
  opacity: 1;
}

body[data-admin-page] .admin-filter-card {
  margin: 0 0 18px;
  padding: 16px;
}

body[data-admin-page] .admin-filter-card .section-heading {
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-border);
}

body[data-admin-page] .admin-filter-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

body[data-admin-page] label,
body[data-admin-page] .field span {
  color: var(--admin-text);
  font-weight: 500;
}

body[data-admin-page] input,
body[data-admin-page] select,
body[data-admin-page] textarea,
body[data-admin-page] .admin-assign-select {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--admin-border);
  background: var(--admin-panel-soft);
  color: var(--admin-text);
  box-shadow: none;
  padding: 10px 14px;
}

body[data-admin-page] input::placeholder,
body[data-admin-page] textarea::placeholder {
  color: #64748b;
}

body[data-admin-page] .admin-inline-input {
  min-width: 132px;
  flex: 1 1 132px;
  padding: 10px 12px;
}

body[data-admin-page] .admin-return-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: #f8fbff;
}

body[data-admin-page] .admin-subsection-heading {
  margin-top: 18px;
}

body[data-admin-page] .admin-vehicle-card {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

body[data-admin-page] .admin-slot-list {
  display: grid;
  gap: 8px;
}

body[data-admin-page] .admin-slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: var(--admin-panel-soft);
}

body[data-admin-page] .admin-slot-row .btn {
  min-height: 34px;
  padding: 7px 10px;
}

body[data-admin-page] .admin-slot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr)) minmax(170px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

@media (max-width: 1200px) {
  body[data-admin-page] .admin-slot-form {
    grid-template-columns: 1fr;
  }

  body[data-admin-page] .admin-slot-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

body[data-admin-page] .btn {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--admin-primary);
  border: 1px solid var(--admin-primary);
  color: #ffffff;
  box-shadow: none;
}

body[data-admin-page] .btn:hover {
  transform: none;
  filter: brightness(0.98);
}

body[data-admin-page] .btn-secondary,
body[data-admin-page] .btn-ghost {
  background: var(--admin-panel-soft);
  border-color: var(--admin-border);
  color: var(--admin-text);
}

body[data-admin-page] .btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--admin-danger);
}

body[data-admin-page] .row-actions {
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0;
}

body[data-admin-page] .admin-lane-grid,
body[data-admin-page='settlements'] .admin-lane-grid,
body[data-admin-page='riders'] .admin-lane-grid,
body[data-admin-page='drivers'] .admin-lane-grid,
body[data-admin-page='rides'] .admin-lane-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

body[data-admin-page] .lane-card {
  padding: 16px;
}

body[data-admin-page] .lane-card > .section-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-border);
}

body[data-admin-page] .stack-list {
  gap: 8px;
  margin-top: 12px;
}

body[data-admin-page] .admin-user-browser {
  margin-top: 12px;
  padding: 10px;
  box-shadow: none;
}

body[data-admin-page='riders'] #admin-users-module .admin-user-browser,
body[data-admin-page='drivers'] #admin-users-module .admin-user-browser {
  display: none;
}

body[data-admin-page] .admin-user-browser-toolbar {
  margin-bottom: 0;
}

body[data-admin-page] .admin-user-tab {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--admin-border);
  background: var(--admin-panel-soft);
  color: var(--admin-muted);
}

body[data-admin-page] .admin-user-tab:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--admin-text);
}

body[data-admin-page] .admin-user-tab.is-active {
  background: var(--admin-primary-soft);
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

body[data-admin-page] .inline-badge {
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  color: #344054;
  font-size: 12px;
}

body[data-admin-page] .inline-badge.accent {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

body[data-admin-page] .inline-badge.success {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: var(--admin-success);
}

body[data-admin-page] .inline-badge.danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--admin-danger);
}

body[data-admin-page] .admin-record-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(320px, 0.8fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

body[data-admin-page] .admin-record-row:hover {
  border-color: var(--admin-primary);
  background: var(--admin-panel-soft);
}

body[data-admin-page] .admin-card-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: start;
  gap: 12px;
}

body[data-admin-page] .admin-record-title {
  color: var(--admin-text);
  font-size: 16px;
  font-weight: 800;
}

body[data-admin-page] .admin-record-subtitle {
  margin-top: 4px;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.45;
}

body[data-admin-page] .admin-card-badges {
  justify-content: flex-end;
}

body[data-admin-page] .admin-card-metrics,
body[data-admin-page] .admin-settlement-metrics,
body[data-admin-page] .admin-ledger-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

body[data-admin-page] .admin-card-metric,
body[data-admin-page] .admin-settlement-metric,
body[data-admin-page] .admin-ledger-open-ride {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--admin-panel-soft);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
}

body[data-admin-page] .admin-card-metric span,
body[data-admin-page] .admin-settlement-metric span {
  color: var(--admin-muted);
  font-size: 11px;
}

body[data-admin-page] .admin-card-metric strong,
body[data-admin-page] .admin-settlement-metric strong {
  margin-top: 2px;
  color: var(--admin-text);
  font-size: 14px;
}

body[data-admin-page] .admin-documents-panel {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 16px;
  border-radius: 16px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-admin-page] .admin-document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-admin-page] .admin-document-row:last-child {
  margin-bottom: 0;
}

body[data-admin-page] .admin-document-preview img {
  border-radius: 8px;
  border: 1px solid var(--admin-border);
}

body[data-admin-page] .admin-feedback-alert {
  grid-column: 1 / -1;
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

body[data-admin-page] .admin-load-more-row {
  justify-content: flex-start;
}

body[data-admin-page] #admin-refresh-btn {
  margin-top: 18px !important;
}

body[data-admin-page] .auth-grid {
  width: min(920px, calc(100vw - 48px));
  margin: 36px auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

body[data-admin-page] .auth-card,
body[data-admin-page] .showcase-card,
body[data-admin-page] .admin-modal-card {
  background: var(--admin-panel);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

body[data-admin-page] .auth-card h2,
body[data-admin-page] .auth-card h3,
body[data-admin-page] .showcase-card h2,
body[data-admin-page] .showcase-card h3,
body[data-admin-page] .dashboard-side h2 {
  color: var(--admin-text);
}

body[data-admin-page] .auth-card .muted,
body[data-admin-page] .showcase-card .muted,
body[data-admin-page] .check-list div {
  color: #475467;
}

body[data-admin-page] .check-list div {
  background: #f8fafc;
  border-color: var(--admin-border);
}

@media (max-width: 1180px) {
  body[data-admin-page] .container {
    margin-left: 248px;
    padding-right: 18px;
  }

  body[data-admin-page] .admin-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-admin-page] .admin-overview-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-admin-page] .admin-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body[data-admin-page] .topbar {
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  body[data-admin-page] .admin-page-nav {
    position: sticky;
    top: 64px;
    width: auto;
    margin: 0;
    border-radius: 0;
    border-width: 0 0 1px;
    box-shadow: none;
    overflow-x: auto;
    flex-direction: row;
  }

  body[data-admin-page] .admin-page-link {
    flex: 0 0 auto;
  }

  body[data-admin-page] .container {
    margin: 0;
    padding: 18px 14px 56px;
  }

  body[data-admin-page] .auth-grid,
  body[data-admin-page] .admin-filter-grid,
  body[data-admin-page] .admin-summary-grid,
  body[data-admin-page] .admin-overview-links {
    grid-template-columns: 1fr;
  }

  body[data-admin-page] .admin-record-row,
  body[data-admin-page] .admin-card-header {
    grid-template-columns: 1fr;
  }

  body[data-admin-page] .admin-card-badges,
  body[data-admin-page] .row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .admin-filter-card .section-heading {
    gap: 10px;
  }

  .admin-filter-card .section-heading .btn {
    width: 100%;
  }

  .desktop-home-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .desktop-home-grid {
    display: none !important;
  }

  .admin-user-browser-toolbar,
  .admin-user-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-page-nav {
    width: calc(100vw - 24px);
    margin-top: 10px;
  }

  .admin-card-header {
    flex-direction: column;
  }

  .admin-card-metrics,
  .admin-settlement-metrics {
    grid-template-columns: 1fr;
  }

  .admin-modal-overlay {
    padding: 14px;
  }

  .admin-modal-card {
    padding: 16px;
    border-radius: 18px;
  }
}

.booking-map-card {
  margin: 18px 0 16px;
}

.wallet-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.wallet-toolbar-copy {
  display: grid;
  gap: 8px;
}

.wallet-topup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.wallet-topup-form input {
  min-width: 180px;
}

.wallet-history-card {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.wallet-transaction-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.08);
}

.ride-feedback-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(111, 211, 255, 0.18);
  display: grid;
  gap: 10px;
}

.ride-feedback-title {
  color: #f7fbff;
  font-weight: 800;
}

.ride-feedback-stars {
  display: flex;
  gap: 8px;
}

.ride-feedback-star {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.25);
  font-size: 26px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transform: scale(1);
  transition: color 160ms ease, transform 160ms ease, text-shadow 160ms ease;
}

.ride-feedback-star.active {
  color: #facc15;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.28);
}

.ride-feedback-star:hover,
.ride-feedback-star:focus-visible {
  transform: scale(1.12);
  outline: none;
}

.ride-feedback-input {
  min-height: 88px;
  resize: vertical;
}

.ride-feedback-issue {
  justify-self: start;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e8eefc;
  cursor: pointer;
}

.ride-feedback-issue.active {
  background: rgba(27, 124, 255, 0.2);
  border-color: rgba(111, 211, 255, 0.34);
}

.map-header h4 {
  margin: 8px 0 0;
  font-size: 18px;
}

.map-active-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(111, 211, 255, 0.32);
  background: rgba(27, 124, 255, 0.16);
  color: #dff4ff;
  font-size: 13px;
  font-weight: 700;
}

.map-active-badge.dropoff {
  background: rgba(251, 113, 133, 0.14);
  border-color: rgba(251, 113, 133, 0.28);
}

.map-helper-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.map-frame-shell {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin-top: 12px;
  border-radius: 20px;
  border: 1px solid rgba(161, 196, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(100, 210, 255, 0.18), transparent 28%),
    rgba(8, 17, 30, 0.88);
}

.booking-map-frame {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  background: rgba(8, 17, 30, 0.88);
}

.booking-map-frame .leaflet-control-attribution {
  font-size: 10px;
}

.map-pin-wrapper {
  background: transparent;
  border: 0;
}

.map-pin-core {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 999px 999px 999px 2px;
  transform: rotate(-45deg);
  border: 3px solid rgba(7, 17, 31, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.map-empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.68), rgba(7, 17, 31, 0.82)),
    rgba(8, 17, 30, 0.88);
}

.map-empty-state strong {
  color: var(--text);
  font-size: 18px;
}

.ride-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ride-form > button {
  grid-column: 1 / -1;
}

.vehicle-fare-panel {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(161, 196, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.vehicle-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.vehicle-option-card {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(161, 196, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
}

.vehicle-option-card.is-selected {
  border-color: rgba(52, 211, 153, 0.48);
  background: rgba(52, 211, 153, 0.12);
}

.vehicle-option-card strong {
  font-size: 24px;
}

.vehicle-option-card small,
.fare-confirmation-text {
  color: var(--muted);
  line-height: 1.45;
}

.fare-confirmation-text {
  margin-top: 12px;
  font-size: 13px;
}

.list-section {
  margin-top: 18px;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.skeleton-stack {
  display: grid;
  gap: 12px;
}

.skeleton-card {
  display: grid;
  gap: 12px;
  min-height: 104px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(161, 196, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(8, 17, 30, 0.78);
}

.skeleton-line {
  display: block;
  width: 82%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(161, 196, 255, 0.12) 25%, rgba(161, 196, 255, 0.26) 37%, rgba(161, 196, 255, 0.12) 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-line-strong {
  width: 56%;
  height: 16px;
}

.skeleton-line-short {
  width: 38%;
}

body.public-home.is-authenticated .skeleton-card,
body[data-admin-page] .skeleton-card {
  border-color: var(--admin-border);
  background: var(--admin-panel);
}

body[data-admin-page] .skeleton-line {
  background: linear-gradient(90deg, #17223b 25%, #233255 37%, #17223b 63%);
  background-size: 400% 100%;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.notification-unread-card {
  border-color: rgba(27, 124, 255, 0.45) !important;
  box-shadow: 0 14px 40px rgba(27, 124, 255, 0.12);
}

.support-compose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin-top: 14px;
}

.support-compose-grid textarea {
  grid-column: 1 / -1;
  min-height: 92px;
  resize: vertical;
}

.support-compose-grid .btn {
  justify-self: start;
}

.support-message-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.support-message-row {
  padding: 10px 12px;
  border: 1px solid rgba(161, 196, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
}

.support-reply-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

body.public-home.is-authenticated .support-message-row {
  border-color: #d8e2ef;
  background: #f8fafc;
}

body[data-admin-page] .support-message-row {
  display: grid;
  gap: 3px;
  border-color: var(--admin-border);
  background: var(--admin-panel-soft);
  color: var(--admin-text);
  line-height: 1.45;
}

body[data-admin-page] .support-message-row.is-admin-message {
  margin-left: clamp(24px, 8%, 88px);
  border-color: var(--admin-primary);
  background: var(--admin-primary-soft);
}

body[data-admin-page] .support-message-row.is-user-message {
  margin-right: clamp(24px, 8%, 88px);
}

body[data-admin-page] .support-message-sender {
  color: var(--admin-text);
  font-size: 12px;
  font-weight: 800;
}

body[data-admin-page] .support-message-text {
  color: var(--admin-text);
  overflow-wrap: anywhere;
}

.list-heading {
  margin-top: 18px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.lane-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.lane-card h4 {
  font-size: 15px;
}

.ride-card {
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 17, 30, 0.9);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.feature-list-plain li {
  margin-top: 10px;
  color: rgba(239, 246, 255, 0.92);
}

.mini-metrics {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(161, 196, 255, 0.1);
}

.mini-metrics strong {
  display: block;
  margin-top: 6px;
}

@media (max-width: 1080px) {
  .auth-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-card {
    grid-column: 1 / -1;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  body.public-home.is-authenticated .dashboard-grid,
  body.public-home.is-authenticated .profile-grid,
  body.public-home.is-authenticated .desktop-home-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-shell,
  .dashboard-grid,
  .account-profile-shell,
  .lane-grid,
  .ride-form {
    grid-template-columns: 1fr;
  }

  .wallet-topup-form {
    width: 100%;
  }

  .wallet-topup-form input,
  .wallet-topup-form button {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  body.public-home.is-authenticated .dashboard-grid,
  body.public-home.is-authenticated .desktop-home-flow {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .topbar {
    padding: 16px;
  }

  .container {
    padding: 24px 16px 64px;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  body.public-home.is-authenticated .profile-grid,
  body.public-home.is-authenticated .desktop-home-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .card,
  .lane-card {
    border-radius: 20px;
  }

  .auth-page .auth-grid-compact .auth-entry-card {
    order: 1;
  }

  .auth-page .auth-grid-compact .showcase-card {
    order: 2;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .brand-lockup {
    width: 100%;
    align-items: flex-start;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-actions .btn {
    width: 100%;
    min-height: 46px;
    padding-inline: 12px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 2.55rem;
    line-height: 0.98;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.65;
  }

  .auth-page .hero-shell {
    gap: 16px;
  }

  .auth-page .hero-panel,
  .auth-page .showcase-card,
  .auth-page .auth-entry-card {
    padding: 18px;
  }

  .auth-page .auth-pane,
  .auth-page .auth-empty-state {
    padding: 14px;
  }

  .auth-mode-switch {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-mode-switch .btn {
    width: 100%;
  }

  .profile-preview-row,
  .profile-role-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(8, 17, 31, 0.4);
}
::-webkit-scrollbar-thumb {
  background: rgba(161, 196, 255, 0.16);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(161, 196, 255, 0.32);
}

/* Overview Card Hover heading color change */
.admin-overview-link h4 {
  margin: 0;
  transition: color 0.16s ease;
}
.admin-overview-link:hover h4 {
  color: #8ed7ff;
}

/* Button Micro-interactions */
.btn {
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:active {
  transform: scale(0.97);
}

/* Analytics Dashboard */
.admin-overview-section {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
}
.admin-analytics-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.chart-container {
  background: linear-gradient(135deg, rgba(27, 124, 255, 0.05), rgba(11, 18, 32, 0.6)) !important;
  border: 1px solid rgba(27, 124, 255, 0.15) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px !important;
  transition: all 0.3s ease;
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chart-container:hover {
  border-color: rgba(27, 124, 255, 0.35) !important;
  box-shadow: 0 8px 32px 0 rgba(27, 124, 255, 0.1) !important;
  transform: translateY(-2px);
}
.chart-canvas-wrapper {
  position: relative;
  height: 250px;
  width: 100%;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Admin Rides Layout & Map styles */
.admin-rides-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
  margin-top: 14px;
}
.rides-left-col {
  min-width: 0;
}
.rides-right-col {
  position: sticky;
  top: calc(var(--admin-header-height) + 20px);
  min-width: 0;
}
.map-container-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.map-container-card h4 {
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--text);
}
#admin-ride-map {
  height: 350px;
  border-radius: 14px;
  background: rgba(8, 17, 31, 0.5);
  overflow: hidden;
  border: 1px solid rgba(161, 196, 255, 0.08);
  z-index: 1; /* Keep leaflet controls inside panel */
}
body[data-admin-page] .admin-user-card,
body[data-admin-page] .admin-ride-card,
body[data-admin-page] .admin-settlement-card,
body[data-admin-page] .admin-vehicle-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
}
.admin-ride-card {
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.admin-ride-card:hover {
  transform: translateY(-1px);
  border-color: rgba(161, 196, 255, 0.2);
}
.admin-ride-card.selected-ride-card {
  border-color: rgba(59, 130, 246, 0.7) !important;
  background: rgba(59, 130, 246, 0.08) !important;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.15);
}

@media (max-width: 1200px) {
  .admin-rides-layout {
    grid-template-columns: 1fr;
  }
  .rides-right-col {
    position: static;
  }
}

body[data-admin-page] .btn-icon-only {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--admin-panel-soft);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  margin-left: 8px;
}

body[data-admin-page] .btn-icon-only:hover {
  background: var(--admin-primary-soft);
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

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

.refresh-spinning {
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

select option {
  background-color: #111a2e;
  color: #f8fafc;
}

.btn-small {
  padding: 4px 10px !important;
  font-size: 12px !important;
  height: 26px !important;
  min-height: 26px !important;
  line-height: 1 !important;
  border-radius: 6px !important;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 10px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

/* Glassmorphic Modal Overlay for Authentication */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 480px;
  z-index: 10001;
  pointer-events: auto;
  transform: translateY(40px) scale(0.94);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(10, 20, 36, 0.82) !important;
  border: 1px solid rgba(161, 196, 255, 0.16) !important;
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Modal Open States */
.modal-overlay.is-open {
  pointer-events: auto;
}
.modal-overlay.is-open .modal-backdrop {
  opacity: 1;
}
.modal-overlay.is-open .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal Close Button */
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(232, 238, 252, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  line-height: 1;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(142, 215, 255, 0.35);
  transform: rotate(90deg);
}

/* Auth Separate Page Layout Styles */
.auth-page-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #030712 !important;
}

.auth-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
}

.auth-decor-panel {
  position: relative;
  background: 
    radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.22), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(56, 189, 248, 0.16), transparent 40%),
    linear-gradient(180deg, #070c17 0%, #030712 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 60px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-decor-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 2;
}

.auth-carousel {
  margin: auto 0;
  max-width: 520px;
  animation: fadeInAuthDecor 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.carousel-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 38px;
}

.decor-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullet-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}
.bullet-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(99, 102, 241, 0.3);
}

.bullet-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bullet-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
}

.bullet-item span {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.4;
}

.decor-footer {
  color: rgba(148, 163, 184, 0.5);
  font-size: 13px;
  margin-top: 40px;
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: 
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.12), transparent 40%),
    #040811;
  position: relative;
}

.auth-form-container {
  width: 100%;
  max-width: 500px;
  animation: slideInAuthForm 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

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

/* Mobile responsive split layout */
@media (max-width: 960px) {
  .auth-split-layout {
    grid-template-columns: 1fr;
  }
  
  .auth-decor-panel {
    display: none;
  }
  
  .auth-form-panel {
    padding: 30px 20px;
    min-height: 100vh;
  }
}

/* How it Works / Timeline Styles */
.timeline-grid {
  margin-top: 20px;
}

.timeline-card {
  position: relative;
  padding: 32px 24px;
  background: rgba(10, 20, 36, 0.4) !important;
  border: 1px solid rgba(161, 196, 255, 0.1) !important;
  border-radius: 20px !important;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.timeline-card:hover {
  transform: translateY(-5px);
  border-color: rgba(27, 124, 255, 0.3) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(27, 124, 255, 0.1);
}

.timeline-step {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(27, 124, 255, 0.4), rgba(56, 189, 248, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}

.timeline-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

/* Premium Showcase Refactoring */
.premium-showcase-card {
  position: relative;
  background: rgba(10, 20, 36, 0.45) !important;
  border: 1px solid rgba(161, 196, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: 36px !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 215, 255, 0.25) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 25px rgba(27, 124, 255, 0.1);
}

.showcase-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 124, 255, 0.08), transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.showcase-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.showcase-bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.showcase-bullet-item:hover {
  transform: translateX(4px);
}

.bullet-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px;
  line-height: 1 !important;
  flex-shrink: 0;
  text-align: center;
}

.showcase-bullet-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.showcase-bullet-item span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Premium CTA Banner Styles */
.cta-banner-card {
  background: linear-gradient(135deg, rgba(16, 28, 54, 0.6) 0%, rgba(7, 12, 24, 0.8) 100%) !important;
  border: 1px solid rgba(161, 196, 255, 0.15) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5) !important;
}

.cta-mesh-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 124, 255, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Font Gradient utilities */
.font-gradient-blue {
  background: linear-gradient(135deg, #38bdf8 0%, #1b7cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.font-gradient-cyan {
  background: linear-gradient(135deg, #4ade80 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Responsive timeline cards spacing */
@media (max-width: 820px) {
  .timeline-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* Services Suggestions Grid Styles */
.services-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.service-suggestion-card {
  background: rgba(10, 20, 36, 0.4) !important;
  border: 1px solid rgba(161, 196, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px 24px !important;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-suggestion-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 124, 255, 0.25) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(27, 124, 255, 0.05);
}

.service-icon-wrap {
  font-size: 28px;
  margin-bottom: 16px;
  display: inline-block;
}

.service-suggestion-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.service-suggestion-card p.muted {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.service-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.service-suggestion-card:hover .service-arrow {
  color: #1b7cff;
  transform: translateX(3px);
}

/* Safety Grid Styles */
.safety-card {
  background: rgba(10, 20, 36, 0.35) !important;
  border: 1px solid rgba(161, 196, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 32px 24px !important;
  transition: all 0.3s ease;
}

.safety-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.25) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.safety-badge {
  font-size: 24px;
  margin-bottom: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center;
}

.safety-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.safety-card p.muted {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* Easier in App / QR Code styles */
.app-download-card {
  background: linear-gradient(135deg, rgba(16, 28, 54, 0.4) 0%, rgba(7, 12, 24, 0.6) 100%) !important;
}

.app-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 124, 255, 0.05), transparent 70%);
  top: -50px;
  right: -50px;
  pointer-events: none;
}

.app-badge-btn {
  transition: all 0.2s ease;
}

.app-badge-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px);
}

@keyframes qrScan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.qr-scanline {
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  background: #1b7cff;
  box-shadow: 0 0 8px #1b7cff;
  animation: qrScan 3s linear infinite;
  pointer-events: none;
}

/* Media Responsiveness */
@media (max-width: 960px) {
  .services-suggestions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  
  .safety-grid {
    grid-template-columns: 1fr !important;
  }
  
  .app-download-card {
    flex-direction: column !important;
    text-align: center !important;
    gap: 32px !important;
  }
  
  .app-download-info {
    max-width: 100% !important;
  }
  
  .app-badges {
    justify-content: center !important;
  }
  
  .app-download-visual {
    justify-content: center !important;
  }
}

@media (max-width: 540px) {
  .services-suggestions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Fair Fares / inDrive inspired styles */
.comparison-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-card:hover {
  transform: translateY(-4px);
}

.traditional-card:hover {
  border-color: rgba(254, 80, 80, 0.25) !important;
  box-shadow: 0 20px 40px rgba(254, 80, 80, 0.05);
}

.apna-card:hover {
  border-color: rgba(27, 124, 255, 0.3) !important;
  box-shadow: 0 20px 40px rgba(27, 124, 255, 0.1);
}

.comparison-item span.muted {
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ==========================================================================
   Premium Authenticated Dashboard Styling
   ========================================================================== */

/* Hide landing topbar when authenticated */
body.is-authenticated .topbar {
  display: none !important;
}

body.is-authenticated {
  overflow: hidden;
}

/* Fullscreen Grid Layout for Desktop Dashboard */
.dashboard-shell {
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  width: 100vw !important;
  overflow: hidden !important;
}

@media (min-width: 960px) {
  .dashboard-shell {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    grid-template-rows: 100vh !important;
  }
}

/* Sidebar Navigation Drawer styling */
.dashboard-sidebar {
  background: #091324;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  padding: 24px;
  height: 100%;
  overflow-y: auto;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sidebar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.02em;
}

.sidebar-subtitle {
  font-size: 11.5px;
  color: var(--muted);
  opacity: 0.8;
}

/* Sidebar User Account Card */
.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 24px;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #1b7cff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(27, 124, 255, 0.2);
}

.user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.user-details strong {
  font-size: 13.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.role-badge {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1b7cff;
  margin-top: 2px;
}

/* Sidebar Navigation Items */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

body.public-home.is-authenticated .dashboard-sidebar .desktop-tab {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--muted) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  text-align: left !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
}

body.public-home.is-authenticated .dashboard-sidebar .desktop-tab:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
}

body.public-home.is-authenticated .dashboard-sidebar .desktop-tab.is-active {
  background: rgba(27, 124, 255, 0.15) !important;
  color: #64d2ff !important;
  border-left: 3px solid #1b7cff !important;
  border-radius: 4px 10px 10px 4px !important;
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
}

.nav-icon {
  font-size: 16px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Main Viewport Container */
.dashboard-viewport {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 40%), #07111f;
}

.viewport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: rgba(7, 17, 31, 0.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.viewport-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.viewport-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

.viewport-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-wallet-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 12px;
}

.wallet-lbl {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.wallet-val {
  font-size: 16px;
  color: #fbbf24;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.viewport-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

/* Make panels and cards fit perfectly inside the viewport body */
.viewport-body .desktop-panel,
.viewport-body .role-panel {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Premium Side-by-Side Rides Panel layout */
@media (min-width: 1100px) {
  #rides-ui .ride-form {
    display: grid !important;
    grid-template-columns: 420px 1fr !important;
    gap: 32px !important;
    align-items: start !important;
  }

  #rides-ui .ride-form > label {
    grid-column: 1 !important;
  }

  #rides-ui .booking-map-card {
    grid-column: 2 !important;
    grid-row: 1 / span 6 !important;
    height: 600px !important;
    display: flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  #rides-ui .booking-map-card .map-frame-shell {
    flex: 1 !important;
    height: 100% !important;
    position: relative !important;
  }

  #rides-ui .booking-map-card .booking-map-frame {
    height: 100% !important;
    min-height: 480px !important;
  }

  #rides-ui .vehicle-fare-panel {
    grid-column: 1 !important;
  }

  #rides-ui .promo-code-card {
    grid-column: 1 !important;
  }

  #rides-ui .payment-method-card {
    grid-column: 1 !important;
  }

  #rides-ui .checkout-card {
    grid-column: 1 / span 2 !important;
    margin-top: 16px !important;
  }
}

/* Mobile responsive collapse */
@media (max-width: 959px) {
  body.is-authenticated {
    overflow: auto !important;
  }

  body.is-authenticated .topbar {
    display: none !important;
  }

  .dashboard-shell {
    height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  .dashboard-sidebar {
    width: 100% !important;
    height: auto !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 16px !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .sidebar-brand {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .sidebar-nav {
    flex-direction: row !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .sidebar-nav .desktop-tab {
    width: auto !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 13.5px !important;
  }

  .sidebar-profile-card,
  .sidebar-footer {
    display: none !important;
  }

  .dashboard-viewport {
    height: auto !important;
    overflow: visible !important;
  }

  .viewport-header {
    padding: 16px 20px !important;
  }

  .viewport-body {
    padding: 20px !important;
  }
}

/* Sidebar Clean Defaults */
.dashboard-sidebar .avatar-circle {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}

/* Sidebar Logout Button Custom Premium Styling */
#sidebar-logout-btn {
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  color: #fca5a5 !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  width: 100% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
}

#sidebar-logout-btn:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #ffffff !important;
}

/* viewport Title & Heading Overrides */
.viewport-title,
.viewport-body h2,
.viewport-body h3,
.viewport-body h4,
.viewport-body h5 {
  color: #ffffff !important;
}

/* Viewport Global Card Overrides */
.viewport-body .card,
.viewport-body .lane-card,
.viewport-body .role-panel,
.viewport-body .account-profile-card,
.viewport-body .profile-editor-card,
body.public-home.is-authenticated .viewport-body .desktop-home-hero,
body.public-home.is-authenticated .viewport-body .desktop-flow-card,
body.public-home.is-authenticated .viewport-body .desktop-home-card,
body.public-home.is-authenticated .viewport-body .offer-card,
body.public-home.is-authenticated .viewport-body .support-compose-grid,
body.public-home.is-authenticated .viewport-body .comparison-card {
  background: rgba(13, 27, 49, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
  border-radius: 16px !important;
  color: #eff6ff !important;
}

/* Primary highlighted card */
body.public-home.is-authenticated .viewport-body .desktop-flow-card.primary {
  background: rgba(27, 124, 255, 0.15) !important;
  border-color: rgba(27, 124, 255, 0.3) !important;
}

/* Home hero search/destination select button */
body.public-home.is-authenticated .viewport-body .desktop-home-route-cta {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body.public-home.is-authenticated .viewport-body .desktop-home-route-cta:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(27, 124, 255, 0.3) !important;
}

/* Inputs, Selects, Option lists overrides */
.viewport-body input,
.viewport-body select,
.viewport-body textarea {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}

.viewport-body input:focus,
.viewport-body select:focus,
.viewport-body textarea:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #1b7cff !important;
  box-shadow: 0 0 0 3px rgba(27, 124, 255, 0.25) !important;
  outline: none !important;
}

.viewport-body select option {
  background: #091324 !important;
  color: #ffffff !important;
}

/* Typography Label Contrast Overrides */
.viewport-title,
.viewport-body h2,
.viewport-body h3,
.viewport-body h4,
.viewport-body h5,
.viewport-body strong,
body.public-home.is-authenticated .viewport-body .desktop-home-hero h3 {
  color: #ffffff !important;
}

.viewport-body label,
.viewport-body span,
.viewport-body p {
  color: rgba(226, 236, 255, 0.7) !important;
}

.viewport-body .muted,
.viewport-body .profile-label,
.viewport-body .panel-label,
.viewport-body .step-label {
  color: rgba(226, 236, 255, 0.5) !important;
}

/* Responsive grid layouts */
@media (max-width: 1100px) {
  .account-profile-shell {
    grid-template-columns: 1fr !important;
  }
}

/* Override container constraints when authenticated to allow full-screen layout */
body.is-authenticated main.container {
  max-width: none !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   MODERN ACCOUNT TAB — Complete Design Overhaul
   ============================================================ */

/* Account panel padding */
#desktop-account-panel {
  padding: 0 !important;
}

/* Profile Completion Card enhancements */
.profile-preview-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

/* Avatar upload wrapper — must match trigger size */
.account-profile-card .profile-avatar-upload {
  position: relative !important;
  width: 80px !important;
  height: 80px !important;
  flex-shrink: 0 !important;
}

/* Avatar trigger circle */
.account-profile-card .profile-avatar-trigger {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2.5px solid rgba(27, 124, 255, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(27, 124, 255, 0.1) !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  display: block !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #1e40af, #1b7cff) !important;
}

.account-profile-card .profile-avatar-trigger:hover {
  border-color: rgba(27, 124, 255, 0.9) !important;
  box-shadow: 0 0 0 6px rgba(27, 124, 255, 0.18) !important;
}

/* Avatar placeholder (initials) — bottom layer */
.account-profile-card .profile-avatar-placeholder {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #1e40af, #1b7cff) !important;
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  border-radius: 0 !important;
  border: none !important;
  letter-spacing: -0.02em !important;
  z-index: 0 !important;
}

/* Camera overlay — top layer, only visible on hover */
.account-profile-card .profile-avatar-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.5) !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
  border-radius: 50% !important;
  z-index: 3 !important;
  color: #fff !important;
}

.account-profile-card .profile-avatar-trigger:hover .profile-avatar-overlay {
  opacity: 1 !important;
}

/* Actual profile photo — JS uses .avatar-hidden to toggle */
.account-profile-card .profile-avatar-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  z-index: 2 !important;
}

/* Avatar visibility toggle — class added/removed by JS */
.avatar-hidden {
  display: none !important;
}

.profile-preview-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-preview-copy strong {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

.profile-preview-copy .muted {
  font-size: 13px !important;
  color: rgba(226, 236, 255, 0.55) !important;
}

/* Profile completion progress bar */
.profile-progress-track {
  width: 100% !important;
  height: 6px !important;
  margin-top: 20px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

.profile-progress-fill {
  height: 100% !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #1b7cff, #34d399) !important;
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 0 8px rgba(27, 124, 255, 0.5) !important;
}

/* Completion Summary */
#profile-completion-summary {
  margin-top: 12px !important;
  font-size: 13px !important;
  color: rgba(226, 236, 255, 0.55) !important;
}

/* Profile missing pills */
.profile-missing-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.profile-missing-pill {
  font-size: 12px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 184, 0, 0.1) !important;
  border: 1px solid rgba(255, 184, 0, 0.2) !important;
  color: #fbbf24 !important;
  font-weight: 600 !important;
}

.profile-missing-pill.is-complete {
  background: rgba(52, 211, 153, 0.1) !important;
  border-color: rgba(52, 211, 153, 0.2) !important;
  color: #34d399 !important;
}

/* Completion percent badge */
#profile-completion-percent {
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(52, 211, 153, 0.12) !important;
  border: 1px solid rgba(52, 211, 153, 0.25) !important;
  color: #34d399 !important;
}

/* Section headings inside cards */
.account-profile-card .section-heading.compact {
  margin-bottom: 0 !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.account-profile-card .panel-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #1b7cff !important;
  margin-bottom: 4px !important;
}

.account-profile-card h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

/* Profile Form */
#profile-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin-top: 20px !important;
}

#profile-form label {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

#profile-form label > span {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: rgba(226, 236, 255, 0.5) !important;
}

#profile-form input,
#profile-form select,
#profile-form textarea {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #fff !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

#profile-form input:focus,
#profile-form select:focus,
#profile-form textarea:focus {
  background: rgba(27, 124, 255, 0.06) !important;
  border-color: rgba(27, 124, 255, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(27, 124, 255, 0.15) !important;
  outline: none !important;
}

#profile-form input::placeholder {
  color: rgba(226, 236, 255, 0.25) !important;
}

/* Profile role grid (2-col) */
.profile-role-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

/* Save button */
#profile-save-btn {
  margin-top: 8px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #1b7cff, #1e40af) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.01em !important;
}

#profile-save-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(27, 124, 255, 0.35) !important;
}

/* Device Session Cards */
#session-list .card.ride-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  margin-bottom: 10px !important;
  transition: border-color 0.2s ease !important;
}

#session-list .card.ride-card:hover {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Device logout buttons */
#session-list .btn {
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Session count badge */
#session-count-badge {
  font-size: 12px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(27, 124, 255, 0.12) !important;
  border: 1px solid rgba(27, 124, 255, 0.25) !important;
  color: #64d2ff !important;
  font-weight: 600 !important;
}

/* Inline badge colours */
.inline-badge {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(226, 236, 255, 0.7) !important;
  white-space: nowrap !important;
}

.inline-badge.success {
  background: rgba(52, 211, 153, 0.12) !important;
  border-color: rgba(52, 211, 153, 0.25) !important;
  color: #34d399 !important;
}

.inline-badge.warning {
  background: rgba(251, 191, 36, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.25) !important;
  color: #fbbf24 !important;
}

.inline-badge.danger {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
}

/* Viewport header premium styling */
.viewport-header {
  background: rgba(9, 19, 36, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.viewport-eyebrow {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #1b7cff !important;
  margin-bottom: 4px !important;
}

.viewport-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.03em !important;
  font-family: 'Space Grotesk', sans-serif !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Session badge in viewport header */
#dashboard-session-badge {
  font-size: 12px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  background: rgba(52, 211, 153, 0.12) !important;
  border: 1px solid rgba(52, 211, 153, 0.25) !important;
  color: #34d399 !important;
}

/* Wallet badge in viewport header */
.header-wallet-badge {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: rgba(251, 191, 36, 0.06) !important;
  border: 1px solid rgba(251, 191, 36, 0.2) !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
}

.wallet-lbl {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: rgba(226, 236, 255, 0.5) !important;
}

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

/* Viewport body scrollbar custom */
.viewport-body {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent !important;
}

.viewport-body::-webkit-scrollbar {
  width: 6px !important;
}

.viewport-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
}

/* All .muted text inside viewport */
.viewport-body .muted {
  color: rgba(226, 236, 255, 0.5) !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

/* All .status feedback lines */
.viewport-body .status {
  font-size: 13px !important;
  margin-top: 10px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
}

/* Row actions */
.viewport-body .row-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

/* Button styles inside viewport */
.viewport-body .btn {
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.viewport-body .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger) {
  background: linear-gradient(135deg, #1b7cff, #1e40af) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.viewport-body .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger):hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(27, 124, 255, 0.3) !important;
}

.viewport-body .btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(226, 236, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.viewport-body .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.viewport-body .btn-ghost {
  background: transparent !important;
  color: rgba(226, 236, 255, 0.6) !important;
  border-color: transparent !important;
}

.viewport-body .btn-ghost:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Stack-list items */
.stack-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* Responsive — Stack both columns */
@media (max-width: 1100px) {
  .account-profile-shell {
    grid-template-columns: 1fr !important;
  }

  .account-profile-left-col {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  .account-profile-left-col .account-profile-card {
    flex: 1 1 280px !important;
  }
}

@media (max-width: 720px) {
  .account-profile-left-col {
    flex-direction: column !important;
  }

  .profile-role-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Live session & driver availability pulse animations ── */
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.pulse-dot-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  margin-right: 6px;
  animation: pulse-red 2s infinite;
}

/* ── Prevent placeholder overlap when input has value ── */
input:not(:placeholder-shown)::placeholder,
textarea:not(:placeholder-shown)::placeholder {
  opacity: 0 !important;
}
input:-webkit-autofill::placeholder,
textarea:-webkit-autofill::placeholder {
  opacity: 0 !important;
}

/* ── Address suggestions dropdown ── */
.address-suggestions-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 28px !important;
  right: 0 !important;
  background: #0f172a !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 25px rgba(56, 189, 248, 0.2) !important;
  z-index: 999999 !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  margin-top: 6px !important;
}

.suggestion-item {
  padding: 10px 14px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.suggestion-item:last-child {
  border-bottom: none !important;
}

.suggestion-item:hover {
  background: rgba(59, 130, 246, 0.18) !important;
}

.suggestion-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-align: left !important;
}

.suggestion-subtitle {
  font-size: 11px !important;
  color: rgba(226, 236, 255, 0.5) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
}

/* ==========================================================================
   PREMIUM MODERN ADMIN DASHBOARD UI ENHANCEMENTS
   ========================================================================== */

header.topbar {
  background: rgba(10, 18, 36, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

body[data-admin-page]:not(.admin-authenticated) .admin-page-nav {
  display: none !important;
}

body[data-admin-page].admin-authenticated .admin-page-nav {
  position: fixed !important;
  top: 72px !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 250px !important;
  padding: 14px 10px 80px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  background: rgba(10, 16, 30, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.3) !important;
  z-index: 100 !important;
  overflow-y: auto !important;
}

body[data-admin-page] .admin-page-nav::-webkit-scrollbar {
  width: 4px;
}

body[data-admin-page] .admin-page-nav::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
  border-radius: 99px;
}

body[data-admin-page] .admin-page-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

body[data-admin-page] .admin-page-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f8fafc !important;
  transform: translateX(4px) !important;
}

body[data-admin-page] .admin-page-link.is-active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.1)) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2) !important;
  font-weight: 700 !important;
}

body[data-admin-page] .admin-page-link.is-active::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 4px !important;
  background: #6366f1 !important;
  border-radius: 0 4px 4px 0 !important;
  box-shadow: 0 0 10px #6366f1 !important;
}

body[data-admin-page]:not(.admin-authenticated) main.container {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1040px !important;
  padding-top: 40px !important;
}

body[data-admin-page].admin-authenticated main.container {
  margin-left: 250px !important;
  padding-left: 24px !important;
  padding-top: 24px !important;
  margin-top: 0 !important;
}

.settings-subtabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 16px !important;
  margin-bottom: 24px !important;
  padding: 8px !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(12px) !important;
}

.settings-tab-btn {
  padding: 9px 18px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.settings-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.settings-tab-btn.is-active {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
  font-weight: 700 !important;
}

.lane-card, .admin-filter-card, .admin-user-browser, .admin-item-card, .admin-summary-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.lane-card:hover, .admin-item-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.15) !important;
}

.admin-card-metric strong, .admin-settlement-metric strong, .stat-value {
  font-family: 'Space Grotesk', system-ui, sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.badge-approved, .badge-active, .badge-completed, .badge-settled {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  padding: 4px 10px !important;
  border-radius: 100px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
}

.badge-pending, .badge-requested, .badge-created {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  padding: 4px 10px !important;
  border-radius: 100px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
}

.badge-rejected, .badge-cancelled, .badge-failed {
  background: rgba(244, 63, 94, 0.12) !important;
  color: #f87171 !important;
  border: 1px solid rgba(244, 63, 94, 0.28) !important;
  padding: 4px 10px !important;
  border-radius: 100px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
}

.admin-filter-group input, .admin-filter-group select, #admin-settings-form input, #admin-settings-form select, #admin-settings-form textarea {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  transition: all 0.2s ease !important;
}

.admin-filter-group input:focus, .admin-filter-group select:focus, #admin-settings-form input:focus, #admin-settings-form select:focus {
  outline: none !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
  background: rgba(15, 23, 42, 0.85) !important;
}

.settings-tab-btn {
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.settings-tab-btn:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.settings-tab-btn.is-active {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45) !important;
}

/* Global Light Theme Overrides for App & Landing Dashboard */
[data-theme="light"] body.public-home,
[data-theme="light"] body.app-page {
  background: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] .public-hero-shell,
[data-theme="light"] .hero-panel,
[data-theme="light"] .card,
[data-theme="light"] .service-suggestion-card,
[data-theme="light"] .preview-route-card,
[data-theme="light"] .preview-status-card,
[data-theme="light"] .preview-fare-input-group,
[data-theme="light"] .public-footer {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] .brand,
[data-theme="light"] .hero-text,
[data-theme="light"] strong {
  color: #0f172a !important;
}

[data-theme="light"] .preview-route-card div span,
[data-theme="light"] .preview-status-card span,
[data-theme="light"] .preview-fare-row span,
[data-theme="light"] .muted,
[data-theme="light"] .brand-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .preview-fare-row.is-selected {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

/* Premium Glassmorphism & UI Micro-Animations Enhancement */
.stat-card, .glass-card, .settings-panel-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.stat-card:hover, .glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4) !important;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

/* Pulsing Online Indicator */
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Modern Tab Glow */
.settings-tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.settings-tab-btn.is-active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
}

/* Clean Isolated Toggle ON/OFF Switch Component */
.toggle-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text, #eff6ff);
}

.toggle-switch-label input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.toggle-slider {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.toggle-switch-label input[type="checkbox"]:checked + .toggle-slider {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
}

.toggle-switch-label input[type="checkbox"]:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* ==========================================================================
   DEEP MODERN ADMIN UI DESIGN SYSTEM UPGRADES
   ========================================================================== */

/* Custom Dark Glass Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(8, 17, 31, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 2px solid rgba(8, 17, 31, 0.6);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* Glassmorphic Stat Cards Elevation & Hover */
.stat-card, .admin-summary-card, .chart-container {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.stat-card:hover, .admin-summary-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

/* Modern Form Input Glow */
.admin-input-field, .admin-assign-select, input[type="text"], input[type="number"], select, textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}
.admin-input-field:focus, .admin-assign-select:focus, input[type="text"]:focus, select:focus, textarea:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 4px 14px rgba(99, 102, 241, 0.15) !important;
  background: rgba(15, 23, 42, 0.85) !important;
  outline: none !important;
}

/* Modern Pill Badges */
.badge-approved, .badge-active, .inline-badge.success {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15) !important;
}
.badge-pending, .inline-badge.accent {
  background: rgba(99, 102, 241, 0.12) !important;
  color: #818cf8 !important;
  border: 1px solid rgba(99, 102, 241, 0.28) !important;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15) !important;
}
.badge-rejected, .badge-danger, .inline-badge.danger {
  background: rgba(244, 63, 94, 0.12) !important;
  color: #fb7185 !important;
  border: 1px solid rgba(244, 63, 94, 0.28) !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.15) !important;
}

/* High Contrast Glass Table Rows */
.admin-table-row {
  transition: background 0.2s ease;
}
.admin-table-row:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Modern Primary & Secondary Buttons */
.btn-primary, .admin-submit-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  border: 1px solid #6366f1 !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-primary:hover, .admin-submit-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   STATE-OF-THE-ART RIDE BOOKING WORKSPACE DESIGN SYSTEM
   ========================================================================== */

/* 2-Column Responsive Workspace Grid */
.rides-booking-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .rides-booking-workspace {
    grid-template-columns: 1fr;
  }
}

/* Booking Form Card Shell */
.ride-form-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Route Connector Box (Pickup & Dropoff with animated line) */
.route-connector-box {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.route-input-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.route-input-group:focus-within {
  z-index: 100 !important;
}

.route-icon-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}

.route-icon-pin.pickup-pin {
  background: #34d399;
  color: #34d399;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.route-icon-pin.dropoff-pin {
  background: #f43f5e;
  color: #f43f5e;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.route-input-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.route-field-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(226, 236, 255, 0.45);
  text-transform: uppercase;
}

.route-input-field input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
}

.route-input-field input:focus {
  border-bottom-color: #6366f1 !important;
  box-shadow: none !important;
}

.route-connector-line {
  position: absolute;
  left: 24px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  border-left: 2px dashed rgba(255, 255, 255, 0.25);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.route-dist-badge {
  display: none; /* Can be enabled dynamically when route distance is computed */
}

/* Address Suggestions Dropdown Override */
.address-suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
  margin-top: 6px;
  overflow: hidden;
}

.address-suggestion-item {
  padding: 10px 14px;
  font-size: 13.5px;
  color: #e2ecff;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.address-suggestion-item:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
}

/* Vehicle Category Selection Grid */
.vehicle-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .vehicle-option-grid {
    grid-template-columns: 1fr;
  }
}

.vehicle-option-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.vehicle-option-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.vehicle-option-card.is-selected {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.18), rgba(79, 70, 229, 0.08));
  border-color: #6366f1;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25), inset 0 0 0 1px #6366f1;
}

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

.vehicle-icon-emoji {
  font-size: 22px;
}

.vehicle-eta-chip {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-eta-chip.popular {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.vehicle-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vehicle-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.vehicle-fare-val {
  font-size: 18px;
  font-weight: 800;
  color: #34d399;
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 2px;
}

.vehicle-desc {
  font-size: 11px;
  color: rgba(226, 236, 255, 0.45);
}

/* Payment & Promo Grid */
.payment-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .payment-promo-grid {
    grid-template-columns: 1fr;
  }
}

.form-select-dark, .form-input-dark {
  width: 100%;
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: #fff !important;
  font-weight: 600;
}

.form-select-dark:focus, .form-input-dark:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* Primary CTA Button Upgrade */
.btn-primary-cta {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  border: 1px solid #6366f1 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 14px 24px !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6) !important;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

/* Interactive Map Frame Card */
.booking-map-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.map-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.5);
}

.map-active-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.map-frame-shell {
  position: relative;
  width: 100%;
  height: 480px;
}

.booking-map-frame {
  width: 100%;
  height: 100%;
  border-radius: 0 0 20px 20px;
  z-index: 1;
}

.map-empty-state {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: rgba(9, 15, 29, 0.85);
  backdrop-filter: blur(8px);
}

.map-empty-icon {
  font-size: 38px;
}

.map-empty-state strong {
  font-size: 16px;
  color: #fff;
}

.map-empty-state span {
  font-size: 13px;
  color: rgba(226, 236, 255, 0.45);
  max-width: 280px;
}

/* Settings Sub-Tabs Styling */
.settings-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.settings-tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.settings-tab-btn.is-active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}


