:root {
  --bg: #0c0d0d;
  --panel: #151716;
  --line: #303531;
  --text: #f6f7f6;
  --muted: #a9afa9;
  --green: #84c94a;
  --danger: #efaaaa;
}
* {
  box-sizing: border-box;
}
html {
  background: #fff;
  scrollbar-gutter: stable;
}
html.embedded {
  scrollbar-gutter: auto;
}
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
.app {
  color-scheme: dark;
  max-width: 1080px;
  margin: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
}
.brand-home,
.brand-home:visited {
  color: inherit;
  text-decoration: none;
}
.brand-home:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 2px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 8px;
}
h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 0 0 10px;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 23px;
  margin: 0 0 16px;
}
.intro {
  color: var(--muted);
  max-width: 720px;
}
.progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin: 20px 0 28px;
}
.progress span {
  height: 5px;
  border-radius: 99px;
  background: #262a27;
}
.progress span.on {
  background: var(--green);
}
.screen {
  display: none;
}
.screen.on {
  display: block;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
  color: #dfe3df;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 49px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 16px;
}
textarea {
  min-height: 100px;
}
.toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 20px;
}
.toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}
.toggle button.on {
  background: var(--green);
  color: #091006;
}
.btn {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 21px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}
.primary {
  background: var(--green);
  color: #091006;
}
.secondary {
  background: #232724;
  color: var(--text);
  border: 1px solid var(--line);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hidden {
  display: none !important;
}
.note {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 13px 15px;
  color: var(--muted);
  margin: 14px 0;
}
.error {
  color: var(--danger);
  border-color: #643d3d;
}
.return-panel {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 22px;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.vehicle-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 21px;
  overflow: hidden;
}
.vehicle-card.selected {
  border-color: var(--green);
}
.vehicle-image {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #222724, #101210);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fallback {
  color: #818881;
  font-size: 13px;
  text-align: center;
}
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(12, 13, 13, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.badge.available {
  color: #b9efa0;
}
.badge.unavailable {
  color: #efaaaa;
}
.badge.unknown {
  color: #ddd;
}
.vehicle-body {
  padding: 17px;
}
.badge.later {
  color: #ffd88a;
}
.later-offer {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #80652c;
  border-radius: 12px;
  background: #211d13;
  color: #ffe3a9;
}
.later-offer p,
.pickup-confirmed p {
  margin: 6px 0 0;
}
.pickup-confirmed {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #476637;
  border-radius: 12px;
  background: #162112;
  color: #ccebb5;
}
.later-flight-warning {
  font-weight: 600;
  color: #ffbcbc;
}
.vehicle-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.vehicle-title {
  font-size: 19px;
  font-weight: 800;
}
.vehicle-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.price {
  font-size: 27px;
  font-weight: 850;
  white-space: nowrap;
}
.price small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  text-align: right;
}
.vehicle-capacity {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}
.capacity-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  border: 1px solid #303632;
  background: #111312;
  border-radius: 10px;
  padding: 7px 9px;
  min-height: 36px;
}
.capacity-item strong {
  font-size: 14px;
  line-height: 1;
}
.capacity-icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--green);
}
.capacity-icon.small-case {
  width: 15px;
  height: 15px;
}
.passenger-word {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.select-btn {
  width: 100%;
}
.select-btn:disabled {
  opacity: 0.5;
}
.select-btn.unavailable-btn:disabled {
  background: var(--danger);
  color: #2a0712;
  opacity: 1;
  cursor: not-allowed;
}
.summary {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  border-bottom: 1px solid #282c29;
}
.summary-row:last-child {
  border-bottom: 0;
}
.summary-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.summary-row span:first-child {
  color: var(--muted);
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
}
.review-section {
  padding: 18px;
}
.review-section + .review-section {
  border-top: 1px solid #2a2f2b;
}
.review-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 0 0 14px 30px;
}
.route {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0 12px;
}
.route-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.route-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--green);
  border-radius: 50%;
  margin-top: 5px;
}
.route-line {
  width: 1px;
  flex: 1;
  min-height: 36px;
  background: #465047;
  margin: 5px 0;
}
.route-copy {
  min-width: 0;
  padding-bottom: 15px;
}
.route-copy:last-child {
  padding-bottom: 0;
}
.route-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.route-address {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.journey-when {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 0 30px;
}
.detail-pill {
  border: 1px solid #343a35;
  border-radius: 999px;
  padding: 7px 11px;
  color: #e7eee9;
  font-size: 14px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.review-detail span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.review-detail strong {
  font-size: 15px;
}
.success-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 26px 20px;
  margin-top: 18px;
}
.success-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--green);
  color: #071008;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
}
.success-panel h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.success-panel p {
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.55;
}
.booking-reference {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid #40513f;
  background: #101410;
  border-radius: 999px;
  padding: 8px 13px;
  color: #dfe8df;
  font-size: 13px;
}
.booking-reference strong {
  color: var(--text);
}
.confirmation-heading {
  font-size: 18px;
  margin: 22px 0 11px;
}
.confirmation-meta {
  margin-top: 14px;
}
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: start;
}
.checkout-card {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 20px;
}
.checkout-kicker {
  color: var(--muted);
  font-size: 13px;
}
.checkout-card .total {
  font-size: 42px;
  margin: 4px 0 2px;
}
.checkout-card .note {
  font-size: 13px;
  line-height: 1.5;
  margin: 18px 0;
}
.checkout-actions {
  display: grid;
  margin-top: 0;
}
.checkout-actions .btn {
  width: 100%;
}
.confirmation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.75fr);
  gap: 18px;
  align-items: start;
}
.confirmation-layout .confirmation-heading {
  margin-top: 22px;
}
.confirmation-side {
  position: sticky;
  top: 16px;
}
.confirmation-side .note {
  line-height: 1.5;
}
.confirmation-mode .progress {
  display: none;
}
.confirmation-mode .intro {
  margin-bottom: 24px;
}
.review-section .journey-when {
  margin: 0 0 16px 30px;
}
.success-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  padding: 18px 20px;
}
.success-mark {
  margin: 0;
}
.success-panel h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.success-panel p {
  margin: 0;
  max-width: none;
}
.booking-reference {
  margin: 0;
  white-space: nowrap;
}
.total {
  font-size: 38px;
  font-weight: 850;
  margin-top: 6px;
}
.flight {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  padding: 16px;
  margin-top: 10px;
}
.coming {
  font-size: 12px;
  color: #e9ce8c;
  margin-top: 6px;
}
.fine {
  font-size: 12px;
  color: var(--muted);
}
.flight-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.flight-actions .btn {
  min-height: 42px;
}
.flight-result {
  border: 1px solid #3a4939;
  background: #101510;
  border-radius: 13px;
  padding: 14px;
  margin-top: 14px;
}
.flight-result.warning {
  border-color: #65542f;
  background: #18150e;
}
.flight-result.error {
  border-color: #643d3d;
  background: #1a1010;
}
.flight-result-title {
  font-weight: 800;
  margin-bottom: 5px;
}
.flight-route {
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
}
.flight-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.flight-fact {
  border: 1px solid #354036;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  color: #dfe8df;
}
.flight-message {
  color: #cbd5cc;
  line-height: 1.55;
  margin-top: 11px;
}
.flight-timing {
  border-top: 1px solid #2e382f;
  margin-top: 13px;
  padding-top: 13px;
}
.flight-timing label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}
.flight-timing .fine {
  line-height: 1.5;
}
.flight-timing-row {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.flight-timing-row select,
.flight-timing-row input {
  width: auto;
  min-width: 190px;
  flex: 1;
}
.flight-advice {
  border: 1px solid #3c4838;
  background: #111611;
  border-radius: 13px;
  padding: 13px 14px;
  margin-top: 12px;
  line-height: 1.5;
}
.flight-advice.warning {
  border-color: #71552c;
  background: #19150d;
}
.flight-advice .btn {
  min-height: 38px;
  margin-top: 10px;
}
.flight-summary {
  border-top: 1px solid #2a2f2b;
  padding: 16px 18px;
}
.flight-summary-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.flight-summary-head strong {
  font-size: 15px;
}
.flight-summary-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.flight-summary p {
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 0;
}
.flight-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.flight-plan-item {
  border: 1px solid #343d35;
  background: #101310;
  border-radius: 10px;
  padding: 9px;
}
.flight-plan-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 3px;
}
.flight-plan-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.flight-plan-copy {
  margin-top: 8px;
  color: #d6ddd7;
}
.addr {
  position: relative;
}
.addr.has-clear > input {
  padding-right: 45px;
}
.clear-address {
  position: absolute;
  z-index: 2;
  right: 9px;
  top: 7px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.clear-address:hover,
.clear-address:focus-visible {
  background: #292d2a;
  color: var(--text);
  outline: none;
}
.suggestions {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  color: #141614;
  border-radius: 12px;
  max-height: 280px;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 8px 24px #0005;
}
.suggestions.above {
  top: auto;
  bottom: calc(100% + 5px);
}
.suggestions .google-attribution {
  position: sticky;
  top: -6px;
  z-index: 1;
  padding: 8px 12px;
  background: #fff;
  color: #5e5e5e;
  font:
    400 12px Arial,
    sans-serif;
  text-align: right;
  white-space: nowrap;
}
.suggestions button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #151515;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
}
.stop {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.stop .addr {
  flex: 1;
}
.remove {
  width: 46px;
  border: 1px solid var(--line);
  background: #232724;
  color: #fff;
  border-radius: 12px;
}
.luggage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.icon-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.icon-label svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}
.booking-review-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.booking-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.booking-metric {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  border: 1px solid #303632;
  background: #111312;
  border-radius: 11px;
  padding: 9px 11px;
  min-height: 40px;
}
.booking-metric .capacity-icon {
  width: 19px;
  height: 19px;
}
.booking-metric .small-case {
  width: 16px;
  height: 16px;
}
.vehicle-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.vehicle-thumb {
  width: 88px;
  height: 56px;
  flex: none;
  object-fit: cover;
  border: 1px solid #353b36;
  border-radius: 10px;
  background: #0d0f0e;
}
.vehicle-identity-copy {
  min-width: 0;
}
.vehicle-identity-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.vehicle-identity-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}
.summary-vehicle-row {
  padding: 8px 0 12px;
  border-bottom: 1px solid #282c29;
}
.summary-vehicle-row .vehicle-thumb {
  width: 76px;
  height: 49px;
}
.summary-metrics {
  padding: 12px 0;
  border-bottom: 1px solid #282c29;
}
.calendar-downloads {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.calendar-downloads .btn {
  width: 100%;
}

.terms-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  margin: 16px 0;
}
.terms-row input {
  width: 19px;
  min-height: 19px;
  height: 19px;
  flex: none;
}
.terms-row a {
  color: var(--green);
  text-decoration: underline;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
}
.calendar-field {
  position: relative;
}
.calendar-input-row {
  display: flex;
  gap: 8px;
}
.calendar-display {
  cursor: pointer;
  background: var(--panel);
}
.calendar-button {
  width: 49px;
  min-width: 49px;
  border: 1px solid var(--line);
  background: #232724;
  color: var(--text);
  border-radius: 13px;
  font-size: 20px;
  cursor: pointer;
}
.calendar-popover {
  position: absolute;
  z-index: 5000;
  bottom: calc(100% + 8px);
  left: 0;
  width: min(360px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #151716;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}
.calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.calendar-head button {
  height: 40px;
  border: 1px solid var(--line);
  background: #232724;
  color: var(--text);
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}
.calendar-head button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.calendar-title {
  text-align: center;
  font-weight: 800;
}
.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.calendar-week span {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  padding: 5px 0;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1;
  border: 0;
  background: #222522;
  color: var(--text);
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
}
.calendar-day:hover {
  background: #303530;
}
.calendar-day.selected {
  background: var(--green);
  color: #091006;
  font-weight: 850;
}
.calendar-day.today {
  box-shadow: 0 0 0 1px var(--green) inset;
}
.calendar-day:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}
.calendar-day.blank {
  visibility: hidden;
}
#bookingTimeNotice a {
  color: var(--green);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .app {
    padding: 17px;
  }
  .grid,
  .vehicle-grid,
  .review-layout,
  .confirmation-layout {
    grid-template-columns: 1fr;
  }
  .flight-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-card,
  .confirmation-side {
    position: static;
  }
  .summary-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 11px 0;
  }
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .route-address {
    font-size: 15px;
  }
  .success-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .success-mark {
    margin: auto;
  }
  .booking-reference {
    margin: auto;
    white-space: normal;
  }
}
@media (max-width: 390px) {
  .capacity-item {
    gap: 5px;
    padding: 7px 8px;
  }
  .passenger-word {
    font-size: 10px;
  }
  .luggage-grid {
    grid-template-columns: 1fr;
  }
  .vehicle-thumb {
    width: 74px;
    height: 49px;
  }
}
.addr.has-location {
  display: flex;
  gap: 8px;
}
.addr.has-location > input {
  flex: 1;
  min-width: 0;
  padding-right: 45px;
}
.addr.has-location > .clear-address {
  right: 66px;
}
.location-icon {
  width: 49px;
  min-width: 49px;
  min-height: 49px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #232724;
  color: var(--text);
  cursor: pointer;
}
.location-icon:disabled {
  opacity: 0.65;
  cursor: wait;
}
.app.availability-checking,
html[data-search-starting] .app {
  height: 687px;
}
.app.availability-checking {
  display: flex;
  flex-direction: column;
}
.app.availability-checking > .eyebrow,
.app.availability-checking > h1,
.app.availability-checking > .intro,
.app.availability-checking > .progress {
  flex: none;
}
.app.availability-checking > .screen.on {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}
.availability-checking #vehicleHeading,
.availability-checking .actions {
  flex: none;
}
.availability-checking #vehicleGrid {
  display: none;
}
.availability-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(18px, 4.8vw, 23px);
  line-height: 1.3;
}
.availability-heading > span:last-child {
  min-width: 0;
}
.availability-loading {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 100px;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  background: #18201b;
}
.availability-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.availability-spinner {
  width: 20px;
  height: 20px;
  flex: none;
  border: 2px solid #3b493a;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: working-spin 0.75s linear infinite;
}
.map-car-static {
  display: none;
}
/* Initial checks and refreshes share the booking frame from the first paint. */
html[data-search-starting] .app {
  display: flex;
  flex-direction: column;
}
html[data-search-starting] .screen {
  display: none;
}
html[data-search-starting] [data-screen='2'] {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}
html[data-search-starting] #vehicleGrid {
  display: none;
}
html[data-search-starting] #status {
  flex: 1;
  visibility: hidden;
}
html[data-search-starting] #vehicleHeading {
  font-size: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
