/* Custom Styles for Flight Search Integration */

/* Desktop Layout: Overlap the slider */
@media (min-width: 992px) {
    .flight-search-container {
        position: relative;
        z-index: 20;
        margin-top: -80px;
        overflow: visible !important;
    }
}

/* Mobile/Tablet Layout: No overlap, natural flow */
@media (max-width: 991px) {
    .flight-search-container {
        position: relative;
        z-index: 20;
        margin-top: 30px;
        margin-bottom: 30px;
        overflow: visible !important;
    }
}

.flight-search-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: visible !important;
    padding-left: 35px !important;
    padding-right: 35px !important;
}

.trip-type-selectors .form-check {
    margin-right: 25px !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
}

.trip-type-selectors .form-check-input {
    appearance: radio !important;
    -webkit-appearance: radio !important;
    accent-color: #F95E11 !important;
    cursor: pointer !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 8px 0 0 !important;
    float: none !important;
    background-image: none !important;
    /* Hide bootstrap custom radio icon */
}

.trip-type-selectors .form-check-input::before,
.trip-type-selectors .form-check-input::after {
    display: none !important;
    /* Hide any theme pseudo-elements */
}

.trip-type-selectors .form-check-label {
    cursor: pointer !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    margin-bottom: 0 !important;
}

/* Force Datepicker Z-Index */
.ui-datepicker {
    z-index: 99999 !important;
}

/* Fix for tab content spacing */
.banner-form .tab-content {
    padding-top: 20px;
}

/* Ensure Fun Facts section has appropriate spacing */
.features-one-custom {
    padding-top: 60px;
}

@media (max-width: 991px) {
    .features-one-custom {
        padding-top: 0;
    }
}

/* ===== NEW SIMPLIFIED STYLES ===== */

/* Tabs */
.nav-link.active {
    background: #F95E11 !important;
    /* Theme Orange */
    color: #fff !important;
    border-radius: 20px;
}

/* Search Bar */
.flight-search-bar {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    padding: 10px;
    gap: 10px;
    overflow: visible !important;
}

.search-field {
    padding: 10px 14px;
    border-right: 1px solid #eee;
    position: relative;
    overflow: visible !important;
}

.search-field:last-child {
    border-right: none;
}

.search-label {
    font-size: 12px;
    color: #888;
}

.search-field input {
    font-size: 15px;
    font-weight: 500;
    border: none;
    padding: 0;
    background: transparent;
}

.search-field input:focus {
    box-shadow: none;
}

/* Swap Icon */
.way-icon {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    background: #F95E11;
    /* Theme Orange */
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 5;
}

/* Date */
.datetimepicker {
    font-size: 16px;
    font-weight: 600;
}

small {
    font-size: 12px;
    color: #999;
}

/* Search Button */
.search-btn-custom {
    background: #F95E11;
    /* Theme Orange */
    border: none;
    padding: 0 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.search-btn-custom:hover {
    background: #d84e0e;
    /* Darker Theme Orange */
}

/* Cursor pointer for dropdown */
.cursor-pointer {
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 991px) {
    .flight-search-bar {
        flex-direction: column;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .search-btn-custom {
        width: 100%;
        margin-top: 10px;
        margin-left: 0 !important;
    }
}

/* Travellers Dropdown */
.travellers-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 450px;
    background: #fff;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 1000;
    margin-bottom: 15px;
    display: none;
    border: 1px solid #eee;
    text-align: left;
}

.travellers-dropdown::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 40px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.traveller-selection-header h6 {
    color: #333 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.traveller-count {
    font-size: 16px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    width: 100% !important;
    height: 48px !important;
    background-color: #fff !important;
    color: #333 !important;
    cursor: pointer !important;
    text-align: left !important;
    /* Use native arrow for simplicity as requested */
    appearance: auto !important;
    -webkit-appearance: menulist !important;
}

.traveller-type label {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
    color: #333 !important;
}

.traveller-type small {
    font-size: 12px !important;
    color: #888 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

.cabin-class {
    appearance: radio !important;
    -webkit-appearance: radio !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    accent-color: #F95E11 !important;
    margin-top: 3px !important;
}

.cabin-class+label {
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    margin-left: 5px !important;
}

.form-check {
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
    margin-right: 5px !important;
    white-space: nowrap !important;
}

/* Responsive for Travellers Dropdown */
@media (max-width: 991px) {
    .travellers-dropdown {
        width: 100%;
        position: static;
        box-shadow: none;
        border: 1px solid #eee;
        margin-top: 10px;
    }

    .travellers-dropdown::after {
        display: none;
    }
}