/* ============================================================
   LuxeRide Platform — Main Stylesheet
   Aesthetic: Luxury editorial — deep black + champagne gold
   ============================================================ */

:root {
  --black: #0a0a0a;
  --dark: #111214;
  --dark2: #1a1c1f;
  --dark3: #242628;
  --gold: #c9a84c;
  --gold-light: #e2c06a;
  --gold-pale: #f5e6b8;
  --white: #f8f6f2;
  --white2: #e8e4dc;
  --muted: #7a7570;
  --green: #2dba74;
  --red: #e05252;
  --blue: #4a90d9;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.15);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,10,10,0.97); }
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { color: var(--gold); font-size: 1.2rem; }
.logo-text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: 0.02em; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--white2); letter-spacing: 0.04em; transition: color 0.2s; font-weight: 400; }
.nav-links a:hover { color: var(--gold); }
.btn-nav {
  background: var(--gold); color: var(--black) !important;
  padding: 8px 20px; border-radius: 40px; font-weight: 600;
  font-size: 0.8rem !important; letter-spacing: 0.08em; text-transform: uppercase;
  transition: var(--transition);
}
.btn-nav:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 4rem; padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  max-width: 1320px; margin: 0 auto; position: relative; z-index: 1;
}
.hero-bg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(74,144,217,0.04) 0%, transparent 50%),
              linear-gradient(180deg, #0a0a0a 0%, #0d0d0f 100%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 40px; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.15; color: var(--white); margin-bottom: 1.5rem;
}
.gradient-text { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, #fff8e1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 520px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white2); padding: 14px 28px; border-radius: 50px;
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.15); transition: var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); color: var(--white2); padding: 14px 28px; border-radius: 50px;
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.08); transition: var(--transition); cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 500; }
.stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* Hero map card */
.hero-map-preview { display: flex; justify-content: center; align-items: center; }
.map-card {
  background: var(--dark2); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg); overflow: hidden; width: 100%; max-width: 420px;
  box-shadow: var(--shadow), var(--shadow-gold);
}
.map-card-header {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--white2);
}
.live-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
.map-mock {
  height: 220px; background: #1a2030; position: relative; overflow: hidden;
}
.map-road {
  position: absolute; background: rgba(255,255,255,0.07); border-radius: 4px;
}
.map-road-1 { width: 60%; height: 6px; top: 40%; left: 20%; transform: rotate(-5deg); }
.map-road-2 { width: 5px; height: 60%; top: 20%; left: 45%; }
.map-road-3 { width: 45%; height: 4px; top: 65%; left: 30%; transform: rotate(3deg); }
.car-pin { position: absolute; color: var(--gold); font-size: 1.1rem; animation: carMove 4s ease-in-out infinite; }
.car-1 { top: 35%; left: 30%; animation-delay: 0s; }
.car-2 { top: 55%; left: 60%; animation-delay: 2s; }
@keyframes carMove { 0%,100%{transform:translate(0,0);} 50%{transform:translate(8px,-6px);} }
.pulse-ring {
  position: absolute; top: 25%; left: 55%; color: var(--gold-light);
}
.pulse-ring::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 24px; height: 24px;
  transform: translate(-50%,-50%); border: 2px solid var(--gold); border-radius: 50%;
  animation: ripple 2s infinite;
}
@keyframes ripple { 0%{transform:translate(-50%,-50%) scale(0.5);opacity:1;} 100%{transform:translate(-50%,-50%) scale(2);opacity:0;} }
.map-label {
  position: absolute; background: rgba(10,10,10,0.8); color: var(--white2);
  font-size: 0.68rem; padding: 3px 8px; border-radius: 4px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}
.l1 { bottom: 30%; left: 8%; }
.l2 { top: 15%; right: 8%; }
.map-card-footer {
  display: flex; justify-content: space-around; padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.82rem; color: var(--gold);
}

