   /* .trip-tabs {
            border-bottom: 2px solid #e9ecef;
            margin-bottom: 2rem;
        } */

        .trip-tab {
            background: none;
            border: none;
            padding: 0.75rem 1.5rem;
            color: #6c757d;
            font-weight: 500;
            position: relative;
        }

        .trip-tab.active {
            border: 1px solid var(--s-tc) ;
            border-radius:100px;
            color: var(--s-tc);
            /* color: #A72D2C; */
        }

        .trip-tab.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            /* background-color: #A72D2C; */
        }

        /* Floating Labels Styling */
        .form-floating > .form-control,
        .form-floating > .form-select {
            /* border: 2px solid #e9ecef; */
            border-radius: 0.5rem;
            padding: 1.2rem 0.75rem 0.4rem 0.75rem;
            height: calc(3.7rem + 2px);
        }
        .form-control:focus{
    box-shadow: none;
}

        .form-floating > .form-control:focus,
        .form-floating > .form-select:focus {
            border-color: #2B2625;
            /* box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25); */
             /* width: 400px;
             transition: width .5s;
             position: absolute;
             z-index: 999999; */
        }

        .form-floating > label {
            padding: 0.4rem 0.75rem;
            color: #6c757d;
            font-size: 0.875rem;
        }

        .form-floating > .form-control:focus ~ label,
        .form-floating > .form-control:not(:placeholder-shown) ~ label,
        .form-floating > .form-select ~ label {
            opacity: 0.65;
            transform: scale(0.85) translateY(-0.7rem) translateX(0.15rem);
        }

        .swap-btn {
            background: #fff;
            border: 2px solid #e9ecef;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
            z-index: 10;
        }

        .swap-btn:hover {
            background-color: #f8f9fa;
            border-color: #18536D;
        }
        /* Swap icon animation */
        @keyframes swapSpin { 0% { transform: rotate(0deg);} 50% { transform: rotate(180deg);} 100% { transform: rotate(360deg);} }
        @keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(13,110,253,.35);} 70% { box-shadow: 0 0 0 12px rgba(13,110,253,0);} 100% { box-shadow: 0 0 0 0 rgba(13,110,253,0);} }
        .swap-btn.swapping { animation: pulseRing 600ms ease-out; }
        .swap-btn.swapping i { animation: swapSpin 600ms ease-in-out; }
        .location-group {
            position: relative;
        }


        /* Airport autocomplete dropdown */
        .form-floating { position: relative; }
        .airport-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            width: clamp(320px, 140%, 520px);
            background: #fff;
            border: 1px solid #e9ecef;
            border-radius: 10px;
            box-shadow: 0 12px 30px rgba(0,0,0,.12);
            z-index: 2000;
            max-height: 360px;
            overflow: auto;
            display: none;
        }
        .airport-dropdown.show { display: block; }
        .airport-dropdown .dropdown-header {
            padding: 10px 14px;
            font-weight: 600;
            color: #495057;
            border-bottom: 1px solid #f1f3f5;
        }
        .airport-item {
            display: flex;
            align-items: start;
            gap: 10px;
            padding: 10px 14px;
            cursor: pointer;
        }
        .airport-item:hover { background: #f8f9fa; }
        .airport-item .icon { color: #A72D2C; margin-top: 2px; }
        .airport-item .title { font-weight: 600; color: #222; line-height: 1.2; }
        .airport-item .subtitle { color: #6c757d; font-size: 12px; }
        .airport-item .remove { margin-left: auto; color: #adb5bd; }
        .airport-item .remove:hover { color: #495057; }

        @media (max-width: 576px) {
            .airport-dropdown { width: 100%; left: 0; }
        }

        .search-btn {
            background: linear-gradient(90deg, #025477, #1c2853);
            border: none;
            border-radius: 0.5rem;
            padding: 0.75rem 2rem;
            font-weight: 600;
            color: white;
            border-radius: 100px;
        }

        .search-btn:hover {
            /* background: linear-gradient(135deg, #2B2625, #2B2625); */
            background: linear-gradient(270deg, #025477, #1c2853);
            color: #fff
        }

        .add-flight-btn {
            color: #A72D2C;
            text-decoration: none;
            font-weight: 500;
        }

        .add-flight-btn:hover {
            color: #2B2625;
        }

        .remove-flight {
            color: #A72D2C;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .counter-btn {
            background: none;
            border: 2px solid #e9ecef;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .counter-btn:hover {
            border-color: #A72D2C;
            color: #A72D2C;
        }

        .counter-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .flight-section {
            border: 2px solid #e9ecef;
            border-radius: 0.75rem;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .section-title {
            color: #495057;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        /* Dropdown Styling */
        .travelers-dropdown {
            position: relative;
        }

        .travelers-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 0.5rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            z-index: 1000;
            padding: 1.5rem;
            margin-top: 0.5rem;
            /* Smooth open/close with height + opacity */
            display: block;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: scale(0.98);
            pointer-events: none;
            transition: max-height 250ms ease, opacity 200ms ease, transform 200ms ease;
        }

        .travelers-dropdown-menu.show {
            max-height: 1200px; /* sufficiently large to fit content */
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
        }

        .travelers-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .travelers-row:last-child {
            margin-bottom: 0;
        }

        .travelers-info h6 {
            margin: 0;
            font-weight: 600;
        }

        .travelers-info small {
            color: #6c757d;
        }

        .counter-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .counter-value {
            min-width: 20px;
            text-align: center;
            font-weight: 600;
        }

        /* Custom input group styling for travelers */
        .travelers-input-group {
            position: relative;
            cursor: pointer;
        }

        .travelers-input-group .form-control {
            cursor: pointer;
            background-color: white;
        }

        .travelers-dropdown-icon {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
            transition: transform 0.3s ease;
            pointer-events: none;
            z-index: 5;
        }

        .travelers-input-group.active .travelers-dropdown-icon {
            transform: translateY(-50%) rotate(180deg);
        }

        /* Responsive spacing: add vertical gaps on small screens */
        @media (max-width: 767.98px) {
            #simple-form .col-md-6,
            #simple-form .col-md-3,
            #multicity-form .col-md-5,
            #multicity-form .col-md-3 {
                margin-bottom: 1rem;
            }
            /* Reduce inner split padding to stack cleanly */
            #simple-form .col-6.pe-2 { padding-right: .5rem !important; }
            #simple-form .col-6.ps-2 { padding-left: .5rem !important; }
        }

        /* At 758px and below: stack From/To and center the swap button between them */
        @media (max-width: 758px) {
            .location-group { position: relative; }
            .location-group .row .col-6 { flex: 0 0 100%; max-width: 100%; }
            .location-group .row .col-6:first-child { margin-bottom: .75rem; }
            .location-group .col-6.pe-2 { padding-right: 0 !important; }
            .location-group .col-6.ps-2 { padding-left: 0 !important; }
            .location-group .swap-btn {
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }
        .form-floating label{
            margin-top: 10px
        }

        /* Location dropdown (Leaving from / Going to) */
        .travel-list {
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            right: 0;
            z-index: 1100;
            display: none;
            background: #ffffff;
            border: 1px solid #e9ecef;
            border-radius: 0.5rem;
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
            overflow-y: auto;
            max-height: 320px;
            padding: 6px;
        }
        .travel-list.show { display: block; }
        .travel-list .dropdown-item.travel-option {
            border-radius: .5rem;
            padding: 10px 12px;
            display: block;
            white-space: normal;
        }
        .travel-option .option-content {
            display: grid;
            grid-template-columns: 28px 1fr auto;
            gap: 10px;
            align-items: center;
        }
        .travel-option .left svg { width: 18px; height: 18px; color: #198754; opacity: .9; }
        .travel-option .city-line { font-weight: 600; color: #212529; line-height: 1.2; }
        .travel-option .country-line { font-size: 12px; color: #6c757d; }
        .travel-option .airport-code { font-weight: 700; color: #A72D2C; letter-spacing: .5px; }
        .travel-option mark { background: #fff3cd; color: #664d03; padding: 0 2px; border-radius: 3px; }
        .travel-list .dropdown-item.active,
        .travel-list .dropdown-item:hover {
            background: #f8f9fa;
        }
        .travel-list-empty, .travel-list-loading, .travel-list-error {
            padding: 12px 10px; color: #6c757d;
        }
        .travel-spinner { width: 16px; height: 16px; border:2px solid #e9ecef; border-top-color:#A72D2C; border-radius:50%; display:inline-block; animation: tlspin .8s linear infinite; margin-right: 8px; }
        @keyframes tlspin { to { transform: rotate(360deg);} }








        .airport-skeleton-item {
    padding: 8px 16px;
}

.airport-skeleton-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.airport-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: airport-shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes airport-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}




.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay{
    background: #025477 !important;
    color: white !important;
    /* border-radius: 100px !important; */
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){
    -webkit-box-shadow: none  !important;
     -moz-box-shadow: none !important;
    box-shadow: none !important;

}





.airport-skeleton-left .airport-skeleton-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.airport-skeleton-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.airport-skeleton-city-line {
    height: 14px;
    width: 70%;
}

.airport-skeleton-country-line {
    height: 12px;
    width: 45%;
}

.airport-skeleton-right .airport-skeleton-code {
    width: 36px;
    height: 20px;
    border-radius: 4px;
}








.airport-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: #6c757d;
}

.airport-empty-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #adb5bd;
}

.airport-empty-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.airport-empty-title {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.airport-empty-subtitle {
    font-size: 12px;
    color: #adb5bd;
}

.airport-empty-right {
    width: 36px;
}



.clear-input-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #6c757d;
    border: none;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
    transition: background 0.2s;
}

.clear-input-btn:hover {
    background: #495057;
}