/* =========================================================
   SAFAR MITRA — PREMIUM UI
   Font: Cormorant Garamond (display) + DM Sans (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=Poppins:wght@300;400;600;700&display=swap');

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold:        #f5b400;
  --gold-deep:   #c99200;
  --gold-glow:   rgba(245,180,0,.18);
  --navy-dark:   #07111f;
  --navy:        #0d1e33;
  --navy-mid:    #152740;
  --navy-light:  #1e3452;
  --white:       #ffffff;
  --text-muted:  #8fa3be;
  --text-dim:    #c8d6e8;
  --card-bg:     rgba(255,255,255,0.975);
  --radius-lg:   20px;
  --radius-md:   12px;
  --radius-sm:   8px;
  --shadow-card: 0 32px 80px rgba(0,0,0,.45), 0 2px 0 rgba(255,255,255,.08) inset;
  --transition:  .28s cubic-bezier(.4,0,.2,1);
}

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  color: var(--white);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #091626;
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(245,180,0,.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(13,44,80,.6) 0%, transparent 70%),
    linear-gradient(160deg, #07111f 0%, #0d1e33 55%, #091626 100%);
  background-attachment: fixed;
}


/* ── NOISE TEXTURE OVERLAY ──────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}

body > * { position: relative; z-index: 1; }


/* ── SMOOTH SCROLL ─────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── HEADER ─────────────────────────────────────────────── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 68px;
  max-width: 1400px;
  margin: auto;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  letter-spacing: .3px;
}

.logo-white { color: var(--white); font-weight: 600; }
.logo-yellow { color: var(--gold); font-weight: 700; }

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* NAV BUTTONS */
.nav-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .3px;
  white-space: nowrap;
}

.nav-btn-book {
  background: linear-gradient(135deg, #f5b400, #d99d00);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(245,180,0,.25);
  position: relative;
  overflow: hidden;
}

.nav-btn-book::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, transparent 60%);
  pointer-events: none;
}

.nav-btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,180,0,.35);
}

.nav-btn-track {
  background: rgba(255,255,255,.07);
  color: var(--text-dim);
  border: 1.5px solid rgba(255,255,255,.13);
}

.nav-btn-track:hover {
  background: rgba(245,180,0,.10);
  border-color: rgba(245,180,0,.35);
  color: #f5b400;
  transform: translateY(-2px);
}

.nav-btn-admin {
  background: rgba(255,255,255,.07);
  color: var(--text-dim);
  border: 1.5px solid rgba(255,255,255,.13);
}

.nav-btn-admin:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff;
  transform: translateY(-2px);
}

/* Check Status button on success page */
.btn-track-status {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: rgba(255,255,255,0.06);
  color: #f5b400;
  border: 1.5px solid rgba(245,180,0,.35);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}

.btn-track-status:hover {
  background: rgba(245,180,0,.10);
  border-color: #f5b400;
  transform: translateY(-2px);
}

.tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .6px;
  font-weight: 300;
  text-transform: uppercase;
}


/* ── HERO ───────────────────────────────────────────────── */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 72px 68px;
  max-width: 1400px;
  margin: auto;
  flex: 1;
  gap: 60px;
}

.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
}

.hero-text h1 span { color: var(--gold); }

.hero-text p {
  margin-top: 22px;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  font-weight: 300;
  max-width: 360px;
}

/* Subtle animated accent line under hero heading */
.hero-text h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-top: 18px;
}


/* ── BOOKING CARD ───────────────────────────────────────── */
.booking-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  padding: 42px 38px;
  border-radius: var(--radius-lg);
  width: 380px;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.booking-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 42px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(245,180,0,.12);
}

.booking-card h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #0d1e33;
  text-align: center;
  margin-bottom: 28px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .2px;
}


/* ── INPUTS ─────────────────────────────────────────────── */
.booking-card input,
.booking-card select,
.form-input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #e2e8f0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #1a2740;
  background: #f8fafc;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.booking-card input::placeholder,
.form-input::placeholder {
  color: #a0b0c4;
  font-weight: 300;
}

/* Date & time — show gray text before selection, dark after */
input[type="date"],
input[type="time"] {
  color: #a0b0c4;
}

input[type="date"]:valid,
input[type="time"]:valid {
  color: #1a2740;
}



.booking-card input:focus,
.booking-card select:focus,
.form-input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245,180,0,.1);
}