/* ── SECTIONS COMMON ── */
section { padding: 6rem 0; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block; padding: 4px 14px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
  border-radius: 40px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem,3.5vw,3rem); font-weight: 400; color: var(--white); margin-bottom: 1rem; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── FEATURES GRID ── */
.features { background: var(--dark); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 2rem; transition: var(--transition);
}
.feature-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card--accent { border-color: rgba(201,168,76,0.2); background: linear-gradient(135deg, #1a1c1f, #1e1a12); }
.feature-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--black); }
.steps { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.step { background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius); padding: 2rem 1.5rem; max-width: 220px; flex: 1; min-width: 180px; }
.step-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); opacity: 0.3; font-weight: 300; margin-bottom: 0.5rem; }
.step-content h3 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.step-arrow { color: var(--gold); opacity: 0.4; font-size: 1.2rem; flex-shrink: 0; }

/* ── CTA ── */
.cta-section { background: var(--dark); }
.cta-card {
  background: linear-gradient(135deg, #1a1c1f 0%, #1a1609 100%);
  border: 1px solid rgba(201,168,76,0.2); border-radius: var(--radius-lg);
  padding: 4rem; display: flex; align-items: center; gap: 4rem; flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 280px; }
.cta-content h2 { font-family: var(--font-display); font-size: 2.5rem; color: var(--white); font-weight: 400; margin-bottom: 1rem; }
.cta-content p { color: var(--muted); margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-image { flex-shrink: 0; }

/* Phone mock */
.phone-mock {
  width: 160px; background: #111; border-radius: 28px; border: 6px solid #222;
  padding: 12px; box-shadow: var(--shadow);
}
.phone-screen { background: var(--dark3); border-radius: 18px; overflow: hidden; }
.phone-header { background: var(--gold); color: var(--black); font-size: 0.65rem; font-weight: 700; text-align: center; padding: 6px; }
.phone-map-mini { height: 80px; background: #1a2030; position: relative; }
.phone-car { position: absolute; top: 30px; left: 50px; color: var(--gold); font-size: 0.9rem; animation: carMove 3s infinite; }
.phone-dot { position: absolute; top: 20px; right: 25px; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.phone-info { display: flex; justify-content: space-between; padding: 6px 8px; font-size: 0.6rem; color: var(--white2); border-bottom: 1px solid rgba(255,255,255,0.06); }
.phone-btn { background: var(--gold); color: var(--black); text-align: center; padding: 6px; font-size: 0.65rem; font-weight: 700; }

/* ── FOOTER ── */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--muted); font-size: 0.875rem; margin-top: 1rem; line-height: 1.7; }
.footer-flags { margin-top: 1rem; font-size: 0.8rem; color: var(--muted); }
.footer-links h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 1rem; }
.footer-links a { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }

/* ================================================================
   DASHBOARD STYLES
   ================================================================ */
.page-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px; flex-shrink: 0; background: var(--dark);
  border-right: 1px solid rgba(255,255,255,0.06); position: fixed; top: 0; left: 0; height: 100vh;
  display: flex; flex-direction: column; z-index: 100;
  transition: transform 0.3s; overflow-y: auto;
}
.sidebar-logo { padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-section { padding: 0.5rem 1.5rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0.8rem 0 0.3rem; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 1.5rem;
  font-size: 0.85rem; color: var(--muted); transition: var(--transition);
}
.sidebar-link:hover, .sidebar-link.active { color: var(--white); background: rgba(201,168,76,0.08); }
.sidebar-link.active { border-left: 2px solid var(--gold); }
.sidebar-link i { width: 18px; text-align: center; font-size: 0.9rem; }
.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
.commission-badge {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.25); border-radius: 8px;
  padding: 10px 12px; font-size: 0.78rem;
}
.commission-badge .label { color: var(--muted); display: block; margin-bottom: 4px; }
.commission-badge .value { color: var(--gold); font-weight: 700; font-size: 1.1rem; }

