/* ── Variables ── */
:root {
  --black: #0a0a0a;
  --off-black: #111111;
  --surface: #161616;
  --border: #2a2a2a;
  --white: #f5f5f5;
  --white-muted: #a0a0a0;
  --gold: #C9A84C;
  --gold-light: #e0bf78;
  --gold-dim: rgba(201,168,76,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 200ms ease;
  --font: 'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, button { font-family: inherit; }

/* ── Page transitions ── */
#page-root { transition: opacity var(--transition), transform var(--transition); }
#page-root.page-exit { opacity: 0; transform: translateY(8px); }
#page-root.page-enter { opacity: 0; transform: translateY(-8px); }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo {
  display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
}
.navbar-logo-img {
  width: 165px; height: auto; max-width: 180px;
  object-fit: contain; display: block;
}
.navbar-logo-fallback {
  display: none;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--gold);
}
.navbar-links { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-size: 0.9rem; color: var(--white-muted); transition: color var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-cta {
  background: var(--gold); color: var(--black);
  padding: 0.5rem 1.25rem; border-radius: 6px;
  font-weight: 600; font-size: 0.875rem;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--gold-light); color: var(--black); }
.navbar-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.navbar-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); transition: var(--transition);
}
.navbar-mobile { display: none; flex-direction: column; padding: 1rem 1.5rem; gap: 1rem; }
.navbar-mobile.open { display: flex; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 600; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent; color: var(--white-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--white-muted); color: var(--white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem; color: var(--white-muted);
  max-width: 400px; margin: 0 auto 2.5rem;
}
.hero-badge {
  margin-top: 4rem;
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  width: 120px; height: 120px; justify-content: center;
  background: var(--gold-dim);
}
.badge-price { font-size: 1.75rem; font-weight: 700; color: var(--gold); }
.badge-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white-muted); }

/* ── Features ── */
.features { padding: 6rem 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.feature-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--white-muted); }

/* ── CTA Section ── */
.cta-section { padding: 5rem 0; text-align: center; }
.cta-inner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1.75rem; }

/* ── Booking Wizard ── */
.booking-page {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1000px; margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: start;
}
.booking-container {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
}
.step-header { margin-bottom: 2rem; }
.step-indicator { font-size: 0.75rem; color: var(--white-muted); margin-bottom: 0.5rem; }
.step-bar { height: 3px; background: var(--border); border-radius: 2px; margin-bottom: 0.75rem; }
.step-progress { height: 100%; background: var(--gold); border-radius: 2px; transition: width 400ms ease; }
.step-label { font-size: 0.8rem; color: var(--white-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.step-body { min-height: 260px; }
.step-content h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.step-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; }
.optional { font-size: 0.75rem; color: var(--white-muted); font-weight: 400; }
.required { color: var(--gold); }

/* ── Form inputs ── */
.form-input {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--off-black); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--white);
  font-size: 0.95rem; transition: border-color var(--transition);
  outline: none; margin-bottom: 1rem;
}
.form-input:focus { border-color: var(--gold); }
.form-label { display: block; font-size: 0.8rem; color: var(--white-muted); margin-bottom: 0.4rem; }
.form-error { color: #ff5f5f; font-size: 0.85rem; margin-bottom: 0.75rem; }
.hint { font-size: 0.8rem; color: var(--white-muted); margin-top: -0.5rem; margin-bottom: 1rem; }

/* ── Time grid ── */
.time-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem; max-height: 320px; overflow-y: auto; padding-right: 0.25rem;
}
.time-slot {
  padding: 0.6rem; background: var(--off-black);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--white); font-size: 0.825rem; cursor: pointer;
  transition: all var(--transition);
}
.time-slot:hover { border-color: var(--gold-light); }
.time-slot.selected { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 600; }
.time-slot.booked {
  background: rgba(255,95,95,0.05); border-color: rgba(255,95,95,0.18);
  color: #555; cursor: not-allowed; opacity: 0.7;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
}
.time-slot.booked:hover { border-color: rgba(255,95,95,0.2); }
.time-slot-label {
  display: block; font-size: 0.6rem; color: #ff5f5f;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.availability-loading {
  font-size: 0.875rem; color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}

/* ── Passenger counter ── */
.counter-group {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 1.5rem 0;
}
.counter-btn {
  width: 44px; height: 44px;
  background: var(--off-black); border: 1px solid var(--border);
  border-radius: 50%; color: var(--white); font-size: 1.25rem;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.counter-btn:hover { border-color: var(--gold); color: var(--gold); }
.counter-value { font-size: 2.5rem; font-weight: 700; min-width: 3rem; text-align: center; }

/* ── Terminal grid ── */
.terminal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.terminal-btn {
  padding: 1rem; background: var(--off-black);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--white); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.terminal-btn:hover { border-color: var(--gold-light); }
.terminal-btn.selected { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); font-weight: 600; }

/* ── Trip Direction step ── */
.direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.75rem; }
.direction-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 1.75rem 1rem;
  background: var(--off-black);
  border: 2px solid var(--border); border-radius: var(--radius);
  color: var(--white); font-size: 0.875rem; cursor: pointer;
  transition: all var(--transition); text-align: center; width: 100%;
}
.direction-btn:hover { border-color: var(--gold-light); }
.direction-btn.selected { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }
.direction-label { font-weight: 600; font-size: 0.9rem; }
.direction-sub { font-size: 0.775rem; color: var(--white-muted); }
.direction-btn.selected .direction-sub { color: rgba(201,168,76,0.75); }

/* ── Booking Summary panel ── */
.booking-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  position: sticky; top: 100px;
}
.booking-summary h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white-muted); margin-bottom: 1.25rem; }
.booking-summary p { font-size: 0.875rem; margin-bottom: 0.5rem; }
.summary-price {
  display: flex; justify-content: space-between;
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: 1rem; font-weight: 600;
}
.price-gold { color: var(--gold); font-weight: 700; }

/* ── Checkout ── */
.checkout-page { max-width: 520px; margin: 4rem auto; padding: 0 1.5rem; }
.checkout-title { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }
.order-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem;
}
.order-summary h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white-muted); margin-bottom: 1rem; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.875rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-total { font-weight: 700; font-size: 1rem; margin-top: 0.5rem; }
#payment-element-container { margin-bottom: 1.5rem; min-height: 120px; }