html[data-search-starting] #vehicleHeading::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #3b493a;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: working-spin 0.75s linear infinite;
}
html[data-search-starting] #vehicleHeading::after {
  content: 'Checking availability…';
  font-size: clamp(18px, 4.8vw, 23px);
  line-height: 1.3;
}
html[data-search-starting='now'] #vehicleHeading::after {
  content: 'Checking live availability…';
}
#locationMessage {
  min-height: 16px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
#locationMessage.hidden {
  display: block !important;
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .availability-spinner {
    animation: none;
    border-color: var(--green);
  }
  .map-car-moving {
    display: none;
  }
  .map-car-static {
    display: block;
  }
}

.is-working {
  position: relative;
  cursor: wait !important;
}
.is-working:not(.location-icon)::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 9px;
  vertical-align: middle;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: working-spin 0.75s linear infinite;
}
.location-icon.is-working svg {
  visibility: hidden;
}
.location-icon.is-working::after {
  content: '';
  position: absolute;
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: working-spin 0.75s linear infinite;
}
@keyframes working-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-working::after {
    animation-duration: 2s !important;
  }
}
.time-select {
  position: relative;
}
.time-select select[hidden] {
  display: none;
}
.time-button {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid #343b35;
  border-radius: 16px;
  background: #141715;
  color: inherit;
  font: inherit;
}
.time-choices {
  position: absolute;
  z-index: 60;
  bottom: calc(100% - 22px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #18201a;
  border: 1px solid #65745e;
  border-radius: 14px;
  box-shadow: 0 8px 30px #0008;
}
.time-choices button {
  display: block;
  width: 100%;
  min-height: 44px;
  background: transparent;
  color: #fff;
  border: 0;
  font: inherit;
  padding: 10px 20px;
  text-align: center;
}
.time-choices button:hover,
.time-choices button:focus,
.time-choices button[aria-pressed='true'] {
  background: #85c83e;
  color: #102015;
  outline: 2px solid #fff;
  outline-offset: -2px;
}
/* Keep estimate rows present while values change, so the form never collapses. */
.journey-addresses {
  grid-template-columns: 1fr;
}
.journey-addresses > .field {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  #locationMessage {
    min-height: 32px;
  }
}
.route-stops {
  min-width: 0;
}
.stop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 8px;
  align-items: start;
  margin-bottom: 14px;
}
.stop .addr {
  min-width: 0;
}
.stop-controls {
  display: flex;
  gap: 4px;
  align-items: center;
}
.stop-move,
.stop-controls .remove {
  width: 36px;
  height: 49px;
  padding: 0;
  background: #202722;
  color: var(--text);
  border: 1px solid #4c574e;
  border-radius: 9px;
  cursor: pointer;
  font-size: 18px;
}
.stop-move:disabled {
  opacity: 0.3;
  cursor: default;
}
.stop-time {
  grid-column: 1/-1;
  display: block;
  min-height: 34px;
  padding: 8px 10px;
  border-left: 3px solid var(--green);
  border-radius: 5px;
  background: #171d16;
  color: #d4e7c4;
  font-size: 12px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
}
.journey-timing {
  margin: 12px 0 16px;
  padding: 12px 14px;
  background: #171d16;
  border: 1px solid #3b4c33;
  border-left: 3px solid var(--green);
  border-radius: 12px;
  color: #d4e7c4;
  box-shadow: 0 5px 18px #0002;
}
.timing-label {
  display: block;
  font-size: 12px;
  line-height: 18px;
}
.timing-value {
  display: block;
  min-height: 32px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.timing-detail {
  display: block;
  min-height: 36px;
  font-size: 12px;
  line-height: 18px;
  color: #c5d1bf;
}
.arrive-by {
  margin: 16px 0;
  border: 1px solid #3d4940;
  padding: 12px;
  border-radius: 10px;
}
.arrive-by summary {
  cursor: pointer;
}
.arrive-by label {
  display: block;
  margin: 14px 0 8px;
}
.arrive-by input {
  min-width: 0;
}
.arrival-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.flight-advice .btn {
  font-size: 14px;
  min-height: 38px;
  padding: 8px 14px;
  line-height: 20px;
}
.arrival-actions .btn {
  margin: 0;
  min-height: 38px;
  padding: 8px 14px;
  max-width: 100%;
  font-size: 14px;
  line-height: 20px;
}
.arrival-actions .btn {
  min-width: 124px;
}
.arrival-actions .btn:disabled {
  opacity: 0.65;
}
.arrival-guidance {
  min-height: 40px;
  line-height: 20px;
  margin: 0;
  font-size: 14px;
  color: inherit;
}
.arrival-advice {
  margin-top: 12px;
}
.arrival-choice-confirmation {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 20px;
}
.price small {
  max-width: 170px;
}
@media (max-width: 420px) {
  .stop-time {
    min-height: 52px;
  }
  .timing-detail {
    min-height: 54px;
  }
  .arrival-guidance {
    min-height: 60px;
  }
  .stop-move,
  .stop-controls .remove {
    width: 32px;
  }
  .stop-controls {
    gap: 3px;
  }
}

/* Native date/time controls must shrink inside narrow mobile booking panels. */
.grid > * {
  min-width: 0;
}
.arrive-by,
.arrival-advice {
  min-width: 0;
  max-width: 100%;
}
.arrive-by label {
  overflow-wrap: anywhere;
}
.arrive-by input[type='datetime-local'] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding-inline: 8px;
  -webkit-appearance: none;
  appearance: none;
}
.arrive-by input::-webkit-date-and-time-value {
  min-width: 0;
  min-inline-size: 0;
  text-align: left;
}
.arrive-by input::-webkit-datetime-edit {
  min-width: 0;
  padding: 0;
}

