/* ===========================================================
   Comfort Chauffeurs — Prototype Stylesheet
   Brand: gold #D7B65D · black #192026 · Montserrat
   =========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --gold: #D7B65D;
  --gold-light: #E5CB85;
  --gold-dark: #B89945;
  --gold-soft: rgba(215, 182, 93, 0.12);
  --black: #192026;
  --black-soft: #232b33;
  --black-2: #2d3640;
  --gray-50:  #FAFAFA;
  --gray-100: #F4F4F4;
  --gray-200: #E8E8E8;
  --gray-300: #D4D4D4;
  --gray-400: #A8A8A8;
  --gray-500: #757575;
  --gray-600: #4F4F4F;
  --gray-800: #2A2A2A;
  --white: #FFFFFF;
  --red: #D41D22;
  --green: #4CAF50;
  --amber: #E2B239;
  --blue: #2D7FF9;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--black); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--gray-600); }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ====== Navigation ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: all var(--transition);
  background: transparent;
}
.nav.scrolled, .nav.solid {
  background: rgba(25, 32, 38, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 20px; color: var(--white);
  letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center;
  color: var(--black); font-weight: 900; font-size: 16px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-weight: 500; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  color: var(--gold); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.nav-toggle {
  display: none; background: none; border: none; color: var(--white);
  font-size: 24px; cursor: pointer;
}
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); padding: 24px; gap: 18px;
  }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-family: inherit; font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.6px;
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--black); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--black-soft); }
.btn-ghost { background: transparent; color: var(--gray-600); border-color: var(--gray-300); }
.btn-ghost:hover { color: var(--black); border-color: var(--black); }
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-lg { padding: 18px 40px; font-size: 15px; }
.btn-block { width: 100%; }

/* ====== Hero ====== */
.hero {
  position: relative; min-height: 92vh;
  display: grid; place-items: center;
  color: var(--white); overflow: hidden;
  background: linear-gradient(135deg, #0d1318 0%, #1f2a35 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?w=1920&q=80');
  background-size: cover; background-position: center; opacity: 0.45;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25,32,38,0.4) 0%, rgba(25,32,38,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 920px; padding: 120px 24px 80px; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 .accent { color: var(--gold); display: block; font-size: 0.7em; font-weight: 400; font-style: italic; margin-top: 8px; }
.hero .subhead { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; }

/* ====== Booking widget ====== */
.booking-widget {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px;
  max-width: 1100px; margin: -80px auto 0; position: relative; z-index: 5;
}
.booking-widget h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-500); margin-bottom: 18px;
}
.bw-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.bw-tab {
  padding: 12px 20px; cursor: pointer; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500);
  border-bottom: 3px solid transparent; transition: all var(--transition);
}
.bw-tab:hover { color: var(--black); }
.bw-tab.active { color: var(--black); border-bottom-color: var(--gold); }
.bw-form { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
@media (max-width: 980px) { .bw-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bw-form { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gray-500); font-weight: 600;
}
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
  background: var(--white); color: var(--black);
  transition: border-color var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field input[type="time"], .field input[type="date"] { color: var(--black); }
.field textarea { resize: vertical; min-height: 100px; }
.field-error { color: var(--red); font-size: 12px; margin-top: 4px; }

/* ====== Sections ====== */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-gray { background: var(--gray-50); }
.section-title {
  text-align: center; margin-bottom: 60px;
}
.section-title .eyebrow {
  display: inline-block; font-size: 12px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold); font-weight: 600;
  margin-bottom: 12px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title .lead { color: var(--gray-600); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--gold); margin: 18px auto 0; border-radius: 2px;
}

/* ====== Features grid ====== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature {
  text-align: center; padding: 32px 20px;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center; margin: 0 auto 18px;
  font-size: 28px;
}
.feature h4 { margin-bottom: 8px; font-size: 1rem; }
.feature p { font-size: 0.9rem; margin: 0; }

/* ====== Fleet cards ====== */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.vehicle-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--gray-200); transition: all var(--transition);
}
.vehicle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.vehicle-card-img {
  aspect-ratio: 16/10; background: var(--gray-100);
  background-size: cover; background-position: center;
  position: relative;
}
.vehicle-card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--black);
  padding: 5px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.vehicle-card-body { padding: 24px; }
.vehicle-card-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.vehicle-card-class { color: var(--gold-dark); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.vehicle-specs { display: flex; gap: 16px; margin-bottom: 18px; font-size: 13px; color: var(--gray-600); }
.vehicle-specs span { display: flex; align-items: center; gap: 6px; }
.vehicle-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--gray-200);
}
.vehicle-price { font-weight: 800; font-size: 1.25rem; color: var(--black); }
.vehicle-price small { font-size: 0.7em; color: var(--gray-500); font-weight: 500; }

/* ====== Testimonials ====== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial {
  background: var(--white); padding: 32px; border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.testimonial-stars { color: var(--gold); margin-bottom: 14px; font-size: 18px; }
.testimonial p { font-style: italic; color: var(--gray-800); margin-bottom: 22px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.testimonial-author-name { font-weight: 700; color: var(--black); font-size: 0.95rem; }
.testimonial-author-role { color: var(--gray-500); font-size: 0.8rem; }

/* ====== Footer ====== */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 80px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { color: var(--gold); margin-bottom: 18px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer p, .footer li { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.65); }
.footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-licence { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 6px; }

/* ====== Page header (inner pages) ====== */
.page-header {
  background: linear-gradient(135deg, #0d1318 0%, #1f2a35 100%);
  color: var(--white); padding: 160px 0 80px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; opacity: 0.25;
  background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&q=80');
  background-size: cover; background-position: center;
}
.page-header-content { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header .breadcrumb { color: rgba(255,255,255,0.7); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.page-header .breadcrumb .gold { color: var(--gold); }

/* ====== Booking wizard ====== */
.wizard { background: var(--gray-50); min-height: calc(100vh - 64px); padding: 140px 0 80px; }
.wizard-shell {
  max-width: 920px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.stepper { display: flex; background: var(--black); }
.step {
  flex: 1; padding: 22px 16px; text-align: center;
  color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  font-weight: 600; position: relative; border-bottom: 3px solid transparent;
}
.step.active { color: var(--gold); border-bottom-color: var(--gold); background: var(--black-soft); }
.step.done { color: var(--white); }
.step .step-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.1); margin-right: 8px; font-weight: 800;
}
.step.active .step-num { background: var(--gold); color: var(--black); }
.step.done .step-num { background: var(--green); color: var(--white); }
.step-body { padding: 40px; }
.step-body h2 { margin-bottom: 8px; }
.step-body .lead { color: var(--gray-500); margin-bottom: 32px; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--gray-200); }

.fare-summary {
  background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: var(--radius-md); padding: 20px; margin-top: 24px;
}
.fare-summary h4 { color: var(--gold-dark); margin-bottom: 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.fare-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.fare-total { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--gold); font-size: 1.3rem; font-weight: 800; color: var(--black); }

/* ====== Vehicle pick (wizard step 3) ====== */
.vehicle-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.vp-card {
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 18px; cursor: pointer; background: var(--white);
  transition: all var(--transition);
}
.vp-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.vp-card.selected { border-color: var(--gold); background: var(--gold-soft); box-shadow: var(--shadow-md); }
.vp-card-img {
  width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-sm);
  background: var(--gray-100); background-size: cover; background-position: center; margin-bottom: 14px;
}
.vp-card h4 { margin-bottom: 4px; font-size: 1rem; }
.vp-card .class { font-size: 11px; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.vp-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-500); margin-bottom: 12px; }
.vp-price { font-weight: 800; font-size: 1.1rem; color: var(--black); }
.vp-price small { font-weight: 500; color: var(--gray-500); font-size: 0.7em; }