/* ── Success ── */
.success-page { max-width: 480px; margin: 5rem auto; padding: 0 1.5rem; text-align: center; }
.success-container {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3rem 2rem;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-dim); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--gold); margin: 0 auto 1.5rem;
}
.success-page h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.success-sub { color: var(--white-muted); margin-bottom: 2rem; }
.qr-section { margin: 2rem 0; }
.qr-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white-muted); margin-bottom: 1rem; }
.qr-wrapper { display: flex; justify-content: center; }
.qr-image { border-radius: var(--radius-sm); border: 2px solid var(--gold); }
.booking-details-block { text-align: left; margin: 1.5rem 0; }
.detail-row {
  display: flex; justify-content: space-between;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.detail-row span:first-child { color: var(--white-muted); }
.status-confirmed { color: #4caf50; font-weight: 600; }

/* ── History ── */
.history-page { max-width: 860px; margin: 4rem auto; padding: 0 1.5rem; }
.history-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }
.booking-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem;
  transition: border-color var(--transition);
}
.booking-card:hover { border-color: var(--gold); }
.booking-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.booking-id { font-size: 0.75rem; font-family: monospace; color: var(--white-muted); }
.status-badge {
  font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.status-confirmed { background: rgba(76,175,80,0.15); color: #4caf50; }
.status-pending { background: rgba(201,168,76,0.15); color: var(--gold); }
.status-cancelled { background: rgba(255,95,95,0.15); color: #ff5f5f; }
.booking-card-body p { font-size: 0.875rem; margin-bottom: 0.35rem; }
.booking-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ── Skeleton loaders ── */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--border) 50%, var(--surface) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
.skeleton-card { height: 140px; margin-bottom: 1rem; }
.qr-skeleton { width: 160px; height: 160px; border-radius: var(--radius); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-logo-img { width: 120px; height: auto; max-width: 135px; }
  .booking-page { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .hero-headline { font-size: clamp(2.5rem, 10vw, 4rem); }
  .features-grid { grid-template-columns: 1fr; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .booking-container { padding: 1.5rem; }
  .step-actions { flex-direction: column-reverse; }
  .btn { width: 100%; }
  .terminal-grid { grid-template-columns: repeat(2, 1fr); }
  .direction-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   APP SHELL
══════════════════════════════════════════════ */
#app { display: flex; flex-direction: column; min-height: 100vh; }
#page-root { flex: 1; }

/* ══════════════════════════════════════════════
   NAVBAR ADDITIONS
══════════════════════════════════════════════ */
.navbar-actions { display: flex; gap: 1.25rem; align-items: center; }
.btn-logout {
  background: none; border: none; cursor: pointer;
  font-size: 0.875rem; color: var(--white-muted);
  transition: color var(--transition); padding: 0;
}
.btn-logout:hover { color: var(--white); }
.mobile-divider { border: none; border-top: 1px solid var(--border); margin: 0.5rem 0; }
@media (max-width: 768px) { .navbar-actions { display: none; } }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--off-black); border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo-link { display: inline-block; margin-bottom: 0.75rem; text-decoration: none; }
.footer-logo-img { width: 170px; height: auto; max-width: 190px; object-fit: contain; display: block; }
.footer-logo-fallback { display: none; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.footer-tagline { font-size: 0.875rem; color: var(--white-muted); line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--white-muted); margin-bottom: 0.5rem; font-weight: 600; }
.footer-link { font-size: 0.875rem; color: var(--white-muted); transition: color var(--transition); }
.footer-link:hover { color: var(--gold); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.25rem; }
.footer-copy { font-size: 0.75rem; color: #555; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-logo-img { width: 145px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo-img { width: 125px; }
}

/* ══════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════ */
#toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--white); padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm); font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateX(120%); transition: transform 300ms ease, opacity 300ms ease;
  max-width: 320px;
}
.toast-visible { transform: translateX(0); }
.toast-success { border-color: #4caf50; }
.toast-error { border-color: #ff5f5f; }
.toast-info { border-color: var(--gold); }

/* ══════════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
}
.auth-brand { text-align: center; margin-bottom: 2rem; }
.auth-logo { font-size: 1.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.auth-tagline { font-size: 0.75rem; color: var(--white-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.25rem; }
.auth-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.auth-sub { font-size: 0.875rem; color: var(--white-muted); margin-bottom: 1.75rem; }
.auth-form { display: flex; flex-direction: column; }
.input-password-wrap { position: relative; }
.input-password-wrap .form-input { padding-right: 4rem; }
.toggle-password {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-60%);
  background: none; border: none; color: var(--white-muted); font-size: 0.75rem;
  cursor: pointer; transition: color var(--transition);
}
.toggle-password:hover { color: var(--gold); }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 0.75rem; color: var(--white-muted); }
.auth-switch { font-size: 0.85rem; color: var(--white-muted); text-align: center; }
.auth-switch-link { color: var(--gold); transition: color var(--transition); }
.auth-switch-link:hover { color: var(--gold-light); }
.auth-terms-note { font-size: 0.75rem; color: #555; text-align: center; margin-top: 1rem; line-height: 1.6; }

/* ── Auth field-level validation ── */
.auth-form .form-field { margin-bottom: 0; }
.auth-form .form-field .form-input { margin-bottom: 0.3rem; }
.auth-form .form-field .input-password-wrap { margin-bottom: 0.3rem; }
.auth-form .form-field .hint { margin-top: 0; margin-bottom: 0.25rem; }
.auth-field-error {
  font-size: 0.74rem; color: #ff5f5f;
  display: none; line-height: 1.4;
  margin-bottom: 0.85rem;
}
.auth-field-error.visible { display: block; }
.auth-field-hint {
  font-size: 0.74rem; color: var(--white-muted);
  display: block; line-height: 1.4; margin-bottom: 0.85rem;
}

/* ══════════════════════════════════════════════
   CHECKOUT IMPROVEMENTS
══════════════════════════════════════════════ */
.checkout-page { max-width: 960px; margin: 3rem auto; padding: 0 1.5rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.checkout-main {}
.checkout-header { margin-bottom: 1.75rem; }
.checkout-step-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--white-muted); margin-bottom: 0.5rem; }
.checkout-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.checkout-sub { font-size: 0.875rem; color: var(--white-muted); }
.checkout-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.payment-element-wrapper { min-height: 120px; }
.checkout-loading { padding: 1rem 0; }
.checkout-secure-note { font-size: 0.78rem; color: var(--white-muted); text-align: center; margin-top: 1rem; }
.checkout-summary-panel {}
.checkout-summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 100px; }
.checkout-summary-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--white-muted); margin-bottom: 1.25rem; }
.checkout-summary-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; font-weight: 600; }
.checkout-summary-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.checkout-detail-row { display: flex; justify-content: space-between; font-size: 0.8rem; padding: 0.3rem 0; color: var(--white-muted); }
.checkout-detail-key { font-size: 0.75rem; }
.checkout-summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; font-weight: 700; }
.checkout-trust-badges { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.trust-badge { font-size: 0.75rem; color: #4caf50; }
.payment-unavailable { padding: 2rem; text-align: center; }
.payment-unavail-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--white-muted); }
@media (max-width: 768px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-summary-card { position: static; } }

/* ══════════════════════════════════════════════
   SUCCESS PAGE IMPROVEMENTS
══════════════════════════════════════════════ */
.success-checkmark { margin-bottom: 1.5rem; }
.success-qr-area { margin: 2rem 0; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.75rem 0; }
.success-reminder { background: var(--off-black); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; font-size: 0.82rem; color: var(--white-muted); margin-top: 1rem; }
.success-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; text-align: left; margin-top: 1.5rem; }
.success-detail-item { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.success-detail-label { font-size: 0.75rem; color: var(--white-muted); display: block; margin-bottom: 0.2rem; }
.booking-ref { font-size: 0.85rem; font-family: monospace; color: var(--gold); letter-spacing: 0.05em; }
.qr-placeholder { width: 160px; height: 160px; background: var(--off-black); border: 2px dashed var(--border); border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; }
.qr-placeholder span { font-size: 2rem; color: var(--white-muted); }
.qr-placeholder p { font-size: 0.75rem; color: var(--white-muted); }
@media (max-width: 480px) { .success-detail-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   PACKAGE REDEMPTION BANNER (checkout page)
══════════════════════════════════════════════ */
.pkg-redeem-banner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.03) 100%);
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  animation: pkg-glow-in 400ms ease;
}
@keyframes pkg-glow-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pkg-redeem-icon { font-size: 1.75rem; flex-shrink: 0; }
.pkg-redeem-info { flex: 1; min-width: 0; }
.pkg-redeem-name { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 0.25rem; }
.pkg-redeem-meta { font-size: 0.82rem; color: var(--white-muted); }
.pkg-redeem-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 600px) {
  .pkg-redeem-banner { flex-direction: column; align-items: flex-start; }
  .pkg-redeem-actions { width: 100%; }
  .pkg-redeem-actions .btn { flex: 1; }
}