/* ── PRIMARY BUTTON ─────────────────────────────────────── */
.price-btn,
.btn-primary {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #f5b400 0%, #d99d00 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}

.price-btn::after,
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.price-btn:hover,
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 28px rgba(245,180,0,.35);
}

.price-btn:active,
.btn-primary:active {
  transform: scale(.98);
}


/* ── SECONDARY BUTTON ───────────────────────────────────── */
.btn-secondary {
  padding: 13px 20px;
  background: transparent;
  color: var(--gold-deep);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background: var(--gold-glow);
}


/* ── PAGE CENTER ────────────────────────────────────────── */
.page-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 60px;
  background: transparent;
}


/* ── MAIN CARD (ride/review/success pages) ──────────────── */
.card {
  background: rgba(255,255,255,.975);
  color: #1a1a1a;
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  width: 100%;
  max-width: 530px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,.1);
}

.card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: #0d1e33;
  margin-bottom: 24px;
  letter-spacing: .1px;
}


/* ── TOGGLE TABS ────────────────────────────────────────── */
.tabs {
  display: flex;
  background: #eef2f8;
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 26px;
  gap: 4px;
}

.tab {
  flex: 1;
  padding: 12px;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7a8ea8;
  transition: all var(--transition);
  border: none;
  background: transparent;
  font-weight: 500;
}

.tab.active {
  background: linear-gradient(135deg, #f5b400, #d99d00);
  color: white;
  font-weight: 600;
  box-shadow: 0 5px 16px rgba(245,180,0,.30);
}


/* ── INFO ROW ───────────────────────────────────────────── */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f7fb;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  font-size: 14px;
  border: 1px solid #eaeff7;
}

.label { color: #8fa3be; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.value { font-weight: 600; color: #0d1e33; text-align: right; }
.value.highlight { color: var(--gold-deep); font-size: 18px; font-weight: 700; }


/* ── CAR OPTIONS ────────────────────────────────────────── */
.car-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #f8fafc;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.car-option:hover {
  background: #fffbee;
  border-color: rgba(245,180,0,.4);
  transform: translateX(3px);
}

.car-option.active {
  border-color: var(--gold);
  background: #fffbee;
  box-shadow: 0 6px 20px rgba(245,180,0,.18);
}