/* ====== Auth screens ====== */
.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--gray-50);
}
@media (max-width: 880px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }
.auth-side {
  background: linear-gradient(135deg, #0d1318 0%, #1f2a35 100%);
  position: relative; overflow: hidden;
  display: grid; place-items: center; padding: 60px;
}
.auth-side::before {
  content: ''; position: absolute; inset: 0; opacity: 0.3;
  background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1200&q=80');
  background-size: cover; background-position: center;
}
.auth-side-content { position: relative; z-index: 2; color: var(--white); max-width: 420px; }
.auth-side-content h2 { color: var(--white); margin-bottom: 18px; }
.auth-side-content p { color: rgba(255,255,255,0.85); }
.auth-form-area { display: grid; place-items: center; padding: 60px 40px; }
.auth-form-box { width: 100%; max-width: 420px; }
.auth-form-box h1 { font-size: 2rem; margin-bottom: 8px; }
.auth-form-box .sub { color: var(--gray-500); margin-bottom: 28px; }
.auth-role-tabs { display: flex; gap: 4px; background: var(--gray-100); padding: 4px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.auth-role-tabs button {
  flex: 1; padding: 10px; border: none; background: transparent;
  font-family: inherit; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500);
  cursor: pointer; border-radius: var(--radius-sm); transition: all var(--transition);
}
.auth-role-tabs button.active { background: var(--white); color: var(--black); box-shadow: var(--shadow-sm); }
.auth-form-box .field { margin-bottom: 16px; }
.auth-divider { text-align: center; margin: 24px 0; color: var(--gray-400); font-size: 12px; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--gray-200);
}
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.social-buttons { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.social-buttons button {
  padding: 11px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all var(--transition); font-size: 13px; font-weight: 500;
}
.social-buttons button:hover { border-color: var(--gold); background: var(--gold-soft); }

/* ====== Dashboard layout ====== */
.dash-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: var(--gray-50); }
@media (max-width: 980px) { .dash-shell { grid-template-columns: 1fr; } .dash-sidebar { display: none; } }
.dash-sidebar { background: var(--black); color: var(--white); padding: 28px 0; }
.dash-sidebar-logo {
  padding: 0 28px 28px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px;
  font-weight: 800; color: var(--white); font-size: 18px;
}
.dash-sidebar-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: var(--black); font-weight: 900; font-size: 16px;
}
.dash-section-label {
  padding: 16px 28px 8px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,0.4); font-weight: 600;
}
.dash-nav { list-style: none; }
.dash-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 28px; color: rgba(255,255,255,0.7);
  font-size: 14px; font-weight: 500;
  border-left: 3px solid transparent; transition: all var(--transition);
}
.dash-nav a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.dash-nav a.active { color: var(--gold); background: rgba(215,182,93,0.08); border-left-color: var(--gold); }
.dash-nav a .icon { width: 18px; text-align: center; }
.dash-main { padding: 32px 40px; }
@media (max-width: 600px) { .dash-main { padding: 24px 16px; } }
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.dash-topbar h1 { font-size: 1.75rem; margin-bottom: 4px; }
.dash-topbar .crumb { color: var(--gray-500); font-size: 13px; }
.dash-user { display: flex; align-items: center; gap: 12px; }
.dash-user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: grid; place-items: center; font-weight: 700;
}