/* ══════════════════════════════════════════════
   PREMIUM PACKAGE CARDS (/packages page)
══════════════════════════════════════════════ */
.pkg-section { padding: 4rem 0 5rem; }
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}
.pkg-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  display: flex; flex-direction: column;
  transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
  cursor: default;
}
.pkg-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,168,76,0.08);
}
.pkg-card--popular {
  border-color: var(--gold);
  box-shadow: 0 0 32px rgba(201,168,76,0.14), 0 8px 32px rgba(0,0,0,0.4);
  transform: scale(1.03);
}
.pkg-card--popular:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.3);
}
.pkg-popular-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #000;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(201,168,76,0.4);
}
.pkg-card-header { text-align: center; margin-bottom: 1.75rem; }
.pkg-ride-count {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800; color: var(--white);
  line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}
.pkg-ride-unit { font-size: 1rem; font-weight: 400; color: var(--white-muted); }
.pkg-price-row { margin-bottom: 0.15rem; }
.pkg-price {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800; color: var(--gold);
  letter-spacing: -0.02em;
}
.pkg-price-mo { font-size: 0.95rem; font-weight: 400; color: var(--white-muted); }
.pkg-per-ride { font-size: 0.75rem; color: var(--white-muted); }
.pkg-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
  margin: 1.5rem 0;
}
.pkg-features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.pkg-feature-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; color: var(--white-muted);
}
.pkg-feature-icon {
  flex-shrink: 0; width: 16px; height: 16px;
  color: var(--gold); opacity: 0.9;
}
.pkg-btn-wrap { margin-top: auto; }
.pkg-btn {
  width: 100%; padding: 0.85rem 1rem;
  border-radius: 10px; border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 250ms ease;
}
.pkg-btn--popular {
  background: var(--gold); color: #000;
}
.pkg-btn--popular:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,0.3); }
.pkg-btn--regular {
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
}
.pkg-btn--regular:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.pkg-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

@media (max-width: 960px) {
  .pkg-card--popular { transform: none; }
  .pkg-card--popular:hover { transform: translateY(-5px); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg-card { padding: 2rem 1.5rem 1.5rem; }
}

/* ══════════════════════════════════════════════
   HISTORY IMPROVEMENTS
══════════════════════════════════════════════ */
.history-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.history-sub { font-size: 0.875rem; color: var(--white-muted); margin-top: 0.25rem; }
.history-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.history-tab { background: none; border: none; cursor: pointer; font-size: 0.875rem; color: var(--white-muted); padding: 0.6rem 1rem; border-bottom: 2px solid transparent; transition: all var(--transition); margin-bottom: -1px; }
.history-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.booking-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.booking-card-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white-muted); margin-bottom: 0.2rem; }
.booking-date-small { font-size: 0.75rem; color: var(--white-muted); margin-left: 0.75rem; }
.text-green { color: #4caf50; }
.text-muted { color: var(--white-muted); }
.text-red { color: #ff5f5f; }
.text-gold { color: var(--gold); }
.empty-state { padding: 4rem 2rem; text-align: center; }
.empty-icon { font-size: 2.5rem; color: var(--border); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.empty-state p { color: var(--white-muted); margin-bottom: 1.5rem; }
@media (max-width: 600px) { .booking-card-grid { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════
   BOOKING DETAILS PAGE
══════════════════════════════════════════════ */
.details-page { max-width: 900px; margin: 3rem auto; padding: 0 1.5rem; }
.details-back { margin-bottom: 1.5rem; }
.back-link { font-size: 0.875rem; color: var(--white-muted); transition: color var(--transition); }
.back-link:hover { color: var(--gold); }
.details-lookup { max-width: 480px; }
.details-lookup h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.details-sub { color: var(--white-muted); margin-bottom: 1.75rem; }
.lookup-form { display: flex; flex-direction: column; gap: 0; }
.details-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.details-header-row h1 { font-size: 1.75rem; font-weight: 700; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.details-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.details-card-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white-muted); margin-bottom: 1.25rem; }
.details-qr-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.details-qr-section h3 { margin-bottom: 0.5rem; }
@media (max-width: 640px) { .details-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   ADMIN LAYOUT
══════════════════════════════════════════════ */
.admin-layout {
  display: grid; grid-template-columns: 256px 1fr;
  min-height: 100vh; position: relative;
}

/* ── Sidebar ── */
.admin-sidebar {
  background: var(--off-black); border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
  z-index: 200;
}
.admin-sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 190; opacity: 0; transition: opacity 0.25s ease;
}
.admin-sidebar-overlay.open { opacity: 1; }
.admin-sidebar-header { padding: 1.5rem 1.25rem 1rem; border-bottom: 1px solid var(--border); }
.admin-sidebar-logo-wrap { display: block; margin-bottom: 0.4rem; text-decoration: none; }
.admin-sidebar-logo-img { width: 110px; height: auto; object-fit: contain; display: block; }
.admin-sidebar-logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.admin-sidebar-tag {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--gold); background: var(--gold-dim); padding: 0.2rem 0.55rem;
  border-radius: 20px; border: 1px solid rgba(201,168,76,0.25); display: inline-block;
}
.admin-nav { display: flex; flex-direction: column; padding: 0.75rem 0; flex: 1; overflow-y: auto; }
.admin-nav-section {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--white-muted); padding: 0.6rem 1.25rem 0.3rem; margin-top: 0.25rem;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 0.75rem; width: 100%;
  padding: 0.7rem 1.25rem; font-size: 0.875rem; color: var(--white-muted);
  transition: all var(--transition); border-left: 3px solid transparent;
  text-decoration: none; background: none; border-top: none; border-right: none; border-bottom: none;
  cursor: pointer; text-align: left;
}
.admin-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.admin-nav-link.active { color: var(--gold); border-left-color: var(--gold); background: var(--gold-dim); }
.admin-nav-link--back:hover { color: var(--white-muted); }
.admin-nav-link--logout:hover { color: #ff5f5f; }
.admin-nav-icon { display: flex; align-items: center; width: 18px; flex-shrink: 0; }
.admin-nav-label { flex: 1; }
.admin-nav-divider { border: none; border-top: 1px solid var(--border); margin: 0.75rem 1.25rem; }

/* ── Main body ── */
/* overflow-x must NOT be hidden here — it would create a scroll-context ancestor
   that blocks .admin-table-scroll's horizontal scrollbar from working. */
.admin-body { display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.75rem; border-bottom: 1px solid var(--border);
  background: var(--off-black); position: sticky; top: 0; z-index: 100;
}
.admin-topbar-left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.admin-topbar-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.admin-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: none; border: 1px solid var(--border); color: var(--white-muted);
  cursor: pointer; transition: all var(--transition); flex-shrink: 0;
}
.admin-hamburger:hover { border-color: var(--gold); color: var(--gold); }
.admin-page-title { font-size: 1.1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-date-chip {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; color: var(--white-muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 0.3rem 0.7rem; border-radius: 20px;
}
.admin-view-site-btn {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600; color: var(--gold);
  background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.3);
  padding: 0.35rem 0.8rem; border-radius: 20px; text-decoration: none;
  transition: all var(--transition);
}
.admin-view-site-btn:hover { background: rgba(201,168,76,0.18); }
.admin-user-chip { display: flex; align-items: center; gap: 0.5rem; }
.admin-user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.admin-user-name { font-size: 0.8rem; font-weight: 600; color: var(--white); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-content { padding: 2rem; flex: 1; }

/* ── Layout helpers ── */
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.admin-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
.admin-stats-grid-7 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }

/* ── Stat cards ── */
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-1px); }
.stat-card-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
}
.stat-card-body { flex: 1; min-width: 0; }
.stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white-muted); margin-bottom: 0.3rem; }
.stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1; margin-bottom: 0.2rem; }
.stat-sub { font-size: 0.72rem; color: var(--white-muted); }
.stat-card-icon--green { background: rgba(76,175,80,0.1); border-color: rgba(76,175,80,0.25); color: #4caf50; }
.stat-card-icon--red { background: rgba(255,95,95,0.1); border-color: rgba(255,95,95,0.25); color: #ff5f5f; }
.stat-card-icon--blue { background: rgba(100,181,246,0.1); border-color: rgba(100,181,246,0.25); color: #64b5f6; }
.stat-card-icon--muted { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--white-muted); }

/* ── Admin panel ── */
/* overflow:clip clips for border-radius without creating a scroll-context ancestor.
   overflow:hidden would block child scroll containers (admin-table-scroll). */
.admin-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: clip; }
.admin-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border);
}
.admin-panel-header h3 { font-size: 0.875rem; font-weight: 600; }
.admin-panel-body { padding: 1.5rem; }

