/* Booking module: "Flights" / "Manage my booking" tabs. */
.bk { position: relative; z-index: 3; width: min(1120px, 94vw); margin-top: 8px; text-align: left; }
/* the module must sit ABOVE the stats bar so the airport list is not hidden */
.hero-inner { z-index: 5; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.bk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- tabs ---- */
.bk-tabs { display: flex; }
.bk-tab {
  padding: 14px 30px; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  border-radius: 12px 12px 0 0; background: rgba(255, 255, 255, 0.78); color: var(--text-subtle);
  font: 600 15px var(--font-body); transition: background .2s, color .2s;
}
.bk-tab:hover { background: rgba(255, 255, 255, 0.92); }
.bk-tab.is-active { background: #fff; color: var(--navy); border-bottom-color: var(--navy); }
.bk-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

.bk-card {
  background: #fff; border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-strong); padding: 28px 32px 32px;
}
.bk-card [hidden] { display: none !important; }

/* ---- trip type / currency ---- */
.bk-options { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-bottom: 24px; }
.bk-radio { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 600 14.5px var(--font-body); color: var(--text-body); }
.bk-radio input { position: absolute; opacity: 0; pointer-events: none; }
.bk-radio-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--divider); display: grid; place-items: center; transition: background .2s; }
.bk-radio input:checked + .bk-radio-dot { background: var(--navy); }
.bk-radio input:checked + .bk-radio-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.bk-radio input:focus-visible + .bk-radio-dot { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---- Itinerary / Dates / Passengers grid ---- */
.bk-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 28px; align-items: start; }
.bk-group h3 { font: 700 20px var(--font-head); color: var(--text-subtle); margin: 0 0 16px; }
.bk-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.bk-row--pax { grid-template-columns: 96px minmax(0, 1fr); }

.bk-field { position: relative; min-width: 0; }
.bk-field > label { display: block; font: 500 14px var(--font-body); color: var(--text-body); margin-bottom: 8px; }
.bk-input {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px;
  border: 1px solid var(--divider); border-radius: 8px; background: #fff; transition: border-color .2s, background .2s;
}
.bk-input { position: relative; }
.bk-input input[type="date"] { font-size: 14px; }
/* the whole date field opens the native calendar (only one icon, the left one) */
.bk-input input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.bk-input input[type="date"]:disabled::-webkit-calendar-picker-indicator { cursor: not-allowed; }
.bk-input:focus-within { border-color: var(--navy-bright); box-shadow: 0 0 0 3px rgba(11, 94, 168, 0.14); }
.bk-input > .material-symbols-rounded { color: var(--text-faint); font-size: 22px; flex: 0 0 auto; }
.bk-plane { transform: rotate(90deg); }
.bk-input input:not([type="hidden"]), .bk-input select {
  flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent;
  font: 500 15px var(--font-body); color: var(--navy);
}
.bk-input input::placeholder { color: var(--text-faint); }
.bk-input:has(input:disabled) { background: #e9ecf1; border-color: #e9ecf1; }
.bk-input input:disabled { cursor: not-allowed; color: var(--text-faint); }
.bk-input--pax select { appearance: none; cursor: pointer; font-weight: 600; }
.bk-field.has-error .bk-input { border-color: #a4262c; }

.bk-error { margin: 8px 0 0; color: #a4262c; font: 500 12.5px/1.45 var(--font-body); }
.bk-error--form { margin-top: 16px; font-size: 13.5px; }
.bk-hint { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; color: var(--text-subtle); font: 500 12.5px/1.5 var(--font-body); }
.bk-hint .material-symbols-rounded { font-size: 16px; color: var(--text-muted); font-variation-settings: "FILL" 1; margin-top: 1px; }

/* ---- button (grayed out while the form is invalid) ---- */
.bk-submit {
  height: 52px; border: 0; border-radius: 8px; padding: 0 22px; cursor: pointer;
  background: var(--gold-gradient); color: var(--ink); font: 700 15px var(--font-head);
  box-shadow: 0 12px 26px rgba(248, 151, 12, 0.28); transition: transform .2s, background .2s;
}
.bk-submit:hover { transform: translateY(-2px); }
.bk-submit.is-disabled { background: #b4c0d1; color: #fff; box-shadow: none; cursor: not-allowed; transform: none; }
.bk-submit.is-loading { opacity: .7; pointer-events: none; }
.bk-submit:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ---- suggestion list (airports) ---- */
.bk-list {
  position: absolute; z-index: 30; left: 0; min-width: min(380px, 88vw); width: max-content; max-width: 88vw; top: calc(100% - 2px); margin: 0; padding: 6px; list-style: none;
  max-height: 320px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 12px; box-shadow: var(--shadow-strong); border: 1px solid var(--divider);
}
.bk-opt { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.bk-opt strong { font: 700 14px var(--font-head); color: var(--navy); }
.bk-opt .bk-code { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--font-body); color: var(--orange); align-self: center; grid-row: 1; grid-column: 2; }
.bk-opt small { grid-column: 1 / -1; color: var(--text-muted); font-size: 12px; }
.bk-opt.is-active, .bk-opt:hover { background: var(--bg-alt); }
.bk-empty { padding: 12px; color: var(--text-muted); font-size: 13px; }

/* ---- sending the request to the agency (WhatsApp) ---- */
.bk-wa-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--divider); color: var(--text-subtle); font: 500 13px/1.5 var(--font-body); }
.bk-wa-note svg { width: 22px; height: 22px; flex: 0 0 auto; fill: #25D366; }
.bk-sent { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(37, 211, 102, 0.12); color: #146c3a; font: 600 13.5px/1.5 var(--font-body); }

/* ---- Manage my booking ---- */
.bk-manage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 350px)) minmax(0, 350px); gap: 20px; align-items: start; }
.bk-label-spacer { display: block; margin-bottom: 8px; font-size: 14px; visibility: hidden; }
.bk-field--action .bk-submit { width: 100%; }

@media (max-width: 1024px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-manage-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-label-spacer { display: none; }
  .bk-card { padding: 24px 20px 26px; }
}
@media (max-width: 560px) {
  .bk-row { grid-template-columns: minmax(0, 1fr); }
  .bk-row--pax { grid-template-columns: 96px minmax(0, 1fr); }
  .bk-tab { flex: 1; padding: 14px 10px; font-size: 14px; }
}

/* The airport list must sit above the stats bar (z-index 4), which overlaps the bottom of the hero. */
.hero-inner.is-picking { z-index: 20; }


/* The hero must not clip the airport list that overflows downward (overrides "overflow: hidden" from home.css). */
body .hero { overflow-x: clip !important; overflow-y: visible !important; }