/* Airport transfer pages */

.at-hero {
    background:
        radial-gradient(circle at 88% 8%, rgba(0, 30, 60, 0.12), transparent 28%),
        linear-gradient(180deg, #fff4f5 0%, #ffffff 72%);
    border-bottom: 1px solid var(--car-border, #e5eaf0);
    padding-bottom: 28px;
}

.at-hero--hub .at-hero__content {
    padding: 12px 0 40px;
}

.at-hero--hub h1,
.at-hero__airport-head h1 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--car-text, #111827);
    line-height: 1.2;
}

.at-hero--hub p {
    margin: 0;
    max-width: 720px;
    color: var(--car-muted, #687386);
    font-size: 1rem;
    line-height: 1.6;
}

.at-hero__airport-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 18px;
    flex-wrap: wrap;
}

.at-hero__iata {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--car-red, #001e3c);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.at-search-form {
    background: #fff;
    border: 1px solid var(--car-border, #e5eaf0);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
    padding: 18px;
}

.at-search-form__modes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.at-search-form__mode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #edf0f5;
    background: #f8fafc;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.at-search-form__mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.at-search-form__mode.is-active {
    border-color: #fecdd3;
    background: var(--brand-primary-soft, #e8eef4);
    color: var(--car-red, #001e3c);
}

.at-search-form__fields {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(0, 0.85fr) auto;
    gap: 12px;
    align-items: end;
}

.at-search-form__field {
    min-width: 0;
}

.at-search-form__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.at-search-form__field input,
.at-search-form__field select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 0.95rem;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
}

.at-search-form__field input[readonly] {
    background: #f8fafc;
    color: #334155;
}

.at-search-form__datetime {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 8px;
}

.at-search-form__datetime input {
    padding: 0 8px;
    font-size: 0.85rem;
}

.at-search-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--car-red, #001e3c);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.at-search-form__submit:hover {
    background: var(--car-red-dark, #002a54);
}

.at-search-form__submit .material-symbols-outlined {
    font-size: 24px;
}

.at-page {
    padding: 28px 0 0;
}

.at-hub .cr-hub-section {
    padding-top: 36px;
    padding-bottom: 36px;
}

.at-airport-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.at-airport-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.at-airport-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-accent, #c59d5f);
    box-shadow: 0 14px 30px rgba(0, 30, 60, 0.1);
}

.at-airport-card__badge {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary, #001e3c);
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.at-airport-card__body {
    flex: 1;
    min-width: 0;
}

.at-airport-card__body h2,
.at-airport-card__body h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
}

.at-airport-card__body p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.at-airport-card__arrow {
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.at-airport-card:hover .at-airport-card__arrow {
    color: var(--brand-primary, #001e3c);
    transform: translateX(2px);
}

.at-popular {
    padding: 8px 0 24px;
    border-bottom: 1px solid #edf0f5;
}

.at-popular h2 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.at-popular__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.at-popular__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.at-popular__chip:hover {
    border-color: #fecdd3;
    color: var(--car-red, #001e3c);
    background: #fff7f8;
}

.at-popular__chip .material-symbols-outlined {
    font-size: 18px;
}

.at-empty-state {
    padding: 48px 20px;
    text-align: center;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    background: #fafbfc;
}

.at-empty-state .material-symbols-outlined {
    font-size: 42px;
    color: #cbd5e1;
}

.at-empty-state p {
    margin: 12px 0 0;
    color: #64748b;
}

.at-empty-state__link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--car-red, #001e3c);
    font-weight: 700;
}

.at-search-form__hint {
    margin: -4px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

.at-hero__subtitle {
    margin: 8px 0 0;
    max-width: 52rem;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.at-popular__hint {
    margin: -4px 0 16px;
    font-size: 14px;
    color: #64748b;
}

.at-steps {
    margin-bottom: 8px;
    padding: 20px 22px;
    border: 1px solid #e7ebf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.at-steps__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.at-steps__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.at-steps__item {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-right: 28px;
}

.at-steps__item:last-child {
    padding-right: 0;
}

.at-steps__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: var(--brand-primary, #001e3c);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.at-steps__copy {
    min-width: 0;
}

.at-steps__item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #0f172a;
}

.at-steps__item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

.at-steps__arrow {
    position: absolute;
    top: 22px;
    right: 4px;
    width: 22px;
    height: 3px;
    background: #94a3b8;
    border-radius: 2px;
}

.at-steps__arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2px;
    width: 8px;
    height: 8px;
    border-top: 3px solid #94a3b8;
    border-right: 3px solid #94a3b8;
    transform: translateY(-50%) rotate(45deg);
}

.at-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.at-active-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.at-active-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #334155;
}

.at-active-filters__chip .material-symbols-outlined {
    font-size: 16px;
    color: var(--car-red, #001e3c);
}

.at-active-filters__reset {
    font-size: 13px;
    font-weight: 700;
    color: var(--car-red, #001e3c);
}

.at-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.at-empty-state__link--ghost {
    color: #475569;
    font-weight: 600;
}

.at-detail-notice {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #bfdbfe;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
}

.at-detail-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #dbeafe;
    color: #1d4ed8;
    flex-shrink: 0;
}

.at-detail-notice__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.at-detail-notice__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.at-detail-notice__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
}

@media (max-width: 1024px) {
    .at-steps__list {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .at-steps__item {
        padding: 0 0 20px;
        align-items: flex-start;
    }

    .at-steps__item:last-child {
        padding-bottom: 0;
    }

    .at-steps__arrow {
        top: 44px;
        left: 20px;
        right: auto;
        width: 3px;
        height: calc(100% - 36px);
        min-height: 14px;
    }

    .at-steps__arrow::after {
        top: auto;
        bottom: -1px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) rotate(135deg);
    }

    .at-search-form__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .at-search-form__submit {
        grid-column: 1 / -1;
    }

    .at-airport-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .at-search-form__fields,
    .at-airport-grid {
        grid-template-columns: 1fr;
    }

    .at-search-form__datetime {
        grid-template-columns: 1fr;
    }

    .at-steps {
        padding: 16px;
    }

    .at-steps__title {
        font-size: 16px;
    }

    .at-hub .cr-hub-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}