/* ── Tables ── */
.admin-table-scroll {
  display: block; width: 100%;
  overflow-x: auto; overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}
/* width:100% + min-width is set here for small tables; the bookings table
   overrides with width:max-content;min-width:1400px inline in adminBookings.js */
.admin-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 0.835rem; }
.admin-table-hint { font-size: 0.71rem; color: var(--white-muted); padding: 0.45rem 1.25rem; text-align: right; border-bottom: 1px solid var(--border); }
.admin-table th {
  text-align: left; padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.015); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--white-muted);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.admin-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); color: var(--white); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.018); }
.booking-ref-sm { font-family: monospace; font-size: 0.78rem; color: var(--gold); font-weight: 600; }

/* ── Action buttons ── */
.admin-actions-cell { display: flex; gap: 0.35rem; align-items: center; flex-wrap: nowrap; }
.btn-action {
  height: 28px; min-width: 28px; padding: 0 0.5rem; border-radius: 6px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
  font-size: 0.72rem; cursor: pointer; background: transparent;
  color: var(--white-muted); transition: all var(--transition); text-decoration: none; white-space: nowrap;
}
.btn-action:hover { border-color: var(--border); color: var(--white); }
.btn-confirm { border-color: rgba(76,175,80,0.35); color: #4caf50; }
.btn-confirm:hover { background: rgba(76,175,80,0.12); border-color: rgba(76,175,80,0.6); }
.btn-cancel { border-color: rgba(255,95,95,0.35); color: #ff5f5f; }
.btn-cancel:hover { background: rgba(255,95,95,0.12); border-color: rgba(255,95,95,0.6); }
.btn-complete { border-color: rgba(100,181,246,0.35); color: #64b5f6; }
.btn-complete:hover { background: rgba(100,181,246,0.12); border-color: rgba(100,181,246,0.6); }
.btn-view-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  height: 28px; padding: 0 0.6rem; border-radius: 6px;
  border: 1px solid rgba(201,168,76,0.3); color: var(--gold);
  font-size: 0.72rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: var(--gold-dim); transition: all var(--transition);
}
.btn-view-link:hover { background: rgba(201,168,76,0.18); border-color: rgba(201,168,76,0.6); }
.btn-view:hover { border-color: var(--gold); color: var(--gold); }

/* ── Status badges ── */
.status-paid { background: rgba(76,175,80,0.14); color: #4caf50; }
.status-unpaid { background: rgba(201,168,76,0.14); color: var(--gold-light); }
.status-failed { background: rgba(255,95,95,0.14); color: #ff5f5f; }
.status-refunded { background: rgba(156,39,176,0.14); color: #ce93d8; }
.status-completed { background: rgba(100,181,246,0.14); color: #64b5f6; }

/* ── Filters ── */
.admin-filter-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.admin-search {
  background: var(--off-black); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--white);
  padding: 0.5rem 0.875rem; font-size: 0.835rem; outline: none;
  transition: border-color var(--transition); min-width: 200px;
}
.admin-search:focus { border-color: var(--gold); }
.admin-select {
  background: var(--off-black); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--white);
  padding: 0.5rem 0.875rem; font-size: 0.835rem; outline: none; cursor: pointer;
  transition: border-color var(--transition);
}
.admin-select:focus { border-color: var(--gold); }
.admin-count { font-size: 0.72rem; color: var(--white-muted); white-space: nowrap; margin-left: auto; }

/* ── Quick actions grid ── */
.admin-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.25rem 1.5rem; }
.admin-action-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1.25rem; text-align: center;
  background: var(--off-black); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--white-muted); font-size: 0.85rem; font-weight: 500;
  transition: all var(--transition); cursor: pointer; text-decoration: none;
}
.admin-action-card:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.admin-action-icon { color: var(--gold); }

/* ── Analytics Charts ── */
.analytics-chart-wrap { padding: 1.5rem; }
.bar-chart { display: flex; align-items: flex-end; gap: 0.75rem; height: 200px; justify-content: space-between; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex: 1; }
.bar-val { font-size: 0.68rem; color: var(--white-muted); }
.bar-bar {
  width: 100%; max-width: 40px; background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3); border-radius: 4px 4px 0 0;
  transition: height 700ms cubic-bezier(0.22,1,0.36,1);
}
.bar-gold { background: rgba(201,168,76,0.22); border-color: var(--gold); }
.bar-green { background: rgba(76,175,80,0.2); border-color: rgba(76,175,80,0.4); }
.bar-label { font-size: 0.63rem; color: var(--white-muted); text-align: center; white-space: nowrap; }