.car-left { display: flex; gap: 14px; align-items: center; }
.car-left img { width: 54px; height: 34px; object-fit: contain; }
.car-info b { font-size: 14px; color: #0d1e33; display: block; font-weight: 600; }
.car-info small { font-size: 12px; color: #a0b0c4; }
.car-price { font-size: 18px; font-weight: 700; color: var(--gold-deep); }


/* ── SUCCESS ICON ───────────────────────────────────────── */
.check-circle {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #27ae60, #1e8449);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
  box-shadow: 0 12px 36px rgba(39,174,96,.40);
  animation: pop .45s cubic-bezier(.34,1.56,.64,1);
}

@keyframes pop {
  0%  { transform: scale(.5); opacity: 0; }
  100%{ transform: scale(1);  opacity: 1; }
}


/* ── FOOTER ─────────────────────────────────────────────── */
footer { margin-top: auto; }

.footer-glass {
  background: #07111f;
  border-top: 1px solid rgba(245,180,0,.12);
  padding: 52px 68px 24px;
  color: var(--white);
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

/* Brand col */
.footer-col h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-col h2 .gold { color: var(--gold); }

.footer-col > p:first-of-type {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 260px;
  font-weight: 300;
}

.footer-col .email {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col .email a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col .email a:hover {
  color: var(--text-dim);
}

.socials {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color var(--transition);
}

.socials a:hover { color: var(--gold); }

.policy-links { display: flex; gap: 16px; }

.policy-links a {
  text-decoration: none;
  color: #5a7090;
  font-size: 12px;
  transition: color var(--transition);
}

.policy-links a:hover { color: var(--text-dim); }

/* Service & Contact cols */
.footer-col h3 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 9px;
  padding-left: 14px;
  position: relative;
  font-weight: 300;
}

.footer-col ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 2px;
}

.footer-col p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 300;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  color: #3d5470;
  font-size: 12px;
  letter-spacing: .4px;
}


/* ── RIDE PAGE — GLASS CARD ─────────────────────────────── */
.ride-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 42px 40px;
  width: 100%;
  max-width: 560px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ride-card .tabs {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 28px;
}

.ride-card .tab {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.ride-card .tab.active {
  background: linear-gradient(135deg, #f5b400, #d99d00);
  color: #fff;
  box-shadow: 0 5px 16px rgba(245, 180, 0, 0.30);
}

.ride-card .info-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ride-card .label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 500;
}

.ride-card .value {
  color: #e8f0ff;
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  max-width: 320px;
}

.round-note {
  display: none;
  background: rgba(245, 180, 0, 0.10);
  border: 1px solid rgba(245, 180, 0, 0.25);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #f5c842;
  margin-bottom: 16px;
  font-weight: 500;
}

.loader {
  display: none;
  text-align: center;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #f5b400;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 0 auto 12px;
}

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

.alert-error {
  display: none;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #ff7b88;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 14px;
}

.ride-card .car-option {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}

.ride-card .car-option:hover {
  background: rgba(245, 180, 0, 0.08);
  border-color: rgba(245, 180, 0, 0.30);
  transform: translateX(3px);
}

.ride-card .car-option.active {
  background: rgba(245, 180, 0, 0.10);
  border-color: #f5b400;
  box-shadow: 0 6px 22px rgba(245, 180, 0, 0.18);
}

.ride-card .car-left { display: flex; gap: 14px; align-items: center; }

.ride-card .car-left img {
  width: 54px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

.ride-card .car-info b {
  font-size: 15px;
  color: #e8f0ff;
  display: block;
  font-weight: 600;
}

.ride-card .car-info small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.ride-card .car-price {
  font-size: 20px;
  font-weight: 700;
  color: #f5b400;
}

.ride-card .car-price.loading {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.price-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 14px;
  margin-bottom: 10px;
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
}

.ride-card .btn-primary {
  margin-top: 18px;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #f5b400, #d99d00);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.ride-card .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, transparent 55%);
  pointer-events: none;
}

.ride-card .btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 180, 0, 0.35);
}

.ride-card .btn-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ── RIDE PAGE FOOTER ───────────────────────────────────── */
.ride-footer {
  background: #07111f;
  border-top: 1px solid rgba(245,180,0,.12);
  padding: 18px 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ride-footer .footer-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.ride-footer .footer-brand span { color: #f5b400; }

.ride-footer .footer-copy {
  font-size: 12px;
  color: #3d5470;
  letter-spacing: .3px;
}

.ride-footer .footer-contact {
  font-size: 13px;
  color: #8fa3be;
}

/* ── REVIEW PAGE — GLASS CARD ───────────────────────────── */
.review-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 42px 40px;
  width: 100%;
  max-width: 560px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.review-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: #e8f0ff;
  margin-bottom: 24px;
  letter-spacing: .2px;
}

.review-card .info-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-card .label {
  color: rgba(255, 255, 255, 0.40);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 500;
}

.review-card .value {
  color: #e8f0ff;
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  max-width: 320px;
}

.review-card .value.highlight {
  color: #f5b400;
  font-size: 20px;
  font-weight: 700;
}

.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}

/* Inputs inside review card */
.review-card .form-input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 6px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #e8f0ff;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.review-card .form-input::placeholder {
  color: rgba(255, 255, 255, 0.30);
  font-weight: 300;
}

.review-card .form-input:focus {
  border-color: #f5b400;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.10);
}

.review-card .form-input.error {
  border-color: rgba(255, 80, 80, 0.60);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.10);
}

/* Field errors */
.field-error {
  display: none;
  color: #ff7b88;
  font-size: 12px;
  margin-bottom: 12px;
  padding-left: 4px;
}

/* Loading state */
.loading-state {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #f5b400;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  flex-shrink: 0;
  display: inline-block;
}

/* Button row */
.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.review-card .btn-secondary {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5b400;
  border: 1.5px solid rgba(245, 180, 0, 0.35);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, border-color .25s;
  white-space: nowrap;
}

.review-card .btn-secondary:hover {
  background: rgba(245, 180, 0, 0.10);
  border-color: #f5b400;
}

.review-card .btn-primary {
  flex: 1;
  padding: 14px;
  background: linear-gradient(135deg, #f5b400, #d99d00);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.review-card .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, transparent 55%);
  pointer-events: none;
}

.review-card .btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 180, 0, 0.35);
}

