.flight-sub-menu{
    padding: 0 10px !important;
    position: absolute !important;
    background: white !important;
    display: none;
    max-width: 250px;
    min-width: 150px;
    border: 1px solid #e0e0e0;
}



.flight-cities:hover .flight-sub-menu{
    display: block !important;
}



.booking-item-airline-logo p {
    font-size: 14px;
    text-align: center;
}

.flight-date-card{
    font-size: 14px;
    margin-left: 10px;
}




/* --- Main Card Container --- */
.booking-item-container {
    max-width: 1000px;
    margin: 0 auto;
}

.booking-item {
    background: #fff;
    border: 1px solid #fce8cc; /* Light orange border */
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    position: relative;
}

/* --- Typography & Colors --- */
.text-price-red { color: #b71c1c; } /* Deep red for price/baggage */
.text-airline-green { color: #1b5e20; } /* Saudia green */
.bg-btn-orange { 
    background-color: #f59e0b; 
    border-color: #f59e0b;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}
.bg-btn-orange:hover {
    background-color: #d97706;
    color: white;
}

.flight-time {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.flight-date {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    margin-bottom: 4px;
}

.flight-airport {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.baggage-info {
    font-size: 11px;
    color: #b71c1c;
    font-weight: 600;
    margin-top: 4px;
}

/* --- Layout Adjustments --- */
.airline-logo img, .airline-logo svg {
    width: 35px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.airline-name {
    font-size: 10px;
    text-align: center;
    color: #555;
    margin-top: 4px;
}

/* Dashed Separator between Outbound/Return */
.flight-separator {
    border-top: 1px dashed #ddd;
    margin: 15px 0;
}

/* Right Side (Price) Panel */
.price-panel {
    border-left: 1px solid #fce8cc;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    background-color: #fff;
}

.total-price {
    font-size: 28px;
    font-weight: 700;
    color: #b71c1c;
    line-height: 1;
}
.price-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
}

.action-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #444;
    border: 1px solid #eee;
    border-radius: 20px;
    background: white;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s;
}
.action-link:hover {
    background-color: #f8f8f8;
    color: #000;
}
.action-link i {
    background: #d97706;
    color: white;
    border-radius: 50%;
    padding: 2px;
    font-size: 8px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- "See More Options" Toggle --- */
.toggle-options-btn {
    /* position: absolute;
    bottom: -15px;
    left: 15px; */
    margin-left: 15px;
    margin-bottom: 15px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 15px;
    z-index: 10;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.toggle-options-btn:hover {
    background: #fee2e2;
    color: #7f1d1d;
}
.toggle-icon-circle {
    background: #d97706;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* --- Expanded Details Section --- */
.details-box {
    border: 1px solid #fce8cc;
    background: white;
    margin-top: 15px;
    border-radius: 2px;
}
.details-header {
    background-color: #f3f0ee; /* Grayish beige header */
    padding: 8px 15px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 700;
    color: #444;
    display: flex;
    justify-content: space-between;
}

/* Custom Radio Button styling for the details view */
.custom-radio-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
}
.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}
.custom-radio.active div {
    width: 10px;
    height: 10px;
    background-color: #f59e0b;
    border-radius: 50%;
}
.custom-radio.inactive div {
    width: 10px;
    height: 10px;
    background-color: #fff; /* or empty */
    border-radius: 50%;
}

/* Mobile Responsive Tweaks */
@media (max-width: 991px) {
    .price-panel {
        border-left: none;
        border-top: 1px solid #eee;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px;
    }
    .price-panel .btn {
        width: auto;
    }
    .action-link {
        width: auto;
        display: inline-flex;
        margin-right: 5px;
    }
    .vl-mobile-hidden {
        display: none;
    }
}



/* * NOTE: The following CSS is based on the structure and classes 
 * provided in your HTML/JS, aiming for the look in the uploaded image.
 */

/* ---------- MODAL SKELETON ---------- */
#flightDetailsModal .modal-dialog{
    max-width:780px; /* Matching the specified max-width */
}
.flight-modal-body{
    /* max-height:85vh;
    overflow-y:auto; */
    font-size:13px; /* Specified font size */
    padding: 0 !important; /* Ensure no padding on the body itself */
}

/* ---------- HEADER ---------- */
.flight-modal-header{
    background:#f3f3f3;
    border-bottom:1px solid #ddd;
    padding:12px 20px;
}
.flight-modal-header .modal-title{
    font-size:17px;
    font-weight:600;
}
.flight-close-btn{
    font-size:28px;
    background:none;
    border:none;
}

/* ---------- JOURNEY BAR (Header for Departure/Return) ---------- */
.journey-header{
    background:#faf7f7;
    padding:12px 18px;
    border-bottom:1px solid #e5e5e5;
    display:flex;
    justify-content:space-between;
    font-weight:600;
    font-size: 14px; /* Slightly larger for emphasis */
}
.journey-duration{
    /* color:#c70000; */
}

/* ---------- SEGMENT (Flight Row) ---------- */
.segment-card{
    padding:14px 16px 8px;
    border-bottom:1px solid #eee;
}
.segment-card:last-child{
    border-bottom:none;
}

/* Airline Info Column */
.airline-col{
    display:flex;
}
.airline-wrap{
    /* display:flex;
    align-items:center;
    gap:8px; */
}
.airline-logo-modal{
    width:28px;
    height:28px;
    object-fit:contain;
}
.airline-name{
    font-size:12px;
}
.airline-code{
    font-size:12px;
    color:#c70000;
    font-weight:700;
}

/* Time & Airport Info Columns */
.time-large{
    font-size:18px;
    font-weight:700;
    line-height: 1.1;
}
.time-date{
    font-size:11px;
    line-height: 12px;
}
.airport-text{
    font-size:12px;
    margin:0;
    font-weight: 500;
    line-height: 22px;
}
.terminal-text{
    font-size:11px;
    color:#777;
    line-height: 12px;
}

/* Cabin and Baggage Row */
.cabin-row{
    padding-top:8px;
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    font-size:12px;
    color: #444;
}

/* Layover Box */
.layover-box{
    background:#ebe9ff;
    text-align:center;
    padding:4px 0;
    font-size:11px;
    font-weight:600;
}

/* ---------- RETURN DIVIDER ---------- */
.return-divider{
    height:2px;
    background:#b50000;
    margin:12px 0;
}



@media screen and (max-width:600px) {
    .journey-header{
        flex-direction: column !important;
    }
}