/* ── Confirmation modal ── */
.admin-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s ease; pointer-events: none;
}
.admin-modal-overlay.open { opacity: 1; pointer-events: auto; }
.admin-modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; max-width: 400px; width: calc(100% - 2rem);
  transform: scale(0.95); transition: transform 0.2s ease;
}
.admin-modal-overlay.open .admin-modal { transform: scale(1); }
.admin-modal-icon { margin-bottom: 1rem; color: #ff5f5f; }
.admin-modal-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.admin-modal-body { font-size: 0.875rem; color: var(--white-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.admin-modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; }

/* ── Auth guard page ── */
.admin-access-denied {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--black);
}
.admin-access-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3rem 2rem; text-align: center; max-width: 380px;
}
.admin-access-card h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--white); }
.admin-access-card p { color: var(--white-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* ── Booking detail page ── */
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.admin-detail-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.admin-detail-card-title {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem;
}
.admin-detail-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.admin-detail-row:last-child { border-bottom: none; }
.admin-detail-label { font-size: 0.78rem; color: var(--white-muted); flex-shrink: 0; }
.admin-detail-value { font-size: 0.85rem; font-weight: 500; text-align: right; word-break: break-all; }
.admin-detail-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-qr-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; text-align: center; margin-bottom: 1.5rem;
}
.admin-qr-wrap img { max-width: 200px; border-radius: 8px; display: block; margin: 1rem auto; }
.admin-back-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }

/* ── Settings page ── */
.admin-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.admin-settings-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.admin-settings-card-title {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.admin-settings-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--border); gap: 1rem; }
.admin-settings-row:last-child { border-bottom: none; }
.admin-settings-key { font-size: 0.8rem; color: var(--white-muted); }
.admin-settings-val { font-size: 0.85rem; font-weight: 500; }
.status-indicator { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; }
.status-indicator-dot { width: 7px; height: 7px; border-radius: 50%; }
.status-indicator-dot--green { background: #4caf50; box-shadow: 0 0 6px rgba(76,175,80,0.5); }
.status-indicator-dot--red { background: #ff5f5f; box-shadow: 0 0 6px rgba(255,95,95,0.5); }
.status-indicator-dot--yellow { background: var(--gold); box-shadow: 0 0 6px rgba(201,168,76,0.5); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .admin-stats-grid-7 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed; left: 0; top: 0; height: 100vh;
    transform: translateX(-100%); width: 256px; z-index: 200;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-overlay { display: block; pointer-events: none; }
  .admin-sidebar-overlay.open { pointer-events: auto; }
  .admin-hamburger { display: flex; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats-grid-7 { grid-template-columns: repeat(2, 1fr); }
  .admin-two-col { grid-template-columns: 1fr; }
  .admin-three-col { grid-template-columns: 1fr; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-settings-grid { grid-template-columns: 1fr; }
  .admin-date-chip { display: none; }
  .admin-user-name { display: none; }
}
@media (max-width: 600px) {
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats-grid-7 { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 1rem; }
  .admin-topbar { padding: 0.875rem 1rem; }
  .admin-topbar-right { gap: 0.5rem; }
  .admin-view-site-btn span { display: none; }
}
@media (max-width: 400px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
  .admin-stats-grid-7 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   INNER HERO (Static Pages)
══════════════════════════════════════════════ */
.inner-hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.inner-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.inner-hero-sub { font-size: 1rem; color: var(--white-muted); max-width: 540px; margin: 0 auto; }

/* ══════════════════════════════════════════════
   STATIC CONTENT PAGES
══════════════════════════════════════════════ */
.static-page {}
.static-content { padding: 4rem 0 6rem; }
p + p { margin-top: 1rem; }

/* About */
.about-mission { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.about-mission-text h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.about-mission-text p { color: var(--white-muted); line-height: 1.8; margin-bottom: 1rem; }
.about-badge-large {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--gold); border-radius: 50%; width: 130px; height: 130px;
  background: var(--gold-dim); flex-shrink: 0;
}
.about-values h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.75rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.value-card:hover { border-color: var(--gold); }
.value-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.75rem; }
.value-card h3 { font-weight: 600; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--white-muted); }
.about-cta { margin-top: 4rem; padding: 3rem 2rem; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.about-cta h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.about-cta p { color: var(--white-muted); margin-bottom: 1.75rem; }
@media (max-width: 640px) { .about-mission { grid-template-columns: 1fr; } .about-badge-large { display: none; } }

/* How It Works */
.steps-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 4rem; }
.step-item { display: grid; grid-template-columns: 48px 1fr; gap: 1.5rem; }
.step-number-col { display: flex; flex-direction: column; align-items: center; }
.step-number { width: 40px; height: 40px; background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.step-line { flex: 1; width: 1px; background: var(--border); margin: 0.5rem 0; min-height: 2rem; }
.step-body-col { display: flex; gap: 1.25rem; align-items: flex-start; padding-bottom: 2.5rem; }
.step-icon-circle { width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.step-item-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-item-desc { font-size: 0.875rem; color: var(--white-muted); line-height: 1.7; }
.hiw-faq { margin-top: 4rem; }
.hiw-faq h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }

/* FAQ */
.faq-search-wrap { margin-bottom: 2.5rem; }
.faq-category { margin-bottom: 2.5rem; }
.faq-cat-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.1rem 0; color: var(--white); font-size: 0.95rem; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-chevron { font-size: 1.25rem; color: var(--white-muted); transition: transform var(--transition); flex-shrink: 0; margin-left: 1rem; }
.faq-answer { font-size: 0.875rem; color: var(--white-muted); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 300ms ease, padding 300ms ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }
.faq-item.open .faq-chevron { transform: rotate(45deg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2, .contact-form-wrap h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-icon { width: 36px; height: 36px; background: var(--gold-dim); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; font-size: 0.875rem; }
.contact-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; }
.contact-item p { font-size: 0.85rem; color: var(--white-muted); }
.contact-detail { color: var(--gold); font-weight: 500; margin-top: 0.35rem; }
.form-textarea { resize: vertical; min-height: 130px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* Legal docs */
.legal-doc { max-width: 720px; }
.legal-section { margin-bottom: 2rem; }
.legal-section h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--white); }
.legal-section p { font-size: 0.9rem; color: var(--white-muted); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-list { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.legal-list li { font-size: 0.9rem; color: var(--white-muted); line-height: 1.8; margin-bottom: 0.4rem; }

/* Cancellation Policy */
.cancellation-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.cancel-tier { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.cancel-tier h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.cancel-tier p { font-size: 0.85rem; color: var(--white-muted); }
.cancel-tier-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cancel-tier-green { border-color: rgba(76,175,80,0.3); }
.cancel-tier-green .cancel-tier-icon { background: rgba(76,175,80,0.15); color: #4caf50; }
.cancel-tier-yellow { border-color: rgba(201,168,76,0.3); }
.cancel-tier-yellow .cancel-tier-icon { background: var(--gold-dim); color: var(--gold); }
.cancel-tier-red { border-color: rgba(255,95,95,0.3); }
.cancel-tier-red .cancel-tier-icon { background: rgba(255,95,95,0.12); color: #ff5f5f; }
@media (max-width: 640px) { .cancellation-summary { grid-template-columns: 1fr; } }

/* status-completed badge */
.status-completed { background: rgba(100,100,255,0.15); color: #8888ff; }

/* ══════════════════════════════════════════════
   HOME PAGE v2 — HERO WITH BACKGROUND IMAGE
══════════════════════════════════════════════ */
.hero-v2 {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-v2-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/Home.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.45) saturate(0.65);
}
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.62) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.72) 100%
  );
}
.hero-v2-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 11rem 1.5rem 9rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-v2-text {
  max-width: 740px;
  text-align: center;
}
.hero-v2-text .hero-eyebrow { margin-bottom: 1.25rem; }
.hero-v2-text .hero-headline {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 1.75rem;
  min-height: 2.4em;
}
.hero-v2-text .hero-sub {
  font-size: 1.05rem;
  color: rgba(160, 160, 160, 0.9);
  line-height: 1.85;
  margin: 0 auto 2.5rem;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}
/* ── Trust Marquee (replaces static trust pills) ── */
.trust-marquee {
  overflow: hidden;
  background: rgba(201,168,76,0.05);
  border-top: 1px solid rgba(201,168,76,0.18);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  padding: 0.9rem 0;
}
.trust-marquee:hover .trust-marquee-track {
  animation-play-state: paused;
}
.trust-marquee-track {
  display: flex;
  animation: marquee-scroll 28s linear infinite;
}
.trust-marquee-group {
  display: flex;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
}
.trust-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* ── Section shared styles ── */
.home-section { padding: 6rem 0; }
.home-section-alt { background: var(--off-black); }
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--white-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── Service cards ── */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.875rem; color: var(--white-muted); line-height: 1.7; }

/* ── Book Your Ride in Minutes — Premium Section ── */
.brim-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.brim-bg-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 70% at 72% 50%, rgba(201,168,76,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.brim-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}
.brim-subtitle {
  font-size: 0.975rem; color: var(--white-muted);
  line-height: 1.8; margin-bottom: 2.5rem; max-width: 460px;
}
/* Timeline */
.brim-timeline {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.625rem;
  margin-bottom: 2.75rem;
}
.brim-step {
  display: grid;
  grid-template-columns: 2.25rem 1.75rem 1fr;
  gap: 0 1rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background: rgba(22,22,22,0.75);
  border: 1px solid rgba(42,42,42,0.9);
  border-radius: var(--radius);
  cursor: default;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease,
              border-color 180ms ease, background 180ms ease;
}
.brim-step.brim-in { opacity: 1; transform: translateY(0); }
.brim-step:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.03);
}
.brim-step-num {
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.03em; color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 50%;
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brim-step-ico {
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); opacity: 0.7;
}
.brim-step-title {
  font-size: 0.875rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.15rem; line-height: 1.35;
}
.brim-step-desc {
  font-size: 0.8rem; color: var(--white-muted); line-height: 1.55;
}
/* CTA */
.brim-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.brim-btn {
  padding: 0.875rem 2.25rem; font-size: 0.975rem;
  box-shadow: 0 4px 20px rgba(201,168,76,0.22);
}
.brim-btn:hover { box-shadow: 0 6px 28px rgba(201,168,76,0.32); }
.brim-cta-sub { font-size: 0.8rem; color: var(--white-muted); line-height: 1.5; }
/* Visual column */
.brim-visual {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity 600ms ease 200ms, transform 600ms ease 200ms;
}
.brim-visual.brim-in { opacity: 1; transform: translateY(0); }
.brim-visual-halo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 110%;
  background: radial-gradient(ellipse 55% 55% at center, rgba(201,168,76,0.13) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.brim-card {
  position: relative; z-index: 1;
  background: rgba(10,10,10,0.7);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 0 0 1px rgba(201,168,76,0.05),
              0 20px 60px rgba(0,0,0,0.55),
              0 4px 24px rgba(201,168,76,0.07);
  width: 100%;
  animation: brim-float 5.5s ease-in-out infinite;
}
@keyframes brim-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
.brim-card-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 100px;
  padding: 0.28rem 0.7rem;
  margin-bottom: 0.75rem;
}
.brim-card-img {
  width: 100%; height: auto;
  border-radius: 10px;
  object-fit: contain; display: block;
}
/* Trust mini cards */
.brim-trust-row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem; width: 100%;
}
.brim-trust-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.35rem;
  text-align: center;
  padding: 0.7rem 0.4rem;
  background: rgba(22,22,22,0.85);
  border: 1px solid rgba(42,42,42,0.85);
  border-radius: var(--radius-sm);
  font-size: 0.7rem; font-weight: 500;
  color: var(--white-muted);
  transition: border-color 180ms ease, color 180ms ease;
}
.brim-trust-item:hover { border-color: rgba(201,168,76,0.28); color: var(--white); }
.brim-trust-ico { color: var(--gold); }

