/* booking.html: modern touches layered on top of bundle-article.css */

/* Glow ring behind the booking card */
.book-card { isolation: isolate; }
.book-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 20px;
  background: conic-gradient(from var(--glow-a, 0deg), var(--gold) 0deg, transparent 90deg, var(--ink-3) 180deg, transparent 270deg, var(--gold) 360deg);
  opacity: .55;
  filter: blur(10px);
  animation: bookGlow 7s linear infinite;
}
@keyframes bookGlow { to { --glow-a: 360deg; } }
@property --glow-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* Floating badge on the card */
.book-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .55);
}
.book-badge svg { width: 14px; height: 14px; }

/* Custom dropdowns: no native browser chrome */
.field select,
.est-form select#estDest {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DCAC64' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 34px;
  cursor: pointer;
}
.field select { width: 100%; font: inherit; font-size: .96rem; padding-top: 10px; padding-bottom: 10px; padding-left: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background-color: var(--paper); color: var(--text); min-height: 44px; }
.book-form .field select { background-color: rgba(255, 255, 255, .05); border-color: var(--line-ink); color: var(--on-ink); }
.est-form select#estDest { width: 100%; font: inherit; font-size: 1rem; min-height: 46px; padding-top: 10px; padding-bottom: 10px; padding-left: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-ink); background-color: rgba(255, 255, 255, .06); color: var(--on-ink); }
.field select:focus, .est-form select#estDest:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(220, 172, 100, .28); }

/* Tint the native date/time picker icon so it reads on dark fields */
.book-form .field input[type="date"]::-webkit-calendar-picker-indicator,
.book-form .field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(72%) sepia(28%) saturate(499%) hue-rotate(357deg) brightness(97%) contrast(93%);
  cursor: pointer;
}

/* Depth: soft blob glows behind alternating sections */
.section { position: relative; isolation: isolate; }
.section.fleet::before,
.section.offers::before,
.planner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -8%;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 172, 100, .10), transparent 72%);
  pointer-events: none;
}
.section.offers::before { right: auto; left: -8%; background: radial-gradient(closest-side, rgba(18, 39, 74, .08), transparent 72%); }

@media (prefers-reduced-motion: reduce) {
  .book-card::before { animation: none; }
}