/* ====== KPI cards ====== */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.kpi {
  background: var(--white); border-radius: var(--radius-md);
  padding: 22px; border: 1px solid var(--gray-200);
}
.kpi-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 8px; }
.kpi-value { font-size: 1.8rem; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.kpi-delta { font-size: 13px; font-weight: 600; }
.kpi-delta.up { color: var(--green); }
.kpi-delta.down { color: var(--red); }

/* ====== Tables ====== */
.card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); margin-bottom: 24px; overflow: hidden;
}
.card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
}
.card-header h3 { font-size: 1.05rem; }
.card-body { padding: 20px 24px; }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 14px 16px; background: var(--gray-50); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-800); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--gray-50); }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.tag-pending { background: #FEF3C7; color: #92400E; }
.tag-confirmed { background: #DCFCE7; color: #166534; }
.tag-active { background: #DBEAFE; color: #1E40AF; }
.tag-completed { background: #E5E7EB; color: #374151; }
.tag-cancelled { background: #FEE2E2; color: #991B1B; }
.tag-gold { background: var(--gold-soft); color: var(--gold-dark); }

/* ====== Tabs ====== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--gray-200); margin-bottom: 28px; overflow-x: auto; }
.tab {
  padding: 14px 20px; cursor: pointer; font-weight: 600; font-size: 14px;
  color: var(--gray-500); border-bottom: 3px solid transparent;
  white-space: nowrap; transition: all var(--transition);
}
.tab:hover { color: var(--black); }
.tab.active { color: var(--black); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ====== Driver panel ====== */
.driver-shell { max-width: 480px; margin: 0 auto; padding: 80px 16px 32px; min-height: 100vh; background: var(--gray-50); }
.driver-card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); margin-bottom: 16px;
  padding: 20px;
}
.driver-trip-status {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white); border-radius: var(--radius-md);
  padding: 24px; margin-bottom: 16px;
}
.driver-trip-status h3 { color: var(--white); margin-bottom: 4px; }
.driver-trip-status .sub { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 18px; }
.driver-action-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* ====== Vehicle detail ====== */
.veh-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .veh-detail-grid { grid-template-columns: 1fr; } }
.veh-gallery-main {
  aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden;
  background: var(--gray-100); margin-bottom: 14px;
  background-size: cover; background-position: center;
}
.veh-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.veh-gallery-thumb {
  aspect-ratio: 16/10; border-radius: var(--radius-sm); cursor: pointer;
  background-size: cover; background-position: center; border: 2px solid transparent;
}
.veh-gallery-thumb.active { border-color: var(--gold); }
.veh-info h1 { font-size: 2rem; margin-bottom: 8px; }
.veh-info .veh-class { color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-bottom: 18px; }
.veh-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.veh-spec { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--gray-50); border-radius: var(--radius-sm); font-size: 14px; }
.veh-spec strong { color: var(--black); }
.veh-amenities { margin: 24px 0; }
.veh-amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.veh-amenity { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.veh-amenity .tick { color: var(--green); font-weight: 800; }
.veh-price-box {
  background: var(--black); color: var(--white); border-radius: var(--radius-md);
  padding: 24px; margin-top: 24px;
}
.veh-price-box .label { color: rgba(255,255,255,0.6); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.veh-price-box .price { font-size: 2rem; font-weight: 800; color: var(--gold); margin-top: 6px; }

/* ====== Misc ====== */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.alert-info { background: #EFF6FF; color: #1E40AF; border-left: 4px solid #3B82F6; }
.alert-success { background: #ECFDF5; color: #065F46; border-left: 4px solid var(--green); }

.confirmation-icon {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: grid; place-items: center; font-size: 50px;
  margin: 0 auto 24px;
}
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* Prototype demo banner */
.proto-banner {
  position: fixed; bottom: 16px; right: 16px; z-index: 9999;
  background: var(--gold); color: var(--black);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: var(--shadow-md); cursor: pointer; text-decoration: none;
}
.proto-banner:hover { background: var(--gold-dark); color: var(--black); }

.live-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(76,175,80,0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76,175,80,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

.map-mock {
  aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(135deg, #e5ebed 25%, #d9e0e3 25%, #d9e0e3 50%, #e5ebed 50%, #e5ebed 75%, #d9e0e3 75%);
  background-size: 24px 24px;
  position: relative; border: 1px solid var(--gray-200);
}
.map-mock::after {
  content: '🚗'; position: absolute; top: 40%; left: 30%; font-size: 32px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.map-route {
  position: absolute; top: 50%; left: 25%; width: 50%; height: 4px;
  background: var(--gold); border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(215,182,93,0.25);
}

/* ========================================================
   PRELOADER
   ======================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--black); display: grid; place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: grid; place-items: center; font-weight: 900; font-size: 28px;
  margin: 0 auto 20px;
  animation: pulse-logo 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(215,182,93,0.5);
}
@keyframes pulse-logo {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(215,182,93,0.6); }
  50%  { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(215,182,93,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(215,182,93,0); }
}
.preloader-brand {
  color: var(--white); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.preloader-brand span { color: var(--gold); }
.preloader-tag {
  color: rgba(255,255,255,0.5); font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px;
}
.preloader-bar {
  margin: 22px auto 0; width: 180px; height: 2px;
  background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
}
.preloader-bar::after {
  content: ''; display: block; height: 100%; width: 40%;
  background: var(--gold);
  animation: slide-bar 1.2s ease-in-out infinite;
}
@keyframes slide-bar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-logo, .preloader-bar::after { animation: none; }
}

/* ========================================================
   COMPREHENSIVE FOOTER (full)
   ======================================================== */
.footer-cta-strip {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 40px 0;
}
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-cta-inner h3 { color: var(--black); margin: 0; font-size: 1.5rem; }
.footer-cta-inner p { color: rgba(25,32,38,0.8); margin: 4px 0 0; font-size: 14px; }
.footer-newsletter { display: flex; gap: 8px; max-width: 420px; flex: 1; min-width: 280px; }
.footer-newsletter input {
  flex: 1; padding: 14px 18px; border: 2px solid var(--black);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
  background: var(--white);
}
.footer-newsletter input:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,0.15); }

.footer-main {
  background: var(--black); color: rgba(255,255,255,0.7);
  padding: 80px 0 30px; position: relative;
}
.footer-main::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1600&q=60');
  background-size: cover; background-position: center;
}
.footer-grid-full {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px; margin-bottom: 50px; position: relative;
}
@media (max-width: 880px) { .footer-grid-full { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid-full { grid-template-columns: 1fr; } }
.footer h5 { color: var(--gold); margin-bottom: 20px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.footer-contact-row .ic {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(215,182,93,0.15); color: var(--gold);
  display: grid; place-items: center; flex-shrink: 0; font-size: 14px;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7);
  display: grid; place-items: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.footer-badges {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px;
  padding: 16px; background: rgba(255,255,255,0.04); border-radius: var(--radius-sm);
}
.footer-badge {
  font-size: 11px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05); padding: 6px 10px; border-radius: 4px;
}
.footer-bottom-full {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  align-items: center;
}
.footer-payment-icons { display: flex; gap: 8px; align-items: center; }
.footer-payment-icons span {
  display: inline-block; padding: 6px 10px; background: rgba(255,255,255,0.05);
  border-radius: 4px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.6);
}
.footer-lang-switch { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.footer-lang-switch select {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8); padding: 5px 10px; border-radius: 4px;
  font-family: inherit; font-size: 12px; cursor: pointer;
}

/* ========================================================
   CHATBOT WIDGET
   ======================================================== */
.chatbot-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black); display: grid; place-items: center;
  font-size: 26px; cursor: pointer; border: none;
  box-shadow: 0 8px 24px rgba(215,182,93,0.4), 0 4px 8px rgba(0,0,0,0.15);
  transition: all var(--transition);
}
.chatbot-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 32px rgba(215,182,93,0.5); }
.chatbot-fab .badge {
  position: absolute; top: -2px; right: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--white);
}
.chatbot-panel {
  position: fixed; bottom: 96px; right: 24px; z-index: 9998;
  width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 140px);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25); overflow: hidden;
  display: none; flex-direction: column;
  animation: slide-up 0.3s ease;
}
.chatbot-panel.open { display: flex; }
@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chatbot-header {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white); padding: 18px 20px;
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.chatbot-header .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.chatbot-header .name { font-weight: 700; font-size: 15px; }
.chatbot-header .status { font-size: 11px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px; }
.chatbot-header .close {
  margin-left: auto; background: rgba(255,255,255,0.1); border: none;
  width: 32px; height: 32px; border-radius: 50%; color: var(--white);
  cursor: pointer; font-size: 18px;
}
.chatbot-body {
  flex: 1; overflow-y: auto; padding: 18px; background: var(--gray-50);
  display: flex; flex-direction: column; gap: 12px;
}
.chat-msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.chat-msg.bot { background: var(--white); border: 1px solid var(--gray-200); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--gold); color: var(--black); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-quick-replies {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 0;
}
.chat-quick-replies button {
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 8px 12px; border-radius: 20px;
  font-family: inherit; font-size: 12px; cursor: pointer;
  color: var(--gold-dark); font-weight: 600;
  transition: all var(--transition);
}
.chat-quick-replies button:hover { background: var(--gold-soft); border-color: var(--gold); }
.chatbot-input {
  display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--gray-200); background: var(--white); flex-shrink: 0;
}
.chatbot-input input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--gray-200);
  border-radius: 20px; font-family: inherit; font-size: 14px;
}
.chatbot-input input:focus { outline: none; border-color: var(--gold); }
.chatbot-input button {
  background: var(--gold); border: none; color: var(--black);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px;
  display: grid; place-items: center;
}

/* ========================================================
   ENHANCED COMPONENTS
   ======================================================== */
/* Skip to main (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--black);
  padding: 12px 20px; font-weight: 700; z-index: 100000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Refined buttons - shimmer on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }

/* Trip type tab with icons */
.bw-tab { display: inline-flex; align-items: center; gap: 6px; }
.bw-tab .ti { font-size: 16px; }

/* Notification bell in nav */
.nav-bell {
  position: relative; color: rgba(255,255,255,0.85); font-size: 18px; cursor: pointer;
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; transition: all var(--transition);
}
.nav-bell:hover { background: rgba(255,255,255,0.1); color: var(--gold); }
.nav-bell .dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  border: 2px solid var(--black);
}

/* Stat highlight (used on confirmation/account) */
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--gold-soft); color: var(--gold-dark);
  border-radius: 20px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--gray-200); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.blog-card-img { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 11px; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 10px; }
.blog-card h4 { margin-bottom: 10px; font-size: 1.05rem; line-height: 1.3; }
.blog-card p { font-size: 14px; flex: 1; margin-bottom: 14px; }
.blog-card-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gray-500); padding-top: 14px; border-top: 1px solid var(--gray-100); }

