﻿/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Origin & Destination Drop Down (Airport New Facelift)
--------------------------------------------------------------*/
#AirportOriginDropDown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Prevent interaction when hidden */
    display: none;
}

    #AirportOriginDropDown.expanded {
        opacity: 1;
        visibility: visible;
        pointer-events: auto; /* Enable interaction when visible */
        display: block;
    }

#AirportDestinationDropDown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Prevent interaction when hidden */
    display: none;
}

    #AirportDestinationDropDown.expanded {
        opacity: 1;
        visibility: visible;
        pointer-events: auto; /* Enable interaction when visible */
        display: block;
    }

.search-panel .select-airport .recent-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 45px;
    padding: 0 10px;
    margin-bottom: 39px;
}

.airport-hero .subairport .search-panel {
    background: #FFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    border-radius: 16px !important;
    padding: 32px 28px;
    position: relative;
    transition: all .3s ease-in-out;
}


.search-panel .select-airport .location-cards {
    border-radius: 8px;
    background: #FFF;
    cursor: pointer;
    overflow: hidden;
}

.search-panel .select-airport .location-card {
    width: 290px;
    height: 84px;
    display: flex;
    align-items: center;
}

    .search-panel .select-airport .location-card .location-card-container {
        padding-top: 4px;
        padding-left: 9px;
        padding-bottom: 2px;
        padding-right: 14px;
    }

        .search-panel .select-airport .location-card .location-card-container .item {
            display: flex;
            align-items: center;
            position: relative;
        }

        .search-panel .select-airport .location-card .location-card-container .item-p {
            padding-top: 8px;
        }

    .search-panel .select-airport .location-card .item .icon {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 1rem;
        margin-left: 2px;
        margin-bottom: 3px;
        border: 2px solid var(--background-primary);
    }

    .search-panel .select-airport .location-card .item img {
        margin-top: 6px;
        margin-right: 14px;
    }

    .search-panel .select-airport .location-card .item .dotted-line {
        height: 19px;
        border: 2px dotted var(--background-primary);
        position: absolute;
        top: -8px;
        left: 5px;
    }

    .search-panel .select-airport .location-card .item .route-name {
        display: flex;
        align-items: center;
        font-size: 15px;
        width: 190px;
        height: 36px;
        line-height: normal;
        overflow: hidden;
    }

    .search-panel .select-airport .location-card .item .tcode {
        color: #888;
        font-size: 12px;
        font-weight: 500;
        line-height: normal;
        text-align: center;
        width: 40px;
        overflow: hidden;
        white-space: nowrap;
    }

.search-panel .select-airport .route-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 25px;
}

.search-panel .select-airport .route-boxs {
    border-radius: 16px;
    background: #FFF;
    position: relative;
    padding-top: 5px;
    padding-left: 33px;
    padding-bottom: 5px;
    padding-right: 9px;
    cursor: pointer;
    transition: background .3s, color .3s;
}

    .search-panel .select-airport .route-boxs .icon {
        position: absolute;
        width: 10px;
        height: 10px;
        border: 2px solid var(--background-primary);
        border-radius: 50%;
        top: 9px;
        left: 5px;
    }

    .search-panel .select-airport .route-boxs .route-name {
        font-size: 15px;
        line-height: normal;
    }

    .search-panel .select-airport .route-boxs .tcode {
        color: #888;
        font-weight: 500;
        font-size: 12px;
        line-height: normal;
    }

    .search-panel .select-airport .route-boxs:hover {
        background: var(--background-primary);
    }

        .search-panel .select-airport .route-boxs:hover .route-name,
        .search-panel .select-airport .route-boxs:hover .tcode {
            color: #FFF;
        }

        .search-panel .select-airport .route-boxs:hover .icon {
            border: 2px solid #FFF;
        }


/*--------------------------------------------------------------
# SubPage
--------------------------------------------------------------*/
.airport-hero {
    background-image: url('/assets/img_v2/airport/background-hero.png');
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    height: 500px;
}

    .airport-hero .service-type {
        color: var(--third-text-color);
        text-shadow: 0 2px 3px rgb(60 60 60 / 100%);
        font-size: 32px;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 9px;
    }

    .airport-hero .sub-service {
        color: var(--third-text-color);
        text-shadow: 0px 2px 5px rgba(6, 90, 90, 0.75);
        font-size: 24px;
        line-height: normal;
        margin-bottom: 23px;
    }

.airport-popular-route {
    margin-bottom: 4rem;
}

    .airport-popular-route .icon-airport {
        height: 28px;
        width: 28px;
    }

    .airport-popular-route .content-title {
        color: var(--text-primary);
        font-size: 20px;
        font-weight: 700;
        line-height: normal;
    }

.airport-partner .content-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
}

.airport-popular-route-items-container {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    margin: 1rem 3.5rem;
}

    .airport-popular-route-items-container .airport-popular-route-items {
        border-radius: 8px;
        background: #FFF;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
        width: 215px;
        height: 134px;
    }

        .airport-popular-route-items-container .airport-popular-route-items .airport-popular-route-items-wrapper {
            padding: 4px 12px;
        }

    .airport-popular-route-items-container .item {
        display: flex;
        align-items: center;
        position: relative;
    }

    .airport-popular-route-items-container .icon {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 1rem;
        margin-left: 2px;
        border: 2px solid var(--background-primary);
    }

    .airport-popular-route-items-container .airport-popular-route-items .airport-popular-route-items-wrapper .route-name {
        font-size: 13px;
        line-height: 16.9px;
        color: #4E4E4E;
        width: 100%;
        min-height: 3em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
        text-align: start;
    }

    .airport-popular-route-items-container .airport-popular-route-items .airport-popular-route-items-wrapper .route-name-code {
        color: #888;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
    }

    .airport-popular-route-items-container .dotted-line {
        height: 20px;
        border-left: 3px dotted var(--background-primary);
        position: absolute;
        top: -10px;
        left: 5px;
    }

    .airport-popular-route-items-container .location-icon {
        margin-right: 1rem;
    }

    .airport-popular-route-items-container .airport-footer-route-wrapper {
        border-radius: 0px 0px 8px 8px;
        background: #F9F9F9;
        padding: 4px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 47px;
    }

    .airport-popular-route-items-container .airport-popular-route-items .airport-price-tag {
        color: var(--text-secondary);
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
    }

    .airport-popular-route-items-container .airport-popular-route-items .airport-btn-book {
        width: 86px;
        height: 25px;
        border-radius: 12px;
        border: 1px solid var(--background-primary);
        background: var(--third-color);
        color: var(--text-secondary);
        text-align: center;
        font-size: 12px;
        font-weight: 700;
        transition: all .3s;
    }

        .airport-popular-route-items-container .airport-popular-route-items .airport-btn-book:hover {
            background: var(--background-primary);
            color: #FFF;
        }