/* ── Why Choose TRAQQ ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.why-item:hover { border-color: var(--gold); }
.why-icon {
  width: 40px; height: 40px;
  background: var(--gold-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold); flex-shrink: 0;
}
.why-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.why-item p { font-size: 0.82rem; color: var(--white-muted); line-height: 1.65; }

/* ── DFW Terminals Section ── */
.terminals-section { padding: 6rem 0; }
.terminal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}
.terminal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: all var(--transition);
}
.terminal-tag:hover { background: var(--gold-dim); border-color: var(--gold); }
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ── FAQ Preview (home) ── */
.faq-preview-list { display: flex; flex-direction: column; gap: 0; margin: 2rem 0; }
.faq-preview-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.faq-preview-q { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.faq-preview-a { font-size: 0.85rem; color: var(--white-muted); line-height: 1.65; }
.faq-num { font-size: 0.75rem; font-weight: 700; color: var(--gold); padding-top: 0.25rem; }

/* ── Final CTA ── */
.final-cta {
  padding: 6rem 1.5rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  border-top: 1px solid var(--border);
}
.final-cta h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.final-cta p { font-size: 1.05rem; color: var(--white-muted); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.final-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   CONTACT PAGE — IMAGE SLIDER
══════════════════════════════════════════════ */
.contact-page-wrap {
  padding: 3rem 0 6rem;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-left-col {}
.contact-right-col {}
.contact-section-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-section-sub { font-size: 0.925rem; color: var(--white-muted); margin-bottom: 2rem; line-height: 1.65; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.contact-info-card:hover { border-color: rgba(201,168,76,0.4); }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; }
.contact-info-card p { font-size: 0.82rem; color: var(--white-muted); line-height: 1.6; }
.contact-quick-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.contact-detail-row {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  font-size: 0.875rem;
}
.contact-detail-label { color: var(--white-muted); min-width: 70px; }
.contact-detail-val { color: var(--gold); font-weight: 500; }
.contact-form-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }

/* Image Slider */
.img-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.15);
  background: var(--surface);
  user-select: none;
}
.img-slider-track {
  display: flex;
  transition: transform 600ms cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.img-slider-slide {
  min-width: 100%;
  position: relative;
}
.img-slider-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.img-slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(10,10,10,0.75);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gold);
  font-size: 1.1rem;
  z-index: 2;
  transition: all var(--transition);
  outline: none;
}
.img-slider-arrow:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }
.img-slider-prev { left: 1rem; }
.img-slider-next { right: 1rem; }
.img-slider-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.875rem 0;
  background: rgba(10,10,10,0.5);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.img-slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
  outline: none;
  padding: 0;
}
.img-slider-dot.active { background: var(--gold); transform: scale(1.4); }
.slider-caption {
  padding: 1rem 1.5rem 0.25rem;
  font-size: 0.78rem;
  color: var(--white-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════
   FAQ PAGE — UPDATED STYLES
══════════════════════════════════════════════ */
.faq-flat-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 3rem; }
.faq-flat-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-flat-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 1.25rem 0;
  color: var(--white); font-size: 0.975rem; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-btn:hover { color: var(--gold); }
.faq-btn-icon {
  width: 28px; height: 28px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold); flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-flat-item.open .faq-btn-icon { transform: rotate(45deg); background: var(--gold); color: var(--black); }
.faq-flat-body {
  font-size: 0.9rem; color: var(--white-muted);
  line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
}
.faq-flat-item.open .faq-flat-body { max-height: 400px; padding-bottom: 1.25rem; }

/* ══════════════════════════════════════════════
   FOOTER UPGRADE
══════════════════════════════════════════════ */
.footer-contact-block { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; }
.footer-contact-item { font-size: 0.82rem; color: var(--white-muted); }
.footer-contact-item a { color: var(--gold); font-weight: 500; }
.footer-contact-item a:hover { color: var(--gold-light); }

/* Responsive — Home hero and sections */
@media (max-width: 900px) {
  .hero-v2-inner { padding: 8rem 1.5rem 6.5rem; }
  .brim-grid { grid-template-columns: 1fr; gap: 3rem; }
  .brim-section { padding: 5.5rem 0; }
}
@media (max-width: 768px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .img-slider-slide img { height: 280px; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-v2-inner { padding: 7rem 1.25rem 5.5rem; }
  .brim-card { max-width: 100%; }
  .brim-trust-row { max-width: 100%; }
  .brim-cta-btn { width: 100%; }
}
@media (max-width: 480px) {
  .brim-section { padding: 4rem 0; }
  .brim-trust-item { font-size: 0.65rem; padding: 0.6rem 0.3rem; }
}
@media (max-width: 600px) {
  .terminal-tags { gap: 0.5rem; }
  .final-cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
}

/* ══════════════════════════════════════════════
   FORM GROUP (shared utility)
══════════════════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-group .form-input { margin-bottom: 0; }
.form-group .form-label { margin-bottom: 0.4rem; display: block; }
.field-error { font-size: 0.78rem; color: #ff5f5f; margin-top: 0.3rem; display: none; }
.field-error.visible { display: block; }
.form-input.input-error { border-color: #ff5f5f; }
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,168,76,0.12); }

/* ══════════════════════════════════════════════
   CONTACT PAGE — PREMIUM FORM UPGRADE
══════════════════════════════════════════════ */
.contact-page-grid {
  grid-template-columns: 3fr 2fr;
}
.contact-form-card {
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,168,76,0.07);
  margin-bottom: 1.5rem;
}
.contact-form-title {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.25;
}
.contact-form-subtitle {
  font-size: 0.875rem; color: var(--white-muted); margin-bottom: 0.4rem; line-height: 1.7;
}
.contact-form-microcopy {
  font-size: 0.78rem; color: #666; margin-bottom: 1.5rem; font-style: italic;
}
.contact-trust-badges {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.75rem;
}
.contact-trust-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 20px;
  font-size: 0.7rem; color: var(--gold); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.contact-form-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
.contact-form-inner-grid .form-group.full-width {
  grid-column: 1 / -1;
}
.contact-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a0a0a0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}
.contact-form-select option { background: var(--off-black); color: var(--white); }
.form-textarea { resize: vertical; min-height: 130px; max-height: 300px; }
.contact-submit-note {
  font-size: 0.73rem; color: #555; text-align: center; margin-top: 0.75rem; line-height: 1.65;
}