.review-card .btn-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ── SUCCESS PAGE — GLASS CARD ──────────────────────────── */
.success-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 42px 40px;
  width: 100%;
  max-width: 560px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
}

/* Check circle */
.success-card .check-circle {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #27ae60, #1e8449);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 32px;
  color: white;
  box-shadow: 0 12px 36px rgba(39, 174, 96, 0.40);
  animation: pop .45s cubic-bezier(.34,1.56,.64,1);
}

.success-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: #e8f0ff;
  margin-bottom: 6px;
  letter-spacing: .2px;
}

.success-card .subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 26px;
  font-weight: 300;
}

/* Reference ID box */
.ref-box {
  background: rgba(245, 180, 0, 0.08);
  border: 1px solid rgba(245, 180, 0, 0.25);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.ref-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
  margin-bottom: 6px;
}

.ref-id {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f5b400;
  letter-spacing: 1.5px;
}

/* Info rows */
.success-card .info-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 13px 18px;
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.success-card .label {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 500;
  flex-shrink: 0;
}

.success-card .value {
  color: #e8f0ff;
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  max-width: 320px;
}

.success-card .value.highlight {
  color: #f5b400;
  font-size: 18px;
  font-weight: 700;
}

/* Success message box */
.success-message {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2;
  text-align: left;
  margin-bottom: 22px;
}

.success-message b {
  color: #e8f0ff;
  font-weight: 600;
}

/* Book another ride button */
.btn-home {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #f5b400, #d99d00);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.btn-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, transparent 55%);
  pointer-events: none;
}

.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 180, 0, 0.35);
}

/* ── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  header { padding: 20px 24px; flex-direction: column; gap: 14px; text-align: center; }

  .header-right { flex-direction: column; gap: 10px; align-items: center; }

  .nav-btn { padding: 9px 18px; font-size: 13px; }

  .tagline { display: none; }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 44px 24px;
    gap: 40px;
  }

  .hero-text h1 { font-size: 46px; }
  .hero-text h1::after { margin: 14px auto 0; }
  .hero-text p { margin: 16px auto 0; }

  .booking-card { width: 100%; max-width: 420px; }

  .footer-glass { padding: 44px 24px 22px; }
  .footer-wrapper { grid-template-columns: 1fr; gap: 32px; }

  /* Center ride-footer (used on ride, review, success, track, login pages) */
  .ride-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 24px;
    gap: 6px;
  }

  /* Center-align all footer content on mobile */
  .footer-col { text-align: center; }
  .footer-col > p:first-of-type { max-width: 100%; margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  .policy-links { justify-content: center; }
  .footer-col ul { display: inline-block; text-align: left; }

  /* Show gray placeholder text on mobile before user taps */
  input[type="date"]::-webkit-datetime-edit,
  input[type="time"]::-webkit-datetime-edit {
    color: #a0b0c4;
  }
  input[type="date"]::-webkit-datetime-edit-year-field,
  input[type="date"]::-webkit-datetime-edit-month-field,
  input[type="date"]::-webkit-datetime-edit-day-field,
  input[type="time"]::-webkit-datetime-edit-hour-field,
  input[type="time"]::-webkit-datetime-edit-minute-field,
  input[type="time"]::-webkit-datetime-edit-ampm-field {
    color: #a0b0c4;
  }
  input[type="date"]:valid::-webkit-datetime-edit,
  input[type="time"]:valid::-webkit-datetime-edit,
  input[type="date"]:focus::-webkit-datetime-edit,
  input[type="time"]:focus::-webkit-datetime-edit {
    color: #1a2740;
  }
}

/* ═══════════════════════════════════════════════════════════
   RIDE PAGE — Inline styles moved from ride.html
═══════════════════════════════════════════════════════════ */
.short-route-alert {
    display: none;
    background: rgba(245,180,0,0.10);
    border: 1.5px solid rgba(245,180,0,0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 12px 0;
    font-size: 13px;
    color: #f5b400;
    line-height: 1.6;
    text-align: center;
  }
  .short-route-alert a {
    color: #f5b400;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .disclaimer-wrap {
    display: none;
    margin: 14px 0 4px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    user-select: none;
  }
  .disclaimer-wrap:hover {
    border-color: rgba(245,180,0,0.30);
    background: rgba(245,180,0,0.04);
  }
  .disclaimer-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  .disclaimer-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 5px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
  }
  .disclaimer-check.checked {
    background: #f5b400;
    border-color: #f5b400;
  }
  .disclaimer-check.checked::after {
    content: '✓';
    color: #07111f;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }
  .disclaimer-text {
    font-size: 12.5px;
    color: rgba(255,255,255,0.50);
    line-height: 1.55;
  }
  .disclaimer-text b { color: rgba(255,255,255,0.75); }

  @keyframes shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
  }
  .shake { animation: shake .4s ease; }

