/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #0e1117;
    --bg-base: #161b22;
    --bg-surface: #1c2129;
    --bg-elevated: #242b35;
    --bg-hover: #2d353f;
    --border: #2d353f;
    --border-light: #3b4554;
    --text-primary: #f0f3f6;
    --text-secondary: #9eaab8;
    --text-muted: #6b7a8d;
    --accent: #2ee8b7;
    --accent-dim: rgba(46, 232, 183, 0.1);
    --accent-glow: rgba(46, 232, 183, 0.2);
    --warning: #f0a050;
    --warning-dim: rgba(240, 160, 80, 0.1);
    --danger: #f47067;
    --price: #2ee8b7;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

#app {
    flex: 1;
}

/* === HERO SECTION === */
.hero {
    text-align: center;
    padding: 56px 20px 40px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46, 232, 183, 0.06) 0%, transparent 100%),
        radial-gradient(ellipse 40% 40% at 70% 20%, rgba(240, 160, 80, 0.03) 0%, transparent 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

.hero-cta {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent);
    color: var(--bg-deep);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
}

.hero-cta:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 24px var(--accent-glow);
}

/* === STATS BAR === */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 16px 24px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: var(--border-light);
}

/* === AIRHELP BANNER === */
.airhelp-banner {
    background: var(--warning-dim);
    border: 1px solid rgba(255, 159, 67, 0.25);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 14px;
}

.airhelp-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.airhelp-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.airhelp-icon {
    font-size: 1.4rem;
}

.airhelp-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.airhelp-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.airhelp-cta {
    flex-shrink: 0;
    padding: 8px 20px;
    background: var(--warning);
    color: var(--bg-deep);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.airhelp-cta:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 16px rgba(255, 159, 67, 0.3);
}

/* === FOOTER === */
/* === RECOMMENDATIONS === */
.recommendations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
    animation: fadeUp 0.35s ease-out;
}

.rec-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.rec-icon {
    font-size: 1.1rem;
}

.rec-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.rec-route {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.rec-route .rec-arrow {
    color: var(--text-muted);
    margin: 0 4px;
}

.rec-stats {
    display: flex;
    gap: 16px;
}

.rec-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rec-stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rec-stat-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
}

.rec-stat-value.price {
    color: var(--accent);
}

.rec-stat-value.time {
    color: var(--text-primary);
}

.rec-card.cheapest {
    border-color: rgba(46, 232, 183, 0.25);
}

.rec-card.fastest {
    border-color: rgba(91, 184, 240, 0.25);
}

.rec-card.cheapest .rec-label {
    color: var(--accent);
}

.rec-card.fastest .rec-label {
    color: #5cb8f0;
}

@media (max-width: 600px) {
    .recommendations {
        grid-template-columns: 1fr;
    }
}

.info-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.site-footer {
    padding: 16px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.footer-section h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-section p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-list {
    font-family: var(--font-mono);
    font-size: 0.78rem !important;
    color: var(--text-secondary) !important;
}

.footer-sources {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.footer-sources a {
    color: var(--accent);
    text-decoration: none;
}

.footer-sources a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-center {
    flex: 1;
    text-align: center;
}
.footer-links {
    position: absolute;
    right: 24px;
}
.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--accent);
}

/* === PRIVACY PAGE === */
.privacy-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}
.privacy-page .back-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 32px;
}
.privacy-page .back-link:hover { text-decoration: underline; }
.privacy-page h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.privacy-page .privacy-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 32px;
}
.privacy-page h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 28px;
    margin-bottom: 10px;
}
.privacy-page p, .privacy-page li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}
.privacy-page ul {
    padding-left: 20px;
    margin: 8px 0;
}
.privacy-page li { margin-bottom: 4px; }
.privacy-page a { color: var(--accent); text-decoration: none; }
.privacy-page a:hover { text-decoration: underline; }

/* === HEADER === */
#app {
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 20px 40px;
}

header {
    margin-bottom: 16px;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.logo svg {
    opacity: 0.9;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 400;
}

/* === SEARCH PANEL === */
.search-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 14px;
}

.search-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.input-group {
    flex: 1;
    min-width: 140px;
}

.date-group {
    flex: 0.8;
}

.input-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.input-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.input-group input::placeholder {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.swap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.swap-icon:hover {
    background: var(--bg-hover);
    color: var(--accent);
    border-color: var(--accent);
}

/* Autocomplete */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    max-height: 260px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: var(--bg-hover);
}

.autocomplete-item .code {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.autocomplete-item .name {
    color: var(--text-secondary);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Search button */
#search-btn {
    padding: 10px 24px;
    background: var(--accent);
    color: var(--bg-deep);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

#search-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 20px var(--accent-glow);
}

#search-btn:disabled {
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    filter: none;
}

/* === ROUTE ALERT === */
.route-alert {
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 14px;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: alertSlide 0.3s ease-out;
}

@keyframes alertSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.route-alert.rerouted {
    background: var(--warning-dim);
    border: 1px solid rgba(240, 160, 80, 0.25);
    color: var(--warning);
}

.route-alert.direct {
    background: var(--accent-dim);
    border: 1px solid rgba(46, 232, 183, 0.2);
    color: var(--accent);
}

.hidden {
    display: none !important;
}

/* === MAIN LAYOUT === */
.main-content {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 14px;
    min-height: 520px;
}

#map {
    border-radius: var(--radius-lg);
    min-height: 520px;
    z-index: 1;
    border: 1px solid var(--border);
}

