*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #3B82F6;
  --primary-dark: #1D4ED8;
  --navy: #1E293B;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
}
body { font-family: 'Inter', sans-serif; background: var(--bg-body, var(--slate-50)); min-height: 100vh; }

/* ═══════════════════════════════════════════════════════════════
   CUSTOMER SIDEBAR (Stitch MD3)
   ═══════════════════════════════════════════════════════════════ */
.customer-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: 260px; z-index: 200;
  background: var(--surface-container-low, var(--bg-surface-2));
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
  padding: 24px 0;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), background 0.3s;
}
.sidebar-header { padding: 0 24px; margin-bottom: 24px; }
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.sidebar-logo { width: 32px; height: 32px; object-fit: contain; }
.sidebar-brand-group { display: flex; flex-direction: column; }
.sidebar-brand-text {
  font-size: 20px; font-weight: 700;
  color: var(--primary); letter-spacing: -0.02em; line-height: 1.2;
}
.sidebar-brand-sub {
  font-size: 11px; font-weight: 600;
  color: var(--on-surface-variant, var(--text-secondary));
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-top: 1px;
}

/* Sidebar CTA */
.sidebar-cta { padding: 0 16px; margin-bottom: 8px; }
.sidebar-book-btn {
  width: 100%;
  background: var(--primary);
  color: var(--on-primary, #fff);
  border: none; border-radius: 8px;
  padding: 10px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.sidebar-book-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.sidebar-book-btn .material-icons-round { font-size: 18px; }

/* Sidebar Nav */
.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; }
.sidebar-nav-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  color: var(--on-surface-variant, var(--text-secondary));
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sidebar-nav-item .material-icons-round {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.sidebar-nav-item:hover {
  background: var(--surface-container-lowest, rgba(255,255,255,0.7));
  border-color: rgba(59,130,246,0.12);
  color: var(--on-surface, var(--text-primary));
  transform: translateX(2px);
}
.sidebar-nav-item.active {
  color: var(--primary);
  font-weight: 700;
  border-color: rgba(59,130,246,0.14);
  background: linear-gradient(90deg, rgba(59,130,246,0.14), rgba(59,130,246,0.05));
  box-shadow: 0 10px 22px rgba(59,130,246,0.08);
}
.sidebar-nav-item:hover .material-icons-round,
.sidebar-nav-item.active .material-icons-round {
  background: rgba(59,130,246,0.12);
  color: var(--primary);
}

/* Sidebar Footer */
.sidebar-footer-nav {
  margin-top: auto;
  padding: 12px 12px 0;
  margin-left: 24px; margin-right: 24px;
  border-top: 1px solid var(--outline-variant, var(--border-color));
  display: flex; flex-direction: column; gap: 6px;
}
.sidebar-footer-nav .sidebar-nav-item {
  padding: 10px 16px;
}
.sidebar-logout { color: var(--error, #ba1a1a) !important; }
.sidebar-logout:hover { background: rgba(186, 26, 26, 0.06) !important; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU BAR
   ═══════════════════════════════════════════════════════════════ */
.mobile-menu-bar {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: 56px; padding: 0 16px;
  background: var(--card-bg, #fff);
  border-bottom: 1px solid var(--outline-variant, var(--border-color));
  align-items: center; justify-content: space-between;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mobile-menu-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--text-primary); padding: 4px;
}
.mobile-menu-toggle .material-icons-round { font-size: 28px; }
.mobile-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 700; color: var(--text-primary, #191c1e); font-size: 18px;
}
.mobile-logo { width: 28px; height: 28px; }
.mobile-actions { display: flex; gap: 4px; }
.sidebar-overlay {
  display: none; position: fixed; inset: 0; z-index: 190;
  background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.sidebar-overlay.active { display: block; }

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT CANVAS
   ═══════════════════════════════════════════════════════════════ */
.customer-main {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--bg-surface, var(--bg-body));
  position: relative;
}

/* Utility Bar */
.utility-bar {
  position: sticky; top: 0; z-index: 30;
  padding: var(--space-md, 16px) var(--space-lg, 24px);
  background: var(--card-bg, #fff); background: rgba(var(--card-bg, 255,255,255), 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline-variant, var(--border-color));
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.3s;
}
.utility-bar { background: var(--card-bg); }
.utility-title { font: var(--font-h1); color: var(--text-primary); letter-spacing: var(--letter-h1); }
.utility-actions { display: flex; align-items: center; gap: var(--space-md, 16px); }

/* Settings icon in utility bar */
.settings-btn {
  text-decoration: none;
  color: #64748b;
}
.settings-btn .material-icons-round {
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), color 0.2s ease;
}
.settings-btn:hover .material-icons-round {
  transform: rotate(90deg);
}
.settings-btn.active {
  color: var(--primary, #3b82f6);
  background: rgba(59, 130, 246, 0.1);
}

.main-content-area {
  padding: var(--space-lg, 24px);
  max-width: 1200px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.dash-section { margin-bottom: var(--space-xl, 32px); }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: var(--space-md, 16px);
}
.section-header h2 {
  font: var(--font-h2); color: var(--text-primary); letter-spacing: var(--letter-h2);
  display: flex; align-items: center; gap: 8px;
}
.section-header p { font: var(--font-body-md); color: var(--text-secondary); margin-top: 4px; }
.section-icon { color: var(--primary); font-size: 24px; }
.section-link {
  font: var(--font-label-sm); color: var(--primary);
  text-decoration: none; letter-spacing: var(--letter-label);
}
.section-link:hover { text-decoration: underline; }

/* ── Active Booking Card ──────────────────── */
.active-booking-card {
  background: var(--surface-container-lowest, var(--card-bg));
  border-radius: var(--radius-xl, 12px);
  padding: var(--space-md, 16px);
  box-shadow: var(--shadow-ambient);
  border: 1px solid var(--outline-variant, var(--border-color));
  display: flex; gap: var(--space-lg, 24px); align-items: center;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.active-booking-card:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); border-color: var(--primary); }
.active-booking-card:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,88,190,0.18); border-color: var(--primary); }
.booking-status-chip {
  position: absolute; top: var(--space-md); right: var(--space-md);
  background: var(--primary-container, var(--primary));
  color: var(--on-primary-container, #fff);
  font: var(--font-label-sm); letter-spacing: var(--letter-label);
  padding: 4px 12px; border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 4px; z-index: 2;
}
.booking-status-chip .material-icons-round { font-size: 16px; }
.booking-image {
  width: 33%; min-width: 200px; aspect-ratio: 4/3;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-container, var(--bg-surface-2));
}
.booking-image img { width: 100%; height: 100%; object-fit: cover; }
.booking-details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.booking-tags { display: flex; align-items: center; gap: 8px; }
.booking-tag {
  background: var(--surface-container-high, var(--bg-surface-3));
  color: var(--text-primary);
  font: var(--font-label-sm); padding: 2px 8px; border-radius: var(--radius-sm);
}
.booking-id { font: var(--font-label-sm); color: var(--text-secondary); letter-spacing: var(--letter-label); }
.booking-car-name { font: var(--font-h2); color: var(--text-primary); letter-spacing: var(--letter-h2); }
.booking-car-sub { font: var(--font-body-md); color: var(--text-secondary); }
.booking-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.booking-specs-grid .spec-label { font: var(--font-label-sm); color: var(--text-secondary); margin-bottom: 4px; letter-spacing: var(--letter-label); }
.booking-specs-grid .spec-value {
  font: var(--font-body-lg); color: var(--text-primary); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.spec-highlight { color: var(--primary) !important; }
.spec-highlight .material-icons-round { font-size: 16px; }
.booking-actions { display: flex; gap: var(--space-sm, 8px); margin-top: 8px; }
.btn-primary {
  flex: 1; background: var(--primary); color: var(--on-primary, #fff);
  border: none; border-radius: var(--radius-md);
  padding: 10px 16px; font: var(--font-label-sm); letter-spacing: var(--letter-label);
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline {
  flex: 1; background: transparent;
  border: 1px solid var(--outline, var(--border-color));
  color: var(--text-secondary); border-radius: var(--radius-md);
  padding: 10px 16px; font: var(--font-label-sm); letter-spacing: var(--letter-label);
  cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--surface-container-high, var(--bg-surface-3));
  color: var(--text-primary);
}

/* ── AI Recommendations Grid ─────────────── */
.reco-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-lg, 24px);
}
.reco-card {
  background: var(--surface-container-lowest, var(--card-bg));
  border-radius: var(--radius-xl, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  border: 1px solid var(--outline-variant, var(--border-color));
  transition: transform 0.3s, box-shadow 0.3s;
}
.reco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.reco-card-img {
  aspect-ratio: 16/9; overflow: hidden; position: relative;
}
.reco-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.reco-card:hover .reco-card-img img { transform: scale(1.05); }
.reco-chip {
  position: absolute; top: 12px; right: 12px;
  background: var(--surface-container-lowest, rgba(255,255,255,0.9));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(8px);
  color: var(--primary); font: var(--font-label-sm);
  padding: 4px 12px; border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 4px; z-index: 2;
}
.reco-chip .material-icons-round { font-size: 14px; }
.reco-card-body { padding: var(--space-md); }
.reco-card-body h3 { font: var(--font-h3); color: var(--text-primary); }
.reco-card-body .reco-sub { font: var(--font-body-md); color: var(--text-secondary); margin-bottom: var(--space-md); }
.reco-specs {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  padding-top: var(--space-md); margin-bottom: var(--space-md);
  border-top: 1px solid var(--outline-variant, var(--border-color));
}
.reco-spec {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.reco-spec .material-icons-round { font-size: 16px; color: var(--text-secondary); margin-bottom: 4px; }
.reco-spec span:last-child { font: var(--font-label-sm); color: var(--text-primary); }
.reco-book-btn {
  width: 100%;
  background: var(--surface-container, var(--bg-surface-2));
  border: 1px solid var(--outline-variant, var(--border-color));
  color: var(--primary); font: var(--font-label-sm); letter-spacing: var(--letter-label);
  padding: 10px; border-radius: var(--radius-md);
  cursor: pointer; transition: all 0.2s;
}
.reco-book-btn:hover {
  background: var(--primary); color: var(--on-primary, #fff);
  border-color: var(--primary);
}

/* ── Compact Search Bar ──────────────────── */
.search-bar-compact {
  display: flex; gap: 12px;
  background: var(--surface-container-lowest, var(--card-bg));
  border: 1px solid var(--outline-variant, var(--border-color));
  border-radius: var(--radius-xl, 12px);
  padding: 12px 16px;
  margin-bottom: var(--space-md, 16px);
  box-shadow: var(--shadow-ambient);
}
.search-field-compact {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--surface-container, var(--bg-surface-2));
  border-radius: var(--radius-md); border: 1px solid transparent;
  transition: border-color 0.2s;
}
.search-field-compact:focus-within { border-color: var(--primary); }
.search-field-compact .material-icons-round { font-size: 20px; color: var(--text-muted); }
.search-field-compact input {
  flex: 1; border: none; background: transparent; outline: none;
  font: var(--font-body-md); color: var(--text-primary);
}
.search-field-compact input::placeholder { color: var(--text-muted); }
.search-btn-compact {
  background: var(--primary); color: var(--on-primary, #fff);
  border: none; border-radius: var(--radius-md);
  padding: 8px 20px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  font: var(--font-label-sm); letter-spacing: var(--letter-label);
  transition: all 0.2s; white-space: nowrap;
}
.search-btn-compact:hover { filter: brightness(1.1); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE: TABLET & MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .customer-sidebar { transform: translateX(-100%); }
  .customer-sidebar.open { transform: translateX(0); box-shadow: var(--shadow-float); }
  .customer-main { margin-left: 0; }
  .mobile-menu-bar { display: flex; }
  .utility-bar { margin-top: 56px; }
  .reco-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .active-booking-card { flex-direction: column; }
  .booking-image { width: 100%; min-width: unset; }
  .booking-status-chip { top: 8px; right: 8px; }
  .search-bar-compact { flex-direction: column; }
  .search-btn-compact { justify-content: center; }
  .main-content-area { padding: var(--space-md); }
  .utility-title { font-size: 24px; }
}
@media (max-width: 480px) {
  .booking-specs-grid { grid-template-columns: 1fr; }
  .booking-actions { flex-direction: column; }
  .filter-bar { flex-wrap: wrap; gap: 6px; }
}

/* ═══════════════════════════════════════════════════════════════
   MY BOOKINGS PAGE
   ═══════════════════════════════════════════════════════════════ */
/* Stats Row */
.mybk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.mybk-stat {
  background: var(--surface-container-lowest, var(--card-bg));
  padding: 20px; border-radius: var(--radius-xl, 14px);
  border: 1px solid var(--outline-variant, var(--border-color));
  box-shadow: var(--shadow-ambient);
  display: flex; align-items: center; gap: 16px;
}
.mybk-stat-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg, 12px);
  display: flex; align-items: center; justify-content: center;
}
.mybk-stat-icon.blue { background: #EFF6FF; color: var(--primary); }
.mybk-stat-icon.green { background: #ECFDF5; color: var(--success); }
.mybk-stat-icon.slate { background: var(--surface-container, var(--slate-100)); color: var(--text-secondary); }
.mybk-stat-icon .material-icons-round { font-size: 24px; }
.mybk-stat-label { font: var(--font-label-sm); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.mybk-stat-value { font-size: 24px; font-weight: 700; color: var(--text-primary); }

/* Active Rental Highlight */
.active-rental {
  background: var(--surface-container-lowest, var(--card-bg));
  border-radius: var(--radius-xl, 16px); overflow: hidden;
  border: 2px solid rgba(59,130,246,0.2);
  box-shadow: 0 0 20px rgba(59,130,246,0.1);
  display: grid; grid-template-columns: 340px 1fr; margin-bottom: 28px;
}
.active-rental-img { position: relative; overflow: hidden; }
.active-rental-img img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.active-badge {
  position: absolute; top: 12px; right: 12px; background: var(--success); color: white;
  font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 6px;
}
.active-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: white; animation: mybk-pulse 2s infinite; }
@keyframes mybk-pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.active-rental-body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.active-rental-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.active-rental-total { text-align: right; }
.active-rental-label { font: var(--font-label-sm); color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.active-rental-body h2 { font: var(--font-h2); color: var(--text-primary); margin: 4px 0 2px; }
.active-rental-meta { font: var(--font-body-md); color: var(--text-secondary); }
.active-rental-price { font-size: 20px; font-weight: 700; color: var(--primary); }
.active-rental-price-label { font: var(--font-label-sm); color: var(--text-secondary); }
.rental-progress { margin: 16px 0; }
.rental-progress-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.rental-progress-bar { width: 100%; height: 6px; background: var(--surface-container, var(--slate-100)); border-radius: var(--radius-full); overflow: hidden; }
.rental-progress-fill { height: 100%; background: var(--primary); border-radius: var(--radius-full); transition: width 0.6s ease; }
.rental-progress-fill.is-two-thirds { width: 66%; }
.active-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.active-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px;
  border-radius: var(--radius-md, 10px); font-family: 'Inter', sans-serif;
  font: var(--font-label-sm); cursor: pointer; transition: all 0.2s; border: none;
}
.active-action-btn.primary { background: var(--primary); color: var(--on-primary, white); }
.active-action-btn.primary:hover { filter: brightness(1.1); }
.active-action-btn.outline { background: transparent; border: 1px solid var(--outline-variant, var(--border-color)); color: var(--text-primary); }
.active-action-btn.outline:hover { background: var(--surface-container, var(--bg-surface-2)); }
.active-action-btn .material-icons-round { font-size: 18px; }

/* Filter Tabs */
.mybk-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--outline-variant, var(--border-color)); margin-bottom: 20px; }
.mybk-tab {
  padding: 12px 0; font: var(--font-body-md); color: var(--text-secondary);
  border-bottom: 2px solid transparent; cursor: pointer; transition: all 0.2s;
  background: none; border-top: none; border-left: none; border-right: none; font-family: 'Inter', sans-serif;
}
.mybk-tab:hover { color: var(--primary); }
.mybk-tab.active { color: var(--primary); font-weight: 700; border-bottom-color: var(--primary); }

/* Booking Cards */
.mybk-list { display: flex; flex-direction: column; gap: 12px; }
.mybk-card {
  background: var(--surface-container-lowest, var(--card-bg));
  padding: 16px; border-radius: var(--radius-xl, 14px);
  border: 1px solid var(--outline-variant, var(--border-color));
  display: flex; align-items: center; gap: 20px; transition: box-shadow 0.2s;
}
.mybk-card:hover { box-shadow: var(--shadow-float); }
.mybk-card.faded { opacity: 0.7; }
.mybk-card.faded:hover { opacity: 1; }
.mybk-card-img { width: 120px; height: 80px; border-radius: var(--radius-md, 10px); overflow: hidden; flex-shrink: 0; background: var(--surface-container, var(--slate-100)); }
.mybk-card-img img { width: 100%; height: 100%; object-fit: cover; }
.mybk-card-img.grayscale img { filter: grayscale(1); }
.mybk-card-body { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr 0.8fr 1fr; gap: 16px; align-items: center; }
.mybk-card-name { font: var(--font-h3); color: var(--text-primary); }
.mybk-card-id { font: var(--font-label-sm); color: var(--text-secondary); }
.mybk-card-label { font: var(--font-label-sm); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.mybk-card-date { font: var(--font-body-md); font-weight: 600; color: var(--text-primary); }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-full); font: var(--font-label-sm); font-weight: 700; }
.status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.status-badge.upcoming { background: #EFF6FF; color: #1D4ED8; }
.status-badge.upcoming::before { background: #1D4ED8; }
.status-badge.completed { background: var(--surface-container, var(--slate-100)); color: var(--text-secondary); }
.status-badge.completed::before { background: var(--text-muted); }
.status-badge.cancelled { background: #FEF2F2; color: #DC2626; }
.status-badge.cancelled::before { background: #DC2626; }
.status-badge.active { background: #ECFDF5; color: #059669; }
.status-badge.active::before { background: #059669; }
.mybk-card-price { font: var(--font-h3); color: var(--text-primary); text-align: right; }
.mybk-card-price.is-muted { color: var(--slate-400); }
.mybk-card-actions { display: flex; gap: 8px; margin-top: 4px; justify-content: flex-end; }
.mybk-card-actions button { background: none; border: none; font-family: 'Inter', sans-serif; font: var(--font-label-sm); font-weight: 700; cursor: pointer; padding: 0; }
.mybk-card-actions .view-btn { color: var(--primary); }
.mybk-card-actions .cancel-btn { color: #DC2626; }
.mybk-card-actions .rebook-btn { color: var(--primary); }
.mybk-card-actions .divider { color: var(--outline-variant, var(--border-color)); }

/* Pagination */
.mybk-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.mybk-page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md, 10px);
  border: 1px solid var(--outline-variant, var(--border-color));
  background: var(--surface-container-lowest, var(--card-bg));
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.mybk-page-btn:hover { background: var(--surface-container, var(--bg-surface-2)); }
.mybk-page-btn.active { background: var(--primary); color: var(--on-primary, white); border-color: var(--primary); }
.mybk-page-btn:disabled { opacity: 0.3; cursor: default; }
.mybk-page-icon { font-size: 18px; }

/* My Bookings Responsive */
@media (max-width: 900px) {
  .mybk-stats { grid-template-columns: 1fr; }
  .active-rental { grid-template-columns: 1fr; }
  .active-rental-img img { height: 200px; }
  .mybk-card { flex-direction: column; text-align: center; }
  .mybk-card-body { grid-template-columns: 1fr; text-align: center; }
  .mybk-card-img { width: 100%; height: 160px; }
  .active-actions { grid-template-columns: 1fr; }
}

/* Utility Bar subtitle */
.utility-subtitle { font: var(--font-body-md); color: var(--text-secondary); margin-top: 2px; }

.navbar {
  background: white; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; border-bottom: 1px solid var(--slate-200);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 44px; height: 44px; object-fit: contain;
}
.brand-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.brand-text .we { color: #3B82F6; }
.brand-text .drive { color: #1E293B; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--slate-600); text-decoration: none; transition: all 0.2s;
}
.nav-link:hover { background: var(--slate-100); color: var(--navy); }
.nav-link.active { color: var(--primary); background: #EFF6FF; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-outline {
  padding: 8px 18px; border: 1.5px solid var(--slate-200); border-radius: 8px;
  background: white; font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 600; color: var(--navy); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary {
  padding: 9px 20px; background: var(--primary); color: white;
  border: none; border-radius: 8px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); }
.user-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 30px;
  background: var(--slate-50); border: 1px solid var(--slate-200);
  cursor: pointer; transition: all 0.2s;
}
.user-pill:hover { border-color: var(--slate-400); }
.user-av {
  width: 28px; height: 28px; background: var(--primary);
  color: white; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.user-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.btn-logout {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: none; border-radius: 8px;
  background: transparent; color: #EF4444;
  font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-logout:hover { background: #FEF2F2; }

/* HERO */
.hero {
  background: linear-gradient(270deg,
    #0F172A 0%,
    #1E3A8A 25%,
    #1D4ED8 50%,
    #1E3A8A 75%,
    #0F172A 100%);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  padding: 60px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-greeting {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 8px 20px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.2);
  color: white; font-weight: 600; font-size: 14px; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.hero-wave-icon { font-size: 20px; vertical-align: middle; }
.search-btn-icon { font-size: 18px; }


/* Floating blobs -- same effect as index.html left-panel */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.35;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #3B82F6, #1D4ED8);
  top: -100px; right: -80px;
  animation: blobFloat1 9s ease-in-out infinite;
}
.hero::after {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #6366F1, #0EA5E9);
  bottom: -80px; left: -60px;
  animation: blobFloat2 12s ease-in-out infinite;
}

.hero h1 { color: white; font-size: 44px; font-weight: 700; letter-spacing: -1px; margin-bottom: 14px; position: relative; z-index: 1; }
.hero h1 span { color: #60A5FA; }
.hero p { color: #94A3B8; font-size: 17px; margin-bottom: 36px; position: relative; z-index: 1; }
.search-box { position: relative; z-index: 1; }

/* SEARCH BOX */
.search-box {
  background: white; border-radius: 16px; padding: 24px 28px;
  max-width: 900px; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.search-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 16px; align-items: end; }
.search-field label { font-size: 12px; font-weight: 600; color: var(--slate-600); margin-bottom: 8px; display: block; }
.search-field .input-wrap { position: relative; }
.search-field .material-icons-round {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--slate-400); font-size: 18px;
}
.search-field input, .search-field select {
  width: 100%; padding: 11px 12px 11px 40px;
  border: 1.5px solid var(--slate-200); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--navy);
  background: var(--slate-50); outline: none; transition: all 0.2s;
}
.search-field input:focus, .search-field select:focus {
  border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.btn-search {
  padding: 11px 28px; background: var(--primary); color: white;
  border: none; border-radius: 10px; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.btn-search:hover { background: var(--primary-dark); }

/* CONTENT */
.content { max-width: 1200px; margin: 0 auto; padding: 40px; }

/* FILTERS */
.filter-bar {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 28px; flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 18px; border-radius: 20px; border: 1.5px solid var(--slate-200);
  background: white; font-size: 13px; font-weight: 500; color: var(--slate-600);
  cursor: pointer; transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
.results-count { margin-left: auto; font-size: 14px; color: var(--slate-400); }

/* CAR GRID */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.car-card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: all 0.25s;
  cursor: pointer;
}
.car-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.car-img {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
  display: flex; align-items: center; justify-content: center;
}
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.car-img .no-img { font-size: 64px; opacity: 0.3; }
.ai-chip {
  position: absolute; top: 12px; right: 12px;
  background: rgba(16,185,129,0.9); color: white;
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
  -webkit-backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; gap: 4px;
}
.car-body { padding: 18px; }
.car-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.car-body .car-type { font-size: 12px; color: var(--slate-400); margin-bottom: 14px; }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.spec { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--slate-600); }
.spec .material-icons-round { font-size: 16px; color: var(--slate-400); }
.car-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--slate-100); }
.price { font-size: 20px; font-weight: 700; color: var(--primary); }
.price span { font-size: 12px; font-weight: 400; color: var(--slate-400); }
.btn-book {
  padding: 9px 20px; background: var(--primary); color: white;
  border: none; border-radius: 8px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-book:hover { background: var(--primary-dark); }

/* GUEST SHOWROOM */
.guest-page {
  background:
    linear-gradient(180deg, rgba(59,130,246,0.07), transparent 420px),
    var(--bg-body, var(--slate-50));
  overflow-x: hidden;
}

.guest-page .login-banner {
  background: linear-gradient(90deg, #0F172A, #1D4ED8 58%, #10B981);
  color: #FFFFFF;
  padding: 10px 20px;
  position: relative;
  z-index: 1001;
}

.guest-page .login-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
}

.guest-page .login-banner .material-icons-round {
  font-size: 18px;
}

.guest-page .login-banner a {
  color: #0F172A;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 16px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-page .login-banner a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.22);
}

.guest-page .guest-hero {
  text-align: left;
  padding: 64px 40px 48px;
  background:
    linear-gradient(105deg, rgba(2,6,23,0.96) 0%, rgba(15,23,42,0.92) 52%, rgba(29,78,216,0.78) 100%),
    #0F172A !important;
}

.guest-page .guest-hero::before,
.guest-page .guest-hero::after {
  display: none;
}

.guest-hero-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.62fr);
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.guest-hero-copy {
  max-width: 690px;
}

.guest-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #93C5FD;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.guest-kicker .material-icons-round {
  font-size: 17px;
  color: #FBBF24;
}

.guest-page .guest-hero h1 {
  max-width: 720px;
  font-size: 72px;
  line-height: 0.96;
  letter-spacing: 0;
  margin: 20px 0 20px;
}

.guest-page .guest-hero h1 span {
  color: #BFDBFE;
}

.guest-page .guest-hero p {
  max-width: 590px;
  color: #CBD5E1;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero-btn-primary,
.hero-btn-outline {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 34px rgba(29,78,216,0.28);
}

.hero-btn-primary:hover,
.hero-btn-outline:hover {
  transform: translateY(-2px);
}

.hero-btn-outline {
  color: #FFFFFF;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.28);
  -webkit-backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(10px);
}

.hero-btn-outline.dark {
  color: var(--text-primary, #1E293B);
  background: var(--bg-surface, #FFFFFF);
  border-color: var(--border-color, #E2E8F0);
}

.guest-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 620px;
}

.guest-metrics div {
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.guest-metrics strong {
  display: block;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}

.guest-metrics span {
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 600;
}

.guest-hero-showcase {
  justify-self: end;
  width: min(100%, 390px);
  border-radius: 24px;
  padding: 14px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 30px 90px rgba(0,0,0,0.36);
  -webkit-backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(16px);
}

.showcase-main {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #F8FAFC, #DBEAFE);
}

.showcase-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  min-height: 54px;
  color: #1E293B;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.showcase-status {
  color: #047857;
  background: #D1FAE5;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.showcase-main img {
  display: block;
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.showcase-copy {
  min-height: 150px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.showcase-copy span {
  display: block;
  color: #2563EB;
  font-size: 12px;
  font-weight: 800;
  margin: 0;
}

.showcase-copy h2 {
  color: #0F172A;
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
}

.guest-hero .showcase-copy p {
  color: #1D4ED8;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.showcase-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.showcase-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,0.42);
  color: #FFFFFF;
  font-size: 12px;
}

.showcase-strip .material-icons-round {
  flex: 0 0 auto;
  font-size: 17px;
  color: #FBBF24;
}

.showcase-strip strong {
  display: block;
  min-width: 0;
  font-size: 15px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.guest-hero-showcase.is-changing .showcase-main img,
.guest-hero-showcase.is-changing .showcase-copy {
  opacity: 0.35;
  transform: translateY(4px);
}

.showcase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.showcase-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.showcase-dots button.active {
  width: 24px;
  background: #FFFFFF;
}

.guest-search {
  max-width: 1180px;
  margin-top: 34px;
  border: 1px solid rgba(255,255,255,0.12);
}

.guest-search .search-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary, #1E293B);
  font-weight: 800;
  margin-bottom: 16px;
}

.guest-search .search-title .material-icons-round {
  color: var(--primary);
}

.guest-page .guest-search .search-grid {
  grid-template-columns: 1.2fr 1fr 1fr 0.95fr auto;
}

.guest-search .select-wrap {
  position: relative;
}

.guest-search .select-wrap .material-icons-round {
  z-index: 2;
  pointer-events: none;
}

.guest-search .select-wrap select {
  position: relative;
  z-index: 1;
  -webkit-appearance: none;
  appearance: none;
  padding-left: 48px !important;
  padding-right: 38px !important;
}

.guest-search .select-wrap::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-secondary, #475569);
  border-bottom: 2px solid var(--text-secondary, #475569);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.guest-content {
  max-width: 1180px;
  padding: 56px 40px;
}

.guest-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.guest-section-heading.centered {
  display: block;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.guest-section-heading .section-eyebrow {
  color: var(--primary);
  background: var(--primary-light, #EFF6FF);
  border-color: transparent;
  margin-bottom: 12px;
}

.guest-section-heading h2 {
  color: var(--text-primary, #1E293B);
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

.guest-section-heading p {
  color: var(--text-secondary, #475569);
  margin-top: 10px;
  max-width: 560px;
  line-height: 1.65;
}

.car-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.guest-switch,
.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  color: var(--text-secondary, #475569);
  font-size: 13px;
  font-weight: 700;
}

.guest-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.guest-switch span {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--bg-surface-3, #E2E8F0);
  position: relative;
  transition: background 0.2s ease;
}

.guest-switch span::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 5px rgba(15,23,42,0.22);
  transition: transform 0.2s ease;
}

.guest-switch input:checked + span {
  background: var(--success, #10B981);
}

.guest-switch input:checked + span::after {
  transform: translateX(14px);
}

.sort-control select {
  border: 0;
  background: transparent;
  color: var(--text-primary, #1E293B);
  font: inherit;
  outline: none;
}

.guest-filter-bar {
  padding: 12px;
  border-radius: 14px;
  background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  box-shadow: var(--card-shadow, 0 1px 4px rgba(0,0,0,0.06));
}

.melaka-guide {
  padding: 64px 40px;
  background: var(--bg-surface, #FFFFFF);
  border-top: 1px solid var(--border-color, #E2E8F0);
  border-bottom: 1px solid var(--border-color, #E2E8F0);
}

.melaka-guide .guest-section-heading {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.melaka-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.melaka-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  box-shadow: var(--card-shadow, 0 1px 4px rgba(0,0,0,0.06));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.melaka-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary, #3B82F6);
  box-shadow: var(--card-shadow-hover, 0 4px 16px rgba(0,0,0,0.10));
}

.melaka-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--primary, #3B82F6);
  background: var(--primary-light, #EFF6FF);
  margin-bottom: 18px;
}

.melaka-icon .material-icons-round {
  font-size: 24px;
}

.melaka-card h3 {
  color: var(--text-primary, #1E293B);
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.melaka-card p {
  color: var(--text-secondary, #475569);
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.melaka-car-tip {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bg-surface-2, #F1F5F9);
  color: var(--text-primary, #1E293B);
  font-size: 12px;
  font-weight: 800;
}

.melaka-car-tip .material-icons-round {
  font-size: 15px;
  color: var(--primary, #3B82F6);
}

.guest-cars-grid .car-card {
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 18px;
}

.guest-cars-grid .car-card:hover {
  transform: translateY(-6px);
}

.car-card .car-img {
  height: 210px;
}

.car-img::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(15,23,42,0.55));
  pointer-events: none;
}

.car-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 1;
}

.status-pill,
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  background: rgba(15,23,42,0.74);
  -webkit-backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(8px);
}

.status-pill.available {
  background: rgba(16,185,129,0.92);
}

.status-pill.rented {
  background: rgba(239,68,68,0.92);
}

.rating-pill .material-icons-round {
  font-size: 14px;
  color: #FBBF24;
}

.car-body .car-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.car-body .car-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0;
}

.car-body .car-type::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.car-body h3 {
  font-size: 19px;
  line-height: 1.2;
}

.car-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.car-meta span {
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--bg-surface-2, #F1F5F9);
  color: var(--text-secondary, #475569);
  font-size: 11px;
  font-weight: 700;
}

.ai-chip {
  position: static;
  width: fit-content;
  margin-top: 14px;
  background: rgba(16,185,129,0.12);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.22);
  -webkit-backdrop-filter: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: none;
}

.car-footer {
  gap: 12px;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
}

.btn-book-guest {
  background: #0F172A;
}

.btn-book-guest:hover {
  background: var(--primary-dark);
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px dashed var(--border-color, #E2E8F0);
  border-radius: 18px;
  background: var(--bg-surface, #FFFFFF);
  color: var(--text-secondary, #475569);
  text-align: center;
  padding: 28px;
}

.empty-state .material-icons-round {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 8px;
}

.guest-steps {
  padding: 64px 40px;
  background:
    linear-gradient(180deg, transparent, rgba(16,185,129,0.06)),
    var(--bg-body, #F8FAFC);
  border-top: 1px solid var(--border-color, #E2E8F0);
}

.steps-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  box-shadow: var(--card-shadow, 0 1px 4px rgba(0,0,0,0.06));
  text-align: left;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-icon .material-icons-round {
  font-size: 26px;
}

.step-icon.blue {
  color: #2563EB;
  background: #DBEAFE;
}

.step-icon.green {
  color: #047857;
  background: #D1FAE5;
}

.step-icon.amber {
  color: #B45309;
  background: #FEF3C7;
}

.step-card h3 {
  color: var(--text-primary, #1E293B);
  font-size: 17px;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary, #475569);
  font-size: 13px;
  line-height: 1.6;
}

.steps-action {
  margin-top: 34px;
  text-align: center;
}

.guest-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2,6,23,0.72);
  -webkit-backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(10px);
}

.guest-modal.active {
  display: flex;
}

.guest-modal-card {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: 22px;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  box-shadow: 0 32px 90px rgba(0,0,0,0.38);
  position: relative;
}

.guest-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--text-primary, #1E293B);
  background: var(--bg-surface, #FFFFFF);
  box-shadow: var(--card-shadow, 0 1px 4px rgba(0,0,0,0.06));
  cursor: pointer;
}

.guest-modal-media {
  background: linear-gradient(135deg, #DBEAFE, #F8FAFC);
}

.guest-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.guest-modal-body {
  padding: 54px 36px 36px;
}

.guest-modal-body .section-eyebrow {
  color: var(--primary);
  background: var(--primary-light);
}

.guest-modal-body h2 {
  color: var(--text-primary, #1E293B);
  font-size: 30px;
  line-height: 1.1;
  margin: 18px 0 12px;
}

.guest-modal-body p {
  color: var(--text-secondary, #475569);
  line-height: 1.65;
}

.guest-modal-car {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-surface-2, #F1F5F9);
  color: var(--text-primary, #1E293B);
  font-weight: 800;
}

.guest-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

body.night-mode .guest-page,
body.guest-page.night-mode {
  background: var(--bg-body, #0D1117);
}

body.night-mode .showcase-main {
  background: linear-gradient(180deg, #E2E8F0, #BFDBFE);
}

body.night-mode .ai-chip {
  color: #A7F3D0;
  background: rgba(16,185,129,0.14);
}

body.night-mode .hero-btn-outline.dark {
  color: var(--text-primary, #F0F6FC);
  background: var(--bg-surface-2, #21262D);
}

body.night-mode .guest-modal-media {
  background: linear-gradient(135deg, #0F172A, #1D4ED8);
}

body.night-mode .melaka-guide {
  background: var(--bg-body, #0D1117);
}

@media (max-width: 1080px) {
  .guest-hero-shell {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .guest-hero-copy {
    min-width: 0;
  }

  .guest-page .guest-hero h1 {
    font-size: 58px;
  }

  .guest-hero-showcase {
    justify-self: stretch;
    width: 100%;
    max-width: 560px;
  }

  .guest-page .guest-search .search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-page .guest-search .btn-search {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .guest-section-heading {
    display: block;
  }

  .car-tools {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .melaka-grid,
  .steps-grid,
  .guest-modal-card {
    grid-template-columns: 1fr;
  }

  .guest-modal-media img {
    min-height: 240px;
    max-height: 320px;
  }
}

@media (max-width: 640px) {
  .guest-page .navbar {
    gap: 8px;
    padding: 0 14px;
  }

  .guest-page .brand-logo {
    width: 28px;
    height: 28px;
  }

  .guest-page .brand-text {
    font-size: 18px;
  }

  .guest-page .nav-actions {
    gap: 6px;
  }

  .guest-page .nav-actions .btn-primary,
  .guest-page .nav-actions .btn-outline {
    display: none;
  }

  .guest-page .login-banner-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .guest-page .guest-hero {
    padding: 44px 18px 34px;
  }

  .guest-page .guest-hero-shell,
  .guest-page .guest-hero-copy,
  .guest-page .guest-hero h1,
  .guest-page .guest-hero p,
  .guest-page .hero-cta,
  .guest-page .guest-metrics,
  .guest-page .guest-hero-showcase,
  .guest-page .guest-search {
    width: 100%;
    max-width: 354px;
  }

  .guest-page .guest-hero-shell,
  .guest-page .guest-search {
    margin-left: 0;
    margin-right: 0;
  }

  .guest-page .guest-hero h1 {
    font-size: 34px;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .guest-page .guest-hero p {
    font-size: 15px;
  }

  .guest-section-heading h2 {
    font-size: 30px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
  }

  .guest-metrics,
  .showcase-strip,
  .guest-page .guest-search .search-grid,
  .cars-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .guest-content,
  .melaka-guide,
  .guest-steps {
    padding: 42px 18px;
  }

  .guest-filter-bar {
    align-items: stretch;
  }

  .guest-filter-bar .filter-chip {
    flex: 1 1 calc(50% - 10px);
  }

  .results-count {
    width: 100%;
    margin-left: 0;
  }

  .car-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-book {
    width: 100%;
  }

  .guest-modal {
    padding: 14px;
  }

  .guest-modal-body {
    padding: 44px 22px 24px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   CAR DETAILS PAGE - Premium Luxury Styling
   (Merged from car-details.css)
   ═══════════════════════════════════════════════════════════════ */

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted, #64748b);
}
.breadcrumb a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted, #64748b);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--primary, #2563eb); }
.breadcrumb .sep { font-size: 16px; }
.breadcrumb .current { color: var(--primary, #2563eb); font-weight: 600; }

/* ── HERO SECTION ────────────────────────────────────────────── */
.car-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Gallery */
.hero-gallery { display: flex; flex-direction: column; gap: 12px; }

.gallery-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg, #f1f5f9);
  aspect-ratio: 16/10;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.gallery-main:hover img { transform: scale(1.03); }

.gallery-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary, #1e293b);
}
.gallery-badge .material-icons-round {
  font-size: 16px;
  color: var(--primary, #2563eb);
}

.gallery-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.gal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .3s;
}
.gal-dot.active {
  background: var(--primary, #2563eb);
  width: 24px;
  border-radius: 4px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s;
  opacity: .7;
}
.thumb:hover, .thumb.active { border-color: var(--primary, #2563eb); opacity: 1; }
.thumb-360, .thumb-interior {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--card-bg, #f1f5f9);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary, #2563eb);
}
.thumb-360 .material-icons-round,
.thumb-interior .material-icons-round { font-size: 24px; }

/* Hero Info */
.hero-info {
  position: sticky;
  top: 90px;
  background: var(--card-bg, #ffffff);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  border: 1px solid var(--border, rgba(0,0,0,.06));
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.info-header h1 { font-size: 28px; font-weight: 800; color: var(--text-primary, #1e293b); line-height: 1.2; }
.car-subtitle { font-size: 14px; color: var(--text-muted, #64748b); margin-top: 4px; }
.model-badge {
  background: rgba(37,99,235,.08);
  color: var(--primary, #2563eb);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: .02em;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border, rgba(0,0,0,.08));
  flex-wrap: wrap;
}
.price { font-size: 32px; font-weight: 800; color: var(--primary, #2563eb); }
.per-day { font-size: 14px; color: var(--text-muted, #64748b); }
.ai-price-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: auto;
}
.ai-price-tag .material-icons-round { font-size: 14px; }

.availability-list { display: flex; flex-direction: column; gap: 10px; }
.availability-list p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary, #475569);
}
.availability-list .material-icons-round { font-size: 18px; color: var(--primary, #2563eb); }

.btn-book-now {
  width: 100%;
  background: var(--primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.btn-book-now::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.btn-book-now:hover::before { left: 100%; }
.btn-book-now:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }

.free-cancel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #059669;
  text-align: center;
  justify-content: center;
}
.free-cancel .material-icons-round { font-size: 16px; }

/* ── SPECS SECTION ───────────────────────────────────────────── */
.specs-section, .ai-section, .policy-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.section-title .material-icons-round { color: var(--primary, #2563eb); font-size: 24px; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37,99,235,.06), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.spec-card:hover::before { opacity: 1; }
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }

.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37,99,235,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-icon .material-icons-round { font-size: 22px; color: var(--primary, #2563eb); }
.spec-value { font-size: 24px; font-weight: 800; color: var(--text-primary, #1e293b); }
.spec-value small { font-size: 14px; font-weight: 600; }
.spec-label { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted, #64748b); }

/* ── AI SECTION ──────────────────────────────────────────────── */
.ai-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.ai-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .4s;
}
.ai-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.ai-card h3 { font-size: 17px; font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 8px; }
.ai-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted, #64748b); }

.ai-card-large {
  grid-row: span 1;
  border-left: 4px solid var(--primary, #2563eb);
}
.ai-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: rgba(37,99,235,.08);
  border-radius: 50%;
  filter: blur(40px);
}

.ai-icon { font-size: 28px; color: var(--primary, #2563eb); margin-bottom: 12px; display: block; }

/* ── POLICY SECTION ──────────────────────────────────────────── */
.policy-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.06));
  border-radius: 14px;
  overflow: hidden;
  padding: 24px;
}
.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 0;
}
.policy-item .material-icons-round { font-size: 22px; color: var(--text-muted, #64748b); margin-top: 2px; }
.policy-item h4 { font-size: 15px; font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 4px; }
.policy-item p { font-size: 13px; color: var(--text-muted, #64748b); line-height: 1.5; }
.policy-divider { height: 1px; background: var(--border, rgba(0,0,0,.06)); margin: 12px 0; }

/* ── STICKY BOTTOM CTA (mobile) ──────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-bg, #fff);
  border-top: 1px solid var(--border, rgba(0,0,0,.08));
  padding: 12px 20px;
  z-index: 90;
  align-items: center;
  justify-content: space-between;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.sticky-price strong { font-size: 20px; color: var(--primary, #2563eb); }
.sticky-price span { font-size: 13px; color: var(--text-muted, #64748b); }
.sticky-cta button {
  background: var(--primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .car-hero { grid-template-columns: 1fr; padding: 0 16px 32px; }
  .hero-info { position: static; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .specs-section, .ai-section, .policy-section { padding: 0 16px 32px; }
}
@media (max-width: 600px) {
  .specs-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .spec-card { padding: 16px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}

/* ── NIGHT MODE ──────────────────────────────────────────────── */
body.night .gallery-badge { background: rgba(30,41,59,.85); color: #e2e8f0; }
body.night .ai-price-tag { background: rgba(5,150,105,.15); }
body.night .model-badge { background: rgba(37,99,235,.15); }
body.night .spec-card::before {
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(96,165,250,.1), transparent 60%);
}

/* ── COUNTER ANIMATION ───────────────────────────────────────── */
@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.spec-value.counted { animation: countPulse .3s ease-out; }

/* ═══════════════════════════════════════════════════════════════
   AI INSIGHTS PAGE
   (Merged from ai-insights.css)
   ═══════════════════════════════════════════════════════════════ */

.ai-hero { padding: 60px 32px 40px; text-align: center; position: relative; overflow: hidden; }
.ai-hero::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,.06), transparent 70%); pointer-events: none; }
.ai-hero-inner { position: relative; max-width: 600px; margin: 0 auto; }
.ai-hero .material-icons-round { font-size: 48px; color: var(--primary, #2563eb); margin-bottom: 12px; }
.ai-hero h1 { font-size: 32px; font-weight: 800; color: var(--text-primary, #1e293b); margin-bottom: 8px; }
.ai-hero p { font-size: 15px; color: var(--text-muted, #64748b); }
.ai-content { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-title { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--text-primary, #1e293b); }
.section-title .material-icons-round { color: var(--primary, #2563eb); }

/* Stats */
.ai-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.ai-stat-card { background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06)); border-radius: 14px; padding: 24px; text-align: center; transition: all .3s; }
.ai-stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.ai-stat-card > .material-icons-round { font-size: 28px; color: var(--primary, #2563eb); margin-bottom: 8px; }
.ai-stat-value { font-size: 28px; font-weight: 800; color: var(--text-primary, #1e293b); }
.ai-stat-value small { font-size: 14px; font-weight: 600; }
.ai-stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted, #64748b); text-transform: uppercase; letter-spacing: .04em; margin: 4px 0; }
.ai-stat-change { font-size: 11px; color: var(--text-muted, #94a3b8); }
.ai-stat-change.positive { color: #10b981; }

/* Recommendations */
.ai-reco-section { margin-bottom: 48px; }
.ai-reco-grid { display: flex; flex-direction: column; gap: 12px; }
.ai-reco-card { background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06)); border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; transition: all .3s; }
.ai-reco-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.reco-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(37,99,235,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.reco-icon .material-icons-round { font-size: 22px; color: var(--primary, #2563eb); }
.reco-icon.reco-green { background: rgba(16,185,129,.08); }
.reco-icon.reco-green .material-icons-round { color: #10b981; }
.reco-icon.reco-purple { background: rgba(139,92,246,.08); }
.reco-icon.reco-purple .material-icons-round { color: #8b5cf6; }
.reco-content { flex: 1; }
.reco-content h3 { font-size: 15px; font-weight: 700; color: var(--text-primary, #1e293b); margin-bottom: 2px; }
.reco-content p { font-size: 13px; color: var(--text-muted, #64748b); line-height: 1.5; }
.reco-action { background: transparent; border: 1px solid var(--border, rgba(0,0,0,.1)); border-radius: 8px; padding: 8px 14px; font-size: 12px; font-weight: 700; color: var(--primary, #2563eb); cursor: pointer; display: flex; align-items: center; gap: 4px; transition: all .2s; flex-shrink: 0; }
.reco-action:hover { background: rgba(37,99,235,.06); }
.reco-action .material-icons-round { font-size: 14px; }

/* Trips */
.trip-section { margin-bottom: 60px; }
.trip-list { display: flex; flex-direction: column; gap: 12px; }
.trip-card { background: var(--card-bg, #fff); border: 1px solid var(--border, rgba(0,0,0,.06)); border-radius: 14px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; transition: all .3s; }
.trip-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.trip-car { display: flex; align-items: center; gap: 12px; }
.trip-car .material-icons-round { font-size: 28px; color: var(--primary, #2563eb); }
.trip-car strong { font-size: 14px; color: var(--text-primary, #1e293b); display: block; }
.trip-car small { font-size: 12px; color: var(--text-muted, #94a3b8); }
.trip-stats { display: flex; gap: 24px; }
.trip-stat { text-align: center; }
.trip-stat span { display: block; font-size: 11px; color: var(--text-muted, #94a3b8); margin-bottom: 2px; }
.trip-stat strong { font-size: 14px; color: var(--text-primary, #1e293b); }
.eco-good { color: #10b981 !important; }
.eco-ok { color: #f59e0b !important; }

@media (max-width: 800px) {
  .ai-stats-row { grid-template-columns: repeat(2, 1fr); }
  .ai-reco-card { flex-direction: column; align-items: flex-start; }
  .trip-card { flex-direction: column; gap: 12px; align-items: flex-start; }
  .ai-hero h1 { font-size: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   SUPPORT & HELP PAGE
   ═══════════════════════════════════════════════════════════════ */
.support-hero {
  padding: 40px 32px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.support-hero::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.06), transparent 70%);
  pointer-events: none;
}
.support-hero-inner { max-width: 600px; margin: 0 auto; position: relative; }
.hero-icon { font-size: 48px; color: var(--primary, #2563eb); margin-bottom: 12px; display: block; }
.support-hero h1 { font-size: 28px; font-weight: 800; color: var(--text-primary, #1e293b); margin-bottom: 8px; }
.support-hero p { font-size: 15px; color: var(--text-muted, #64748b); margin-bottom: 24px; }
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-container-lowest, var(--card-bg, #fff)); border: 1px solid var(--outline-variant, rgba(0,0,0,.08));
  border-radius: var(--radius-lg, 12px); padding: 12px 16px;
  box-shadow: var(--shadow-ambient); transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within { border-color: var(--primary); box-shadow: 0 4px 20px rgba(37,99,235,.1); }
.search-bar .material-icons-round { color: var(--text-muted, #94a3b8); font-size: 22px; }
.search-bar input { flex: 1; border: none; background: none; font-size: 15px; color: var(--text-primary); outline: none; font-family: 'Inter', sans-serif; }

.quick-actions { max-width: 1100px; margin: 0 auto; padding: 0 0 32px; }
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qa-card {
  background: var(--surface-container-lowest, var(--card-bg, #fff));
  border: 1px solid var(--outline-variant, rgba(0,0,0,.06));
  border-radius: var(--radius-xl, 14px); padding: 24px; text-align: center;
  cursor: pointer; transition: all .3s; text-decoration: none; color: inherit; display: block;
}
.qa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.qa-icon {
  width: 48px; height: 48px; border-radius: var(--radius-xl, 14px);
  background: rgba(37,99,235,.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.qa-icon .material-icons-round { font-size: 24px; color: var(--primary); }
.qa-icon.qa-orange { background: rgba(245,158,11,.08); }
.qa-icon.qa-orange .material-icons-round { color: #f59e0b; }
.qa-icon.qa-green { background: rgba(16,185,129,.08); }
.qa-icon.qa-green .material-icons-round { color: #10b981; }
.qa-icon.qa-purple { background: rgba(139,92,246,.08); }
.qa-icon.qa-purple .material-icons-round { color: #8b5cf6; }
.qa-card h3 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.qa-card p { font-size: 12px; color: var(--text-muted, #64748b); }

/* FAQ Accordion */
.faq-section { max-width: 800px; margin: 0 auto; padding: 0 0 32px; }
.faq-categories { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.faq-cat {
  padding: 6px 14px; border: 1px solid var(--outline-variant, rgba(0,0,0,.1));
  border-radius: var(--radius-full, 100px); background: transparent; font-size: 12px; font-weight: 600;
  color: var(--text-muted, #64748b); cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
}
.faq-cat:hover, .faq-cat.active { background: var(--primary); color: white; border-color: var(--primary); }
.faq-item {
  border: 1px solid var(--outline-variant, rgba(0,0,0,.06)); border-radius: var(--radius-lg, 12px);
  margin-bottom: 8px; overflow: hidden; background: var(--surface-container-lowest, var(--card-bg, #fff)); transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-ambient); }
.faq-q {
  width: 100%; padding: 16px 20px; border: none; background: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--text-primary); font-family: 'Inter', sans-serif;
  cursor: pointer; text-align: left;
}
.faq-arrow { transition: transform .3s; font-size: 20px; color: var(--text-muted, #94a3b8); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 16px; }
.faq-a p { font-size: 13px; color: var(--text-muted, #64748b); line-height: 1.7; }

/* Contact Section */
.contact-section { max-width: 800px; margin: 0 auto; padding: 0 0 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  background: var(--surface-container-lowest, var(--card-bg, #fff));
  border: 1px solid var(--outline-variant, rgba(0,0,0,.06));
  border-radius: var(--radius-xl, 14px); padding: 24px; text-align: center; transition: all .3s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.contact-card .material-icons-round { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.contact-card h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--primary); font-weight: 600; }
.contact-card small { font-size: 11px; color: var(--text-muted, #94a3b8); }

/* Support Responsive */
@media (max-width: 800px) {
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .support-hero h1 { font-size: 22px; }
}
@media (max-width: 500px) {
  .qa-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   BOOKING CALENDAR POPUP
   ═══════════════════════════════════════════════════════════════ */
.booking-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.booking-popup-overlay.active {
  opacity: 1; visibility: visible;
}

.booking-popup-card {
  position: relative;
  background: var(--surface-container-lowest, #fff);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.08);
  width: 100%; max-width: 480px;
  padding: 28px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
  overflow: visible;
}
.booking-popup-overlay.active .booking-popup-card {
  transform: translateY(0) scale(1);
}

.booking-popup-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  background: var(--surface-container-high, #f1f5f9);
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.booking-popup-close:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

/* Car Preview */
.booking-popup-car-preview {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--outline-variant, rgba(0,0,0,0.06));
  margin-bottom: 20px;
}
.booking-popup-car-preview img {
  width: 120px; height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--slate-100, #f1f5f9);
}
.booking-popup-car-info { flex: 1; }
.popup-car-type {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.booking-popup-car-info h3 {
  font-size: 18px; font-weight: 700;
  color: var(--text-primary, #1e293b);
  margin: 4px 0;
}
.popup-car-price {
  font-size: 20px; font-weight: 800;
  color: var(--primary);
}
.popup-car-price span {
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary, #64748b);
}

/* Date Section */
.booking-popup-dates h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--text-primary, #1e293b);
  margin-bottom: 14px;
}
.booking-popup-dates h4 .material-icons-round {
  font-size: 20px; color: var(--primary);
}

.popup-date-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.popup-date-field label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--text-secondary, #64748b);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.popup-date-input-wrap {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-container, #f8fafc);
  border: 1.5px solid var(--outline-variant, #e2e8f0);
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.2s;
  cursor: pointer;
}
.popup-date-input-wrap:hover,
.popup-date-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.popup-date-input-wrap .material-icons-round {
  font-size: 18px; color: var(--primary); flex-shrink: 0;
}
.popup-date-input-wrap input,
.popup-date-input-wrap select {
  border: none; background: transparent;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-primary, #1e293b);
  width: 100%; outline: none;
  cursor: pointer;
}
.popup-date-input-wrap select {
  -webkit-appearance: none;
  appearance: none;
}

/* Duration/Total */
.popup-duration {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(59,130,246,0.02));
  border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.12);
  font-size: 14px; font-weight: 600;
  color: var(--text-primary, #1e293b);
  animation: fadeSlideIn 0.25s ease;
}
.popup-duration[hidden] { display: none; }
.popup-duration .material-icons-round {
  font-size: 18px; color: var(--primary);
}
.popup-total {
  margin-left: auto;
  font-size: 18px; font-weight: 800;
  color: var(--primary);
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Location */
.booking-popup-location {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--outline-variant, rgba(0,0,0,0.06));
}
.booking-popup-location label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--text-secondary, #64748b);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Proceed Button */
.booking-popup-proceed {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 24px;
  background: var(--primary, #3B82F6);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.booking-popup-proceed:hover:not(:disabled) {
  background: var(--primary-dark, #1D4ED8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}
.booking-popup-proceed:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.booking-popup-proceed .material-icons-round {
  font-size: 20px;
}

/* Flatpickr calendar - render above popup overlay (z-index:9999) */
.flatpickr-calendar {
  z-index: 10001 !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border-radius: 12px;
}

/* Booking Popup Responsive */
@media (max-width: 600px) {
  .booking-popup-overlay { padding: 12px; align-items: flex-end; }
  .booking-popup-card {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
  .popup-date-fields { grid-template-columns: 1fr; gap: 10px; }
  .booking-popup-car-preview img { width: 90px; height: 60px; }
  .booking-popup-car-info h3 { font-size: 16px; }
  .popup-car-price { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   STITCH UI UPGRADE PASS - Customer transactional pages
   ═══════════════════════════════════════════════════════════════ */
button.qa-card {
  font-family: 'Inter', sans-serif;
}

.qa-card,
.contact-card,
.ci-card {
  text-decoration: none;
}

.reco-action.is-applied,
.promo-btn.is-applied {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

.checkout-page .customer-main {
  background:
    radial-gradient(circle at 72% 12%, rgba(33, 112, 228, 0.12), transparent 34%),
    radial-gradient(circle at 16% 28%, rgba(183, 200, 225, 0.2), transparent 32%),
    var(--background, var(--bg-body, #f7f9fb));
}

.checkout-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}

.checkout-header {
  margin-bottom: 24px;
}

.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary, #0058be);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
}

.checkout-title-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.checkout-eyebrow {
  color: var(--primary, #0058be);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.checkout-header h1 {
  color: var(--text-primary, #191c1e);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 10px;
}

.checkout-header p {
  color: var(--text-secondary, #545f73);
  font-size: 15px;
  line-height: 1.65;
  max-width: 620px;
}

.checkout-secure-pill,
.summary-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--outline-variant, #c2c6d6);
  background: var(--surface-container-lowest, #fff);
  color: #004395;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(30, 41, 59, 0.06);
}

.checkout-secure-pill .material-icons-round {
  font-size: 17px;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted, #727785);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.step.active {
  color: var(--primary, #0058be);
}

.step.done {
  color: #059669;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.step.active .step-num {
  background: var(--primary, #0058be);
  border-color: var(--primary, #0058be);
  color: #fff;
}

.step.done .step-num {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

.step-line {
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: var(--outline-variant, #c2c6d6);
  flex: 0 0 auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.checkout-form-section {
  display: grid;
  gap: 18px;
}

.form-card,
.order-summary {
  background: var(--surface-container-lowest, #fff);
  border: 1px solid rgba(194, 198, 214, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(30, 41, 59, 0.07);
  position: relative;
  overflow: hidden;
}

.form-card {
  padding: 24px;
}

.form-card h2,
.form-card h3,
.order-summary h2,
.order-summary h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-primary, #191c1e);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 18px;
}

.form-card h2 .material-icons-round,
.form-card h3 .material-icons-round {
  color: var(--primary, #0058be);
}

.driver-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.driver-mode-chip {
  min-height: 44px;
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 999px;
  background: var(--surface-container-lowest, #fff);
  color: var(--text-primary, #191c1e);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.driver-mode-chip:hover,
.driver-mode-chip.active {
  border-color: var(--primary, #0058be);
  background: rgba(0, 88, 190, 0.08);
  color: var(--primary, #0058be);
}

.driver-mode-chip:active {
  transform: scale(0.98);
}

.driver-mode-chip .material-icons-round {
  font-size: 18px;
}

.driver-mode-caption {
  color: var(--text-secondary, #545f73);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.driver-panel {
  display: none;
}

.driver-panel.visible {
  display: block;
  animation: stitchFadeUp 0.35s ease both;
}

.driver-profile-card,
.driver-ocr-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 88, 190, 0.05), rgba(255, 255, 255, 0.9));
  padding: 16px 18px;
  margin-bottom: 18px;
}

.driver-profile-label {
  color: var(--primary, #0058be);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.driver-profile-card h3 {
  margin: 0 0 6px;
  color: var(--text-primary, #191c1e);
  font-size: 18px;
  font-weight: 800;
}

.driver-profile-card p,
.driver-ocr-banner p {
  margin: 0;
  color: var(--text-secondary, #545f73);
  font-size: 13px;
  line-height: 1.55;
}

.driver-profile-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #e8f7ef;
  color: #0f8a4b;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 12px;
}

.driver-profile-badge .material-icons-round,
.driver-ocr-banner .material-icons-round {
  font-size: 18px;
}

.driver-ocr-banner strong {
  display: block;
  color: var(--text-primary, #191c1e);
  font-size: 14px;
  margin-bottom: 4px;
}

.driver-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.driver-upload-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-height: 154px;
  border: 1px dashed var(--outline, #727785);
  border-radius: 16px;
  background: var(--surface-container-low, #f2f4f6);
  color: var(--text-primary, #191c1e);
  cursor: pointer;
  padding: 18px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.driver-upload-card:hover {
  border-color: var(--primary, #0058be);
  background: rgba(0, 88, 190, 0.05);
  transform: translateY(-2px);
}

.driver-upload-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.driver-upload-card .material-icons-round {
  font-size: 26px;
  color: var(--primary, #0058be);
}

.driver-upload-card strong {
  font-size: 15px;
}

.driver-upload-card small {
  color: var(--text-secondary, #545f73);
  font-size: 12px;
  line-height: 1.5;
}

.driver-ocr-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--surface-container-low, #f2f4f6);
  color: var(--text-secondary, #545f73);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.driver-ocr-progress .material-icons-round {
  font-size: 18px;
}

.driver-ocr-progress.is-scanning {
  background: rgba(0, 88, 190, 0.1);
  color: var(--primary, #0058be);
}

.driver-ocr-progress.is-ready {
  background: #e8f7ef;
  color: #0f8a4b;
}

.driver-panel .fg input[readonly] {
  color: var(--text-secondary, #545f73);
  background: linear-gradient(135deg, rgba(236, 238, 240, 0.9), rgba(247, 249, 251, 0.95));
  cursor: default;
}

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

.form-row:last-child {
  margin-bottom: 0;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fg label {
  color: var(--text-secondary, #545f73);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fg input,
.fg select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 10px;
  background: var(--surface-container-low, #f2f4f6);
  color: var(--text-primary, #191c1e);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fg input:focus,
.fg select:focus {
  border-color: var(--primary, #0058be);
  background: var(--surface-container-lowest, #fff);
  box-shadow: 0 0 0 4px rgba(0, 88, 190, 0.1);
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.pay-methods.compact {
  margin-bottom: 0;
}

.pay-method {
  min-height: 44px;
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 10px;
  background: var(--surface-container-lowest, #fff);
  color: var(--text-primary, #191c1e);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pay-method:hover,
.pay-method.active {
  border-color: var(--primary, #0058be);
  background: rgba(0, 88, 190, 0.07);
  color: var(--primary, #0058be);
}

.pay-method:active {
  transform: scale(0.98);
}

.pay-method .material-icons-round {
  font-size: 18px;
}

.payment-panel {
  display: none;
}

.payment-panel.visible {
  display: block;
  animation: stitchFadeUp 0.35s ease both;
}

.checkout-addon-list {
  display: grid;
  gap: 10px;
}

.checkout-addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 14px;
  background: var(--surface-container-low, #f2f4f6);
  color: var(--text-primary, #191c1e);
  cursor: pointer;
  padding: 14px;
}

.checkout-addon input {
  margin-top: 3px;
  accent-color: var(--primary, #0058be);
}

.checkout-addon strong,
.checkout-addon small {
  display: block;
}

.checkout-addon strong {
  font-size: 14px;
  margin-bottom: 4px;
}

.checkout-addon small {
  color: var(--text-secondary, #545f73);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-addon b {
  color: var(--primary, #0058be);
  font-size: 13px;
}

.order-summary {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.summary-car {
  display: flex;
  gap: 13px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--outline-variant, #c2c6d6);
  margin-bottom: 16px;
}

.summary-car-img {
  width: 108px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-container, #eceef0);
}

.summary-car-info h3,
.summary-car-info h4 {
  color: var(--text-primary, #191c1e);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
}

.summary-car-info p {
  color: var(--text-secondary, #545f73);
  font-size: 12px;
  line-height: 1.5;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-secondary, #545f73);
  font-size: 13px;
  padding: 7px 0;
}

.summary-row .amount {
  color: var(--text-primary, #191c1e);
  font-weight: 800;
}

.summary-row.discount,
.summary-row.discount .amount {
  color: #059669;
}

.summary-row.total {
  align-items: end;
  border-top: 1px solid var(--outline-variant, #c2c6d6);
  color: var(--text-primary, #191c1e);
  font-size: 17px;
  font-weight: 800;
  margin-top: 8px;
  padding-top: 15px;
}

.summary-row.total .amount {
  color: var(--primary, #0058be);
  font-size: 24px;
}

.ai-savings {
  align-items: flex-start;
  background: rgba(0, 88, 190, 0.07);
  border: 1px solid rgba(0, 88, 190, 0.14);
  border-radius: 12px;
  color: var(--primary, #0058be);
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  margin: 12px 0;
  padding: 12px;
}

.ai-savings .material-icons-round {
  font-size: 18px;
}

.promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 12px 0;
}

.promo-row input {
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 10px;
  background: var(--surface-container-low, #f2f4f6);
  color: var(--text-primary, #191c1e);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  min-height: 42px;
  padding: 9px 12px;
  outline: none;
}

.promo-btn,
.btn-pay {
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.promo-btn {
  min-height: 42px;
  border: 1px solid var(--primary, #0058be);
  border-radius: 10px;
  background: transparent;
  color: var(--primary, #0058be);
  font-size: 12px;
  padding: 9px 14px;
}

.promo-btn:hover {
  background: rgba(0, 88, 190, 0.08);
}

.btn-pay {
  align-items: center;
  background: var(--primary, #0058be);
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-size: 15px;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  min-height: 48px;
  padding: 13px 16px;
  width: 100%;
}

.btn-pay:hover:not(:disabled) {
  box-shadow: 0 14px 30px rgba(0, 88, 190, 0.28);
  transform: translateY(-2px);
}

.btn-pay:disabled {
  opacity: 0.88;
  cursor: wait;
}

.pay-secure {
  align-items: center;
  color: var(--text-muted, #727785);
  display: flex;
  font-size: 11px;
  gap: 5px;
  justify-content: center;
  line-height: 1.4;
  margin-top: 11px;
  text-align: center;
}

.pay-secure .material-icons-round {
  font-size: 15px;
}

.spin-icon {
  animation: spin 0.8s linear infinite;
}

.confirmed-main .confirmed-wrapper,
.receipt-main .receipt-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.confirmed-main .confirmed-card,
.receipt-card {
  box-shadow: 0 22px 60px rgba(30, 41, 59, 0.1);
}

.receipt-row.discount,
.receipt-row.discount .value {
  color: #059669;
}

.profile-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  background: var(--inverse-surface, #2d3133);
  color: var(--inverse-on-surface, #eff1f3);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.22);
  font-size: 13px;
  font-weight: 800;
  max-width: min(340px, calc(100vw - 32px));
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .checkout-wrapper {
    padding: 84px 18px 44px;
  }

  .checkout-title-row,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-title-row {
    display: grid;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 600px) {
  .checkout-steps {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }

  .step-line {
    display: none;
  }

  .checkout-steps .step {
    justify-content: flex-start;
    min-width: 0;
    white-space: normal;
  }

  .driver-upload-grid {
    grid-template-columns: 1fr;
  }

  .driver-profile-card,
  .driver-ocr-banner {
    flex-direction: column;
  }

  .form-row,
  .promo-row {
    grid-template-columns: 1fr;
  }

  .form-card,
  .order-summary {
    border-radius: 14px;
    padding: 18px;
  }

  .checkout-addon {
    grid-template-columns: auto 1fr;
  }

  .checkout-addon b {
    grid-column: 2;
  }
}

body.night-mode .customer-sidebar {
  box-shadow: 0 1px 3px rgba(0,0,0,0.26);
}
body.night-mode .sidebar-nav-item:hover,
body.night-mode .sidebar-footer-nav .sidebar-nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: #e2e8f0;
  border-color: rgba(96,165,250,0.18);
}
body.night-mode .sidebar-nav-item.active {
  background: linear-gradient(90deg, rgba(59,130,246,0.24), rgba(59,130,246,0.08));
  border-color: rgba(96,165,250,0.24);
  box-shadow: 0 12px 28px rgba(2,6,23,0.28);
}
body.night-mode .sidebar-nav-item:hover .material-icons-round,
body.night-mode .sidebar-nav-item.active .material-icons-round {
  background: rgba(96,165,250,0.16);
  color: #bfdbfe;
}
body.night-mode .utility-bar {
  background: var(--card-bg);
}
body.night-mode .active-booking-card,
body.night-mode .reco-card,
body.night-mode .search-bar-compact,
body.night-mode .mybk-stat,
body.night-mode .active-rental,
body.night-mode .mybk-card,
body.night-mode .ai-stat-card,
body.night-mode .ai-reco-card,
body.night-mode .trip-card,
body.night-mode .qa-card,
body.night-mode .faq-item,
body.night-mode .contact-card,
body.night-mode .confirmed-main .confirmed-card,
body.night-mode .receipt-main .receipt-card,
body.night-mode .hero-info,
body.night-mode .spec-card,
body.night-mode .ai-card,
body.night-mode .policy-card,
body.night-mode .sticky-cta {
  background: var(--card-bg, #111827);
  border-color: rgba(148,163,184,0.16);
  box-shadow: 0 18px 42px rgba(2,6,23,0.32);
}
body.night-mode .booking-image,
body.night-mode .car-img,
body.night-mode .mybk-card-img,
body.night-mode .active-rental-img,
body.night-mode .confirmed-main .car-summary,
body.night-mode .confirmed-main .qr-box,
body.night-mode .search-field-compact,
body.night-mode .faq-cat,
body.night-mode .search-bar,
body.night-mode .confirmed-main .ai-insight-card,
body.night-mode .confirmed-main .car-summary-img,
body.night-mode .receipt-main .receipt-divider,
body.night-mode .thumb-360,
body.night-mode .thumb-interior {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148,163,184,0.16);
}
body.night-mode .section-header p,
body.night-mode .utility-subtitle,
body.night-mode .booking-car-sub,
body.night-mode .booking-id,
body.night-mode .booking-specs-grid .spec-label,
body.night-mode .mybk-card-id,
body.night-mode .mybk-card-label,
body.night-mode .active-rental-meta,
body.night-mode .active-rental-price-label,
body.night-mode .rental-progress-row,
body.night-mode .ai-stat-label,
body.night-mode .ai-stat-change,
body.night-mode .reco-content p,
body.night-mode .trip-car small,
body.night-mode .trip-stat span,
body.night-mode .support-hero p,
body.night-mode .faq-a p,
body.night-mode .contact-card small,
body.night-mode .confirmed-main .booking-ref,
body.night-mode .confirmed-main .detail-row,
body.night-mode .confirmed-main .detail-row small,
body.night-mode .confirmed-main .ai-insight-text p,
body.night-mode .receipt-main .receipt-id small,
body.night-mode .receipt-main .receipt-row,
body.night-mode .receipt-main .receipt-footer p,
body.night-mode .breadcrumb,
body.night-mode .breadcrumb a,
body.night-mode .policy-item p,
body.night-mode .sticky-price span {
  color: #94a3b8;
}
body.night-mode .search-field-compact input,
body.night-mode .search-bar input,
body.night-mode .receipt-main .receipt-btn.outline,
body.night-mode .btn-outline,
body.night-mode .active-action-btn.outline,
body.night-mode .reco-action,
body.night-mode .faq-q,
body.night-mode .faq-cat,
body.night-mode .mybk-page-btn,
body.night-mode .mybk-tab,
body.night-mode .gallery-badge,
body.night-mode .confirmed-main .btn-outline,
body.night-mode .receipt-main .receipt-row .value,
body.night-mode .receipt-main .receipt-logo span,
body.night-mode .policy-item h4,
body.night-mode .trip-stat strong,
body.night-mode .trip-car strong,
body.night-mode .reco-content h3,
body.night-mode .ai-stat-value,
body.night-mode .section-title,
body.night-mode .booking-car-name,
body.night-mode .mybk-card-name,
body.night-mode .mybk-card-date,
body.night-mode .active-rental-body h2,
body.night-mode .confirmed-main .confirmed-header h1,
body.night-mode .confirmed-main .car-summary-info h3,
body.night-mode .confirmed-main .ai-insight-text h4,
body.night-mode .receipt-main .receipt-section h4,
body.night-mode .receipt-main .receipt-total,
body.night-mode .info-header h1,
body.night-mode .car-subtitle,
body.night-mode .availability-list p,
body.night-mode .spec-value {
  color: #e2e8f0;
}
body.night-mode .search-field-compact,
body.night-mode .search-bar,
body.night-mode .faq-item,
body.night-mode .faq-cat,
body.night-mode .reco-action,
body.night-mode .mybk-page-btn,
body.night-mode .btn-outline,
body.night-mode .active-action-btn.outline,
body.night-mode .confirmed-main .btn-outline,
body.night-mode .receipt-main .receipt-btn.outline,
body.night-mode .gallery-badge,
body.night-mode .hero-info,
body.night-mode .policy-divider,
body.night-mode .price-block,
body.night-mode .receipt-main .receipt-header,
body.night-mode .confirmed-main .confirmed-header,
body.night-mode .confirmed-main .confirmed-actions,
body.night-mode .receipt-main .receipt-footer {
  border-color: rgba(148,163,184,0.16);
}
body.night-mode .filter-chip {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148,163,184,0.18);
  color: #cbd5e1;
}
body.night-mode .filter-chip:hover {
  border-color: var(--primary);
  color: #93c5fd;
}
body.night-mode .filter-chip.active {
  background: var(--primary);
  color: #fff;
}
body.night-mode .results-count {
  color: #94a3b8;
}
body.night-mode .status-badge.upcoming {
  background: rgba(37,99,235,0.16);
  color: #93c5fd;
}
body.night-mode .status-badge.upcoming::before { background: #93c5fd; }
body.night-mode .status-badge.completed {
  background: rgba(148,163,184,0.14);
  color: #cbd5e1;
}
body.night-mode .status-badge.completed::before { background: #cbd5e1; }
body.night-mode .status-badge.cancelled {
  background: rgba(220,38,38,0.14);
  color: #fca5a5;
}
body.night-mode .status-badge.cancelled::before { background: #fca5a5; }
body.night-mode .status-badge.active {
  background: rgba(16,185,129,0.16);
  color: #86efac;
}
body.night-mode .status-badge.active::before { background: #86efac; }
body.night-mode .mybk-stat-icon.blue { background: rgba(59,130,246,0.16); color: #93c5fd; }
body.night-mode .mybk-stat-icon.green { background: rgba(16,185,129,0.16); color: #86efac; }
body.night-mode .mybk-stat-icon.slate { background: rgba(148,163,184,0.14); color: #cbd5e1; }
body.night-mode .active-badge {
  background: rgba(16,185,129,0.18);
  color: #86efac;
}
body.night-mode .booking-tag,
body.night-mode .model-badge,
body.night-mode .reco-chip,
body.night-mode .thumb-360,
body.night-mode .thumb-interior {
  background: rgba(59,130,246,0.14);
  color: #93c5fd;
}
body.night-mode .booking-tag,
body.night-mode .reco-chip {
  border-color: rgba(148,163,184,0.12);
}
body.night-mode .ai-stat-card:hover,
body.night-mode .ai-reco-card:hover,
body.night-mode .trip-card:hover,
body.night-mode .qa-card:hover,
body.night-mode .contact-card:hover,
body.night-mode .faq-item:hover,
body.night-mode .spec-card:hover,
body.night-mode .ai-card:hover,
body.night-mode .reco-card:hover,
body.night-mode .mybk-card:hover,
body.night-mode .active-booking-card:hover {
  box-shadow: 0 20px 48px rgba(2,6,23,0.36);
}
body.night-mode .ai-hero::before,
body.night-mode .support-hero::before,
body.night-mode .confirmed-main .confirmed-header::before,
body.night-mode .confirmed-main .ai-insight-card::after,
body.night-mode .ai-glow {
  opacity: 0.6;
}
body.night-mode .confirmed-main .qr-code {
  background: #fff;
  border-color: rgba(96,165,250,0.24);
}
body.night-mode .confirmed-main .btn-save-wallet:hover,
body.night-mode .reco-action:hover,
body.night-mode .receipt-main .receipt-btn.outline:hover,
body.night-mode .confirmed-main .btn-outline:hover,
body.night-mode .active-action-btn.outline:hover,
body.night-mode .btn-outline:hover {
  background: rgba(255,255,255,0.06);
}
body.night-mode .sticky-cta {
  background: rgba(15,23,42,0.92);
}
body.night-mode .gallery-badge,
body.night-mode .ai-price-tag,
body.night-mode .model-badge {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.night-mode .gallery-badge {
  background: rgba(15,23,42,0.8);
}
body.night-mode .ai-price-tag {
  background: rgba(5,150,105,0.15);
  color: #86efac;
}
body.night-mode .spec-card::before {
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(96,165,250,.1), transparent 60%);
}

@media print {
  .customer-sidebar,
  .mobile-menu-bar,
  .sidebar-overlay,
  #mobile-menu-placeholder,
  #customer-sidebar-placeholder,
  #footer-placeholder,
  #chatbot-placeholder {
    display: none !important;
  }

  .customer-main {
    margin-left: 0 !important;
    padding: 0 !important;
  }
}

/* ==========================================================================
   BOOKING PAGE
   ========================================================================== */

.booking-main .booking-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px;
}

.booking-main .booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 24px;
  align-items: start;
}

.booking-main .booking-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-main .bk-card {
  background: var(--surface-container-lowest, #fff);
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.05);
  padding: 24px;
}

.booking-main .car-summary {
  align-items: center;
  display: flex;
  gap: 20px;
}

.booking-main .car-summary-img {
  background: var(--surface-container, #eceef0);
  border-radius: 12px;
  flex-shrink: 0;
  height: 120px;
  overflow: hidden;
  width: 180px;
}

.booking-main .car-summary-img img,
.booking-main .sidebar-car-visual img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.booking-main .car-summary-info {
  flex: 1;
}

.booking-main .car-summary-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.booking-main .car-summary-info h2 {
  color: var(--text-primary, #191c1e);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.booking-main .car-summary-tag {
  color: var(--primary, #0058be);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.booking-main .car-summary-price {
  color: var(--primary, #0058be);
  font-size: 20px;
  font-weight: 800;
  margin-top: 12px;
}

.booking-main .car-price-unit {
  color: var(--text-muted, #727785);
  font-size: 14px;
  font-weight: 600;
}

.booking-main .car-rating {
  align-items: center;
  background: var(--primary-fixed, #d8e2ff);
  border-radius: 8px;
  color: var(--primary, #0058be);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 4px;
  padding: 5px 10px;
}

.booking-main .car-rating .material-icons-round {
  color: #f59e0b;
  font-size: 16px;
}

.booking-main .bk-section-title {
  align-items: center;
  color: var(--text-primary, #191c1e);
  display: flex;
  font-size: 18px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 16px;
}

.booking-main .bk-section-title .material-icons-round {
  color: var(--primary, #0058be);
  font-size: 22px;
}

.booking-main .bk-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.booking-main .bk-form-grid.full {
  grid-template-columns: 1fr;
}

.booking-main .bk-location-grid {
  margin-top: 12px;
}

.booking-main .bk-field label {
  color: var(--text-muted, #727785);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.booking-main .bk-field input,
.booking-main .bk-field select {
  background: var(--surface-container-low, #f2f4f6);
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 10px;
  color: var(--text-primary, #191c1e);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  padding: 10px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.booking-main .bk-field input:focus,
.booking-main .bk-field select:focus {
  border-color: var(--primary, #0058be);
  box-shadow: 0 0 0 3px rgba(0, 88, 190, 0.12);
}

.booking-main .addon-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.booking-main .addon-item {
  align-items: center;
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.booking-main .addon-item:hover,
.booking-main .addon-item.checked {
  background: rgba(0, 88, 190, 0.07);
  border-color: var(--primary, #0058be);
}

.booking-main .addon-left {
  align-items: center;
  display: flex;
  gap: 10px;
}

.booking-main .addon-left input[type="checkbox"] {
  accent-color: var(--primary, #0058be);
  cursor: pointer;
  height: 18px;
  width: 18px;
}

.booking-main .addon-left span {
  color: var(--text-primary, #191c1e);
  font-size: 14px;
  font-weight: 700;
}

.booking-main .addon-price {
  color: var(--text-muted, #727785);
  font-size: 12px;
  font-weight: 800;
}

.booking-main .payment-row {
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 6px 0;
}

.booking-main .payment-row .label {
  color: var(--text-secondary, #545f73);
}

.booking-main .payment-row .value {
  color: var(--text-primary, #191c1e);
  font-weight: 800;
}

.booking-main .payment-total {
  align-items: center;
  border-top: 1px solid var(--outline-variant, #c2c6d6);
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 16px;
}

.booking-main .payment-total .label {
  color: var(--text-primary, #191c1e);
  font-size: 18px;
  font-weight: 800;
}

.booking-main .payment-total .value {
  color: var(--primary, #0058be);
  font-size: 28px;
  font-weight: 800;
}

.booking-main .btn-confirm {
  align-items: center;
  background: var(--primary, #0058be);
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 88, 190, 0.24);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  min-height: 48px;
  padding: 14px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.booking-main .btn-confirm:hover:not(:disabled) {
  box-shadow: 0 14px 30px rgba(0, 88, 190, 0.3);
  transform: translateY(-1px);
}

.booking-main .btn-confirm:disabled {
  cursor: wait;
  opacity: 0.88;
}

.booking-main .booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 32px;
}

.booking-main .sidebar-car-visual {
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.booking-main .sidebar-car-visual img {
  display: block;
  height: 200px;
  transition: transform 0.5s ease;
}

.booking-main .sidebar-car-visual:hover img {
  transform: scale(1.04);
}

.booking-main .sidebar-badge {
  align-items: center;
  background: #10b981;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  padding: 5px 12px;
  position: absolute;
  right: 12px;
  top: 12px;
}

.booking-main .sidebar-badge::before {
  background: #fff;
  border-radius: 50%;
  content: '';
  height: 6px;
  width: 6px;
}

.booking-main .specs-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
}

.booking-main .spec-chip {
  align-items: center;
  background: var(--surface-container-low, #f2f4f6);
  border-radius: 10px;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
}

.booking-main .spec-chip .material-icons-round {
  color: var(--primary, #0058be);
  font-size: 18px;
}

.booking-main .spec-chip span {
  color: var(--text-primary, #191c1e);
  font-size: 12px;
  font-weight: 800;
}

.booking-main .policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.booking-main .policy-list li {
  color: var(--text-secondary, #545f73);
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.booking-main .policy-list li .material-icons-round {
  color: var(--primary, #0058be);
  flex-shrink: 0;
  font-size: 20px;
}

.booking-main .policy-link {
  align-items: center;
  border-top: 1px solid var(--outline-variant, #c2c6d6);
  color: var(--primary, #0058be);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  text-decoration: none;
}

.booking-main .policy-link:hover {
  text-decoration: underline;
}

.booking-main .policy-link .material-icons-round {
  font-size: 16px;
}

.booking-main .ai-insight {
  background: rgba(0, 88, 190, 0.07);
  border: 1px solid rgba(0, 88, 190, 0.14);
  border-radius: 16px;
  padding: 20px;
}

.booking-main .ai-insight-header {
  align-items: center;
  color: var(--primary, #0058be);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 8px;
}

.booking-main .ai-insight-header .material-icons-round {
  font-size: 20px;
}

.booking-main .ai-insight p {
  color: var(--text-secondary, #545f73);
  font-size: 14px;
  line-height: 1.6;
}

body.night-mode .booking-main .bk-card {
  background: var(--card-bg, #1e293b);
  border-color: rgba(148, 163, 184, 0.15);
}

body.night-mode .booking-main .bk-field input,
body.night-mode .booking-main .bk-field select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

body.night-mode .booking-main .addon-item {
  border-color: rgba(148, 163, 184, 0.2);
}

body.night-mode .booking-main .spec-chip {
  background: rgba(255, 255, 255, 0.06);
}

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

  .booking-main .booking-sidebar {
    position: static;
  }

  .booking-main .car-summary {
    flex-direction: column;
    text-align: center;
  }

  .booking-main .car-summary-img {
    height: 180px;
    width: 100%;
  }

  .booking-main .bk-form-grid,
  .booking-main .addon-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BOOKING CONFIRMED
   ========================================================================== */

.confirmed-main .confirmed-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 80vh;
  padding: 40px 20px;
}

.confirmed-main .confirmed-card {
  animation: cardSlideUp 0.6s ease-out;
  background: var(--surface-container-lowest, #fff);
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(30, 41, 59, 0.1);
  max-width: 820px;
  overflow: hidden;
  width: 100%;
}

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

.confirmed-main .confirmed-header {
  border-bottom: 1px solid var(--outline-variant, #c2c6d6);
  overflow: hidden;
  padding: 40px 32px;
  position: relative;
  text-align: center;
}

.confirmed-main .confirmed-header::before {
  background: radial-gradient(circle, rgba(0, 88, 190, 0.08), transparent 70%);
  content: '';
  height: 300px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: -60px;
  transform: translateX(-50%);
  width: 300px;
}

.confirmed-main .check-circle {
  align-items: center;
  animation: checkPop 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
  background: rgba(0, 88, 190, 0.09);
  border-radius: 50%;
  display: flex;
  height: 72px;
  justify-content: center;
  margin: 0 auto 16px;
  width: 72px;
}

@keyframes checkPop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.confirmed-main .check-circle .material-icons-round {
  color: var(--primary, #0058be);
  font-size: 36px;
}

.confirmed-main .confirmed-header h1 {
  color: var(--text-primary, #191c1e);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.confirmed-main .booking-ref {
  color: var(--text-muted, #727785);
  font-size: 14px;
}

.confirmed-main .booking-ref span {
  color: var(--primary, #0058be);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.confirmed-main .confirmed-content {
  display: grid;
  gap: 24px;
  grid-template-columns: 7fr 5fr;
  padding: 28px 32px;
}

.confirmed-main .summary-label {
  color: var(--text-muted, #727785);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.confirmed-main .car-summary {
  background: var(--surface-container-low, #f2f4f6);
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 12px;
  overflow: hidden;
}

.confirmed-main .car-summary-img {
  background: var(--surface-container, #eceef0);
  height: 140px;
  overflow: hidden;
}

.confirmed-main .car-summary-img img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.confirmed-main .car-summary-img:hover img {
  transform: scale(1.05);
}

.confirmed-main .car-summary-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.confirmed-main .car-summary-info h3 {
  color: var(--text-primary, #191c1e);
  font-size: 17px;
  font-weight: 800;
}

.confirmed-main .detail-row {
  align-items: flex-start;
  color: var(--text-secondary, #545f73);
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.confirmed-main .detail-row .material-icons-round {
  color: var(--text-muted, #727785);
  font-size: 18px;
  margin-top: 1px;
}

.confirmed-main .detail-row small {
  color: var(--text-muted, #727785);
  display: block;
  font-size: 11px;
  font-weight: 700;
}

.confirmed-main .qr-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirmed-main .qr-box {
  align-items: center;
  background: var(--surface-container-low, #f2f4f6);
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.confirmed-main .qr-box p {
  color: var(--text-muted, #727785);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
}

.confirmed-main .qr-code {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(0, 88, 190, 0.12);
  border-radius: 10px;
  display: flex;
  height: 130px;
  justify-content: center;
  margin-bottom: 16px;
  padding: 8px;
  position: relative;
  width: 130px;
}

.confirmed-main .qr-placeholder {
  background: repeating-conic-gradient(#1e293b 0% 25%, #fff 0% 50%) 0 0 / 12px 12px;
  border-radius: 4px;
  height: 100%;
  width: 100%;
}

.confirmed-main .btn-save-wallet {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--primary, #0058be);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  padding: 8px 16px;
  transition: background 0.2s ease;
}

.confirmed-main .btn-save-wallet:hover {
  background: rgba(0, 88, 190, 0.08);
}

.confirmed-main .btn-save-wallet .material-icons-round {
  font-size: 16px;
}

.confirmed-main .ai-insight {
  padding: 20px 32px 28px;
}

.confirmed-main .ai-insight-card {
  align-items: flex-start;
  background: rgba(0, 88, 190, 0.06);
  border: 1px solid rgba(0, 88, 190, 0.14);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  overflow: hidden;
  padding: 16px 20px;
  position: relative;
}

.confirmed-main .ai-insight-card::after {
  background: rgba(0, 88, 190, 0.08);
  border-radius: 50%;
  content: '';
  filter: blur(30px);
  height: 80px;
  position: absolute;
  right: -20px;
  top: -20px;
  width: 80px;
}

.confirmed-main .ai-badge {
  align-items: center;
  background: var(--primary, #0058be);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.confirmed-main .ai-badge .material-icons-round {
  color: #fff;
  font-size: 18px;
}

.confirmed-main .ai-insight-text h4 {
  align-items: center;
  color: var(--text-primary, #191c1e);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 4px;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.confirmed-main .ai-insight-text h4 .material-icons-round {
  color: var(--primary, #0058be);
  font-size: 14px;
}

.confirmed-main .ai-insight-text p {
  color: var(--text-muted, #727785);
  font-size: 13px;
  line-height: 1.6;
}

.confirmed-main .confirmed-actions {
  border-top: 1px solid var(--outline-variant, #c2c6d6);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 32px;
}

.confirmed-main .btn-outline,
.confirmed-main .btn-primary-action {
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.confirmed-main .btn-outline {
  background: transparent;
  border: 1px solid var(--outline-variant, #c2c6d6);
  color: var(--text-primary, #191c1e);
}

.confirmed-main .btn-outline:hover {
  background: var(--surface-container-low, #f2f4f6);
}

.confirmed-main .btn-primary-action {
  background: var(--primary, #0058be);
  border: none;
  color: #fff;
}

.confirmed-main .btn-primary-action:hover {
  box-shadow: 0 6px 20px rgba(0, 88, 190, 0.28);
  transform: translateY(-2px);
}

.confirmed-main .btn-outline .material-icons-round,
.confirmed-main .btn-primary-action .material-icons-round {
  font-size: 18px;
}

.confetti-container {
  height: 100%;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.confetti-piece {
  animation: confettiFall 3s ease-out forwards;
  height: 10px;
  position: absolute;
  top: -20px;
  width: 10px;
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@media (max-width: 700px) {
  .confirmed-main .confirmed-content {
    grid-template-columns: 1fr;
  }

  .confirmed-main .confirmed-actions {
    justify-content: center;
  }

  .confirmed-main .confirmed-header h1 {
    font-size: 22px;
  }
}

/* ==========================================================================
   RECEIPT PAGE
   ========================================================================== */

.receipt-page {
  font-family: 'Inter', sans-serif;
}

.receipt-main .receipt-wrapper {
  margin: 40px auto;
  max-width: 700px;
  padding: 0 20px;
}

.receipt-main .receipt-card {
  background: var(--surface-container-lowest, #fff);
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(30, 41, 59, 0.1);
  overflow: hidden;
}

.receipt-main .receipt-header {
  align-items: center;
  border-bottom: 1px solid var(--outline-variant, #c2c6d6);
  display: flex;
  justify-content: space-between;
  padding: 28px 32px;
}

.receipt-main .receipt-logo {
  align-items: center;
  display: flex;
  gap: 10px;
}

.receipt-main .receipt-logo img {
  width: 36px;
}

.receipt-main .receipt-logo span {
  color: var(--text-primary, #191c1e);
  font-size: 18px;
  font-weight: 800;
}

.receipt-main .receipt-id {
  text-align: right;
}

.receipt-main .receipt-id strong {
  color: var(--primary, #0058be);
  display: block;
  font-size: 13px;
}

.receipt-main .receipt-id small {
  color: var(--text-muted, #727785);
  font-size: 11px;
}

.receipt-main .receipt-body {
  padding: 24px 32px;
}

.receipt-main .receipt-section {
  margin-bottom: 20px;
}

.receipt-main .receipt-section h4 {
  color: var(--text-muted, #727785);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.receipt-main .receipt-row {
  color: var(--text-secondary, #545f73);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 6px 0;
}

.receipt-main .receipt-row .value {
  color: var(--text-primary, #191c1e);
  font-weight: 700;
}

.receipt-main .receipt-divider {
  background: var(--outline-variant, #c2c6d6);
  height: 1px;
  margin: 16px 0;
}

.receipt-main .receipt-total {
  border-top: 2px solid var(--primary, #0058be);
  color: var(--text-primary, #191c1e);
  display: flex;
  font-size: 20px;
  font-weight: 800;
  justify-content: space-between;
  margin-top: 8px;
  padding: 12px 0;
}

.receipt-main .receipt-total .total-amount {
  color: var(--primary, #0058be);
}

.receipt-main .receipt-paid {
  align-items: center;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  color: #10b981;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
  padding: 8px;
}

.receipt-main .receipt-paid .material-icons-round {
  font-size: 16px;
}

.receipt-main .receipt-footer {
  border-top: 1px solid var(--outline-variant, #c2c6d6);
  padding: 20px 32px;
  text-align: center;
}

.receipt-main .receipt-footer p {
  color: var(--text-muted, #727785);
  font-size: 12px;
  margin-bottom: 12px;
}

.receipt-main .receipt-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.receipt-main .receipt-btn {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.receipt-main .receipt-btn.outline {
  background: transparent;
  border: 1px solid var(--outline-variant, #c2c6d6);
  color: var(--text-primary, #191c1e);
}

.receipt-main .receipt-btn.outline:hover {
  background: var(--surface-container-low, #f2f4f6);
}

.receipt-main .receipt-btn.primary {
  background: var(--primary, #0058be);
  border: none;
  color: #fff;
}

.receipt-main .receipt-btn.primary:hover {
  box-shadow: 0 4px 16px rgba(0, 88, 190, 0.28);
}

.receipt-main .receipt-btn .material-icons-round {
  font-size: 16px;
}

@media print {
  .receipt-main .receipt-actions {
    display: none !important;
  }

  .receipt-main .receipt-wrapper {
    margin: 0;
  }

  .receipt-main .receipt-card {
    border: 1px solid #ddd;
    box-shadow: none;
  }
}

/* ==========================================================================
   PROFILE PAGE (Stitch-inspired, 5-Panel)
   ========================================================================== */

/* Layout */
.pf-layout { display: flex; gap: 32px; max-width: 1140px; }

.pf-inner-nav { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; align-self: flex-start; }
.pf-inner-nav-sticky { position: sticky; top: 24px; }
.pf-inner-nav-list { list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 0; margin: 0; }
.pf-inner-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--on-surface-variant, #545f73); transition: all 0.2s; }
.pf-inner-link:hover { background: var(--surface-container-low, #f2f4f6); }
.pf-inner-link.active { background: #0058be; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.pf-inner-link .material-icons-round { font-size: 18px; }
.pf-content-area { flex: 1; min-width: 0; }

/* User card */
.pf-user-card { text-align: center; padding: 20px 0 16px; }
.pf-user-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface-container-low, #f2f4f6); box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 10px; }
.pf-user-name { font-size: 15px; font-weight: 700; color: var(--on-surface, #191c1e); }
.pf-user-tier { font-size: 11px; font-weight: 700; color: #004395; margin-top: 2px; }

/* Upgrade */
.pf-upgrade-card { margin-top: 0; padding-top: 0; }
.pf-upgrade-btn { width: 100%; background: #0058be; color: #fff; border: none; border-radius: 10px; padding: 10px 16px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: filter 0.2s; }
.pf-upgrade-btn:hover { filter: brightness(1.1); }

/* Panels */
.pf-panel { display: none; flex-direction: column; gap: 20px; }
.pf-panel.active { display: flex; animation: pfFadeIn 0.3s ease; }
@keyframes pfFadeIn { from { transform: translateY(8px); } to { transform: translateY(0); } }

/* Panel header */
.pf-panel-header { margin-bottom: 4px; }
.pf-panel-title { font-size: 26px; font-weight: 700; color: var(--on-surface, #191c1e); margin: 0 0 4px; }
.pf-panel-desc { font-size: 14px; color: var(--on-surface-variant, #545f73); margin: 0; }

/* Card base */
.pf-card { background: var(--surface-container-lowest, #fff); border: 1px solid var(--outline-variant, #c2c6d6); border-radius: 12px; box-shadow: 0 2px 8px rgba(30,41,59,0.05); padding: 24px; }

/* Section titles */
.pf-section-title { font-size: 17px; font-weight: 600; color: var(--on-surface, #191c1e); margin: 0 0 16px; display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--surface-variant, #dde1e6); }
.pf-section-title .material-icons-round { font-size: 20px; color: var(--primary, #0058be); }
.pf-sub-title { font-size: 14px; font-weight: 600; color: var(--on-surface-variant, #545f73); margin: 16px 0 8px; }
.pf-card-desc { font-size: 13px; color: var(--on-surface-variant, #545f73); margin: -8px 0 16px; line-height: 1.5; }
.pf-hint { font-size: 12px; color: var(--on-surface-variant, #424754); margin-top: 8px; }
.pf-section-head-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--surface-variant, #dde1e6); }
.pf-section-head-flex .pf-section-title { margin: 0; padding: 0; border: 0; }

/* Form grid */
.pf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-field { display: flex; flex-direction: column; gap: 6px; }
.pf-field.full { grid-column: 1 / -1; }
.pf-field label { color: var(--on-surface-variant, #424754); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.pf-field input, .pf-field select { background: var(--surface-container-lowest, #fff); border: 1px solid var(--outline-variant, #c2c6d6); border-radius: 10px; color: var(--on-surface, #191c1e); font-family: 'Inter', sans-serif; font-size: 14px; outline: none; padding: 10px 14px; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; box-sizing: border-box; }
.pf-field input:focus, .pf-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,88,190,0.12); }
.pf-field input[readonly] { background: var(--surface-container-low, #f2f4f6); color: var(--on-surface, #191c1e); cursor: not-allowed; border-style: dashed; }
.pf-verified-tag { display: inline-flex; align-items: center; gap: 3px; color: #004395; font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.pf-verified-tag .material-icons-round { font-size: 14px; }

.pf-verified-shell { padding: 18px 20px; }
.pf-verified-banner { display: flex; align-items: flex-start; gap: 16px; }
.pf-verified-banner-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(0,88,190,0.08); color: var(--primary, #0058be); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-verified-banner-icon .material-icons-round { font-size: 24px; }
.pf-verified-banner-copy { flex: 1; }
.pf-verified-banner-copy strong { display: block; font-size: 15px; color: var(--on-surface); margin-bottom: 4px; }
.pf-verified-banner-copy p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--on-surface-variant); }
.pf-verified-banner-status { display: inline-flex; align-items: center; gap: 6px; background: rgba(34,197,94,0.14); color: #166534; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pf-verified-banner-status .material-icons-round { font-size: 16px; }

.pf-doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.pf-doc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 156px; border: 2px dashed var(--outline-variant, #c2c6d6); border-radius: 14px; background: var(--surface-container-lowest, #fff); padding: 18px; cursor: pointer; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.pf-doc-card:hover { border-color: var(--primary, #0058be); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30,41,59,0.08); }
.pf-doc-card input[type="file"] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.pf-doc-card .material-icons-round { font-size: 28px; color: var(--primary, #0058be); }
.pf-doc-card strong { font-size: 15px; color: var(--on-surface); }
.pf-doc-meta { font-size: 12px; color: var(--on-surface-variant); line-height: 1.5; }
.pf-doc-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: var(--surface-container-low, #f2f4f6); border: 1px solid var(--outline-variant, #c2c6d6); }
.pf-doc-progress-copy strong { display: block; font-size: 14px; color: var(--on-surface); margin-bottom: 4px; }
.pf-doc-progress-copy p { margin: 0; font-size: 12px; color: var(--on-surface-variant); line-height: 1.5; }
.pf-doc-progress-pill { border-radius: 999px; padding: 8px 12px; background: rgba(0,67,149,0.14); color: #003a82; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pf-otp-card { margin-top: 20px; padding: 18px; border-radius: 12px; border: 1px solid var(--outline-variant, #c2c6d6); background: var(--surface-container-low, #f2f4f6); }
.pf-otp-inline { margin-top: 16px; }
.pf-otp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pf-otp-head strong { display: block; font-size: 14px; color: var(--on-surface); margin-bottom: 4px; }
.pf-otp-head p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--on-surface-variant); }
.pf-otp-badge { border-radius: 999px; padding: 8px 12px; background: rgba(186,26,26,0.12); color: #b91c1c; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pf-otp-badge.verified { background: rgba(34,197,94,0.14); color: #166534; }
.pf-otp-stack { margin-bottom: 14px; }
.pf-otp-row { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; gap: 12px; align-items: end; }
.pf-otp-field { display: flex; flex-direction: column; gap: 6px; }
.pf-otp-field label { color: var(--on-surface-variant, #424754); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.pf-otp-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--on-surface-variant); }

/* Buttons */
.pf-actions-bar { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; }
.pf-actions-bar.compact { justify-content: flex-start; margin-top: 8px; }
.pf-btn { border: none; border-radius: 10px; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; padding: 10px 24px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.pf-btn .material-icons-round { font-size: 16px; }
.pf-btn.primary { background: #0058be; color: #fff; }
.pf-btn.primary:hover { filter: brightness(1.1); }
.pf-btn.outline { background: transparent; border: 1px solid var(--outline-variant, #c2c6d6); color: var(--on-surface-variant); }
.pf-btn.outline:hover { background: var(--surface-container-low, #f2f4f6); }
.pf-btn.outline.full-width { width: 100%; justify-content: center; margin-top: 12px; }
.pf-text-btn { background: none; border: none; color: #004395; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-family: 'Inter', sans-serif; padding: 0; }
.pf-text-btn:hover { text-decoration: underline; }
.pf-text-btn .material-icons-round { font-size: 16px; }
.pf-text-btn.danger { color: #dc2626; }
.pf-text-btn.primary { color: var(--primary); }

/* Bento grid */
.pf-bento-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.pf-bento-wide { grid-column: 1; }

/* Toggle switch */
.pf-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--surface-variant, #dde1e6); }
.pf-toggle-row:last-child { border-bottom: none; }
.pf-toggle-label { font-size: 14px; font-weight: 600; color: var(--on-surface, #191c1e); }
.pf-toggle-desc { font-size: 12px; color: var(--on-surface-variant, #545f73); margin-top: 2px; }
.pf-toggle-status { font-size: 12px; margin-top: 2px; }
.pf-toggle-status.off { color: #dc2626; }
.pf-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.pf-switch input { opacity: 0; width: 0; height: 0; }
.pf-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--surface-container-highest, #ccc); border-radius: 24px; transition: 0.3s; }
.pf-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.pf-switch input:checked + .pf-slider { background: var(--primary, #0058be); }
.pf-switch input:checked + .pf-slider:before { transform: translateX(20px); }

/* Session list */
.pf-session-list { display: flex; flex-direction: column; gap: 0; }
.pf-session-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--surface-variant, #dde1e6); }
.pf-session-item:last-child { border-bottom: none; }
.pf-session-icon { font-size: 24px; color: var(--on-surface-variant, #545f73); background: var(--surface-container-low, #f2f4f6); padding: 8px; border-radius: 8px; }
.pf-session-info { flex: 1; }
.pf-session-name { font-size: 14px; font-weight: 600; color: var(--on-surface); display: flex; align-items: center; gap: 8px; }
.pf-session-meta { font-size: 12px; color: var(--on-surface-variant); margin-top: 2px; }
.pf-current-badge { background: #22c55e; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.pf-session-remove { background: none; border: none; color: var(--on-surface-variant); cursor: pointer; padding: 4px; border-radius: 4px; transition: color 0.2s; }
.pf-session-remove:hover { color: #dc2626; }

/* Payment Methods */
.pf-security-banner { display: flex; align-items: center; gap: 14px; background: var(--surface-container-low, #f2f4f6); border: 1px solid var(--outline-variant, #c2c6d6); border-radius: 12px; padding: 16px 20px; font-size: 13px; color: var(--on-surface-variant); line-height: 1.5; }
.pf-security-banner .material-icons-round { font-size: 28px; color: var(--primary); flex-shrink: 0; }
.pf-security-banner strong { color: var(--on-surface); display: block; margin-bottom: 2px; }
.pf-pay-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pf-primary-pill { background: var(--primary, #0058be); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.pf-pay-card-body { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pf-card-brand-lg { display: flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 900; letter-spacing: 0.1em; }
.pf-card-brand-lg.visa { background: #1a1f71; color: #fff; }
.pf-card-number { font-size: 22px; font-weight: 600; letter-spacing: 0.08em; color: var(--on-surface); font-family: 'Courier New', monospace; }
.pf-pay-card-footer { display: flex; gap: 40px; }
.pf-pay-label { font-size: 11px; font-weight: 700; color: var(--on-surface-variant); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.pf-pay-value { font-size: 14px; font-weight: 600; color: var(--on-surface); }
.pf-insight-card { background: linear-gradient(135deg, var(--surface-container-lowest, #fff), var(--surface-container-low, #f7f9fc)); }
.pf-insight-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.pf-insight-tag .material-icons-round { font-size: 16px; }
.pf-insight-amount { font-size: 32px; font-weight: 700; color: var(--on-surface); margin: 12px 0 8px; }
.pf-insight-meta { font-size: 12px; color: var(--on-surface-variant); }
.pf-pay-secondary { display: flex; align-items: center; justify-content: space-between; }
.pf-pay-sec-left { display: flex; align-items: center; gap: 14px; }
.pf-card-brand-sm { display: flex; align-items: center; justify-content: center; width: 44px; height: 28px; border-radius: 6px; font-size: 10px; font-weight: 900; }
.pf-card-brand-sm.mc { background: var(--on-surface-variant, #545f73); color: #fff; }
.pf-card-number-sm { font-size: 15px; font-weight: 600; color: var(--on-surface); font-family: 'Courier New', monospace; }
.pf-pay-meta { font-size: 12px; color: var(--on-surface-variant); margin-top: 2px; }
.pf-pay-sec-actions { display: flex; align-items: center; gap: 16px; }
.pf-add-method-card { display: flex; align-items: center; gap: 16px; background: var(--surface-container-lowest, #fff); border: 2px dashed var(--outline-variant, #c2c6d6); border-radius: 12px; padding: 24px; cursor: pointer; transition: all 0.2s; width: 100%; text-align: left; font-family: 'Inter', sans-serif; color: var(--on-surface); }
.pf-add-method-card:hover { border-color: var(--primary); background: rgba(0,88,190,0.02); }
.pf-add-method-card .material-icons-round { font-size: 32px; color: var(--primary); }
.pf-add-method-card strong { font-size: 15px; display: block; margin-bottom: 2px; }
.pf-add-desc { font-size: 12px; color: var(--on-surface-variant); }

/* Preferences */
.pf-pref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pf-pref-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.pf-pref-label { font-size: 14px; font-weight: 600; color: var(--on-surface); }
.pf-pref-desc { font-size: 12px; color: var(--on-surface-variant); margin-top: 2px; }
.pf-select { background: var(--surface-container-low, #f2f4f6); border: 1px solid var(--outline-variant, #c2c6d6); border-radius: 8px; padding: 8px 12px; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--on-surface); outline: none; cursor: pointer; min-width: 120px; }
.pf-segment-control { display: flex; background: var(--surface-container-low, #f2f4f6); border-radius: 10px; padding: 3px; }
.pf-segment-control button { background: transparent; border: none; border-radius: 8px; padding: 7px 16px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--on-surface-variant); cursor: pointer; transition: all 0.2s; }
.pf-segment-control button.active { background: var(--surface-container-lowest, #fff); color: var(--primary); box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.pf-car-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.pf-cat-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; border: 2px solid var(--outline-variant, #c2c6d6); border-radius: 12px; background: var(--surface-container-lowest, #fff); cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--on-surface-variant); }
.pf-cat-card .material-icons-round { font-size: 28px; }
.pf-cat-card:hover { border-color: var(--primary); color: var(--primary); }
.pf-cat-card.active { border-color: var(--primary); color: var(--primary); background: rgba(0,88,190,0.04); box-shadow: 0 0 0 2px rgba(0,88,190,0.15); }

/* Notifications */
.pf-notif-list { display: flex; flex-direction: column; }
.pf-help-box { background: var(--surface-container-low, #f2f4f6); border-radius: 10px; padding: 16px; margin-top: 16px; }
.pf-help-box strong { font-size: 14px; color: var(--on-surface); display: block; margin-bottom: 4px; }
.pf-help-box p { font-size: 12px; color: var(--on-surface-variant); margin: 0 0 8px; line-height: 1.5; }

/* Night mode */
body.night-mode .pf-card { background: var(--card-bg, #1e293b); border-color: rgba(148,163,184,0.15); }
body.night-mode .pf-field input, body.night-mode .pf-field select, body.night-mode .pf-select { background: rgba(255,255,255,0.05); border-color: rgba(148,163,184,0.2); color: #e2e8f0; }
body.night-mode .pf-inner-link { color: var(--text-secondary); }
body.night-mode .pf-inner-link:hover { background: rgba(255,255,255,0.05); }
body.night-mode .pf-inner-link.active { background: var(--primary); color: #fff; }
body.night-mode .pf-security-banner { background: rgba(255,255,255,0.04); border-color: rgba(148,163,184,0.15); }
body.night-mode .pf-segment-control { background: rgba(255,255,255,0.06); }
body.night-mode .pf-segment-control button.active { background: rgba(255,255,255,0.1); }
body.night-mode .pf-add-method-card { background: rgba(255,255,255,0.03); border-color: rgba(148,163,184,0.2); }
body.night-mode .pf-cat-card { background: rgba(255,255,255,0.03); border-color: rgba(148,163,184,0.15); }
body.night-mode .pf-help-box { background: rgba(255,255,255,0.04); }
body.night-mode .pf-session-icon { background: rgba(255,255,255,0.06); }
body.night-mode .pf-insight-card { background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06)); }
body.night-mode .pf-field input[readonly] { background: rgba(255,255,255,0.04); color: #e2e8f0; border-color: rgba(148,163,184,0.18); }
body.night-mode .pf-verified-banner-status { background: rgba(34,197,94,0.16); color: #bbf7d0; }
body.night-mode .pf-doc-card { background: rgba(255,255,255,0.03); border-color: rgba(148,163,184,0.2); }
body.night-mode .pf-doc-progress { background: rgba(255,255,255,0.04); border-color: rgba(148,163,184,0.16); }
body.night-mode .pf-otp-card { background: rgba(255,255,255,0.04); border-color: rgba(148,163,184,0.16); }
body.night-mode .pf-otp-badge { background: rgba(239,68,68,0.16); color: #fecaca; }
body.night-mode .pf-otp-badge.verified { background: rgba(34,197,94,0.18); color: #bbf7d0; }

/* Profile responsive */
@media (max-width: 1100px) {
  .pf-bento-grid { grid-template-columns: 1fr; }
  .pf-pref-grid { grid-template-columns: 1fr; }
  .pf-doc-grid { grid-template-columns: 1fr; }
  .pf-otp-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pf-layout { flex-direction: column; }
  .pf-inner-nav { width: 100%; }
  .pf-inner-nav-sticky { position: static; }
  .pf-inner-nav-list { flex-direction: row; overflow-x: auto; gap: 4px; }
  .pf-form-grid { grid-template-columns: 1fr; }
  .pf-car-category-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-pay-secondary { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pf-verified-banner, .pf-doc-progress, .pf-otp-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .pf-car-category-grid { grid-template-columns: 1fr 1fr; }
  .pf-pay-card-footer { flex-direction: column; gap: 12px; }
  .pf-bento-grid { grid-template-columns: 1fr; }
}

/* Toast */
.profile-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--on-surface, #191c1e); color: #fff; padding: 10px 24px; border-radius: 8px; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 9999; }
.profile-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Car access */
.car-access-shell { display: flex; flex-direction: column; gap: 24px; }
.ca-hero-card,
.ca-panel {
  background: var(--surface-container-lowest, #fff);
  border: 1px solid var(--outline-variant, #c2c6d6);
  border-radius: 20px;
  box-shadow: var(--shadow-ambient);
}
.ca-hero-card { display: grid; grid-template-columns: minmax(280px, 1fr) 1.2fr; gap: 24px; padding: 20px; overflow: hidden; }
.ca-hero-media { position: relative; min-height: 300px; border-radius: 16px; overflow: hidden; background: var(--surface-container, #eceef0); }
.ca-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ca-live-chip {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.88); color: var(--primary);
  font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(15,23,42,0.1);
}
.ca-live-chip .material-icons-round { font-size: 16px; }
.ca-hero-body { display: flex; flex-direction: column; gap: 20px; }
.ca-booking-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ca-booking-pill {
  display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px;
  background: rgba(0,88,190,0.08); color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
}
.ca-booking-meta { font-size: 13px; font-weight: 600; color: var(--on-surface-variant, #424754); }
.ca-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ca-title-row h2 { margin: 0; font-size: 42px; line-height: 1.05; font-weight: 800; color: var(--on-surface); }
.ca-title-row p { margin: 8px 0 0; font-size: 17px; color: var(--on-surface-variant, #424754); }
.ca-lock-state {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: var(--surface-container-low, #f2f4f6); color: var(--on-surface); font-size: 13px; font-weight: 700;
}
.ca-lock-state.is-unlocked { background: rgba(16,185,129,0.12); color: #047857; }
.ca-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ca-stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(242,244,246,0.96));
  border: 1px solid rgba(194,198,214,0.65); border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.ca-stat-card .material-icons-round { font-size: 20px; color: var(--primary); }
.ca-stat-card strong { font-size: 26px; line-height: 1.1; color: var(--on-surface); }
.ca-stat-card small { font-size: 12px; color: var(--on-surface-variant, #424754); }
.ca-quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ca-action-btn {
  min-height: 58px; border: 1px solid var(--outline-variant, #c2c6d6); border-radius: 14px; background: #fff;
  color: var(--on-surface); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.ca-action-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-float); border-color: var(--primary); }
.ca-action-btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.ca-action-btn.is-active { background: rgba(16,185,129,0.1); color: #047857; border-color: rgba(16,185,129,0.28); }
.ca-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.ca-grid-bottom { grid-template-columns: 1.15fr 1fr; }
.ca-panel { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.ca-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ca-panel-head h3 { margin: 0; font-size: 24px; line-height: 1.15; color: var(--on-surface); }
.ca-panel-head p { margin: 6px 0 0; font-size: 14px; color: var(--on-surface-variant, #424754); }
.ca-panel-chip {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: rgba(0,88,190,0.08); color: var(--primary); border-radius: 999px; padding: 7px 12px;
  font-size: 12px; font-weight: 700;
}
.ca-panel-chip.is-active { background: rgba(16,185,129,0.12); color: #047857; }
.ca-key-card {
  background: linear-gradient(135deg, rgba(0,88,190,0.96), rgba(33,112,228,0.82));
  color: #fff; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.ca-key-code { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: 0.12em; }
.ca-key-meta { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.92); font-size: 13px; }
.ca-climate-display { display: flex; align-items: center; gap: 18px; }
.ca-climate-ring {
  width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(33,112,228,0.18), rgba(0,88,190,0.06));
  border: 1px solid rgba(0,88,190,0.15); display: flex; align-items: center; justify-content: center;
}
.ca-climate-ring span { font-size: 28px; font-weight: 800; color: var(--on-surface); }
.ca-climate-meta { display: flex; flex-direction: column; gap: 4px; }
.ca-climate-meta strong { font-size: 18px; color: var(--on-surface); }
.ca-climate-meta small { font-size: 13px; color: var(--on-surface-variant, #424754); }
.ca-range-wrap { font-size: 12px; font-weight: 700; color: var(--on-surface-variant, #424754); text-transform: uppercase; letter-spacing: 0.06em; }
.ca-range { width: 100%; accent-color: var(--primary); }
.ca-preset-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ca-preset-btn {
  min-width: 96px; height: 40px; border-radius: 999px; border: 1px solid var(--outline-variant, #c2c6d6); background: #fff;
  color: var(--on-surface); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.ca-preset-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-ambient); }
.ca-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ca-panel-actions-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); }
.ca-surface-btn {
  min-height: 64px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid rgba(194,198,214,0.72);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,251,0.92));
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
}
.ca-surface-btn .material-icons-round { font-size: 24px; }
.ca-surface-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(59,130,246,0.28);
  box-shadow: 0 16px 30px rgba(15,23,42,0.10);
}
.ca-surface-btn-primary {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(16,61,140,0.98), rgba(59,130,246,0.98));
  box-shadow: 0 14px 32px rgba(37,99,235,0.28);
}
.ca-surface-btn-primary:hover {
  box-shadow: 0 18px 36px rgba(37,99,235,0.34);
}
.ca-surface-btn-outline {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,251,0.94));
  border-color: rgba(173,198,255,0.9);
}
.ca-surface-btn-quiet {
  background: linear-gradient(180deg, rgba(241,245,249,0.98), rgba(226,232,240,0.86));
  border-color: transparent;
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}
.ca-surface-btn-quiet:hover {
  color: var(--primary);
  background: linear-gradient(180deg, rgba(239,246,255,0.98), rgba(219,234,254,0.88));
}
.ca-action-btn::before,
.ca-surface-btn::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: linear-gradient(90deg, var(--ca-signal-start, rgba(59,130,246,0.88)), var(--ca-signal-end, rgba(96,165,250,0.96)));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.ca-action-btn > *,
.ca-surface-btn > * { position: relative; z-index: 1; }
.ca-action-btn.is-signaling::before,
.ca-surface-btn.is-signaling::before {
  animation: caSignalFill 1s cubic-bezier(.22,.61,.36,1);
}
.ca-action-btn.signal-primary,
.ca-surface-btn.signal-primary {
  --ca-signal-start: rgba(37,99,235,0.96);
  --ca-signal-end: rgba(96,165,250,0.98);
  color: #fff;
  border-color: rgba(37,99,235,0.98);
}
.ca-action-btn.signal-success,
.ca-surface-btn.signal-success {
  --ca-signal-start: rgba(5,150,105,0.94);
  --ca-signal-end: rgba(52,211,153,0.96);
  color: #fff;
  border-color: rgba(5,150,105,0.88);
}
.ca-action-btn.signal-warning,
.ca-surface-btn.signal-warning {
  --ca-signal-start: rgba(217,119,6,0.94);
  --ca-signal-end: rgba(251,191,36,0.95);
  color: #fff;
  border-color: rgba(217,119,6,0.86);
}
.ca-action-btn.is-signaling,
.ca-surface-btn.is-signaling {
  box-shadow: 0 18px 34px rgba(37,99,235,0.18);
}
.ca-action-btn.signal-success.is-signaling,
.ca-surface-btn.signal-success.is-signaling {
  box-shadow: 0 18px 34px rgba(16,185,129,0.18);
}
.ca-action-btn.signal-warning.is-signaling,
.ca-surface-btn.signal-warning.is-signaling {
  box-shadow: 0 18px 34px rgba(245,158,11,0.2);
}
@keyframes caSignalFill {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.ca-helper-list { display: flex; flex-direction: column; gap: 12px; }
.ca-helper-card {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px;
  border: 1px solid var(--outline-variant, #c2c6d6); background: var(--surface-container-low, #f2f4f6);
  text-align: left; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ca-helper-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-ambient); border-color: var(--primary); }
.ca-helper-card .material-icons-round { font-size: 24px; color: var(--primary); }
.ca-helper-card strong { display: block; font-size: 15px; color: var(--on-surface); margin-bottom: 2px; }
.ca-helper-card small { font-size: 12px; color: var(--on-surface-variant, #424754); }
.ca-summary-list { display: flex; flex-direction: column; gap: 14px; }
.ca-summary-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(194,198,214,0.55);
}
.ca-summary-item:last-child { border-bottom: none; padding-bottom: 0; }
.ca-summary-item span { font-size: 13px; color: var(--on-surface-variant, #424754); }
.ca-summary-item strong { font-size: 15px; color: var(--on-surface); text-align: right; }

body.night-mode .ca-hero-card,
body.night-mode .ca-panel {
  background: var(--card-bg, #1e293b);
  border-color: rgba(148,163,184,0.16);
}
body.night-mode .ca-live-chip { background: rgba(15,23,42,0.72); color: #bfdbfe; }
body.night-mode .ca-booking-pill,
body.night-mode .ca-panel-chip { background: rgba(59,130,246,0.16); color: #bfdbfe; }
body.night-mode .ca-panel-chip.is-active,
body.night-mode .ca-lock-state.is-unlocked { background: rgba(16,185,129,0.16); color: #bbf7d0; }
body.night-mode .ca-lock-state,
body.night-mode .ca-helper-card,
body.night-mode .ca-preset-btn,
body.night-mode .ca-action-btn:not(.primary) {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148,163,184,0.2);
  color: #e2e8f0;
}
body.night-mode .ca-surface-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border-color: rgba(148,163,184,0.18);
  color: #e2e8f0;
  box-shadow: 0 14px 28px rgba(2,6,23,0.24);
}
body.night-mode .ca-surface-btn:hover {
  border-color: rgba(96,165,250,0.28);
  box-shadow: 0 18px 34px rgba(2,6,23,0.3);
}
body.night-mode .ca-surface-btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(37,99,235,0.98), rgba(96,165,250,0.94));
  box-shadow: 0 16px 34px rgba(30,64,175,0.34);
}
body.night-mode .ca-surface-btn-outline {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border-color: rgba(96,165,250,0.22);
}
body.night-mode .ca-surface-btn-quiet {
  background: linear-gradient(180deg, rgba(51,65,85,0.9), rgba(30,41,59,0.92));
  border-color: rgba(148,163,184,0.1);
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
body.night-mode .ca-surface-btn-quiet:hover {
  color: #bfdbfe;
  background: linear-gradient(180deg, rgba(37,99,235,0.22), rgba(30,41,59,0.94));
}
body.night-mode .ca-action-btn::before,
body.night-mode .ca-surface-btn::before {
  background: linear-gradient(90deg, var(--ca-signal-start, rgba(59,130,246,0.92)), var(--ca-signal-end, rgba(96,165,250,0.98)));
}
body.night-mode .ca-stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border-color: rgba(148,163,184,0.16);
}
body.night-mode .ca-title-row h2,
body.night-mode .ca-stat-card strong,
body.night-mode .ca-panel-head h3,
body.night-mode .ca-climate-ring span,
body.night-mode .ca-helper-card strong,
body.night-mode .ca-summary-item strong { color: #f8fafc; }
body.night-mode .ca-booking-meta,
body.night-mode .ca-title-row p,
body.night-mode .ca-stat-card small,
body.night-mode .ca-panel-head p,
body.night-mode .ca-climate-meta small,
body.night-mode .ca-range-wrap,
body.night-mode .ca-helper-card small,
body.night-mode .ca-summary-item span { color: #94a3b8; }
body.night-mode .ca-climate-ring { background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.22), rgba(255,255,255,0.03)); border-color: rgba(96,165,250,0.18); }
body.night-mode .ca-summary-item { border-bottom-color: rgba(148,163,184,0.16); }
body.night-mode .ca-preset-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 1100px) {
  .ca-hero-card,
  .ca-grid,
  .ca-grid-bottom { grid-template-columns: 1fr; }
  .ca-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ca-title-row { flex-direction: column; }
  .ca-title-row h2 { font-size: 32px; }
  .ca-status-grid,
  .ca-quick-actions { grid-template-columns: 1fr; }
  .ca-climate-display,
  .ca-panel-head,
  .ca-summary-item { flex-direction: column; align-items: flex-start; }
  .ca-panel-actions,
  .ca-panel-actions-split { grid-template-columns: 1fr; }
  .ca-summary-item strong { text-align: left; }
}
