/* ==========================================
   FLIGHT SEARCH - BANNER DESIGN
========================================== */

.banner-search-wrapper {
    position: relative;
    z-index: 100;
}

.banner-search-box {
    display: flex;
    align-items: stretch;
    gap: 12px;
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .10);
}

.banner-search-form {
    flex: 1;
    display: grid;
    grid-template-columns:
        1.2fr
        1.2fr
        1fr
        1fr
        1fr
        .9fr;
}

.banner-search-field {
    position: relative;
    padding: 8px 16px;
    min-width: 0;
}

.banner-search-field.has-separator {
    border-right: 1px solid #e8e8e8;
}

.banner-search-item {
    min-width: 0;
    width: 100%;
}

.banner-search-item p {
    color: #777;
    font-size: 13px;
    margin-bottom: 4px !important;
}

.search-icon-bg {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7f8;
}

.search-icon-bg i {
    color: #0B7BA8;
    font-size: 15px;
}

.banner-form-input {
    position: relative;
}

.banner-form-input input {
    width: 100%;
    height: 32px;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: #222;
    font-size: 15px;
    font-weight: 600;
}

.banner-form-input input::placeholder {
    color: #999;
    font-weight: 400;
}

.banner-search-select select {
    width: 100%;
    height: 32px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222;
    font-size: 15px;
    font-weight: 600;
}


/* LOCATION SUGGESTIONS */

.airport-suggestions {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 100%;
    min-width: 280px;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    z-index: 99999;
    display: none;
}

.airport-suggestion {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: .2s;
}

.airport-suggestion:hover {
    background: #f7f9fa;
}

.airport-suggestion strong {
    display: block;
    font-size: 14px;
    color: #222;
}

.airport-suggestion small {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 12px;
}


/* PASSENGERS */

.passenger-field {
    position: relative;
}

.banner-passenger-toggle {
    width: 100%;
    height: 32px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    color: #222;
}

.banner-passenger-toggle strong {
    font-size: 15px;
}

.banner-passenger-toggle i {
    font-size: 11px;
    color: #777;
}

.banner-passenger-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 290px;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 15px 45px rgba(0,0,0,.18);
    border: 1px solid #eee;
    z-index: 99999;
    display: none;
}

.banner-passenger-dropdown.show {
    display: block;
}

.passenger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 10px;
    border-bottom: 1px solid #eee;
}

.passenger-row strong {
    display: block;
    color: #222;
}

.passenger-row small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 2px;
}

.passenger-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.passenger-counter span {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.counter-btn:hover {
    border-color: #0B7BA8;
    color: #0B7BA8;
}

.passenger-done {
    padding: 10px;
    text-align: right;
}

.passenger-done button {
    border: 0;
    padding: 8px 16px;
    border-radius: 8px;
    background: #0B7BA8;
    color: #fff;
    cursor: pointer;
}


/* SEARCH BUTTON */

.banner-search-button {
    display: flex;
    align-items: center;
}

.banner-search-button button {
    height: 58px;
    padding: 0 25px;
    border: 0;
    border-radius: 12px;
    white-space: nowrap;
}


/* TABLET */

@media (max-width: 1200px) {

    .banner-search-box {
        flex-direction: column;
    }

    .banner-search-form {
        grid-template-columns: repeat(3, 1fr);
    }

    .banner-search-button button {
        width: 100%;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .banner-search-box {
        padding: 12px;
        border-radius: 14px;
    }

    .banner-search-form {
        display: block;
    }

    .banner-search-field {
        padding: 12px 8px;
        border-right: 0 !important;
        border-bottom: 1px solid #eee;
    }

    .banner-search-field:last-child {
        border-bottom: 0;
    }

    .banner-search-button {
        width: 100%;
    }

    .banner-search-button button {
        width: 100%;
        height: 54px;
    }

    .airport-suggestions {
        min-width: 100%;
    }

}