/* Responsive styles for flight search section */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .navbar {
        margin-right: 0 !important;
    }
    
    .booking-form {
        padding: 20px;
    }
    
    .radio-inputs {
        left: 15% !important;
    }
}
     
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .hero-wrap {
        height: auto !important;
        min-height: 100vh;
    }
    
    /* .col-md-6 {
        padding: 8px 13px !important;
        
    } */
    
    .booking-form {
        margin-top: 30px;
    }
    
    .radio-inputs {
        left: 10% !important;
    }
    
    .header__image {
        display: none !important;
    }
    
    .slider-text h1 {
        margin-left: 0 !important;
        font-size: 36px !important;
    }
    
    .slider-text p {
        margin-left: 0 !important;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .booking-form {
        padding: 15px;
    }
    
    .radio-inputs {
        position: relative !important;
        left: -72px !important;
        top: -14px !important;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .swap-button {
        display: none !important;
    }
    
    .row > [class*='col-'] {
        margin-bottom: 0px;
    }
    
    #roundtrip, #roundtripInternational {
        flex-direction: column;
        margin-top: -40px;
    }
    
    #inbo, #obbo, #onward, #return {
        width: 100% !important;
        margin: 10px 0;
    }
    
    .gt-single {
        flex-direction: column;
    }
    
    .gt-flight-d {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .gt-flight-duration-div {
        margin: 10px 0;
    }
    
    .modal-content {
        width: 95% !important;
        margin: 20px auto;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .slider-text h1 {
        font-size: 28px !important;
    }
    
    .booking-form {
        padding: 10px;
    }
    
    .form-control {
        font-size: 14px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    #continueButton {
        width: 90% !important;
        font-size: 18px !important;
    }
    
    .flight-loader {
        width: 90% !important;
    }
}

/* Loader responsiveness */
.flight-loader {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Modal responsiveness */
.modal-container {
    padding: 15px;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    margin: 30px auto;
}

/* Flight list responsiveness */
.gt-single {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
}

.gt-flight-d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.gt-flight-name, .gt-flight-prise, .gt-flight-action {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

/* Roundtrip display */
#roundtrip, #roundtripInternational {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    padding: 0px;
}

#inbo, #obbo, #onward, #return {
    flex: 1;
    min-width: 300px;
} 