/* ===========================================
   Flight Search Form
=========================================== */

.flight-filter{
    width:100%;
}

.flight-search-wrapper{
    width:100%;
}

.trip-type{
    display:flex;
    gap:30px;
    margin-bottom:20px;
    align-items:center;
}

.trip-type label{
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    font-size:15px;
    font-weight:500;
}

.flight-search-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;
}

.single-search-box{
    position:relative;
}

.single-search-box label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
}

.single-search-box input,
.single-search-box select{

    width:100%;
    height:55px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 15px;
    outline:none;
    background:#fff;

}

.search-button-box{
    display:flex;
    align-items:end;
}

.search-button-box button{
    width:100%;
    height:55px;
}

/* ===========================================
Airport Dropdown
=========================================== */

.airport-results{

    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    z-index:9999;
    display:none;
    max-height:350px;
    overflow:auto;
    box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.airport-item{

    padding:12px 15px;
    cursor:pointer;
    border-bottom:1px solid #eee;

}

.airport-item:last-child{

    border-bottom:none;

}

.airport-item:hover{

    background:#f5f5f5;

}

.airport-item strong{

    display:block;
    font-size:15px;

}

.airport-item small{

    color:#777;

}

.airport-item span{

    color:#999;
    font-size:12px;

}

/* ===========================================
Passenger Popup
=========================================== */

.flight-passenger-popup{

    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;

}

.flight-passenger-popup.show{

    display:flex;

}

.flight-popup-inner{

    width:420px;
    max-width:95%;
    background:#fff;
    border-radius:12px;
    overflow:hidden;

}

.popup-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    border-bottom:1px solid #eee;

}

.popup-header h4{

    margin:0;

}

.close-flight-popup{

    cursor:pointer;
    font-size:24px;

}

.popup-body{

    padding:20px;

}

.traveller-row{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;

}

.gofly-counter{

    display:flex;
    align-items:center;
    gap:15px;

}

.gofly-counter button{

    width:35px;
    height:35px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    background:#f2f2f2;
    font-size:18px;

}

.gofly-counter span{

    width:20px;
    text-align:center;
    font-weight:600;

}

.flight-class{

    margin-top:20px;

}

.flight-class label{

    display:block;
    margin:12px 0;

}

.popup-footer{

    margin-top:25px;

}

.popup-footer button{

    width:100%;

}

/* ===========================================
Responsive
=========================================== */

@media(max-width:991px){

.flight-search-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:767px){

.flight-search-grid{

grid-template-columns:1fr;

}

.trip-type{

flex-direction:column;
align-items:flex-start;

}

}

.airport-results{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    max-height:320px;
    overflow-y:auto;
    z-index:99999;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.single-search-box{
    position:relative;
}

.airport-item{
    padding:12px 16px;
    cursor:pointer;
    border-bottom:1px solid #eee;
    transition:.25s;
}

.airport-item:hover{
    background:#f5f8ff;
}

.airport-name{
    font-size:15px;
    font-weight:600;
}

.airport-airport{
    font-size:13px;
    color:#666;
    margin-top:2px;
}

.airport-country{
    font-size:12px;
    color:#999;
}

.airport-empty{
    padding:15px;
    color:#888;
}

/* ===========================================
   Body-level Airport Dropdown
   (appended to <body> by airport-search.js so
    Elementor overflow:hidden cannot clip it)
=========================================== */

.gofly-airport-dropdown{
    position:absolute;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    max-height:320px;
    overflow-y:auto;
    z-index:9999999;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    font-family:inherit;
    font-size:14px;
}

.gofly-airport-item{
    padding:12px 16px;
    cursor:pointer;
    border-bottom:1px solid #eee;
    transition:background .15s;
}

.gofly-airport-item:last-child{
    border-bottom:none;
}

.gofly-airport-item:hover{
    background:#f5f8ff;
}

.ga-city{
    font-size:15px;
    font-weight:600;
    color:#222;
}

.ga-code{
    color:#1a73e8;
    font-weight:700;
}

.ga-name{
    font-size:13px;
    color:#555;
    margin-top:2px;
}

.ga-country{
    font-size:12px;
    color:#999;
    margin-top:1px;
}

.gofly-airport-empty{
    padding:15px 16px;
    color:#888;
    font-size:14px;
}