/* Offers */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.offer-card {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  padding: 32px; color: var(--white);
  background: linear-gradient(135deg, #1f2a35 0%, #0d1318 100%);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer-card.gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--black); }
.offer-card.gold h4, .offer-card.gold .pct { color: var(--black); }
.offer-card .pct { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--gold); margin-bottom: 12px; }
.offer-card h4 { color: var(--white); margin-bottom: 8px; font-size: 1.15rem; }
.offer-card p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 20px; }
.offer-card.gold p { color: rgba(25,32,38,0.8); }
.offer-code { display: inline-block; background: rgba(255,255,255,0.1); color: var(--gold); padding: 6px 14px; border-radius: 4px; font-family: monospace; font-weight: 700; letter-spacing: 1px; font-size: 13px; margin-bottom: 16px; }
.offer-card.gold .offer-code { background: rgba(0,0,0,0.15); color: var(--black); }

/* Reviews page grid */
.review-card {
  background: var(--white); padding: 26px; border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.review-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 12px; color: var(--gray-500); }

/* Tracking page */
.track-shell { background: var(--gray-50); min-height: 100vh; padding-top: 80px; }
.track-grid { display: grid; grid-template-columns: 1fr 380px; min-height: calc(100vh - 80px); }
@media (max-width: 980px) { .track-grid { grid-template-columns: 1fr; } }
.track-map {
  background: linear-gradient(135deg, #e5ebed 25%, #d9e0e3 25%, #d9e0e3 50%, #e5ebed 50%, #e5ebed 75%, #d9e0e3 75%);
  background-size: 36px 36px; position: relative; min-height: 400px;
}
.track-map::before {
  content: ''; position: absolute; inset: 20% 30% 30% 25%;
  border: 3px dashed var(--gold); border-radius: 50% 30% 60% 40%;
  opacity: 0.5;
}
.track-car {
  position: absolute; top: 45%; left: 38%; font-size: 42px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
  animation: drive 6s ease-in-out infinite;
}
@keyframes drive {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(60px, -10px) rotate(8deg); }
  50%  { transform: translate(120px, 8px) rotate(-3deg); }
  75%  { transform: translate(180px, -8px) rotate(12deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.track-pin {
  position: absolute; font-size: 32px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.track-pin.from { top: 60%; left: 18%; color: var(--green); }
.track-pin.to   { top: 22%; right: 22%; color: var(--red); }
.track-panel { background: var(--white); padding: 28px; border-left: 1px solid var(--gray-200); overflow-y: auto; }

/* Notifications */
.notif-list { display: flex; flex-direction: column; }
.notif {
  display: flex; gap: 16px; padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition); cursor: pointer;
}
.notif:hover { background: var(--gray-50); }
.notif.unread { background: var(--gold-soft); }
.notif.unread:hover { background: rgba(215,182,93,0.18); }
.notif-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center; font-size: 18px;
}
.notif-icon.green { background: #DCFCE7; color: #166534; }
.notif-icon.blue  { background: #DBEAFE; color: #1E40AF; }
.notif-icon.red   { background: #FEE2E2; color: #991B1B; }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-weight: 700; color: var(--black); font-size: 14px; }
.notif-text  { color: var(--gray-600); font-size: 13px; margin-top: 2px; }
.notif-time  { color: var(--gray-400); font-size: 11px; margin-top: 4px; }
.notif-channels { display: flex; gap: 4px; margin-top: 4px; }
.notif-channels span { font-size: 10px; padding: 2px 6px; background: var(--gray-100); color: var(--gray-600); border-radius: 3px; }

/* Misc polish */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

/* Hero subtle ken-burns */
.hero::before { animation: kenburns 30s ease-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}

/* Pricing input row (admin) */
.price-rule-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.price-rule-row:last-child { border-bottom: 0; }
@media (max-width: 880px) {
  .price-rule-row { grid-template-columns: 1fr 1fr; }
}

/* ========================================================
   MOBILE SIDEBAR DRAWER (admin + customer dash)
   ======================================================== */
.dash-hamburger {
  display: none; background: var(--white); border: 1px solid var(--gray-200);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  cursor: pointer; font-size: 18px; align-items: center; justify-content: center;
  color: var(--black);
}
.dash-backdrop {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.dash-backdrop.open { opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar {
    display: block; position: fixed; top: 0; left: -280px;
    width: 280px; height: 100vh; z-index: 999;
    overflow-y: auto; transition: left var(--transition);
  }
  .dash-sidebar.open { left: 0; box-shadow: var(--shadow-lg); }
  .dash-hamburger { display: inline-flex; }
  .dash-topbar { gap: 12px; flex-wrap: wrap; }
  .dash-topbar h1 { font-size: 1.25rem; }
  .dash-main { padding: 20px 16px; }
  .dash-topbar > div:last-child { gap: 8px; }
  .dash-topbar input[type=search] { width: 100% !important; }
}

/* Make tables horizontally scrollable on small screens */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-wrap .tbl { min-width: 720px; }
.card > .tbl, .card > .tbl-wrap { border-radius: 0; }
@media (max-width: 880px) {
  .tbl th, .tbl td { padding: 12px 10px; font-size: 13px; }
}

/* Better mobile nav drawer */
@media (max-width: 980px) {
  .nav-links.open {
    display: flex !important; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
    background: var(--black); padding: 80px 24px 24px; gap: 4px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3); z-index: 1001;
    align-items: stretch;
  }
  .nav-links.open li a {
    display: block; padding: 14px 12px; border-radius: 8px;
    transition: background var(--transition);
  }
  .nav-links.open li a:hover, .nav-links.open li a.active {
    background: rgba(215,182,93,0.15);
  }
  .nav-toggle {
    z-index: 1002; position: relative; color: var(--white);
    background: transparent; border: none; cursor: pointer;
    font-size: 26px; padding: 8px;
  }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden;
    transition: all var(--transition);
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .nav-cta .nav-bell, .nav-cta .nav-phone { display: none; }
}

/* Responsive booking widget */
@media (max-width: 980px) {
  .booking-widget { padding: 20px; margin-top: -40px; }
  .bw-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .bw-tab { white-space: nowrap; flex-shrink: 0; }
}

/* Responsive hero */
@media (max-width: 720px) {
  .hero { min-height: 80vh; }
  .hero-content { padding: 100px 20px 50px; }
  .hero h1 { font-size: 2rem; }
  .hero .subhead { font-size: 1rem; }
  .hero .flex { flex-direction: column; gap: 10px; }
  .hero .flex .btn { width: 100%; }
}

/* Page header tighter on mobile */
@media (max-width: 720px) {
  .page-header { padding: 110px 0 50px; }
  .page-header h1 { font-size: 1.75rem; }
}

/* Wizard responsive */
@media (max-width: 720px) {
  .wizard { padding: 110px 0 40px; }
  .step { padding: 14px 6px; font-size: 10px; }
  .step .step-num { width: 22px; height: 22px; font-size: 11px; margin-right: 4px; }
  .step-body { padding: 24px 18px; }
  .wizard-actions { flex-direction: column; }
  .wizard-actions .btn { width: 100%; }
  .vehicle-pick { grid-template-columns: 1fr; }
}

/* Auth screens responsive */
@media (max-width: 720px) {
  .auth-form-area { padding: 40px 24px; }
  .auth-form-box h1 { font-size: 1.5rem; }
}

/* Track page mobile */
@media (max-width: 980px) {
  .track-shell { padding-top: 64px; }
  .track-grid { grid-template-columns: 1fr; }
  .track-map { min-height: 280px; }
  .track-panel { border-left: 0; border-top: 1px solid var(--gray-200); padding: 20px; }
}

/* Footer responsive padding */
@media (max-width: 720px) {
  .footer-main { padding: 50px 0 24px; }
  .footer-cta-strip { padding: 32px 0; }
  .footer-cta-inner { text-align: center; }
  .footer-bottom-full { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-payment-icons { flex-wrap: wrap; }
}

/* Demo flow grid mobile */
@media (max-width: 600px) {
  .flow-grid { grid-template-columns: 1fr !important; }
}

/* ========================================================
   CALENDAR
   ======================================================== */
.cal-shell { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); overflow: hidden; }
.cal-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--gray-200);
  background: var(--white); gap: 14px; flex-wrap: wrap;
}
.cal-toolbar h2 { font-size: 1.25rem; margin: 0; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { padding: 8px 12px; min-width: 40px; }
.cal-views { display: inline-flex; gap: 2px; background: var(--gray-100); padding: 4px; border-radius: var(--radius-sm); }
.cal-view-btn {
  background: transparent; border: 0; padding: 8px 16px; border-radius: 6px;
  font-family: inherit; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gray-500); cursor: pointer; transition: all var(--transition);
}
.cal-view-btn:hover { color: var(--black); }
.cal-view-btn.active { background: var(--white); color: var(--black); box-shadow: var(--shadow-sm); }

/* Calendar legend */
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; padding: 14px 24px; border-bottom: 1px solid var(--gray-200); font-size: 12px; color: var(--gray-600); background: var(--gray-50); }
.cal-legend-item { display: flex; align-items: center; gap: 6px; }
.cal-legend-dot { width: 12px; height: 12px; border-radius: 3px; }

/* Month grid */
.cal-month { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-month-head {
  text-align: center; padding: 10px 8px; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500);
  font-weight: 700; background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.cal-day-cell {
  min-height: 110px; padding: 6px; border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100); position: relative;
  display: flex; flex-direction: column; gap: 2px;
  cursor: pointer; transition: background var(--transition);
  overflow: hidden;
}
.cal-day-cell:hover { background: var(--gold-soft); }
.cal-day-cell:nth-child(7n+7) { border-right: 0; }
.cal-day-cell.other-month { background: var(--gray-50); color: var(--gray-400); }
.cal-day-cell.today .cal-day-num {
  background: var(--gold); color: var(--black);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
}
.cal-day-num { font-size: 13px; font-weight: 600; color: var(--gray-700); padding: 2px 6px; }
.cal-day-cell.other-month .cal-day-num { color: var(--gray-400); }
.cal-event {
  display: block; font-size: 11px; padding: 3px 6px; border-radius: 3px;
  background: var(--gold-soft); color: var(--gold-dark);
  border-left: 3px solid var(--gold); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-decoration: none; transition: transform var(--transition);
  cursor: pointer;
}
.cal-event:hover { transform: translateX(2px); }
.cal-event.airport   { background: rgba(215,182,93,0.15); color: var(--gold-dark); border-left-color: var(--gold); }
.cal-event.corporate { background: rgba(45,127,249,0.12); color: #1E40AF; border-left-color: #2D7FF9; }
.cal-event.wedding   { background: rgba(212,29,34,0.10); color: #991B1B; border-left-color: var(--red); }
.cal-event.hourly    { background: rgba(76,175,80,0.12); color: #166534; border-left-color: var(--green); }
.cal-event.event     { background: rgba(155,81,224,0.12); color: #6B21A8; border-left-color: #9B51E0; }
.cal-event-more { font-size: 10px; color: var(--gray-500); padding: 2px 6px; font-weight: 600; }

/* Week & Day */
.cal-week, .cal-day-view {
  display: grid; max-height: 720px; overflow: auto;
  border-top: 1px solid var(--gray-200);
}
.cal-week { grid-template-columns: 60px repeat(7, 1fr); }
.cal-day-view { grid-template-columns: 60px 1fr; }
.cal-week-header-row {
  display: contents;
}
.cal-time-col {
  border-right: 1px solid var(--gray-200); background: var(--gray-50);
  position: sticky; left: 0; z-index: 1;
}
.cal-time-slot {
  height: 60px; padding: 4px 6px; font-size: 10px; color: var(--gray-500);
  text-align: right; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; justify-content: flex-end;
}
.cal-day-col {
  position: relative; border-right: 1px solid var(--gray-100); min-width: 110px;
}
.cal-day-col:last-child { border-right: 0; }
.cal-day-col-head {
  padding: 10px 8px; text-align: center; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 2;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-600); font-weight: 700;
}
.cal-day-col-head .num { display:block; font-size: 1.25rem; color: var(--black); margin-top: 4px; font-weight: 800; }
.cal-day-col-head.today .num {
  display: inline-grid; place-items:center; width: 32px; height: 32px;
  background: var(--gold); color: var(--black); border-radius: 50%;
}
.cal-hour-line { height: 60px; border-bottom: 1px solid var(--gray-100); }
.cal-event-block {
  position: absolute; left: 4px; right: 4px;
  padding: 6px 8px; border-radius: 4px;
  background: var(--gold-soft); color: var(--gold-dark);
  border-left: 3px solid var(--gold);
  font-size: 11px; line-height: 1.3;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
  overflow: hidden;
}
.cal-event-block:hover { box-shadow: var(--shadow-md); transform: scale(1.02); z-index: 5; }
.cal-event-block .ev-time { font-weight: 700; }
.cal-event-block .ev-title { font-weight: 600; }
.cal-event-block .ev-meta { font-size: 10px; opacity: 0.7; }
.cal-event-block.airport   { background: rgba(215,182,93,0.18); color: var(--gold-dark); border-left-color: var(--gold); }
.cal-event-block.corporate { background: rgba(45,127,249,0.15); color: #1E40AF; border-left-color: #2D7FF9; }
.cal-event-block.wedding   { background: rgba(212,29,34,0.12); color: #991B1B; border-left-color: var(--red); }
.cal-event-block.hourly    { background: rgba(76,175,80,0.15); color: #166534; border-left-color: var(--green); }
.cal-event-block.event     { background: rgba(155,81,224,0.15); color: #6B21A8; border-left-color: #9B51E0; }

/* Day view single column wider */
.cal-day-view .cal-day-col { min-width: 0; }

/* Mobile calendar */
@media (max-width: 720px) {
  .cal-toolbar { padding: 14px 16px; }
  .cal-toolbar h2 { font-size: 1rem; flex: 1; text-align: center; }
  .cal-day-cell { min-height: 80px; padding: 4px; }
  .cal-event { font-size: 10px; padding: 2px 4px; }
  .cal-month-head { padding: 8px 4px; font-size: 9px; }
  .cal-week { grid-template-columns: 44px repeat(7, minmax(80px, 1fr)); }
  .cal-day-col { min-width: 80px; }
  .cal-time-slot { font-size: 9px; height: 50px; padding: 2px 4px; }
  .cal-hour-line { height: 50px; }
}

/* Booking detail */
.bd-shell { background: var(--gray-50); min-height: 100vh; padding: 90px 0 60px; }
.bd-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white); padding: 28px 32px; border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.bd-hero h1 { color: var(--white); margin-bottom: 6px; }
.bd-hero .ref { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.bd-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
@media (max-width: 980px) { .bd-grid { grid-template-columns: 1fr; } }
.bd-route { display: flex; gap: 14px; }
.bd-route-rail { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.bd-route-dot { width: 12px; height: 12px; border-radius: 50%; }
.bd-route-dot.start { background: var(--green); }
.bd-route-dot.stop { background: var(--gold); border: 2px solid var(--gold-dark); }
.bd-route-dot.end { background: var(--red); }
.bd-route-line { flex: 1; width: 2px; background: var(--gray-300); min-height: 36px; }
.bd-route-item { padding-bottom: 18px; }
.bd-route-item:last-child { padding-bottom: 0; }
.bd-route-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500); font-weight: 600; }
.bd-route-addr { font-weight: 600; color: var(--black); margin-top: 2px; }
.bd-route-time { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

.bd-timeline-step { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.bd-timeline-step:last-child { border-bottom: 0; }
.bd-timeline-marker { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 14px; font-weight: 800; }
.bd-timeline-marker.done { background: var(--green); color: white; }
.bd-timeline-marker.now  { background: var(--gold); color: var(--black); animation: pulse-logo 2s infinite; }
.bd-timeline-marker.todo { background: var(--gray-100); color: var(--gray-400); }
.bd-timeline-text strong { display: block; }
.bd-timeline-text .when  { font-size: 12px; color: var(--gray-500); }

/* Smooth scroll for anchors */
html { scroll-padding-top: 80px; }

/* Better touch targets on small screens */
@media (max-width: 720px) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; padding: 10px 16px; }
  .field input, .field select, .field textarea { min-height: 44px; font-size: 16px; /* prevents iOS zoom */ }
  .tab { padding: 12px 16px; }
}

/* Cards stack with proper margin on mobile */
@media (max-width: 720px) {
  .card { margin-bottom: 16px; }
  .card-header { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
  .card-body { padding: 18px 20px; }
}

/* Account dashboard mobile */
@media (max-width: 980px) {
  .dash-topbar h1 { font-size: 1.25rem; }
}

/* Tablet specifically (768-980) */
@media (min-width: 720px) and (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================
   TOAST NOTIFICATIONS
   ======================================================== */
#toast-stack {
  position: fixed; bottom: 90px; right: 24px; z-index: 99000;
  display: flex; flex-direction: column; gap: 10px;
  max-width: calc(100vw - 48px);
  pointer-events: none;
}
.toast {
  background: var(--black); color: var(--white);
  padding: 14px 18px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: 380px;
  animation: toast-in 0.3s ease both;
  border-left: 4px solid var(--gold);
  pointer-events: auto; cursor: pointer;
  font-size: 14px;
}
.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: var(--red); }
.toast.info    { border-left-color: #2D7FF9; }
.toast .ic { font-size: 18px; flex-shrink: 0; }
.toast .body { flex: 1; }
.toast .body strong { display: block; margin-bottom: 2px; }
.toast .body small { color: rgba(255,255,255,0.6); font-size: 12px; }
.toast.removing { animation: toast-out 0.2s ease forwards; }
@keyframes toast-in  { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { to   { opacity: 0; transform: translateX(20px); } }
@media (max-width: 720px) {
  #toast-stack { bottom: 84px; right: 12px; left: 12px; }
  .toast { min-width: 0; max-width: 100%; }
}

/* ========================================================
   DRIVER MODULE — top bar + bottom tabs layout
   ======================================================== */
.drv-shell {
  background: var(--gray-50); min-height: 100vh;
  padding-top: 64px; padding-bottom: 80px;
  position: relative;
}
.drv-topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 100;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; padding: 0 16px; gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.drv-topbar h1 { color: var(--white); font-size: 1.05rem; flex: 1; margin: 0; font-weight: 700; }
.drv-topbar .left, .drv-topbar .right { display: flex; gap: 4px; align-items: center; }
.drv-topbar button, .drv-topbar a {
  background: transparent; border: 0; color: var(--white); text-decoration: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  transition: background var(--transition); font-size: 18px; position: relative;
}
.drv-topbar button:hover, .drv-topbar a:hover { background: rgba(255,255,255,0.1); }
.drv-topbar .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.drv-topbar .dot {
  position: absolute; top: 8px; right: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  border: 2px solid var(--black);
}

.drv-content {
  max-width: 560px; margin: 0 auto; padding: 16px;
}
@media (min-width: 880px) { .drv-content { max-width: 720px; padding: 24px; } }

/* Bottom tab bar */
.drv-tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; height: 68px; z-index: 100;
  background: var(--white); border-top: 1px solid var(--gray-200);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
}
.drv-tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--gray-500); text-decoration: none;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  transition: color var(--transition); position: relative;
  -webkit-tap-highlight-color: transparent;
}
.drv-tabbar a .ic { font-size: 22px; line-height: 1; }
.drv-tabbar a:hover { color: var(--black); }
.drv-tabbar a.active { color: var(--gold-dark); }
.drv-tabbar a.active::before {
  content: ''; position: absolute; top: 0; left: 28%; right: 28%; height: 3px;
  background: var(--gold); border-radius: 0 0 3px 3px;
}
.drv-tabbar .badge {
  position: absolute; top: 8px; right: calc(50% - 20px);
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}

/* Driver cards */
.drv-card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); padding: 18px;
  margin-bottom: 12px; transition: all var(--transition);
}
.drv-card-link { text-decoration: none; color: inherit; display: block; }
.drv-card-link:hover { box-shadow: var(--shadow-md); border-color: var(--gold); transform: translateY(-1px); }
.drv-status-banner {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white); border-radius: var(--radius-md);
  padding: 22px 20px; margin-bottom: 16px;
}
.drv-section-label {
  display: flex; align-items: center; justify-content: space-between;
  text-transform: uppercase; letter-spacing: 1px; font-size: 12px;
  font-weight: 700; color: var(--gray-600);
  margin: 22px 4px 12px;
}
.drv-section-label .count { color: var(--gold-dark); }
.drv-status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.drv-status-pill.on-shift { background: rgba(76,175,80,0.15); color: #166534; }
.drv-status-pill.active   { background: rgba(45,127,249,0.15); color: #1E40AF; }
.drv-status-pill.upcoming { background: var(--gold-soft); color: var(--gold-dark); }
.drv-status-pill.offered  { background: rgba(155,81,224,0.15); color: #6B21A8; }
.drv-status-pill.completed{ background: var(--gray-100); color: var(--gray-700); }

.drv-tabs {
  display: flex; gap: 4px; background: var(--white); padding: 4px;
  border-radius: var(--radius-md); border: 1px solid var(--gray-200);
  margin-bottom: 16px; overflow-x: auto;
}
.drv-tab {
  flex: 1; min-width: max-content; padding: 10px 14px; border: 0; background: transparent;
  font-family: inherit; font-weight: 600; font-size: 13px;
  color: var(--gray-500); cursor: pointer; border-radius: 6px;
  white-space: nowrap; transition: all var(--transition);
}
.drv-tab:hover { color: var(--black); }
.drv-tab.active { background: var(--black); color: var(--white); }
.drv-tab .badge-inline {
  display: inline-block; padding: 1px 7px; margin-left: 4px;
  background: var(--gold); color: var(--black); border-radius: 10px;
  font-size: 11px; font-weight: 800;
}

/* Booking note card */
.note-list { display: flex; flex-direction: column; gap: 10px; }
.note-item {
  background: var(--gold-soft); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 12px 14px;
  position: relative;
}
.note-item.system {
  background: rgba(45,127,249,0.08); border-left-color: #2D7FF9;
}
.note-item.flag {
  background: rgba(212,29,34,0.08); border-left-color: var(--red);
}
.note-item .meta {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gray-500); font-weight: 600; margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.note-item .meta .who { color: var(--gold-dark); }
.note-item .text { font-size: 14px; color: var(--gray-800); line-height: 1.45; }
.note-item .del {
  position: absolute; top: 8px; right: 8px;
  background: transparent; border: 0; color: var(--gray-400);
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
}
.note-item .del:hover { background: rgba(212,29,34,0.1); color: var(--red); }
.note-form {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 14px;
}
.note-form textarea {
  width: 100%; min-height: 88px; padding: 10px 12px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; resize: vertical;
}
.note-form textarea:focus { outline: none; border-color: var(--gold); }
.note-form .actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; flex-wrap: wrap; }
.note-form .actions .hint { font-size: 12px; color: var(--gray-500); }
.note-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.note-tag {
  padding: 5px 10px; background: var(--gray-100); border: 0;
  border-radius: 14px; font-family: inherit; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;
  color: var(--gray-600); cursor: pointer; transition: all var(--transition);
}
.note-tag:hover { background: var(--gray-200); }
.note-tag.selected { background: var(--gold); color: var(--black); }

/* Status update buttons (driver) */
.status-progress {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-bottom: 14px;
}
.status-step {
  text-align: center; padding: 12px 6px; border-radius: var(--radius-sm);
  background: var(--gray-100); color: var(--gray-500);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  position: relative; cursor: pointer; transition: all var(--transition);
  border: 0; font-family: inherit;
}
.status-step.done { background: var(--green); color: var(--white); cursor: default; }
.status-step.current { background: var(--gold); color: var(--black); animation: pulse-logo 2s infinite; }
.status-step.todo:hover { background: var(--gray-200); }
.status-step .num { display: block; font-size: 16px; font-weight: 900; margin-bottom: 2px; }

/* Bookings list card (driver) */
.bk-card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); padding: 14px 16px;
  display: flex; gap: 14px; align-items: center;
  cursor: pointer; text-decoration: none; color: inherit;
  transition: all var(--transition); margin-bottom: 10px;
}
.bk-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); transform: translateY(-1px); }
.bk-card .time-col {
  text-align: center; flex-shrink: 0; min-width: 56px;
  padding-right: 14px; border-right: 1px solid var(--gray-100);
}
.bk-card .time-col .h {
  font-size: 1.15rem; font-weight: 800; color: var(--black); line-height: 1;
}
.bk-card .time-col .d {
  font-size: 10px; color: var(--gray-500); margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;
}
.bk-card .info { flex: 1; min-width: 0; }
.bk-card .info .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; flex-wrap: wrap; }
.bk-card .info .cust { font-weight: 700; color: var(--black); font-size: 14px; }
.bk-card .info .route { font-size: 12px; color: var(--gray-600); margin-bottom: 6px; }
.bk-card .info .meta { display: flex; gap: 10px; font-size: 10px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; flex-wrap: wrap; }
.bk-card .chev { color: var(--gray-300); font-size: 18px; align-self: center; flex-shrink: 0; }

/* Empty state */
.empty {
  text-align: center; padding: 60px 20px; color: var(--gray-500);
}
.empty .icon { font-size: 50px; margin-bottom: 14px; opacity: 0.4; }
.empty h4 { color: var(--black); margin-bottom: 6px; }

/* Earnings */
.earn-card {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white); border-radius: var(--radius-md);
  padding: 24px; margin-bottom: 16px;
}
.earn-big { font-size: 2.6rem; font-weight: 900; color: var(--gold); line-height: 1; margin: 6px 0; }
.earn-card .label { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.earn-card .delta { font-size: 13px; color: var(--green); }

.earn-period { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.earn-period button {
  padding: 10px; background: var(--white); border: 1px solid var(--gray-200);
  font-family: inherit; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; border-radius: var(--radius-sm); color: var(--gray-500);
  transition: all var(--transition);
}
.earn-period button.active { background: var(--black); color: var(--gold); border-color: var(--black); }

.earn-bar-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 140px; padding: 12px 0; margin-bottom: 30px;
}
.earn-bar { flex: 1; background: var(--gold-soft); border-radius: 4px 4px 0 0; position: relative; min-height: 4px; transition: all var(--transition); cursor: pointer; }
.earn-bar:hover { background: var(--gold); }
.earn-bar .v { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--gray-500); font-weight: 700; }
.earn-bar.today { background: var(--gold-dark); }

