/* Supplementary Tailwind-like utilities to complement /public/tailwind.css */

/* ═══════════════════════════════════════════════════════════
   Homepage — responsive layout
   ═══════════════════════════════════════════════════════════ */
.hp-root { min-height: 100vh; background: #fff; }

/* Hero */
.hp-hero {
  background: linear-gradient(135deg, #1C1C2E 0%, #2A2A3C 100%);
  position: relative;
  overflow: hidden;
  padding: 40px 16px 50px;
}
.hp-hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(166,27,90,0.15), transparent 60%);
  pointer-events: none;
}
.hp-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hp-hero-left { width: 100%; }
.hp-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.hp-hero-right { display: none; }

/* Schedule */
.hp-schedule-wrap { margin-bottom: 16px; position: relative; }
.hp-schedule-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px; padding: 10px 16px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: #fff;
}
.hp-chevron-open { transform: rotate(180deg); }
.hp-schedule-dropdown {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  padding: 20px; min-width: 280px; width: 100%; max-width: 360px;
}
.hp-schedule-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.hp-schedule-tab {
  flex: 1; padding: 10px 16px; border-radius: 24px; border: none;
  cursor: pointer; font-size: 14px; font-weight: 600;
  background: #f3f3f3; color: #666;
}
.hp-schedule-tab--active { background: #A61B5A; color: #fff; }
.hp-schedule-inputs { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-schedule-input {
  flex: 1; min-width: 120px;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid #e0e0e0; font-size: 14px; outline: none;
}
.hp-schedule-hint { font-size: 13px; color: #888; margin: 0; }

/* PUDO */
.hp-pudo { background: #fff; border-radius: 12px; position: relative; }
.hp-pudo-field { position: relative; }
.hp-pudo-row { display: flex; align-items: center; padding: 0 16px; }
.hp-pudo-icon { flex-shrink: 0; }
.hp-pudo-input {
  flex: 1; padding: 14px 12px; border: none; background: transparent;
  font-size: 16px; outline: none; color: #000; width: 100%;
}
.hp-pudo-divider { height: 1px; background: #e0e0e0; margin-left: 48px; margin-right: 16px; }
.hp-pudo-connector {
  position: absolute; left: 24px; top: 20px; bottom: 20px;
  width: 2px; background: #e0e0e0; pointer-events: none; z-index: 1;
}
.hp-suggestions {
  position: absolute; z-index: 20; left: 0; right: 0; top: 100%;
  background: white; border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); max-height: 240px;
  overflow: auto; list-style: none; padding: 0; margin: 0;
}
.hp-suggestion {
  padding: 12px 16px; cursor: pointer; font-size: 14px;
  color: #1a1a1a; border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; gap: 12px;
}
.hp-suggestion:hover { background: #f9f9f9; }
.hp-suggestion-icon { flex-shrink: 0; }
.hp-cta-btn {
  margin-top: 16px; width: 100%; padding: 16px 24px;
  font-size: 16px; border-radius: 12px;
  background-color: #A61B5A; color: #ffffff; border: none; cursor: pointer; font-weight: 600;
}

/* Hero card */
.hp-hero-card {
  background: rgba(255,255,255,0.05); border-radius: 16px;
  padding: 32px; text-align: center; border: 1px solid rgba(255,255,255,0.1);
}
.hp-hero-card-label { color: #999; font-size: 14px; margin: 0; }
.hp-hero-card-types {
  color: white; font-size: 32px; font-weight: 800; margin: 8px 0;
}
.hp-hero-card-types span { color: #A61B5A; }
.hp-hero-card-sub { color: #666; font-size: 13px; margin: 0; }
.hp-hero-logo { width: 200px; object-fit: contain; margin-bottom: 24px; opacity: 0.9; }

/* Features */
.hp-features { background: #f6f6f6; padding: 48px 16px; }
.hp-features-inner { max-width: 1024px; margin: 0 auto; }
.hp-features-title {
  font-size: 26px; font-weight: 700; text-align: center;
  margin-bottom: 32px; color: #000;
}
.hp-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hp-feature-card {
  background: #fff; border-radius: 16px; padding: 24px; text-align: left;
}
.hp-feature-step {
  width: 40px; height: 40px; border-radius: 50%;
  background: #A61B5A; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
}
.hp-feature-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #000; }
.hp-feature-desc { font-size: 14px; color: #666; margin: 0; line-height: 1.5; }

/* Bottom CTA */
.hp-bottom-cta { background: #1C1C2E; padding: 48px 16px; text-align: center; }
.hp-bottom-cta-inner { max-width: 640px; margin: 0 auto; }
.hp-bottom-logo { height: 40px; margin-bottom: 20px; }
.hp-bottom-title { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.hp-bottom-desc { font-size: 15px; color: #999; margin-bottom: 24px; }
.hp-bottom-btn {
  display: inline-block; padding: 14px 40px;
  border-radius: 12px; font-size: 16px; text-decoration: none;
}

/* ── Desktop (768px+) ── */
@media (min-width: 768px) {
  .hp-hero { padding: 60px 16px 80px; }
  .hp-hero-inner {
    flex-direction: row;
    gap: 48px;
    align-items: center;
  }
  .hp-hero-left { flex: 0 0 50%; max-width: 50%; }
  .hp-hero-right {
    display: flex; flex: 1;
    flex-direction: column; align-items: center; justify-content: center;
  }
  .hp-hero-title { font-size: 39px; margin-bottom: 36px; letter-spacing: -1px; }
  .hp-features { padding: 64px 16px; }
  .hp-features-title { font-size: 36px; margin-bottom: 48px; }
  .hp-features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .hp-feature-card { padding: 32px; }
  .hp-feature-step { width: 48px; height: 48px; font-size: 20px; margin-bottom: 20px; }
  .hp-feature-title { font-size: 20px; }
  .hp-feature-desc { font-size: 15px; }
  .hp-bottom-cta { padding: 64px 16px; }
  .hp-bottom-logo { height: 48px; margin-bottom: 24px; }
  .hp-bottom-title { font-size: 28px; }
  .hp-bottom-btn { padding: 16px 48px; }
}

/* Colors */
.bg-black { background-color: #000000; }
.bg-red-600 { background-color: #dc2626; }
.bg-green-600 { background-color: #16a34a; }
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.border { border-width: 1px; border-style: solid; }
.border-zinc-300 { border-color: #d4d4d8; }

/* Hover states (escaped colons) */
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:bg-zinc-800:hover { background-color: #27272a; }
.hover\:bg-zinc-100:hover { background-color: #f4f4f5; }

/* Sizes */
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.px-5 { padding-inline: calc(var(--spacing, 0.25rem) * 5); }

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 150ms;
  transition-timing-function: var(--ease-in-out, cubic-bezier(.4,0,.2,1));
}

/* Focus visible helpers */
.focus-visible\:outline-none:focus-visible { outline: none; }
.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus-visible\:ring-offset-2:focus-visible { outline-offset: 2px; }

/* Disabled variants */
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:pointer-events-none:disabled { pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   Booking Page — full-height two-column layout
   ═══════════════════════════════════════════════════════════ */

.booking-page {
  display: flex;
  height: calc(100vh - 73px); /* viewport minus header */
  overflow: hidden;
  background: #f7f7fa;
}

.booking-left {
  width: 440px;
  min-width: 380px;
  max-width: 480px;
  height: 100%;
  overflow-y: auto;
  background: #ffffff;
  border-right: 1px solid #e8e8ee;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d8 transparent;
}
.booking-left::-webkit-scrollbar { width: 5px; }
.booking-left::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 4px; }

.booking-left-inner {
  padding: 14px 16px 20px;
}

.booking-right {
  flex: 1;
  height: 100%;
  position: relative;
}

/* Force Leaflet to fill the container */
.booking-right .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

/* ── Sections ── */
.bk-section { margin-bottom: 14px; }
.bk-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Route summary ── */
.bk-route-card {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #efefef;
}
.bk-route-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18px;
  padding-top: 4px;
}
.bk-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bk-dot--pickup { background: #34C759; border: 2px solid white; box-shadow: 0 0 0 1px #34C759; }
.bk-dot--dest { background: #FF3B30; border: 2px solid white; box-shadow: 0 0 0 1px #FF3B30; }
.bk-dot-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: linear-gradient(to bottom, #34C759, #FF3B30);
  margin: 4px 0;
  border-radius: 1px;
}
.bk-route-info { flex: 1; position: relative; }
.bk-label {
  font-size: 10px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 2px;
}
.bk-addr {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
}
.bk-addr-input {
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: transparent;
  border: none;
  outline: none;
  padding: 2px 0;
  line-height: 1.3;
}
.bk-addr-input::placeholder { color: #aaa; font-weight: 400; }
.bk-suggestions {
  position: absolute;
  left: 0; right: 0;
  background: white;
  border: 1px solid #e0e0e8;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 50;
  margin-top: 2px;
  overflow: hidden;
}
.bk-suggestion-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f5;
}
.bk-suggestion-item:last-child { border-bottom: none; }
.bk-suggestion-item:hover { background: #f5f5fa; }
.bk-divider {
  height: 1px;
  background: #e8e8ee;
  margin: 6px 0;
}

/* Stats */
.bk-stats {
  display: flex;
  align-items: center;
  background: #f0f0f5;
  border-radius: 10px;
  padding: 8px 0;
  margin-top: 8px;
}
.bk-stat {
  flex: 1;
  text-align: center;
}
.bk-stat-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.bk-stat-label {
  display: block;
  font-size: 10px;
  color: #999;
  margin-top: 1px;
}
.bk-stat-sep {
  width: 1px;
  height: 28px;
  background: #d4d4d8;
}

/* ── Vehicle selector ── */
.bk-vehicles {
  display: flex;
  gap: 8px;
}
.bk-vehicle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px 8px;
  border-radius: 12px;
  border: 2px solid #efefef;
  background: #fafafa;
  cursor: pointer;
  transition: all 150ms ease;
  text-align: center;
}
.bk-vehicle:hover {
  border-color: #ddd;
  background: #f5f5f5;
}
.bk-vehicle--active {
  border-color: #A61B5A;
  background: #fdf0f5;
}
.bk-vehicle--active:hover {
  border-color: #A61B5A;
  background: #fdf0f5;
}
.bk-vehicle-icon {
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}
.bk-vehicle--active .bk-vehicle-icon {
  background: #A61B5A;
  color: white;
}
.bk-vehicle-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.bk-vehicle--active .bk-vehicle-name {
  color: #A61B5A;
}
.bk-vehicle-cap {
  font-size: 10px;
  color: #999;
  margin-bottom: 4px;
}
.bk-vehicle-price {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
}
.bk-vehicle--active .bk-vehicle-price {
  color: #A61B5A;
}

/* ── Options ── */
.bk-options {
  background: #fafafa;
  border-radius: 14px;
  border: 1px solid #efefef;
  overflow: hidden;
}
.bk-opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
}
.bk-opt-row + .bk-opt-row {
  border-top: 1px solid #f0f0f0;
}
.bk-opt-info {
  display: flex;
  flex-direction: column;
}
.bk-opt-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.bk-opt-sub {
  font-size: 11px;
  color: #999;
  margin-top: 1px;
}

/* Counter */
.bk-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bk-counter-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #A61B5A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 120ms ease;
}
.bk-counter-btn:hover:not(:disabled) {
  border-color: #A61B5A;
  background: #fdf0f5;
}
.bk-counter-btn:disabled {
  color: #ccc;
  border-color: #eee;
  cursor: not-allowed;
}
.bk-counter-val {
  font-size: 16px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  color: #1a1a1a;
}

/* Toggle */
.bk-toggle {
  position: relative;
  width: 44px;
  height: 26px;
  background: #ddd;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition: background 200ms ease;
  padding: 0;
  flex-shrink: 0;
}
.bk-toggle--on {
  background: #A61B5A;
}
.bk-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 200ms ease;
}
.bk-toggle--on .bk-toggle-knob {
  transform: translateX(18px);
}

/* ── Schedule ── */
.bk-schedule-toggle {
  display: flex;
  background: #f0f0f5;
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 12px;
}
.bk-sched-btn {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  background: transparent;
  transition: all 150ms ease;
}
.bk-sched-btn--active {
  background: #A61B5A;
  color: white;
  box-shadow: 0 2px 8px rgba(166,27,90,0.25);
}

.bk-slots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bk-slot {
  padding: 5px 10px;
  border-radius: 16px;
  background: white;
  border: 1.5px solid #e0e0e0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
  transition: all 120ms ease;
}
.bk-slot:hover { border-color: #ccc; }
.bk-slot--active {
  background: #fdf0f5;
  border-color: #A61B5A;
  color: #A61B5A;
}

/* ── Price ── */
.bk-price-card {
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #efefef;
  padding: 10px 14px;
}
.bk-price-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 12px;
  color: #666;
}
.bk-price-row span:last-child {
  font-weight: 500;
  color: #1a1a1a;
}
.bk-price-total {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1.5px solid #e8e8ee;
}
.bk-price-total span:first-child {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}
.bk-price-total span:last-child {
  font-size: 18px;
  font-weight: 800;
  color: #A61B5A;
}

/* ── Error ── */
.bk-error {
  background: #fff0f0;
  color: #FF3B30;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ── Confirm button ── */
.bk-confirm-wrap {
  position: sticky;
  bottom: 0;
  padding: 10px 0 0;
  background: linear-gradient(to bottom, transparent 0%, white 20%);
}
.bk-confirm-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #A61B5A;
  color: white;
  transition: all 160ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bk-confirm-btn:hover:not(:disabled) {
  background: #8A1649;
  box-shadow: 0 4px 14px rgba(166,27,90,0.3);
  transform: translateY(-1px);
}
.bk-confirm-btn:disabled {
  background: #b8b8c0;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Spinner inside confirm */
.bk-confirm-btn .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Schedule summary button ── */
.bk-schedule-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: #fdf0f5;
  border: 1.5px solid #A61B5A;
  border-radius: 10px;
  color: #A61B5A;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}
.bk-schedule-summary:hover {
  background: #fbe4ed;
}

/* ── Schedule Popup ── */
.bk-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bk-fade-in 150ms ease;
}
@keyframes bk-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.bk-popup {
  background: white;
  border-radius: 20px;
  width: 420px;
  max-width: 92vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: bk-slide-up 200ms ease;
}
@keyframes bk-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.bk-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.bk-popup-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.bk-popup-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: background 120ms ease;
}
.bk-popup-close:hover {
  background: #eee;
  color: #333;
}
.bk-popup-section {
  padding: 16px 20px;
}
.bk-popup-section + .bk-popup-section {
  border-top: 1px solid #f0f0f0;
}
.bk-popup-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.bk-popup-datetime {
  display: flex;
  gap: 10px;
}
.bk-popup-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  font-size: 14px;
  outline: none;
  color: #1a1a1a;
  transition: border-color 150ms ease;
}
.bk-popup-input:focus {
  border-color: #A61B5A;
}
.bk-popup-apply {
  margin-top: 12px;
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: #A61B5A;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease;
}
.bk-popup-apply:hover {
  background: #8A1649;
}
.bk-popup-slots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Hide footer when booking page is active (full-height layout) */
body:has(.booking-page) > * > footer,
body:has(.booking-page) footer[style] {
  display: none !important;
}
/* Prevent body scroll when booking page active */
body:has(.booking-page) {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   Payment Page
   ═══════════════════════════════════════════════════════════ */

.pay-page {
  min-height: calc(100vh - 73px);
  background: #f7f7fa;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
}
.pay-container {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 24px;
}
.pay-header {
  text-align: center;
  margin-bottom: 20px;
}
.pay-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.pay-subtitle {
  font-size: 14px;
  color: #999;
  margin: 0;
}
.pay-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.pay-error-box {
  text-align: center;
  padding: 40px 0;
}
.pay-error-box p {
  color: #FF3B30;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Summary */
.pay-summary {
  margin-bottom: 20px;
}
.pay-price-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdf0f5;
  border: 1.5px solid #A61B5A;
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 10px;
}
.pay-price-banner span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.pay-price-value {
  font-size: 20px;
  font-weight: 800;
  color: #A61B5A;
}

/* Method selection */
.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-method-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  background: #fafafa;
  border: 2px solid #efefef;
  border-radius: 14px;
  cursor: pointer;
  transition: all 150ms ease;
  text-align: left;
}
.pay-method-btn:hover {
  border-color: #A61B5A;
  background: #fdf0f5;
}
.pay-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A61B5A;
  flex-shrink: 0;
}
.pay-method-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pay-method-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.pay-method-desc {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}
.pay-method-arrow {
  color: #ccc;
  flex-shrink: 0;
}

/* Card form */
.pay-form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pay-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #A61B5A;
  padding: 0;
}
.pay-back-btn:hover {
  text-decoration: underline;
}
.pay-card-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pay-card-element {
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  background: #fafafa;
  transition: border-color 150ms ease;
}
.pay-card-element:focus-within {
  border-color: #A61B5A;
  background: #fff;
}

/* Cash info */
.pay-cash-info {
  text-align: center;
  padding: 20px 0;
}
.pay-cash-icon {
  color: #A61B5A;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}
.pay-cash-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   Waiting Page
   ═══════════════════════════════════════════════════════════ */

.wait-page {
  min-height: calc(100vh - 73px);
  background: #f7f7fa;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
}
.wait-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Status card */
.wait-status-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
  text-align: center;
}
.wait-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.wait-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f0f0f5;
  border-top-color: #A61B5A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.wait-status-label {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

/* Driver info */
.wait-driver {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px;
  background: #fafafa;
  border-radius: 14px;
  text-align: left;
}
.wait-driver-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #A61B5A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.wait-driver-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wait-driver-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wait-driver-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.wait-driver-plate {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  background: #f0f0f5;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}
.wait-driver-phone {
  font-size: 13px;
  font-weight: 600;
  color: #A61B5A;
  text-decoration: none;
}
.wait-driver-phone:hover {
  text-decoration: underline;
}

/* Progress steps */
.wait-steps {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wait-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}
.wait-step + .wait-step {
  border-top: 1px solid #f0f0f0;
}
.wait-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0e0e0;
  flex-shrink: 0;
  transition: all 200ms ease;
}
.wait-step--done .wait-step-dot {
  background: #34C759;
}
.wait-step--active .wait-step-dot {
  background: #A61B5A;
  box-shadow: 0 0 0 4px rgba(166,27,90,0.15);
}
.wait-step-label {
  font-size: 13px;
  font-weight: 500;
  color: #999;
}
.wait-step--done .wait-step-label {
  color: #1a1a1a;
}
.wait-step--active .wait-step-label {
  color: #A61B5A;
  font-weight: 700;
}

/* Cancel button */
.wait-cancel-btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid #FF3B30;
  background: #fff;
  color: #FF3B30;
  cursor: pointer;
  transition: all 150ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wait-cancel-btn:hover:not(:disabled) {
  background: #fff0f0;
}
.wait-cancel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ETA display */
.wait-eta {
  font-size: 16px;
  color: #333;
  margin-top: 8px;
  padding: 8px 16px;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}
.wait-eta strong {
  color: #166534;
  font-size: 18px;
}

/* Map container */
.wait-map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}