.main-content { flex: 1; margin-left: 240px; padding: var(--nav-h) 0 0; min-height: 100vh; }
.page-header {
  padding: 2rem 2rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.page-header h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--white); }
.page-header p { color: var(--muted); font-size: 0.875rem; }
.page-body { padding: 2rem; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 1.5rem; transition: var(--transition);
}
.stat-card:hover { border-color: rgba(201,168,76,0.2); }
.stat-card .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.5rem; }
.stat-card .value { font-family: var(--font-display); font-size: 2rem; color: var(--white); font-weight: 500; }
.stat-card .change { font-size: 0.75rem; margin-top: 0.3rem; }
.stat-card .change.up { color: var(--green); }
.stat-card .change.dn { color: var(--red); }
.stat-card .icon { float: right; font-size: 1.4rem; color: var(--gold); opacity: 0.6; }

/* Panels */
.panel {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem;
}
.panel-header {
  padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.panel-title { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.panel-body { padding: 1.5rem; }

/* Table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; table-layout: fixed; }
.data-table th {
  text-align: left; padding: 10px 12px; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.data-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--white2); vertical-align: middle; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table tr:last-child td { border-bottom: none; }

/* Badges */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-green { background: rgba(45,186,116,0.15); color: var(--green); }
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-red { background: rgba(224,82,82,0.15); color: var(--red); }
.badge-blue { background: rgba(74,144,217,0.15); color: var(--blue); }
.badge-muted { background: rgba(255,255,255,0.07); color: var(--muted); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.form-control {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 10px 14px; color: var(--white); font-size: 0.9rem;
  transition: border-color 0.2s; outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control option { background: var(--dark3); }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: flex; gap: 1rem; align-items: flex-end; }
.form-hint { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.form-section { margin-bottom: 2rem; }
.form-section-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); padding-bottom: 0.75rem; border-bottom: 1px solid rgba(201,168,76,0.15); margin-bottom: 1.5rem; }

/* Map container */
#map, .map-container { height: 380px; background: #1a2030; border-radius: var(--radius); overflow: hidden; }

/* Fare display */
.fare-display {
  background: linear-gradient(135deg, #1a1609, #1e1c13);
  border: 1px solid rgba(201,168,76,0.3); border-radius: var(--radius);
  padding: 1.5rem; margin-top: 1rem;
}
.fare-row { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.6rem; }
.fare-row span:last-child { color: var(--white2); }
.fare-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.8rem; border-top: 1px solid rgba(201,168,76,0.2); margin-top: 0.5rem; }
.fare-total .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.fare-total .amount { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 500; }
.peak-banner {
  display: flex; align-items: center; gap: 8px; background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.2); border-radius: 8px; padding: 8px 12px;
  font-size: 0.78rem; color: #ff9090; margin-top: 0.8rem;
}
.peak-banner i { color: var(--red); }
.offpeak-banner {
  display: flex; align-items: center; gap: 8px; background: rgba(45,186,116,0.1);
  border: 1px solid rgba(45,186,116,0.2); border-radius: 8px; padding: 8px 12px;
  font-size: 0.78rem; color: #6effc0; margin-top: 0.8rem;
}
.offpeak-banner i { color: var(--green); }

/* Toggle */
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--dark3); border-radius: 24px; border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 16px; height: 16px;
  left: 3px; bottom: 3px; background: var(--muted); border-radius: 50%; transition: 0.3s;
}
input:checked + .toggle-slider { background: rgba(201,168,76,0.25); border-color: var(--gold); }
input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--gold); }

/* Two-col page layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.two-col-3 { display: grid; grid-template-columns: 3fr 1fr; gap: 1.5rem; }

/* Action buttons */
.actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 40px; font-size: 0.8rem; font-weight: 500;
  border: none; cursor: pointer; transition: var(--transition);
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }
.btn-danger { background: rgba(224,82,82,0.15); color: var(--red); border: 1px solid rgba(224,82,82,0.2); }
.btn-danger:hover { background: rgba(224,82,82,0.25); }
.btn-secondary { background: var(--dark3); color: var(--white2); border: 1px solid rgba(255,255,255,0.08); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); }
.btn-success { background: rgba(45,186,116,0.15); color: var(--green); border: 1px solid rgba(45,186,116,0.2); }
.btn-success:hover { background: rgba(45,186,116,0.25); }