/* ============= BOOKING WIZARD IMPROVEMENTS ============= */
/* Visual trip-type cards (step 1) */
.trip-type-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px;
}
@media (max-width: 720px) { .trip-type-grid { grid-template-columns: repeat(2, 1fr); } }
.tt-card {
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 18px 12px;
  text-align: center; cursor: pointer; transition: all var(--transition);
  position: relative; font-family: inherit;
}
.tt-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.tt-card.selected { border-color: var(--gold); background: var(--gold-soft); }
.tt-card.selected::after {
  content: '✓'; position: absolute; top: 6px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  color: var(--black); display: grid; place-items: center; font-weight: 900; font-size: 12px;
}
.tt-card .ic { font-size: 30px; margin-bottom: 8px; line-height: 1; }
.tt-card .tt-name { font-weight: 700; font-size: 13px; color: var(--black); }
.tt-card .tt-from { font-size: 11px; color: var(--gold-dark); font-weight: 600; margin-top: 4px; }

/* Sticky fare quote bar — flush inside wizard-shell, no negative margins */
.quote-bar {
  position: sticky; bottom: 0; z-index: 50;
  background: var(--black); color: var(--white);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 -10px 28px rgba(0,0,0,0.18);
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 720px) {
  .quote-bar { padding: 14px 18px; flex-direction: column; gap: 12px; align-items: stretch; }
  .quote-bar .btn { width: 100%; }
}
.quote-bar .info .label { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.quote-bar .info .total { font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.quote-bar .info .sub { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* Multi-stop */
.stop-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.stop-row {
  display: flex; gap: 10px; align-items: center;
  background: var(--gray-50); padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.stop-row .dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
  display: grid; place-items: center; font-weight: 800; font-size: 11px;
  color: var(--gold-dark); flex-shrink: 0;
}
.stop-row input { flex: 1; padding: 8px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; min-width: 0; }
.stop-row input:focus { outline: none; border-color: var(--gold); }
.stop-row .del { background: transparent; border: 0; color: var(--gray-400); cursor: pointer; padding: 6px; font-size: 18px; flex-shrink: 0; }
.stop-row .del:hover { color: var(--red); }

/* Quick date chips */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  padding: 8px 14px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 20px; font-family: inherit; font-weight: 600; font-size: 13px;
  cursor: pointer; transition: all var(--transition); color: var(--gray-700);
}
.chip:hover { border-color: var(--gold); color: var(--black); }
.chip.selected { background: var(--black); color: var(--gold); border-color: var(--black); }

/* Address autocomplete */
.addr-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); z-index: 20; max-height: 280px; overflow-y: auto;
  display: none;
}
.addr-suggest.open { display: block; }
.addr-suggest .item {
  padding: 10px 14px; cursor: pointer; display: flex; gap: 10px; align-items: center;
  border-bottom: 1px solid var(--gray-100); transition: background var(--transition);
}
.addr-suggest .item:hover { background: var(--gold-soft); }
.addr-suggest .item:last-child { border-bottom: 0; }
.addr-suggest .item .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; flex-shrink: 0; font-size: 14px; }
.addr-suggest .item .lbl { font-weight: 600; font-size: 14px; color: var(--black); }
.addr-suggest .item .sub { font-size: 12px; color: var(--gray-500); }