/* Assist card */
.contact-assist-card {
  background: var(--off-black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 1.25rem;
}
.contact-assist-title {
  font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--gold);
}
.contact-assist-card > p {
  font-size: 0.82rem; color: var(--white-muted); margin-bottom: 1.25rem; line-height: 1.65;
}
.contact-assist-detail {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem; margin-bottom: 0.65rem;
}
.contact-assist-label { color: var(--white-muted); min-width: 60px; }
.contact-assist-val { color: var(--gold); font-weight: 500; }
.contact-assist-val a { color: var(--gold); }
.contact-assist-val a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr !important; }
  .contact-form-inner-grid { grid-template-columns: 1fr; }
  .contact-form-inner-grid .form-group.full-width { grid-column: 1; }
}
@media (max-width: 600px) {
  .contact-form-card { padding: 1.5rem; }
  .contact-form-inner-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   GRADIENT HEADING UTILITY — Premium gold/white
   Fallback: plain white for non-supporting browsers
══════════════════════════════════════════════ */
.gradient-heading {
  color: var(--white);
}
@supports (-webkit-background-clip: text) {
  .gradient-heading {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #f7d36a 42%,
      #d4af37 70%,
      #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* All inner page hero titles get the logo-inspired gradient */
  .inner-hero-title {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #f7d36a 42%,
      #d4af37 70%,
      #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* ══════════════════════════════════════════════
   LUCIDE ICONS — UTILITY SIZING
══════════════════════════════════════════════ */
[data-lucide], .lucide {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  line-height: 1;
}
.icon-xs  { width: 12px; height: 12px; }
.icon-sm  { width: 16px; height: 16px; }
.icon-md  { width: 20px; height: 20px; }
.icon-lg  { width: 26px; height: 26px; }
.icon-xl  { width: 34px; height: 34px; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.spin { animation: spin 1s linear infinite; display: inline-block; }

/* ══════════════════════════════════════════════
   REVEAL ANIMATION SYSTEM — All variants
══════════════════════════════════════════════ */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-image {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 950ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Single visible state covers all variants */
.reveal-visible {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-delay-1 { transition-delay: 110ms; }
.reveal-delay-2 { transition-delay: 220ms; }
.reveal-delay-3 { transition-delay: 330ms; }
.reveal-delay-4 { transition-delay: 440ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ══════════════════════════════════════════════
   TYPEWRITER CURSOR
══════════════════════════════════════════════ */
.hero-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background-color: var(--gold);
  -webkit-text-fill-color: initial;
  color: transparent;
  vertical-align: text-bottom;
  margin-left: 0.06em;
  border-radius: 1px;
  animation: cursor-blink 0.9s step-end infinite;
}
.hero-typewriter-cursor.done {
  animation: cursor-blink 0.9s step-end 3;
  animation-fill-mode: forwards;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-typewriter-cursor { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════
   CURSOR PLANE — Airplane follower (desktop only)
══════════════════════════════════════════════ */
.cursor-plane {
  position: fixed;
  top: 0; left: 0;
  width: 24px; height: 24px;
  pointer-events: none;
  z-index: 9999;
  color: var(--gold);
  opacity: 0;
  transition: opacity 350ms ease;
  will-change: transform;
}
.cursor-plane.visible { opacity: 0.85; }
.cursor-plane svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 5px rgba(201,168,76,0.5));
}
@media (hover: none), (pointer: coarse) {
  .cursor-plane { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-plane { display: none !important; }
}

/* ══════════════════════════════════════════════
   MICRO-INTERACTIONS
══════════════════════════════════════════════ */
/* Button primary gold glow on hover */
.btn-primary:hover {
  box-shadow: 0 4px 22px rgba(201,168,76,0.3);
}
/* Nav link animated underline */
.nav-link {
  position: relative;
  padding-bottom: 1px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* ══════════════════════════════════════════════
   VERIFY BOOKING PAGE
══════════════════════════════════════════════ */
.verify-page {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.verify-container {
  width: 100%; max-width: 460px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3rem 2rem;
  text-align: center;
}
.verify-spinner { margin-bottom: 1rem; color: var(--gold); }
.verify-loading { color: var(--white-muted); font-size: 0.9rem; }
.verify-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2rem;
}
.verify-icon-valid { background: rgba(76,175,80,0.12); border: 2px solid #4caf50; color: #4caf50; }
.verify-icon-invalid { background: rgba(255,95,95,0.12); border: 2px solid #ff5f5f; color: #ff5f5f; }
.verify-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.verify-valid { color: #4caf50; }
.verify-invalid { color: #ff5f5f; }
.verify-subtitle { font-size: 0.9rem; color: var(--white-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.verify-badge { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.75rem; flex-wrap: wrap; }
.verify-details {
  background: var(--off-black); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 2rem; text-align: left;
}
.verify-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.verify-detail-row:last-child { border-bottom: none; }
.verify-detail-label { color: var(--white-muted); font-size: 0.8rem; }

/* ══════════════════════════════════════════════
   DRIVER PORTAL — SHARED SHELL
══════════════════════════════════════════════ */
.ds-layout {
  display: flex; flex-direction: column;
  min-height: 100vh; background: var(--black);
}

.ds-header {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.ds-header-inner {
  max-width: 680px; margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.ds-header-left  { display: flex; align-items: center; gap: 0.75rem; }
.ds-header-right { display: flex; align-items: center; gap: 1rem; }

.ds-logo {
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--gold);
}
.ds-role-chip {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--white-muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 0.15rem 0.5rem; border-radius: 20px;
}
.ds-driver-name {
  font-size: 0.875rem; color: var(--white-muted);
}

/* ── Main content area ── */
.ds-main {
  flex: 1;
  max-width: 680px; margin: 0 auto; width: 100%;
  padding: 1.5rem 1.25rem 4rem;
}

/* ── Welcome header ── */
.ds-welcome { margin-bottom: 1.75rem; }
.ds-welcome-title {
  font-size: 1.5rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 0.25rem;
}
.ds-welcome-sub { font-size: 0.875rem; color: var(--white-muted); }

/* ── Tabs ── */
.ds-tabs {
  display: flex; gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.ds-tab {
  background: none; border: none; cursor: pointer;
  font-size: 0.875rem; color: var(--white-muted);
  padding: 0.6rem 1rem;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  margin-bottom: -1px;
  font-family: var(--font);
}
.ds-tab:hover { color: var(--white); }
.ds-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Ride card list ── */
.ds-ride-list { display: flex; flex-direction: column; gap: 1rem; }

.ds-ride-card {
  display: block;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
  text-decoration: none; color: var(--white);
  cursor: pointer;
}
.ds-ride-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.ds-ride-card--today { border-color: rgba(201,168,76,0.35); }

.ds-ride-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.ds-ride-ref {
  font-family: monospace; font-size: 0.8rem;
  color: var(--white-muted); letter-spacing: 0.06em;
}
.ds-ride-card-body { display: flex; flex-direction: column; gap: 0.5rem; }
.ds-ride-detail {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--white-muted);
}
.ds-ride-icon { flex-shrink: 0; margin-top: 1px; color: var(--gold); }

.ds-ride-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem; padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.ds-today-chip {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.15rem 0.5rem; border-radius: 20px;
  font-weight: 600;
}

/* ── Skeleton loaders (driver) ── */
.ds-skeleton-card {
  height: 160px; border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface) 25%, var(--border) 50%, var(--surface) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
}

/* ── Status badges ── */
.ds-badge {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem; border-radius: 20px;
  white-space: nowrap;
}
.ds-badge--gold   { background: rgba(201,168,76,0.15); color: var(--gold); }
.ds-badge--green  { background: rgba(76,175,80,0.15);  color: #4caf50; }
.ds-badge--red    { background: rgba(255,95,95,0.15);  color: #ff5f5f; }
.ds-badge--muted  { background: var(--off-black);       color: var(--white-muted); border: 1px solid var(--border); }

/* ── Detail page ── */
.ds-back-btn {
  display: flex; align-items: center; gap: 0.4rem;
}
.ds-detail-ref {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
  font-family: monospace; font-size: 0.9rem;
  color: var(--white-muted);
}

.ds-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  margin-bottom: 1rem;
}
.ds-card-title {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--white-muted);
  margin-bottom: 1.25rem;
}
.ds-info-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border);
}
.ds-info-row:last-child { border-bottom: none; }
.ds-info-label {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; color: var(--white-muted);
  min-width: 120px; flex-shrink: 0;
}
.ds-info-value { font-size: 0.875rem; }

/* ── Timeline ── */
.ds-timeline { display: flex; flex-direction: column; gap: 0; }
.ds-timeline-step {
  display: flex; align-items: flex-start; gap: 0.875rem;
  padding: 0.65rem 0;
  position: relative;
}
.ds-timeline-step + .ds-timeline-step::before {
  content: '';
  position: absolute;
  left: 10px; top: -0.35rem;
  width: 2px; height: calc(100% - 0.65rem);
  background: var(--border);
}
.ds-timeline-step--done + .ds-timeline-step--done::before { background: var(--gold); }
.ds-timeline-dot {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: var(--off-black); position: relative; z-index: 1;
}
.ds-timeline-step--done .ds-timeline-dot {
  border-color: var(--gold); background: var(--gold-dim); color: var(--gold);
}
.ds-timeline-info { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 0.1rem; }
.ds-timeline-label { font-size: 0.875rem; }
.ds-timeline-step--done .ds-timeline-label { color: var(--white); }
.ds-timeline-step:not(.ds-timeline-step--done) .ds-timeline-label { color: var(--white-muted); }
.ds-timeline-time { font-size: 0.75rem; color: var(--gold); }

/* ── Cancel button style ── */
.ds-cancel-btn {
  border-color: rgba(255,95,95,0.3);
  color: #ff5f5f;
}
.ds-cancel-btn:hover { border-color: #ff5f5f; color: #ff5f5f; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .ds-main { padding: 1.25rem 1rem 3rem; }
  .ds-header-inner { padding: 0.75rem 1rem; }
  .ds-driver-name { display: none; }
  .ds-info-label { min-width: 100px; }
}

/* ══════════════════════════════════════════════
   LIVE TRACKING PAGE (Task 7)
   ══════════════════════════════════════════════ */
.tr-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.tr-map-wrapper {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.tr-map {
  width: 100%;
  height: 500px;
  background: #111;
}

/* Premium Map Empty State */
.tr-map-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
  background: radial-gradient(circle at center, rgba(201,168,76,0.03) 0%, transparent 80%);
  padding: 2rem;
}
.tr-map-empty-inner {
  max-width: 320px;
}
.tr-map-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.tr-map-empty-inner h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.tr-map-empty-inner p {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.5;
}

/* Driver Profile Styling */
.tr-driver-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tr-driver-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--off-black);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.tr-driver-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tr-driver-info-details {
  flex: 1;
}
.tr-vehicle-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white-muted);
}

/* Custom DivIcon Pulse Marker for Driver */
.tr-map-marker-driver {
  position: relative;
}
.tr-marker-pulse {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  animation: tr-pulse-ring 1.8s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
  pointer-events: none;
}
.tr-marker-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--off-black);
  border: 2.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.5);
}

@keyframes tr-pulse-ring {
  0% {
    transform: scale(0.33);
    opacity: 1;
  }
  80%, 100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Responsive grid overrides */
@media (max-width: 768px) {
  .tr-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .tr-map {
    height: 320px;
  }
  .tr-map-empty {
    min-height: 300px;
  }
}