/* Notification list */
.notif-list { display: flex; flex-direction: column; gap: 0.75rem; }
.notif-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--dark3); border-radius: 10px; padding: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.notif-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.9rem; }
.notif-icon.sms { background: rgba(74,144,217,0.15); color: var(--blue); }
.notif-icon.email { background: rgba(201,168,76,0.15); color: var(--gold); }
.notif-icon.push { background: rgba(45,186,116,0.15); color: var(--green); }
.notif-body { flex: 1; }
.notif-body strong { font-size: 0.82rem; color: var(--white2); }
.notif-body p { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.notif-time { font-size: 0.7rem; color: var(--muted); }

/* Rates page specific */
.rate-card {
  background: var(--dark3); border-radius: 10px; padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.rate-label { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.rate-detail { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.rate-value { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }

/* Peak time slot */
.peak-slot {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem;
}
.peak-slot .slot-label { font-size: 0.82rem; font-weight: 600; color: var(--white); flex: 1; }
.peak-slot .slot-times { font-size: 0.78rem; color: var(--muted); }
.peak-slot .slot-mult { color: var(--red); font-weight: 700; font-size: 0.9rem; }

/* Vehicle card */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.vehicle-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.vehicle-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-3px); }
.vehicle-img {
  height: 140px; background: linear-gradient(135deg, #1a2030, #0f1520);
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--gold); opacity: 0.6;
}
.vehicle-body { padding: 1.2rem; }
.vehicle-name { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.3rem; }
.vehicle-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.8rem; }
.vehicle-stats { display: flex; gap: 1rem; font-size: 0.75rem; }
.vehicle-stats span { color: var(--muted); }
.vehicle-stats strong { color: var(--gold); }

/* Driver card */
.driver-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius);
  padding: 1.5rem; display: flex; align-items: center; gap: 1rem; transition: var(--transition);
}
.driver-card:hover { border-color: rgba(201,168,76,0.2); }
.driver-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--black); font-weight: 600; flex-shrink: 0;
}
.driver-info { flex: 1; }
.driver-name { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.driver-sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.driver-stats { display: flex; gap: 1rem; margin-top: 0.5rem; }
.driver-stats .ds { font-size: 0.75rem; }
.driver-stats .ds span { color: var(--muted); display: block; }
.driver-stats .ds strong { color: var(--white2); }

/* Alert / toast */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--dark2); border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius); padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 10px; min-width: 280px;
  box-shadow: var(--shadow); animation: slideUp 0.3s ease;
  color: var(--white2); font-size: 0.875rem;
}
.toast.toast-success { border-color: rgba(45,186,116,0.3); }
.toast.toast-error { border-color: rgba(224,82,82,0.3); }
.toast i { color: var(--gold); }
.toast.toast-success i { color: var(--green); }
.toast.toast-error i { color: var(--red); }
@keyframes slideUp { from{transform:translateY(20px);opacity:0;} to{transform:translateY(0);opacity:1;} }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--dark2); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 2rem; width: 100%; max-width: 540px;
  transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); }
.modal-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.modal-close:hover { color: var(--white); }

/* Loading spinner */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(201,168,76,0.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Search / filter bar */
.filter-bar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; }
.search-input-wrap { position: relative; flex: 1; min-width: 200px; }
.search-input-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.85rem; }
.search-input { width: 100%; background: var(--dark2); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 9px 14px 9px 36px; color: var(--white); font-size: 0.875rem; outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: var(--gold); }