.field-with-suggest { position: relative; }

/* Promo applied chip */
.promo-applied {
  margin-top: 8px; padding: 10px 14px; background: rgba(76,175,80,0.1);
  color: #166534; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.promo-applied .x { margin-left: auto; cursor: pointer; background: transparent; border: 0; color: #166534; font-size: 18px; }

/* Confirmation animation */
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.4); }
  60% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
.confirmation-icon { animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* ========================================================
   TIP & RATE FLOW
   ======================================================== */
.rate-shell {
  background: var(--gray-50); min-height: 100vh;
  padding: 100px 0 60px;
}
.rate-card {
  max-width: 600px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.rate-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white); padding: 36px 28px; text-align: center;
}
.rate-hero .driver-photo {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: grid; place-items: center; font-weight: 800; font-size: 30px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(215,182,93,0.3);
}
.rate-hero h2 { color: var(--white); margin-bottom: 6px; }
.rate-hero .meta { color: rgba(255,255,255,0.7); font-size: 13px; }
.rate-body { padding: 32px 28px; }

/* Star rating */
.star-rating {
  display: flex; gap: 8px; justify-content: center; margin: 24px 0;
}
.star-rating button {
  background: transparent; border: 0; padding: 8px;
  font-size: 38px; line-height: 1; color: var(--gray-300);
  cursor: pointer; transition: all 0.15s ease;
}
.star-rating button:hover, .star-rating button.active {
  color: var(--gold);
  transform: scale(1.15);
}
.star-rating-label {
  text-align: center; font-size: 14px; color: var(--gray-500);
  font-weight: 600; min-height: 22px; transition: color var(--transition);
}
.star-rating-label.set { color: var(--gold-dark); }