#status a,
#status .text-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
#status .text-link:disabled {
  opacity: 0.6;
  cursor: wait;
}

.pickup-details {
  margin-top: 6px;
  font-size: 13px;
}
.pickup-details summary {
  color: #a6d88b;
  cursor: pointer;
  text-decoration: underline;
}
.pickup-details[hidden] {
  display: none;
}
.pickup-details[open] {
  padding: 12px;
  border: 1px solid #444;
  border-radius: 10px;
}
.pickup-details .btn {
  margin-top: 10px;
}
#pickupDetailsStatus:empty {
  display: none;
}

/* Match the EQV's visual scale to the larger vehicles in the selection grid. */
.vehicle-image img[src$='/mercedes-eqv.jpg'],
.vehicle-image img[src$='/mercedes-v-class.png'] {
  transform: scale(1.7);
  transform-origin: 50% 40%;
}

/* Use the existing payment action for the secure-checkout handoff. */
.checkout-actions #paymentMessage.payment-handoff {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
#paymentMessage.payment-handoff .btn {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

input[aria-invalid='true'] {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
#passengers[aria-invalid='false']:focus-visible {
  outline: none;
}
#holdCountdown {
  font-variant-numeric: tabular-nums;
}
#holdCountdown:empty {
  display: none;
}
