/* ═══════════════════════════════════════
   booking.css 
═══════════════════════════════════════ */

/* ── Wrapping section sits inside hero-page-bg ── */
.booking-widget-wrap {
  background: #fff;
  padding: 18px var(--page-pad) 32px;
  position: relative; z-index: 1;
}
.booking-widget {
  max-width: var(--page-max);
  margin: 0 auto;
}

/* ── Tab row — floating pill buttons (NOT bar tabs) ── */
.bw-tabs {
  display: flex; gap: 6px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.bw-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  color: #555; background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 4px; cursor: pointer;
  font-family: var(--font-body);
  transition: all .15s;
  white-space: nowrap;
}
.bw-tab .tab-icon { font-size: 14px; line-height: 1; display: flex; align-items: center; }
.bw-tab.active {
  background: var(--wa-red); color: #fff;
  border-color: var(--wa-red);
  box-shadow: 0 2px 10px rgba(200,16,46,.3);
  /* active tab has a small pointer downward */
  position: relative;
}
.bw-tab.active::after {
  content: '';
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--wa-red);
}
.bw-tab:hover:not(.active) { border-color: var(--wa-red); color: var(--wa-red); }

/* ── White card body ── */
.bw-body {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px 24px 20px;
  box-shadow: var(--shadow-card);
}

/* Entry requirements top-right */
.bw-top-row {
  display: flex; justify-content: flex-end; margin-bottom: 14px;
}
.entry-req-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #888; cursor: pointer;
  padding: 6px 12px; border: 1px solid #ddd;
  border-radius: 3px; background: #f8f8f8;
  transition: all .14s;
}
.entry-req-link:hover { border-color: var(--wa-red); color: var(--wa-red); }

/* Trip type row */
.trip-row { display: flex; gap: 0; margin-bottom: 16px; }
.trip-btn {
  padding: 8px 20px; font-size: 13px; font-weight: 600;
  border: none; background: transparent;
  color: var(--wa-red); cursor: pointer;
  font-family: var(--font-body);
  border-radius: 3px; transition: all .14s;
}
.trip-btn.active {
  background: var(--wa-red); color: #fff;
  border-radius: 3px;
}
.trip-btn:hover:not(.active) { background: #FFF0F0; }

/* ── Main field row — exact Winair layout ── */
.bw-fields {
  display: flex; gap: 0;
  border: 1.5px solid #ccc; border-radius: 4px;
  overflow: hidden;
}

/* From + To — large white boxes */
.bw-field-from, .bw-field-to {
  flex: 1; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  border-right: 1.5px solid #ccc;
  background: #fff; cursor: pointer;
  transition: background .14s; min-width: 0;
}
.bw-field-from:hover, .bw-field-to:hover { background: #FFF5F5; }

/* Red circle key icon — exact Winair style */
.bw-key-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid var(--wa-red);
  background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.bw-key-icon::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--wa-red);
}
/* Swap icon between From and To */
.bw-swap {
  position: relative; flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.bw-swap-icon {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #bbb; background: #f8f8f8;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #888; cursor: pointer;
  transition: border-color .14s;
}
.bw-swap-icon:hover { border-color: var(--wa-red); color: var(--wa-red); }

.bw-field-label { font-size: 11px; color: #aaa; font-weight: 600; letter-spacing: .3px; display: block; }
.bw-field-val   { font-size: 15px; color: #999; font-weight: 500; }
.bw-field-val.filled { color: var(--wa-text); }

/* To field has swap icon between From and To */
.bw-field-to { border-left: none; }

/* ── Dates block — grey ── */
.bw-field-dates {
  width: 160px; flex-shrink: 0;
  background: var(--wa-grey-date);
  border-right: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 14px 16px; cursor: pointer;
  transition: background .14s;
}
.bw-field-dates:hover { background: #7A8EAB; }
.bw-field-dates .bw-field-label { color: rgba(255,255,255,.8); text-align: center; }
.bw-dates-icon { font-size: 22px; margin-top: 4px; color: #fff; display: flex; align-items: center; justify-content: center; }

/* ── 1 Passenger block — navy ── */
.bw-field-pax {
  width: 140px; flex-shrink: 0;
  background: var(--wa-navy);
  display: flex; gap: 10px;
  align-items: center; justify-content: center;
  padding: 14px 14px; cursor: pointer;
  transition: background .14s;
}
.bw-field-pax:hover { background: var(--wa-navy-light); }
.bw-pax-num {
  font-size: 32px; font-weight: 900; color: #fff;
  line-height: 1; font-family: var(--font-display);
}
.bw-pax-info { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bw-pax-label {
  font-size: 10px; color: rgba(255,255,255,.75);
  font-weight: 600; letter-spacing: .5px;
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg); text-transform: uppercase;
}
.bw-pax-icon { font-size: 20px; color: rgba(255,255,255,.8); display: flex; align-items: center; }

/* ── Arrow/submit button — red ── */
.bw-field-go {
  width: 56px; flex-shrink: 0;
  background: var(--wa-red);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  transition: background .14s;
  border-radius: 0;
}
.bw-field-go:hover { background: var(--wa-red-dark); }
.bw-arrow { font-size: 22px; color: #fff; font-weight: 700; }