/* Leaflet tooltip override */
.leaflet-tooltip.airport-label {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.leaflet-tooltip.airport-label::before {
    border-top-color: var(--border-light);
}

/* === RESULTS PANEL === */
.results-panel {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 16px;
    overflow-y: auto;
    max-height: 680px;
    border: 1px solid var(--border);
}

.results-panel::-webkit-scrollbar {
    width: 6px;
}

.results-panel::-webkit-scrollbar-track {
    background: transparent;
}

.results-panel::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

/* === LOADING === */
#loading {
    text-align: center;
    padding: 60px 20px;
}

.loader {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.loader-plane {
    color: var(--accent);
    animation: fly 1.5s ease-in-out infinite;
}

@keyframes fly {
    0%, 100% { transform: translateX(-20px) rotate(-5deg); opacity: 0.5; }
    50% { transform: translateX(20px) rotate(5deg); opacity: 1; }
}

.loading-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* === CORRIDOR SECTION === */
.corridor-section {
    margin-bottom: 10px;
    animation: fadeUp 0.35s ease-out both;
}

.corridor-section:nth-child(1) { animation-delay: 0s; }
.corridor-section:nth-child(2) { animation-delay: 0.08s; }
.corridor-section:nth-child(3) { animation-delay: 0.16s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === CORRIDOR CARD === */
.corridor-card {
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.corridor-card:hover {
    border-color: var(--border-light);
}

.corridor-card.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 4px 20px rgba(46, 232, 183, 0.06);
}

.corridor-card.active .corridor-top {
    background: linear-gradient(135deg, var(--accent-dim), transparent 70%);
}

/* Corridor top section */
.corridor-top {
    padding: 14px 16px;
    transition: background 0.25s;
}

.corridor-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.corridor-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.corridor-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.corridor-badge.has-flights {
    background: var(--accent-dim);
    color: var(--accent);
}

.corridor-badge.no-flights {
    background: rgba(244, 112, 103, 0.1);
    color: var(--danger);
}

/* === JOURNEY PATH (the key UX improvement) === */
.journey-path {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 2px 0;
}

.journey-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.journey-node .node-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--text-muted);
    transition: all 0.25s;
}

.journey-node.origin .node-dot,
.journey-node.destination .node-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.journey-node.hub .node-dot {
    background: var(--warning);
    border-color: var(--warning);
    width: 10px;
    height: 10px;
}

.journey-node .node-code {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.journey-node.origin .node-code,
.journey-node.destination .node-code {
    color: var(--text-primary);
    font-weight: 500;
}

.journey-node.hub .node-code {
    color: var(--warning);
}

.journey-connector {
    flex: 1;
    height: 2px;
    background: var(--border);
    min-width: 20px;
    position: relative;
}

.corridor-card.active .journey-connector {
    background: var(--accent);
    opacity: 0.4;
}

.corridor-card.active .journey-node .node-dot {
    border-color: var(--accent);
}

.corridor-card.active .journey-node.hub .node-dot {
    background: var(--accent);
    border-color: var(--accent);
}

.corridor-card.active .journey-node.hub .node-code {
    color: var(--accent);
}

.corridor-distance {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
}

/* === CORRIDOR BODY (legs & flights) === */
.corridor-body {
    display: none;
    border-top: 1px solid var(--border);
}

.corridor-body.open {
    display: block;
}

/* === LEG SECTION === */
.leg-section {
    border-bottom: 1px solid var(--border);
}

.leg-section:last-child {
    border-bottom: none;
}

.leg-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-elevated);
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s;
}

.leg-header:hover {
    background: var(--bg-hover);
}

.leg-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.leg-route {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.leg-route .arrow {
    color: var(--text-muted);
    margin: 0 4px;
}

.leg-flight-count {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.leg-flights {
    padding: 8px 12px;
}

/* === FLIGHT CARD === */
.flight-card {
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 6px;
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.flight-card:last-child {
    margin-bottom: 0;
}

.flight-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border);
}

.flight-card.active {
    border-color: var(--accent);
    background: var(--bg-elevated);
}

.flight-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.flight-airline {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.best-badge {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    background: rgba(240, 180, 60, 0.14);
    color: #f0b43c;
    padding: 2px 5px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.flight-price {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--price);
    white-space: nowrap;
}

.flight-details {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.flight-detail {
    display: flex;
    align-items: center;
    gap: 4px;
}

.flight-detail .icon {
    font-size: 0.72rem;
    opacity: 0.7;
}

.flight-times {
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.flight-times .time-ahead {
    color: var(--warning);
    font-size: 0.72rem;
}

.flight-layover {
    margin-top: 5px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flight-layover .via-codes {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.flight-delay {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--danger);
}

/* === BOOKING BUTTONS === */
.flight-book-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

.book-btn:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}

.book-btn .book-arrow {
    font-size: 0.65rem;
    opacity: 0.6;
}

.nonstop-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 1px 5px;
    border-radius: 3px;
}

/* === DIRECT ROUTE VIEW === */
.direct-section .leg-flights {
    padding: 4px 0;
}

.direct-section .flight-card {
    background: var(--bg-base);
}

.direct-section .flight-card:hover {
    background: var(--bg-elevated);
}

/* === NO RESULTS === */
.no-results {
    text-align: center;
    padding: 24px 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .swap-icon {
        order: -1;
        align-self: center;
    }

    .results-panel {
        max-height: none;
    }

    #map {
        min-height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-sources {
        grid-column: 1;
    }
}

@media (max-width: 600px) {
    .search-form {
        flex-direction: column;
    }

    .input-group {
        min-width: 100%;
    }

    .swap-icon {
        align-self: center;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hero {
        padding: 40px 16px 28px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .stats-bar {
        flex-direction: column;
        gap: 12px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .airhelp-content {
        flex-direction: column;
        text-align: center;
    }
}
