/* JetMiles P03 quote form: styles of the UI built by quote.js (errors, menus, calendar placement).
   The airport menu, the full-screen search and the calendar reuse the booking widget styles (booking.css).
   Kept in the Webflow assets so Webflow's "Clean up" never removes these classes. */

/* Errors: line under the field, red border */
.quote-error { display: flex; align-items: flex-start; gap: 0.375rem; margin: 0; color: var(--_color-modes---text--t-error); font-size: var(--_font-sizes---text--te-xs); line-height: 1.5; }
.quote-error svg { flex: none; margin-top: 0.125rem; }
.quote_field.is-error .quote_control,
.quote_field.is-error .quote_text-input { border-color: var(--_color-modes---border--bd-error); }
.quote_field.is-error .quote_pill { border-color: var(--_color-modes---border--bd-error); }

/* Menus and calendar open under their field, inside the panel */
.section_quote .booking-menu { width: 100%; min-width: 0; }
.section_quote .booking-menu_sep { height: 1px; margin: 4px 0; background: var(--_color-modes---border--bd-2); list-style: none; }
.section_quote .booking-cal:not(.is-sheet) { top: calc(100% + 0.5rem); bottom: auto; left: 0; }
.section_quote .booking-cal.is-up:not(.is-sheet) { top: auto; bottom: calc(100% + 0.5rem); }
.section_quote .booking-menu_item[aria-disabled="true"] { opacity: 0.4; cursor: default; }

/* Submit in progress */
.quote_submit.is-loading { opacity: 0.7; pointer-events: none; }

@media (max-width: 991px) {
  .section_quote .booking-cal:not(.is-sheet) { width: 100%; }
}