/* Commission settings */
.commission-box {
  background: linear-gradient(135deg, #1a1c1f, #1a1609);
  border: 1px solid rgba(201,168,76,0.25); border-radius: var(--radius); padding: 1.5rem;
}
.commission-box .big-num { font-family: var(--font-display); font-size: 3.5rem; color: var(--gold); font-weight: 400; }
.commission-box .sub { font-size: 0.78rem; color: var(--muted); }

/* Login page */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--black); padding: 2rem;
}
.login-card {
  background: var(--dark2); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow), var(--shadow-gold);
}
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--white); text-align: center; margin-bottom: 0.5rem; }
.login-sub { text-align: center; color: var(--muted); font-size: 0.875rem; margin-bottom: 2rem; }
.login-tabs { display: flex; background: var(--dark3); border-radius: 8px; padding: 4px; margin-bottom: 2rem; }
.login-tab { flex: 1; padding: 8px; border: none; background: none; color: var(--muted); font-size: 0.875rem; cursor: pointer; border-radius: 6px; transition: var(--transition); }
.login-tab.active { background: var(--dark2); color: var(--white); }
.login-form .form-group { margin-bottom: 1.2rem; }
.login-btn { width: 100%; margin-top: 0.5rem; justify-content: center; padding: 12px; font-size: 0.95rem; }
.login-divider { text-align: center; color: var(--muted); font-size: 0.8rem; margin: 1.2rem 0; }
.forgot-link { display: block; text-align: center; color: var(--gold); font-size: 0.8rem; margin-top: 1rem; }

/* Booking page extras */
.booking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: calc(100vh - var(--nav-h)); }
.booking-form-col { padding: 2.5rem; overflow-y: auto; max-height: calc(100vh - var(--nav-h)); border-right: 1px solid rgba(255,255,255,0.06); }
.booking-map-col { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); }
#booking-map { height: 100%; }
.step-tracker { display: flex; align-items: center; gap: 0; margin-bottom: 2rem; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; background: var(--dark3); color: var(--muted); border: 2px solid rgba(255,255,255,0.1); transition: var(--transition); flex-shrink: 0; }
.step-dot.active { background: var(--gold); color: var(--black); border-color: var(--gold); }
.step-dot.done { background: var(--green); color: #fff; border-color: var(--green); }
.step-line { flex: 1; height: 2px; background: rgba(255,255,255,0.08); }
.step-line.done { background: var(--green); }

/* Currency toggle */
.currency-toggle { display: flex; gap: 0.5rem; }
.currency-btn { padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); background: none; color: var(--muted); font-size: 0.78rem; cursor: pointer; transition: var(--transition); }
.currency-btn.active { background: rgba(201,168,76,0.15); border-color: var(--gold); color: var(--gold); }

/* Responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-map-preview { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-map-col { height: 300px; position: relative; top: 0; }
  .main-content { margin-left: 0; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; inset: 0; top: var(--nav-h); background: rgba(10,10,10,0.97); flex-direction: column; align-items: center; justify-content: flex-start; padding: 2rem; gap: 1.5rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .two-col, .two-col-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .cta-card { flex-direction: column; padding: 2rem; }
  .page-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .panel-body { padding: 1rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ── EXTRA CLASSES for settings/notifications pages ── */
.page-header-title { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--white); }
.page-header-sub { color: var(--muted); font-size: 0.875rem; margin-top: 2px; }

/* Settings / notifications sidebar uses sidebar-link — already defined above */
/* Input-bg alias */
.input-bg { background: var(--dark3); }

/* text-muted alias */
.text-muted { color: var(--muted); }

/* modal-body / modal-footer */
.modal-body { padding: 0 0 1.5rem; }
.modal-footer { display: flex; justify-content: flex-end; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.modal-header h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); }

/* Card-bg alias */
.card-bg { background: var(--dark2); }

/* Ensure border var works */
:root { --border: rgba(255,255,255,0.08); --input-bg: #242628; --text: #f8f6f2; --text-muted: #7a7570; --card-bg: #1a1c1f; }