/* ═══════════════════════════════════════════════════════════
   LOGIN PAGE — Inline styles moved from login.html
═══════════════════════════════════════════════════════════ */
.login-card {
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 24px;
      padding: 48px 42px;
      width: 100%;
      max-width: 420px;
      box-shadow: 0 32px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
      text-align: center;
    }

    .login-icon {
      font-size: 40px;
      margin-bottom: 16px;
    }

    .login-card h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 26px;
      font-weight: 700;
      color: #e8f0ff;
      margin-bottom: 6px;
    }

    .login-card p {
      font-size: 13px;
      color: rgba(255,255,255,0.38);
      margin-bottom: 32px;
      font-weight: 300;
    }

    .login-card input {
      width: 100%;
      padding: 14px 16px;
      margin-bottom: 14px;
      border-radius: 10px;
      border: 1.5px solid rgba(255,255,255,0.10);
      background: rgba(255,255,255,0.06);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: #e8f0ff;
      outline: none;
      transition: border-color .25s, box-shadow .25s;
      text-align: left;
    }

    .login-card input::placeholder { color: rgba(255,255,255,0.28); font-weight: 300; }

    .login-card input:focus {
      border-color: #f5b400;
      box-shadow: 0 0 0 4px rgba(245,180,0,.10);
    }

    .login-btn {
      width: 100%;
      padding: 15px;
      background: linear-gradient(135deg, #f5b400, #d99d00);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: transform .25s, box-shadow .25s;
      position: relative;
      overflow: hidden;
      margin-top: 6px;
    }

    .login-btn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, transparent 55%);
      pointer-events: none;
    }

    .login-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(245,180,0,.35);
    }

    .login-error {
      display: none;
      background: rgba(220,53,69,.15);
      border: 1px solid rgba(220,53,69,.35);
      color: #ff7b88;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 13px;
      margin-bottom: 14px;
    }

    .back-link {
      display: block;
      margin-top: 20px;
      font-size: 13px;
      color: rgba(255,255,255,0.30);
      text-decoration: none;
      transition: color .25s;
    }

    .back-link:hover { color: rgba(255,255,255,0.60); }

