.flight-page { padding-top:24px; }
.flight-row-price .flight-price-vnd { display:block; font-size:11px; color:#536b84; font-weight:600; margin-top:4px; white-space:nowrap; }
.flight-airline b { overflow-wrap:anywhere; line-height:1.4; }
.flight-filter-content fieldset[hidden] { display:none; }
.flight-detail-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:24px; text-align:left; }
.flight-detail-grid h3 { margin:0 0 8px; font-size:15px; color:#103e69; }
.flight-detail-grid h4 { font-size:12px; margin:18px 0 10px; color:#103e69; }
.flight-detail-note { font-size:11px; line-height:1.65; color:#718399; }
.flight-detail-segment { border:1px solid #e3eaf1; border-radius:9px; padding:14px; }
.flight-segment-heading { display:flex; flex-direction:column; gap:3px; border-bottom:1px solid #edf1f6; padding-bottom:10px; margin-bottom:10px; color:#244360; }
.flight-detail-segment small { display:block; font-size:11px; color:#718399; }
.flight-detail-point { display:grid; grid-template-columns:90px minmax(0,1fr); gap:12px; padding:8px 0; }
.flight-detail-point b { color:#334b65; }
.flight-detail-clock strong { color:#183652; font-size:16px; }
.flight-detail-transit { margin:8px 0; padding:8px 12px; border-left:3px solid #f6b64d; background:#fff8e9; color:#866224; border-radius:4px; font-size:11px; }
.flight-detail-fare { padding:16px; background:#f5f8fc; border-radius:9px; align-self:start; }
.flight-fare-facts { display:grid; grid-template-columns:minmax(90px,.8fr) minmax(0,1fr); gap:9px 14px; margin:16px 0; font-size:12px; }
.flight-fare-facts dt { color:#718399; }
.flight-fare-facts dd { margin:0; font-weight:600; color:#29435e; overflow-wrap:anywhere; }
@media(max-width:760px) { .flight-detail-grid { grid-template-columns:minmax(0,1fr); gap:18px; } .flight-detail-point { grid-template-columns:78px minmax(0,1fr); gap:8px; } }
.flight-empty-state { padding:40px 24px; text-align:center; border:1px solid #e1e9f0; border-radius:12px; background:#f8fafc; }
.flight-empty-state h2 { font-size:19px; color:#0b4378; margin:0 0 10px; }
.flight-empty-state p { color:#64748b; font-size:14px; margin:0 0 18px; }
.flight-row-price .flight-seat-count { color:#13805b; font-weight:600; margin-top:5px; }
body.flight-page-view { background:#fff; }
.tour-home .flight-page-banner {
 background:linear-gradient(135deg,#0c304de0,#204b6bd9),url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1920&q=80') center/cover;
}
body.flight-search-pending .flight-page-banner { padding:48px 0; min-height:180px; }
body.flight-search-pending .flight-page-banner .tour-search-box,
body.flight-search-pending .flight-route-summary,
body.flight-search-pending .flight-status,
body.flight-search-pending .flight-price-note,
body.flight-search-pending .flight-filter-sidebar { display:none; }
body.flight-search-pending .flight-page-banner > .hero-content > p { margin-bottom:0; }
body.flight-search-pending .flight-page { padding-top:0; padding-bottom:0; }
body.flight-search-pending .flight-results-layout { grid-template-columns:minmax(0,1fr); }
body.flight-search-pending .flight-results-layout .flight-loading { min-height:280px; padding:50px 16px; }
@media(max-width:600px) {
 body.flight-search-pending .flight-page-banner { padding:28px 16px; min-height:140px; }
 body.flight-search-pending .flight-results-layout .flight-loading { min-height:260px; }
}
.flight-search-editor { border:1px solid #dce6ef; border-radius:10px; background:#fff; margin-bottom:20px; }
.flight-search-editor > summary { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px 18px; list-style:none; cursor:pointer; font-size:13px; color:#0b4378; font-weight:700; }
.flight-search-editor > summary::-webkit-details-marker { display:none; }
.flight-search-editor > summary > span:last-child { font-size:11px; background:#edf5fd; border:1px solid #d4e2ef; padding:6px 12px; border-radius:6px; white-space:nowrap; }
.flight-search-editor .service-search { border:0; border-top:1px solid #edf1f6; box-shadow:none; border-radius:0 0 10px 10px; }
.flight-route-summary { margin:0 0 16px; font-size:15px; color:#0b4378; font-weight:700; }
.flight-results-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:20px; align-items:start; }
.flight-filter-sidebar { position:sticky; top:90px; }
.flight-filter-panel { border:1px solid #dce6ef; background:#fff; border-radius:9px; padding:16px; }
.flight-filter-panel > summary { list-style:none; font-size:13px; font-weight:800; color:#0b4378; cursor:pointer; }
.flight-filter-panel > summary::-webkit-details-marker { display:none; }
.flight-filter-content { margin-top:18px; }
.flight-filter-content fieldset { border:0; border-top:1px solid #edf1f6; padding:14px 0 2px; margin-top:14px; }
.flight-filter-content legend { font-size:12px; color:#203f60; font-weight:700; padding-top:10px; }
.flight-filter-content label { display:flex; align-items:center; gap:7px; font-size:11px; line-height:1.6; color:#5f7289; margin-top:9px; }
.flight-filter-content input { accent-color:#0b4378; flex:0 0 auto; width:13px; height:13px; }
.flight-filter-content .flight-sort-label { display:flex; align-items:stretch; flex-direction:column; font-weight:700; color:#203f60; }
.flight-sort-label select { width:100%; padding:9px 8px; border:1px solid #dce6ef; border-radius:6px; background:#f8fafc; color:#334155; font:inherit; }
.flight-reset { margin-top:20px; width:100%; border:1px solid #dce6ef; border-radius:6px; padding:9px; background:#fff; color:#0b4378; font-family:inherit; font-size:11px; cursor:pointer; }
.flight-results-content { min-width:0; }
.flight-status { padding:10px 12px; margin:0 0 8px; border:1px solid #dfe9f3; background:#edf5fd; border-radius:7px; color:#365d82; font-size:12px; line-height:1.6; }
.flight-price-note { color:#8493a5; font-size:10px; line-height:1.7; margin:0 0 16px; }
.flight-group-title { font-size:13px; font-weight:800; text-transform:uppercase; color:#0b4378; margin:18px 0 10px; }
.flight-result { display:grid; grid-template-columns:150px minmax(210px,1fr) 72px 126px 64px; align-items:center; gap:12px; padding:12px 14px; margin-bottom:8px; border:1px solid #dfe7ef; border-radius:8px; background:#fff; }
.flight-airline { display:flex; align-items:center; gap:8px; min-width:0; }
.flight-airline-logo { width:32px; height:32px; flex:0 0 32px; position:relative; display:grid; place-items:center; border-radius:5px; color:#0b4378; background:#f1f5fa; font-size:11px; font-weight:800; }
.flight-airline-logo img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#fff; }
.flight-airline-logo img[hidden] { display:none; }
.flight-airline b { font-size:11px; line-height:1.4; display:block; }
.flight-airline small { display:block; color:#8b99aa; font-size:9px; margin-top:4px; }
.flight-itineraries { min-width:0; }
.flight-itinerary { display:grid; grid-template-columns:minmax(65px,1fr) 75px minmax(65px,1fr); align-items:center; gap:10px; text-align:center; }
.flight-itinerary + .flight-itinerary { margin-top:10px; padding-top:8px; border-top:1px dashed #edf1f6; }
.flight-time b { font-size:14px; line-height:1.4; display:block; color:#243b53; }
.flight-time small { display:block; font-size:9px; color:#8493a5; margin-top:3px; line-height:1.4; }
.flight-duration { display:flex; flex-direction:column; align-items:center; gap:4px; }
.flight-duration small { font-size:9px; color:#8493a5; }
.flight-duration .flight-direct { color:#13a06c; }
.flight-route-line { width:100%; height:1px; background:#cfdae6; position:relative; }
.flight-route-line::after { content:'›'; position:absolute; top:-10px; right:-1px; color:#8da8c0; font-size:15px; }
.flight-number { text-align:center; min-width:0; }
.flight-number b { display:block; color:#435c75; font-size:10px; overflow-wrap:anywhere; }
.flight-detail-toggle { display:block; margin:4px auto 0; border:0; background:none; padding:0; color:#2472b2; font-family:inherit; font-size:10px; cursor:pointer; }
.flight-row-price { text-align:right; }
.flight-row-price strong { display:block; font-size:15px; font-weight:800; color:#e64638; white-space:nowrap; }
.flight-row-price small { display:block; color:#8a99aa; font-size:9px; margin-top:4px; }
.flight-choose { border:0; background:#07539b; border-radius:5px; color:#fff; padding:8px 12px; font-family:inherit; font-size:11px; font-weight:700; cursor:pointer; }
.flight-choose:hover { background:#073a69; }
.flight-fare-details { grid-column:1 / -1; padding:16px 2px 4px; border-top:1px solid #edf1f6; font-size:12px; line-height:1.8; color:#64748b; }
.flight-fare-details[hidden] { display:none; }
.flight-fare-details p { margin-top:7px; }
.flight-contact { display:inline-block; padding:8px 14px; color:#fff; background:#0b4378; border-radius:6px; margin-top:12px; font-size:12px; }
.flight-filter-empty { padding:22px; background:#fff; border:1px solid #dfe7ef; color:#738499; border-radius:8px; font-size:12px; }
.flight-validation { grid-column:1 / -1; font-size:12px; color:#b45309; margin:0; }
[data-flight-form] .flight-return-inactive .calendar-trigger { color:#a3afbc; background:#f1f5f9; }
@media(max-width:1100px) {
 .flight-results-layout { grid-template-columns:190px minmax(0,1fr); gap:14px; }
 .flight-result { grid-template-columns:150px minmax(170px,1fr) 54px 110px 54px; gap:8px; padding:12px 10px; }
 .flight-itinerary { grid-template-columns:minmax(50px,1fr) 55px minmax(50px,1fr); gap:6px; }
 .flight-row-price strong { font-size:13px; }
 .flight-choose { padding:8px; }
}
@media(max-width:900px) {
 .flight-results-layout { grid-template-columns:minmax(0,1fr); }
 .flight-filter-sidebar { position:static; }
 .flight-filter-content { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
 .flight-filter-content fieldset { margin-top:0; }
 .flight-filter-content .flight-sort-label { margin:0; }
 .flight-reset { align-self:end; }
 .flight-filter-panel:not([open]) .flight-filter-content { display:none; }
}
@media(max-width:600px) {
 .flight-page { padding-top:16px; }
 .flight-search-editor > summary { padding:12px; font-size:12px; }
 .flight-route-summary { font-size:12px; line-height:1.8; }
 .flight-filter-content { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .flight-result { grid-template-columns:minmax(0,1fr) auto 64px; gap:12px 8px; padding:14px; }
 .flight-airline { grid-column:1 / 3; grid-row:1; }
 .flight-choose { grid-column:3; grid-row:1; }
 .flight-itineraries { grid-column:1 / -1; grid-row:2; }
 .flight-number { grid-column:1; grid-row:3; text-align:left; }
 .flight-detail-toggle { margin-left:0; }
 .flight-row-price { grid-column:2 / -1; grid-row:3; }
 .flight-row-price strong { font-size:17px; }
 .flight-time b { font-size:17px; }
 .flight-itinerary { grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr); gap:10px; }
 .flight-time small { font-size:10px; }
 .flight-fare-details { grid-row:4; }
}
/* Flight search styles are isolated from the hotel/car form stylesheet. */
.flight-page { padding-bottom:48px; }
.flight-page .flight-search-editor .service-search { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; align-items:end; padding:20px; }
.flight-page [data-flight-form] label { display:flex; flex-direction:column; gap:6px; min-width:0; font-size:12px; color:#64748b; font-weight:600; }
.flight-page [data-flight-form] input:not([type=hidden]),
.flight-page [data-flight-form] select,
.flight-page [data-flight-form] .calendar-trigger { width:100%; min-width:0; height:46px; min-height:46px; margin:0; padding:10px 12px; border:1px solid #dce5ef; border-radius:9px; background:#f8fafc; color:#20354b; font:inherit; font-size:13px; box-sizing:border-box; }
.flight-page [data-flight-form] .calendar-trigger { display:flex; align-items:center; justify-content:space-between; }
.flight-page .service-primary { background:#ff7a00; color:#fff; border:0; border-radius:9px; padding:13px 18px; min-height:46px; font-family:inherit; font-weight:700; cursor:pointer; }
.flight-page .flight-filter-content label { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:7px; }
.flight-page .flight-filter-content .flight-sort-label { flex-direction:column; align-items:stretch; }
.flight-page .flight-filter-content input[type=radio],
.flight-page .flight-filter-content input[type=checkbox] { display:inline-block; flex:0 0 13px; width:13px; min-width:13px; max-width:13px; height:13px; min-height:13px; max-height:13px; margin:0; padding:0; appearance:auto; -webkit-appearance:auto; accent-color:#0b4378; box-shadow:none; }
.flight-retry { padding:8px 14px; margin:0 0 12px; background:#0b4378; color:#fff; border:0; border-radius:6px; font-family:inherit; cursor:pointer; }
.flight-retry[hidden] { display:none; }
@media(max-width:600px) {
 .flight-page .flight-search-editor .service-search { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:16px; }
 .flight-page .service-primary { grid-column:1 / -1; }
}
/* Match the compact rows and centered loader in thamkhao/flightsearch.php. */
.flight-loading { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:15px; padding:60px 12px; min-height:230px; }
.flight-loading[hidden] { display:none; }
.flight-loading-spinner { color:#0b4378; font-size:40px; animation:flight-loading-spin 1.5s linear infinite; }
.flight-loading p { font-size:14px; font-weight:600; color:#334155; text-align:center; line-height:1.7; margin:0; }
@keyframes flight-loading-spin { to { transform:rotate(360deg); } }
.flight-page .flight-result { border-radius:4px; padding:8px 16px; margin-bottom:6px; gap:12px; box-shadow:0 1px 2px #0000000d; transition:border-color .2s ease,box-shadow .2s ease; }
.flight-page .flight-result:hover { border-color:#cbd5e1; box-shadow:0 2px 4px #0000000a; }
.flight-page .flight-airline b { font-size:12px; font-weight:700; color:#334155; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.flight-airline > div:last-child { min-width:0; }
.flight-page .flight-airline small { font-size:10px; color:#64748b; margin-top:2px; }
.flight-page .flight-time b { font-size:15px; color:#1e293b; }
.flight-page .flight-time small { display:inline-block; font-size:10px; color:#334155; background:#f1f5f9; padding:2px 5px; border-radius:4px; font-weight:600; margin-top:2px; }
.flight-page .flight-duration small { font-size:10px; }
.flight-page .flight-row-price strong { font-size:16px; }
.flight-page .flight-number b { font-size:11px; }
.flight-page .flight-detail-toggle { font-size:10px; }
.flight-page .flight-choose { border-radius:4px; font-size:11px; padding:7px 12px; }
.flight-business-badge { display:inline-block; padding:1px 5px; border-radius:4px; background:#fef3c7; color:#b45309; font-size:9px; font-weight:700; margin-top:3px; }
.flight-page .flight-filter-content label { font-size:12px; }
.flight-page .flight-filter-content legend { font-size:12px; }
@media(max-width:600px) {
 .flight-page .flight-result { padding:13px; gap:12px 8px; border-radius:8px; }
 .flight-page .flight-time b { font-size:17px; }
 .flight-page .flight-row-price strong { font-size:17px; }
 .flight-loading { padding:44px 10px; min-height:200px; }
}
@media(prefers-reduced-motion:reduce) { .flight-loading-spinner { animation-duration:3s; } }
/* Keep the full results width for loading and empty/error states. */
.flight-results-layout.is-awaiting-results { grid-template-columns:minmax(0,1fr); }
.flight-results-layout.is-awaiting-results .flight-filter-sidebar { display:none; }
.flight-results-layout.is-awaiting-results .flight-results-content { grid-column:1 / -1; width:100%; }
.flight-results-layout.is-awaiting-results .flight-loading { min-height:320px; padding:70px 16px; }
@media(max-width:600px) { .flight-results-layout.is-awaiting-results .flight-loading { min-height:240px; padding:45px 12px; } }
/* Match the header, banner, search summary and results to the same page edges. */
.flight-page-banner { padding:30px 0 32px; text-align:center; }
.flight-page-banner h1 { font-size:27px; line-height:1.4; font-weight:800; color:#fff; margin:0 0 8px; }
.flight-page-banner p { font-size:13px; color:#d2e0ed; line-height:1.7; margin:0; }
@media(min-width:981px) {
 .tour-header .main-header { padding-inline:24px; }
 .flight-page { max-width:1200px; margin-inline:auto; padding-inline:24px; }
 .flight-page-banner .container { max-width:1200px; padding-inline:24px; }
 .flight-results-layout { align-items:start; }
 .flight-filter-sidebar { padding:0; margin:0; }
 .flight-results-content { padding:0; margin:0; }
}
@media(max-width:600px) {
 .flight-page-banner { padding:20px 0; }
 .flight-page-banner h1 { font-size:21px; margin-bottom:5px; }
 .flight-page-banner p { font-size:12px; }
}
/* Reuse the home search card in the flight results banner. */
.tour-home .flight-page-banner { padding:28px 0 30px; }
.tour-home .flight-page-banner .hero-content { max-width:1200px; }
.tour-home .flight-page-banner h1 { margin-bottom:6px; }
.tour-home .flight-page-banner > .hero-content > p { margin-bottom:22px; }
.tour-home .flight-page-banner .tour-search-box { max-width:none; width:100%; box-shadow:0 10px 30px #031c3526; }
.flight-page .flight-results { margin-top:0; }
@media(max-width:600px) {
 .tour-home .flight-page-banner { padding:16px 0 20px; }
 .tour-home .flight-page-banner h1 { font-size:20px; }
 .tour-home .flight-page-banner > .hero-content > p { font-size:11px; margin-bottom:14px; }
}
.flight-passenger-field { grid-column:span 2; }
.flight-passengers .rail-passenger-popover { z-index:3000; }
.flight-fare-badge { display:inline-block; border-radius:4px; padding:2px 5px; font-size:9px; font-weight:700; margin-top:3px; background:#edf2f7; color:#60758a; }
.flight-fare-badge.business { background:#fff2cf; color:#a16a0a; }
.flight-fare-badge.saver { background:#e1f6ed; color:#178059; }
@media(max-width:600px) { .flight-passenger-field { grid-column:span 2; } }

/* Compact ticket details: primary itinerary stays visible, supplementary data expands. */
.flight-detail-grid { gap:16px; }
.flight-detail-grid h3 { font-size:13px; margin-bottom:8px; }
.flight-detail-grid h4 { margin:10px 0 7px; }
.flight-detail-segment { padding:10px 12px; }
.flight-segment-heading { flex-direction:row; justify-content:space-between; align-items:center; gap:10px; padding-bottom:6px; margin-bottom:6px; }
.flight-segment-route { display:grid; grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr); align-items:center; gap:8px; }
.flight-detail-point { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:3px 0; }
.flight-detail-point:last-child { text-align:right; align-items:flex-end; }
.flight-detail-clock { display:flex; gap:6px; align-items:baseline; flex-wrap:wrap; }
.flight-detail-clock strong { font-size:15px; }
.flight-detail-point:last-child .flight-detail-clock { justify-content:flex-end; }
.flight-segment-arrow { color:#859ab0; text-align:center; }
.flight-segment-extra { margin-top:6px; font-size:10px; }
.flight-segment-extra summary { color:#3374a8; cursor:pointer; }
.flight-segment-extra small { margin-top:3px; }
.flight-detail-transit { margin:5px 0; padding:5px 10px; }
.flight-detail-fare { padding:12px; }
.flight-fare-facts { gap:6px 10px; margin:10px 0; }
.flight-fare-details .flight-contact { margin-top:5px; padding:7px 10px; }
[data-flight-form] label:has(> input[name="from"]) { position:relative; }
.flight-swap { position:absolute; top:-3px; right:0; border:0; border-radius:4px; padding:2px 4px; color:#13568b; background:#edf4fa; font:inherit; font-size:10px; cursor:pointer; line-height:1.5; }
.flight-swap:hover { background:#dcecf9; }
.flight-detail-grid { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:14px; }
.flight-detail-segment { border:0; border-radius:0; border-bottom:1px solid #e7eef5; padding:6px 0; }
.flight-segment-heading { border:0; margin:0; padding:0; font-size:11px; }
.flight-detail-point { flex-direction:row; align-items:baseline; gap:6px; }
.flight-detail-point:last-child { flex-direction:row-reverse; }
.flight-detail-clock { gap:5px; }
.flight-detail-clock strong { font-size:14px; }
.flight-detail-point b { font-size:11px; }
.flight-detail-clock small { font-size:9px; }
.flight-segment-extra { margin-top:1px; }
.flight-detail-transit { margin:3px 0; padding:3px 8px; font-size:10px; }
.flight-detail-fare { padding:10px; }
.flight-fare-facts { font-size:11px; gap:4px 8px; margin:6px 0; }
@media(max-width:760px) { .flight-detail-grid { grid-template-columns:minmax(0,1fr); } }
/* Keep fare information attached to the itinerary rather than in a separate card. */
.flight-detail-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
.flight-detail-fare { background:none; border-radius:0; border-top:1px solid #e4ecf4; padding:9px 0 0; }
.flight-fare-facts { display:flex; flex-wrap:wrap; gap:6px 22px; margin:0; }
.flight-fare-fact { display:flex; align-items:baseline; gap:6px; min-width:0; max-width:100%; font-size:11px; line-height:1.6; }
.flight-fare-fact dt { white-space:nowrap; color:#7a8da1; }
.flight-fare-fact dd { margin:0; color:#25445f; font-weight:600; }
@media(max-width:600px) { .flight-fare-facts { gap:5px 16px; } }/* A compact animated journey while the actual fare search is pending. */
.flight-loading { gap:12px; background:radial-gradient(ellipse at center,#f0f7ff 0,rgba(240,247,255,0) 68%); }
.flight-loading-journey { display:flex; align-items:center; gap:20px; width:min(360px,100%); margin-bottom:7px; }
.flight-loading-airport { font-size:24px; font-weight:800; letter-spacing:1px; color:#164d7c; }
.flight-loading-path { position:relative; flex:1; height:50px; display:flex; align-items:center; justify-content:space-between; border-bottom:2px dashed #bfd4e6; border-radius:0 0 50% 50%; }
.flight-loading-path > span { width:7px; height:7px; border-radius:50%; background:#8eafcb; transform:translateY(24px); }
.flight-loading-path > i { position:absolute; color:#f18a19; font-size:27px; top:15px; left:0; animation:flight-journey 3s ease-in-out infinite; }
.flight-loading p { font-size:16px; color:#163f63; }
.flight-loading-caption { font-size:12px; color:#647b90; text-align:center; line-height:1.6; }
.flight-loading-track { width:210px; height:3px; background:#e2ecf5; overflow:hidden; border-radius:4px; margin:4px 0; }
.flight-loading-track span { display:block; width:40%; height:100%; background:#387dab; border-radius:4px; animation:flight-search-sweep 2.2s ease-in-out infinite; }
.flight-loading-tags { display:flex; gap:20px; margin-top:4px; font-size:11px; color:#637f97; }
.flight-loading-tags span { display:inline-flex; gap:6px; align-items:center; }
.flight-loading-tags i { color:#5384aa; }
@keyframes flight-journey { 0% { left:0; transform:translateY(6px) rotate(-12deg); opacity:.35; } 45% { transform:translateY(-7px) rotate(0); opacity:1; } 100% { left:calc(100% - 27px); transform:translateY(6px) rotate(12deg); opacity:.35; } }
@keyframes flight-search-sweep { 0% { transform:translateX(-110%); } 100% { transform:translateX(360%); } }
@media(max-width:600px) { .flight-loading-journey { width:270px; gap:14px; } .flight-loading-airport { font-size:21px; } .flight-loading p { font-size:14px; } .flight-loading-caption { max-width:280px; } .flight-loading-tags { gap:15px; } }
@media(prefers-reduced-motion:reduce) { .flight-loading-path > i { animation:flight-journey 6s ease-in-out infinite; } .flight-loading-track span { animation:flight-search-sweep 4.4s ease-in-out infinite; } }
.flight-swap { display:inline-flex; align-items:center; justify-content:center; gap:4px; top:0; line-height:16px; padding:0 4px; height:18px; box-sizing:border-box; }
.flight-swap > i { font-size:9px; }
@media(max-width:760px) {
 [data-flight-form] { column-gap:12px!important; }
 [data-flight-form] .flight-swap { top:auto; bottom:6px; right:-6px; transform:translateX(50%); width:32px; height:32px; padding:0; border:1px solid #cbdce9; border-radius:50%; background:#fff; color:#175986; z-index:2; box-shadow:0 2px 5px #17486b12; }
 [data-flight-form] .flight-swap > span { display:none; }
 [data-flight-form] .flight-swap > i { font-size:12px; }
 [data-flight-form] .flight-swap:focus-visible { outline:2px solid #e59a31; outline-offset:2px; }
 .tour-page [data-flight-form] input[name=from] { padding-right:24px; }
 .tour-page [data-flight-form] input[name=to] { padding-left:24px; }
}
.flight-mobile-edit { display:none; }
@media(max-width:760px) {
 body.flight-results-ready:not(.flight-search-open) .flight-search-editor-wrap { display:none; }
 body.flight-results-ready .flight-mobile-edit { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid #c8ddeb; border-radius:7px; padding:9px 13px; background:#fff; color:#174e7a; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
 body.flight-results-ready .flight-mobile-edit > i:last-child { font-size:9px; }
 body.flight-results-ready.flight-search-open .flight-mobile-edit > i:last-child { transform:rotate(180deg); }
 body.flight-results-ready.flight-search-open .flight-search-editor-wrap { margin-top:12px; }
 body.flight-results-ready .flight-page-banner > .hero-content > p { margin-bottom:12px; }
 body.flight-search-pending .flight-mobile-edit { display:none; }
}
/* Pair every loading airport code with its readable city name. */
.flight-loading-journey { width:min(500px,100%); }
.flight-loading-airport { display:flex; flex-direction:column; align-items:center; gap:5px; flex:0 0 125px; text-align:center; }
.flight-loading-airport > strong { font-size:24px; line-height:1.3; }
.flight-loading-airport > small { color:#426580; font-size:12px; font-weight:600; line-height:1.5; letter-spacing:0; overflow-wrap:anywhere; }
.flight-loading-path { min-width:70px; }
@media(max-width:600px) { .flight-loading-journey { width:min(340px,100%); gap:10px; }.flight-loading-airport { flex-basis:90px; }.flight-loading-airport > strong { font-size:21px; }.flight-loading-airport > small { font-size:11px; } }
