/* flyABC theme on top of Bootstrap 5.3 */
:root {
  --navy: #0b3a6b; --navy-dark: #082c52; --teal: #0a9fb0; --btn-teal: #07808f; --btn-teal-dark: #066a77;
  --bs-primary: #0a9fb0; --bs-primary-rgb: 10, 159, 176;
  --bs-link-color-rgb: 7, 128, 143; --bs-link-hover-color-rgb: 6, 106, 119;
  --bs-body-color: #0b3a6b; --bs-body-color-rgb: 11, 58, 107;
  --bs-body-bg: #f4f8fb; --bs-body-bg-rgb: 244, 248, 251;
  --bs-border-color: #e1e8ef;
  --bs-secondary-rgb: 90, 110, 138; --bs-secondary-color: #5a6e8a;
  --bs-font-sans-serif: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.bg-navy { background-color: var(--navy) !important; }
.btn-primary {
  --bs-btn-bg: var(--btn-teal); --bs-btn-border-color: var(--btn-teal);
  --bs-btn-hover-bg: var(--btn-teal-dark); --bs-btn-hover-border-color: var(--btn-teal-dark);
  --bs-btn-active-bg: var(--btn-teal-dark); --bs-btn-active-border-color: var(--btn-teal-dark);
  --bs-btn-disabled-bg: var(--btn-teal); --bs-btn-disabled-border-color: var(--btn-teal);
  --bs-btn-focus-shadow-rgb: 10, 159, 176;
}
.btn-outline-primary {
  --bs-btn-color: var(--btn-teal); --bs-btn-border-color: var(--btn-teal);
  --bs-btn-hover-bg: var(--btn-teal); --bs-btn-hover-border-color: var(--btn-teal);
  --bs-btn-active-bg: var(--btn-teal); --bs-btn-active-border-color: var(--btn-teal);
  --bs-btn-focus-shadow-rgb: 10, 159, 176;
}
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .25rem rgba(10, 159, 176, .25); }
.form-check-input:checked { background-color: var(--btn-teal); border-color: var(--btn-teal); }
.form-check-input:focus { border-color: var(--teal); box-shadow: 0 0 0 .25rem rgba(10, 159, 176, .25); }
.nav-underline { --bs-nav-underline-link-active-color: var(--navy); }

/* App shell: sidebar + main */
.app-shell { display: flex; min-height: 100vh; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content-wrap { max-width: 1200px; width: 100%; }
.sidebar { --bs-offcanvas-width: 250px; --bs-offcanvas-bg: var(--navy); --bs-offcanvas-color: #cfe0f0; }
@media (min-width: 992px) {
  .sidebar { flex: 0 0 250px; width: 250px !important; position: sticky; top: 0; height: 100vh !important; overflow-y: auto; background-color: var(--navy) !important; }
}
.sidebar .brand { display: block; background: #fff; padding: 16px 20px; }
.sidebar .brand img { display: block; width: 100%; max-width: 170px; height: auto; margin: 0 auto; }
.sidebar .nav-link { display: flex; align-items: center; gap: 12px; padding: .75rem 1.4rem; color: #cfe0f0; border-left: 3px solid transparent; border-radius: 0; }
.sidebar .nav-link svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: var(--navy-dark); color: #fff; }
.sidebar .nav-link.active { border-left-color: var(--teal); font-weight: 600; }
.burger svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }

/* Login */
.login-body { min-height: 100vh; background: linear-gradient(160deg, #fff 0%, #f4f9fc 60%, #e8f3f8 100%); }
.bg-wave { position: fixed; left: 0; bottom: 0; width: 70vw; max-width: 900px; height: 55vh; z-index: 0; pointer-events: none; }
.login-card { max-width: 440px; border-radius: 12px; }
.login-logo { width: min(300px, 70vw); height: auto; }
.input-group-text svg, .toggle-pw svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Search form */
.swap-icon { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.suggest { top: 100%; z-index: 1050; max-height: 320px; overflow-y: auto; }
.suggest li { cursor: pointer; }
.stepper button { width: 34px; height: 34px; padding: 0; line-height: 1; }

/* Results */
.datenav { font-size: 1.6rem; line-height: 1; text-decoration: none; padding: 0 .4rem; }
.offer:has(input:checked) { background: #eef8fa; box-shadow: inset 4px 0 0 var(--teal); }
.offer .badge-airline { width: 40px; height: 40px; }
.route-line { display: flex; align-items: center; gap: 8px; }
.route-line i { flex: 1; height: 2px; background: #f0922b; }
.route-line svg { width: 22px; height: 22px; fill: #f0922b; transform: rotate(90deg); }

/* All data entry is upper case (see uppercase.js); fields with data-keep-case are excluded */
input:not([type]):not([data-keep-case]), input[type=text]:not([data-keep-case]),
input[type=search]:not([data-keep-case]), input[type=tel]:not([data-keep-case]),
textarea:not([data-keep-case]) { text-transform: uppercase; }
