/**
 * Crown Concierge Booking Form v2.0
 * Three-step flow: Trip Details → Vehicle Select → Info Capture
 */

/* ── Layout ─────────────────────────────────────────────────── */
.cc-booking-body {
  background: #111111;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) { .cc-booking-body { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .cc-booking-body { padding: 40px 16px 64px; } }

/* ── Section label ───────────────────────────────────────────── */
.cc-section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}
.cc-section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: #c9a84c;
}

/* ── Step cards ──────────────────────────────────────────────── */
.cc-step-card {
  background: #0d0d0d;
  border: 1px solid rgba(201,168,76,0.15);
  border-top: 2px solid #c9a84c;
  padding: 32px 28px;
  margin-bottom: 16px;
}
@media (max-width: 480px) { .cc-step-card { padding: 20px 16px; } }

.cc-step-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #f5f0e8;
  margin-bottom: 6px;
}
.cc-step-card__sub {
  font-size: 0.8rem;
  color: #555;
  font-weight: 300;
  margin-bottom: 24px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
}

/* ── Form grid ───────────────────────────────────────────────── */
.cc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .cc-form-grid { grid-template-columns: 1fr; } }
.cc-span-2 { grid-column: span 2; }
@media (max-width: 560px) { .cc-span-2 { grid-column: span 1; } }

/* ── Fields ──────────────────────────────────────────────────── */
.cc-field { display: flex; flex-direction: column; gap: 6px; }
.cc-field label {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}
.cc-input, .cc-select, .cc-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 12px 14px;
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  border-radius: 0;
  -webkit-appearance: none;
}
.cc-input::placeholder, .cc-textarea::placeholder { color: rgba(255,255,255,0.22); }
.cc-input:focus, .cc-select:focus, .cc-textarea:focus {
  border-color: rgba(201,168,76,0.55);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
  background: rgba(255,255,255,0.06);
}
.cc-input.confirmed { border-color: rgba(74,222,128,0.45); }
.cc-select option { background: #1a1a1a; color: #fff; }
.cc-textarea { min-height: 88px; resize: vertical; }

/* ── Divider ─────────────────────────────────────────────────── */
.cc-divider {
  grid-column: span 2;
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 4px 0;
}
@media (max-width: 560px) { .cc-divider { grid-column: span 1; } }

/* ── Address autocomplete ────────────────────────────────────── */
.cc-addr-wrap { position: relative; }
.cc-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0b0b12;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  display: none;
  margin-top: 3px;
}
.cc-suggest.open { display: block; }
.cc-suggest button {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cc-suggest button:last-child { border-bottom: none; }
.cc-suggest button:hover { background: rgba(201,168,76,0.07); }
.cc-suggest button small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.cc-addr-confirmed {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: rgba(74,222,128,0.85);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}
.cc-addr-confirmed.visible { display: flex; }

/* ── Airport quick select ────────────────────────────────────── */
.cc-airport-quick {
  display: none;
  padding: 14px;
  border: 1px solid rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.02);
  margin-bottom: 4px;
}
.cc-airport-quick.visible { display: block; }
.cc-airport-quick-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cc-airport-quick-label {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}
.cc-airport-pills { display: flex; gap: 6px; }
.cc-pill {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.cc-pill.active { border-color: rgba(201,168,76,0.55); color: #c9a84c; background: rgba(201,168,76,0.07); }
.cc-airport-btns { display: flex; gap: 10px; }
.cc-airport-btn {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.cc-airport-btn small { display: block; font-size: 0.66rem; font-weight: 400; color: rgba(255,255,255,0.45); margin-top: 2px; }
.cc-airport-btn:hover { border-color: rgba(201,168,76,0.5); background: rgba(201,168,76,0.05); }

/* ── Phone hint ──────────────────────────────────────────────── */
.cc-phone-hint { font-size: 0.7rem; display: none; font-family: 'DM Sans', sans-serif; }
.cc-phone-hint.visible { display: block; }
.cc-phone-hint.ok { color: rgba(74,222,128,0.85); }
.cc-phone-hint.err { color: rgba(239,100,100,0.9); }

/* ── Hourly field ────────────────────────────────────────────── */
#cc-hourly-field { display: none; }

/* ── Get Quote button ────────────────────────────────────────── */
.cc-quote-btn {
  width: 100%;
  background: #c9a84c;
  color: #111111;
  border: none;
  padding: 16px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cc-quote-btn:hover:not(:disabled) { background: #dbb95a; }
.cc-quote-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cc-quote-btn .cc-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(17,17,17,0.25);
  border-top-color: #111;
  animation: ccSpin 0.8s linear infinite;
  display: none;
}
.cc-quote-btn.loading .cc-spinner { display: inline-block; }
@keyframes ccSpin { to { transform: rotate(360deg); } }

/* ── Vehicle cards section ───────────────────────────────────── */
.cc-vehicles-section {
  display: none;
  animation: ccFadeUp 0.3s ease;
}
.cc-vehicles-section.visible { display: block; }
@keyframes ccFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cc-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 560px) {
  .cc-vehicles-grid { grid-template-columns: 1fr; }
}

.cc-vehicle-card {
  border: 1px solid rgba(255,255,255,0.1);
  background: #0d0d0d;
  padding: 20px 14px 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  text-align: center;
}
.cc-vehicle-card:hover:not(.cc-grayed) {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.04);
}
.cc-vehicle-card.cc-selected {
  border-color: #c9a84c;
  border-width: 1.5px;
  background: rgba(201,168,76,0.06);
}
.cc-vehicle-card.cc-grayed {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Badge */
.cc-vehicle-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #c9a84c;
  color: #111;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  display: none;
}
.cc-vehicle-badge.visible { display: block; }

/* Vehicle SVG icon */
.cc-vehicle-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 12px;
  overflow: hidden;
}
.cc-vehicle-icon svg { height: 100%; width: auto; }
.cc-vehicle-icon img { width: 100%; height: 100%; object-fit: contain; }

.cc-vehicle-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #f5f0e8;
  margin-bottom: 3px;
}
.cc-vehicle-capacity {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.cc-vehicle-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: #f5f0e8;
  line-height: 1;
}
.cc-vehicle-price-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  font-family: 'DM Sans', sans-serif;
  margin-top: 3px;
  letter-spacing: 0.05em;
}
.cc-vehicle-card.cc-selected .cc-vehicle-name,
.cc-vehicle-card.cc-selected .cc-vehicle-price { color: #c9a84c; }

/* Upgrade note */
.cc-upgrade-note {
  display: none;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.55;
  padding: 10px 14px;
  border-left: 2px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.03);
  margin-top: 4px;
}
.cc-upgrade-note.visible { display: block; }