/* Tip grid */
.tip-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 14px;
}
@media (max-width: 480px) { .tip-grid { grid-template-columns: repeat(2, 1fr); } }
.tip-option {
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 18px 12px;
  text-align: center; cursor: pointer; transition: all var(--transition);
  font-family: inherit; position: relative;
}
.tip-option:hover { border-color: var(--gold); transform: translateY(-2px); }
.tip-option.selected {
  border-color: var(--gold); background: var(--gold-soft);
  box-shadow: 0 4px 12px rgba(215,182,93,0.25);
}
.tip-option.selected::after {
  content: '✓'; position: absolute; top: 6px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--gold);
  color: var(--black); display: grid; place-items: center;
  font-weight: 900; font-size: 11px;
}
.tip-option .amount {
  font-size: 1.5rem; font-weight: 800; color: var(--black); line-height: 1;
}
.tip-option .pct {
  font-size: 11px; color: var(--gray-500); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;
}
.tip-option.recommended { border-color: var(--gold); }
.tip-option.recommended::before {
  content: 'RECOMMENDED'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--black); padding: 3px 10px; border-radius: 10px;
  font-size: 9px; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
}
.tip-option.no-tip {
  background: var(--gray-50);
}
.tip-option.no-tip .amount { color: var(--gray-500); font-size: 1rem; font-weight: 700; }