/* ═══════════════════════════════════════════════════════════
   TRACK PAGE — Inline styles moved from track.html
═══════════════════════════════════════════════════════════ */
.track-card {
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 24px;
      padding: 42px 40px;
      width: 100%;
      max-width: 560px;
      box-shadow: 0 32px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
      color: #fff;
    }

    .track-card h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 26px;
      font-weight: 700;
      color: #e8f0ff;
      margin-bottom: 6px;
    }

    .track-subtitle {
      font-size: 13px;
      color: rgba(255,255,255,0.38);
      margin-bottom: 28px;
      font-weight: 300;
    }

    .track-input {
      width: 100%;
      padding: 14px 16px;
      border-radius: 10px;
      border: 1.5px solid rgba(255,255,255,0.10);
      background: rgba(255,255,255,0.06);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      color: #e8f0ff;
      outline: none;
      transition: border-color .25s, box-shadow .25s;
      margin-bottom: 14px;
    }

    .track-input::placeholder { color: rgba(255,255,255,0.28); font-weight: 300; }

    .track-input:focus {
      border-color: #f5b400;
      box-shadow: 0 0 0 4px rgba(245,180,0,.10);
    }

    .track-btn {
      width: 100%;
      padding: 15px;
      background: linear-gradient(135deg, #f5b400, #d99d00);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: transform .25s, box-shadow .25s;
      position: relative;
      overflow: hidden;
    }

    .track-btn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, transparent 55%);
      pointer-events: none;
    }

    .track-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,180,0,.35); }

    .track-error {
      display: none;
      background: rgba(220,53,69,.15);
      border: 1px solid rgba(220,53,69,.35);
      color: #ff7b88;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 13px;
      margin-bottom: 14px;
    }

    .results-section { display: none; margin-top: 28px; }

    .results-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .8px;
      color: rgba(255,255,255,0.35);
      font-weight: 500;
      margin-bottom: 14px;
    }

    /* Auto-refresh indicator */
    .refresh-indicator {
      display: none;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: rgba(255,255,255,0.30);
      margin-bottom: 14px;
      font-weight: 300;
    }

    .refresh-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #4cd98a;
      animation: pulse 1.5s ease-in-out infinite;
      flex-shrink: 0;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.4; transform: scale(0.7); }
    }

    /* Single ride result card */
    .ride-result {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 14px;
      transition: border-color .25s;
    }

    .ride-result:hover { border-color: rgba(245,180,0,.25); }

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

    .ride-ref {
      font-size: 13px;
      font-weight: 700;
      color: #f5b400;
      letter-spacing: .5px;
    }

    .status-pill {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .4px;
    }

    .status-Pending   { background: rgba(245,180,0,.15);  color: #f5b400; border: 1px solid rgba(245,180,0,.3); }
    .status-Accepted  { background: rgba(39,174,96,.15);  color: #4cd98a; border: 1px solid rgba(39,174,96,.3); }
    .status-Rejected  { background: rgba(220,53,69,.15);  color: #ff7b88; border: 1px solid rgba(220,53,69,.3); }
    .status-Completed { background: rgba(77,161,255,.15); color: #7bc8ff; border: 1px solid rgba(77,161,255,.3); }

    .ride-result .info-row {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      padding: 11px 14px;
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .ride-result .label {
      color: rgba(255,255,255,0.38);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .6px;
      font-weight: 500;
    }

    .ride-result .value {
      color: #e8f0ff;
      font-weight: 600;
      font-size: 13px;
      text-align: right;
    }

    .ride-result .value.gold { color: #f5b400; font-size: 16px; }

    /* Status timeline */
    .status-timeline {
      display: flex;
      justify-content: space-between;
      margin-top: 16px;
      padding: 14px 0 4px;
      position: relative;
    }

    .status-timeline::before {
      content: '';
      position: absolute;
      top: 22px;
      left: 10%;
      right: 10%;
      height: 2px;
      background: rgba(255,255,255,0.08);
    }

    .timeline-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      flex: 1;
      position: relative;
      z-index: 1;
    }

    .timeline-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.15);
      background: rgba(255,255,255,0.05);
      transition: all .3s;
    }

    .timeline-dot.done  { background: #f5b400; border-color: #f5b400; box-shadow: 0 0 10px rgba(245,180,0,.4); }
    .timeline-dot.green { background: #4cd98a; border-color: #4cd98a; box-shadow: 0 0 10px rgba(76,217,138,.4); }
    .timeline-dot.red   { background: #ff7b88; border-color: #ff7b88; }
    .timeline-dot.blue  { background: #7bc8ff; border-color: #7bc8ff; }

    .timeline-label { font-size: 10px; color: rgba(255,255,255,0.35); text-align: center; font-weight: 500; letter-spacing: .3px; }
    .timeline-label.active { color: #e8f0ff; }

    .no-rides { text-align: center; padding: 30px 0; color: rgba(255,255,255,0.35); font-size: 14px; }

    .loader-track {
      display: none;
      text-align: center;
      padding: 20px 0;
      color: rgba(255,255,255,0.45);
      font-size: 14px;
    }

    .back-link {
      display: block;
      margin-top: 20px;
      font-size: 13px;
      color: rgba(255,255,255,0.30);
      text-decoration: none;
      text-align: center;
      transition: color .25s;
    }

    .back-link:hover { color: rgba(255,255,255,0.60); }

    @media (max-width: 600px) {
      .track-card { padding: 28px 20px; }
      .timeline-label { font-size: 9px; }
    }

/* ═══════════════════════════════════════════════════════════
   DISCLAIMER WARNING (ride.html inline style)
═══════════════════════════════════════════════════════════ */
#disclaimerWarning {
  display: none;
  margin-top: 10px;
  padding: 11px 14px;
  background: rgba(220,53,69,0.12);
  border: 1.5px solid rgba(220,53,69,0.35);
  border-radius: 10px;
  font-size: 13px;
  color: #ff7b88;
  text-align: center;
}