/* ── Info capture section ────────────────────────────────────── */
.cc-info-section {
  display: none;
  animation: ccFadeUp 0.3s ease;
}
.cc-info-section.visible { display: block; }

.cc-selected-summary {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
  padding: 10px 14px;
  border-left: 2px solid #c9a84c;
  background: rgba(201,168,76,0.04);
  margin-bottom: 20px;
}
.cc-selected-summary strong { color: #c9a84c; font-weight: 600; }

/* ── Consent ─────────────────────────────────────────────────── */
.cc-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'DM Sans', sans-serif;
}
.cc-consent input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: #c9a84c; }
.cc-consent a { color: #c9a84c; text-decoration: none; }

/* ── Submit button ───────────────────────────────────────────── */
.cc-submit-btn {
  width: 100%;
  background: #c9a84c;
  color: #111111;
  border: none;
  padding: 17px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cc-submit-btn:hover:not(:disabled) { background: #dbb95a; }
.cc-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cc-submit-btn .cc-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(17,17,17,0.25);
  border-top-color: #111;
  animation: ccSpin 0.8s linear infinite;
  display: none;
}
.cc-submit-btn.sending .cc-spinner { display: inline-block; }

/* ── Banner ──────────────────────────────────────────────────── */
.cc-banner { display: none; padding: 13px 14px; margin-top: 12px; font-size: 0.8rem; line-height: 1.5; font-family: 'DM Sans', sans-serif; }
.cc-banner.success { display: block; background: rgba(74,222,128,0.07); border: 1px solid rgba(74,222,128,0.25); color: rgba(74,222,128,0.9); }
.cc-banner.error   { display: block; background: rgba(239,68,68,0.07);  border: 1px solid rgba(239,68,68,0.25);  color: rgba(239,100,100,0.9); }

/* ── Sidebar ─────────────────────────────────────────────────── */
.cc-sidebar-sticky { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.cc-next-card {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid #c9a84c;
  padding: 28px 24px;
}
.cc-next-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #f5f0e8;
  margin-bottom: 24px;
}
.cc-next-step { display: grid; grid-template-columns: 40px 1fr; margin-bottom: 20px; align-items: start; position: relative; }
.cc-next-step:last-child { margin-bottom: 0; }
.cc-next-step::after { content: ''; position: absolute; left: 19px; top: 40px; width: 1px; height: calc(100% - 8px); background: rgba(201,168,76,0.2); }
.cc-next-step:last-child::after { display: none; }
.cc-next-step__num {
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem; color: #c9a84c; flex-shrink: 0;
  background: rgba(201,168,76,0.04);
}
.cc-next-step__body { padding-left: 14px; padding-top: 8px; }
.cc-next-step__body strong { display: block; font-size: 0.8rem; font-weight: 500; color: #e8e0d0; margin-bottom: 4px; font-family: 'DM Sans', sans-serif; }
.cc-next-step__body p { font-size: 0.78rem; color: #666; line-height: 1.55; font-weight: 300; font-family: 'DM Sans', sans-serif; }

.cc-trust-card { background: #0d0d0d; border: 1px solid rgba(255,255,255,0.06); padding: 20px 24px; }
.cc-trust-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cc-trust-row:last-child { border-bottom: none; }
.cc-trust-icon { color: #c9a84c; flex-shrink: 0; font-size: 0.75rem; }
.cc-trust-text { font-size: 0.76rem; color: #888; font-weight: 300; line-height: 1.45; font-family: 'DM Sans', sans-serif; }
.cc-trust-text strong { color: #c8c0b0; font-weight: 500; }
.cc-booking-body input,
.cc-booking-body select,
.cc-booking-body textarea {
  color: rgba(255,255,255,0.9) !important;
  background: rgba(255,255,255,0.04) !important;
}