/* Custom tip input */
.tip-custom-row {
  display: none; margin-top: 14px; padding: 14px;
  background: var(--gold-soft); border-radius: var(--radius-md);
  border: 1px solid var(--gold);
}
.tip-custom-row.open { display: block; animation: slide-down 0.25s ease both; }
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tip-custom-row label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gold-dark); font-weight: 700; display: block; margin-bottom: 8px;
}
.tip-custom-row .input-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 6px; border: 1px solid var(--gold);
}
.tip-custom-row .currency { font-weight: 800; font-size: 1.5rem; color: var(--gold-dark); padding: 0 10px; }
.tip-custom-row input {
  flex: 1; border: 0; padding: 8px; font-family: inherit;
  font-size: 1.5rem; font-weight: 700; color: var(--black);
  background: transparent;
}
.tip-custom-row input:focus { outline: none; }

/* Tip summary bar */
.tip-summary-bar {
  background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: var(--radius-md); padding: 16px 20px;
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between;
}
.tip-summary-bar .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-dark); font-weight: 700; }
.tip-summary-bar .val { font-size: 1.5rem; font-weight: 800; color: var(--black); }
.tip-summary-bar .sub { font-size: 12px; color: var(--gray-600); margin-top: 2px; }

/* Section divider */
.rate-divider {
  height: 1px; background: var(--gray-100);
  margin: 32px 0;
}
.rate-section-title {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-500); font-weight: 700; margin-bottom: 14px;
}

/* Quick feedback chips */
.feedback-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.feedback-chip {
  padding: 8px 14px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 20px; font-family: inherit; font-weight: 600; font-size: 12px;
  color: var(--gray-700); cursor: pointer; transition: all var(--transition);
}
.feedback-chip:hover { border-color: var(--gold); }
.feedback-chip.selected { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-dark); }

/* Thank you success state */
.rate-success {
  text-align: center; padding: 60px 28px;
}
.rate-success .check-anim {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: grid; place-items: center; font-size: 50px;
  margin: 0 auto 24px;
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Trip summary side panel */
.wizard-with-summary { display: grid; grid-template-columns: 1fr 320px; gap: 24px; max-width: 1200px; }
@media (max-width: 980px) { .wizard-with-summary { grid-template-columns: 1fr; } }
.trip-summary {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); padding: 22px;
  position: sticky; top: 96px; align-self: start;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
@media (max-width: 980px) {
  .trip-summary { position: static; max-height: none; }
}
.trip-summary h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-500); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.ts-row { display: flex; gap: 10px; padding: 10px 0; align-items: flex-start; border-bottom: 1px solid var(--gray-100); }
.ts-row:last-child { border-bottom: 0; }
.ts-row .ic { width: 28px; flex-shrink: 0; color: var(--gold-dark); font-size: 16px; }
.ts-row .body { flex: 1; min-width: 0; }
.ts-row .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500); font-weight: 600; }
.ts-row .val { font-size: 13px; color: var(--black); font-weight: 600; word-break: break-word; }
.ts-row .val.muted { color: var(--gray-400); font-weight: 400; font-style: italic; }

