/* Homepage — flights active; other tabs visible but disabled */

.home-flight-search-only .search-nav .nav-link-disabled {
    opacity: 0.55;
    cursor: not-allowed !important;
    pointer-events: none;
    user-select: none;
}

.home-flight-search-only .search-nav .home-flights-tab .nav-link.active {
    pointer-events: none;
    cursor: default;
}

.home-flight-search .flight-multicity-item {
    display: none !important;
}

.home-flight-fields {
    --home-teal: #24bdc7;
    --home-navy: #053750;
}

.home-airport-field {
    position: relative;
    height: 100%;
}

.home-airport-field-to {
    padding-left: 0.25rem;
}

.home-flight-search .home-airport-picker {
    position: relative;
}

.home-flight-search .home-airport-picker .flight-field-label {
    display: block;
    margin: 0 0 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #64748b;
}

.home-flight-search .airport-picker-input-wrap {
    position: relative;
}

.home-flight-search .airport-picker-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--home-teal);
    font-size: 0.95rem;
    z-index: 2;
    pointer-events: none;
}

.home-flight-search .airport-picker-display {
    display: block;
    width: 100%;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--home-navy);
    padding: 0.15rem 0.5rem 0.15rem 1.5rem !important;
    margin: 0;
    line-height: 1.35;
    min-height: 2.1rem;
    border-radius: 0;
}

.home-flight-search .airport-picker-display::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.home-flight-search .airport-picker-display:focus {
    outline: none;
}

.home-flight-search .airport-picker-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1200;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 0.4rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(5, 55, 80, 0.16);
}

.home-flight-search .airport-picker-item {
    padding: 0.7rem 1rem;
    cursor: pointer;
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    grid-template-rows: auto auto;
    gap: 0 0.65rem;
    align-items: center;
}

.home-flight-search .airport-picker-item:hover,
.home-flight-search .airport-picker-item.active {
    background: rgba(36, 189, 199, 0.1);
}

.home-flight-search .airport-picker-item-code {
    grid-row: 1 / span 2;
    font-weight: 800;
    color: var(--home-teal);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.home-flight-search .airport-picker-item-main {
    font-weight: 700;
    color: var(--home-navy);
    font-size: 0.92rem;
}

.home-flight-search .airport-picker-item-sub {
    grid-column: 2;
    font-size: 0.78rem;
    color: #64748b;
}

.home-flight-search .airport-picker-empty {
    padding: 0.85rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.home-flight-search .home-swap-airports,
.home-flight-search .search-form-swap.home-swap-airports {
    position: absolute;
    left: -1.1rem;
    top: 52%;
    transform: translateY(-50%);
    z-index: 5;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid #dbe7ec;
    background: #fff;
    color: var(--home-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(5, 55, 80, 0.1);
    cursor: pointer;
    padding: 0;
}

.home-flight-search .home-swap-airports:hover {
    background: var(--home-teal);
    color: #fff;
    border-color: var(--home-teal);
}

@media (max-width: 991.98px) {
    .home-flight-search .home-swap-airports,
    .home-flight-search .search-form-swap.home-swap-airports {
        left: auto;
        right: 0.5rem;
        top: -0.35rem;
        transform: none;
    }
}

#home-flight-results {
    scroll-margin-top: 100px;
}

.home-flight-results {
    background: #f4f8f9;
}

.home-flight-results .flight-booking-item {
    margin-bottom: 1.25rem;
    border-radius: 16px;
    overflow: hidden;
}

.flight-airline-img .flight-airline-code {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(36, 189, 199, 0.15);
    color: #053750;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-flight-results .results-meta {
    color: #64748b;
    font-size: 0.95rem;
}

.home-flight-results .theme-btn.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.home-flight-alert {
    border-radius: 12px;
    margin-bottom: 1rem;
}

.flight-workflow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flight-workflow-step {
    position: relative;
    font-size: 0.95rem;
    color: #94a3b8;
}

.flight-workflow-step a,
.flight-workflow-step span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: inherit;
}

.flight-workflow-step.is-current span {
    color: #053750;
    font-weight: 600;
}

.flight-workflow-step.is-done a {
    color: #24bdc7;
}

.flight-workflow-step:not(:last-child)::after {
    content: "→";
    margin-left: 1rem;
    color: #cbd5e1;
}

.flight-price-btn.is-loading {
    pointer-events: none;
    opacity: 0.75;
}

.flight-price-btn.is-loading i.fa-arrow-circle-right::before {
    content: "\f110";
    animation: home-flight-spin 0.8s linear infinite;
}

@keyframes home-flight-spin {
    to { transform: rotate(360deg); }
}

.flight-next-actions .theme-btn {
    margin-bottom: 0.5rem;
}

.flight-next-actions .theme-btn-outline {
    background: transparent;
    border: 1px solid #24bdc7;
    color: #053750;
}

.flight-next-actions .theme-btn2 {
    background: #053750;
}
