.flight-card-requesttt {
    border: 2px solid #85B7CC;
    border-radius: 15px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: 50px;
    margin-right: 20px;
    margin-bottom: 15px;
}

.container{
    display:flex;
}

.top-section-requesttt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.profile-requesttt {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-img-requesttt {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.name-requesttt {
    font-weight: bold;
}

.buttons-container-requesttt {
    flex-grow: 1; /* Allow the container to take available space */
    display: flex;
    justify-content: center; /* Center the buttons within this container */
}

.buttons-requesttt {
    display: flex;
    gap: 10px;
}

.pay-btn-requestapro{
    background-color: #34A853;
    color: #fff;
    padding: 10px 12px;
    border-radius: 100px;
    border: none;

}

.pay-btn-requestrej{
    background: #FF2C1A;
    color: #fff;
    padding: 10px 12px;
    border-radius: 100px;
    border: none;

}
.pay-btn-requesttt {
    background-color: #85B7CC;
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
}

.visa-btn-requesttt {
    background-color: #34A853;
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
}

.unvisa-btn-requesttt {
    background-color: #FF2C1A;
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
}

.details-section-requesttt {
    display: flex;
    justify-content: space-between;
}

.left-requesttt {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icon1-requesttt {
    width: 19px;
    height: 14px;
}

.icon2-requesttt {
    width: 18px;
    height: 21px;
    margin-right: 5px;
}


.icon4-requesttt {
    width: 32px;
    height: 21px;
}
.icon5-requesttt {
    width: 32.7px;
    height: 21px;
    margin: 0 5px;
}


.right-requesttt {
    display: flex;
    align-items: flex-start; /* Align content to the top */
    gap: 20px;
}

.actions-requesttt {
    display: flex;
    align-items: flex-start; /* Align content to the top */
    gap: 10px;
}


.icon-btn-requesttt {
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.divider-requesttt {
    width: 1px;
    height: 50px;
    background-color: #ccc;
}


.line-requesttt {
    display: flex;
    align-items: center; /* Vertically aligns the items */
    justify-content: space-between; /* Adds space between the two divs */
    width: 100%; /* Make sure the container takes up full width */
    margin-bottom: 5px;
}

.details-requesttt {
    display: flex;
    align-items: center;
}

.payment-requesttt {
    display: flex;
    align-items: center;
    margin-left: 40px; /* Adds space between the two divs */
}

.icon3-requesttt {
    width: 5px; /* Define the width of the circle */
    height: 5px; /* Define the height of the circle */
    font-size: 20px; /* Adjust the font size for the dot inside the circle */
    font-weight: 700; /* Bold dot */
    line-height: 40px; /* Center the dot vertically inside the circle */
    display: inline-block;
    text-align: center; /* Center the dot horizontally */
    color: black;
    background-color:black; /* Background color for the circle */
    border-radius: 50%; /* Make the point a perfect circle */
    margin: 0 15px; /* Space between the dot and the surrounding text */
}









.tabsitemnavdd {
    padding: 0px 0px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif; /* Font family */
    font-weight: 700; /* Font weight */
    font-size: 30px; /* Font size */
    line-height: 35.16px; /* Line height */
    letter-spacing: 0px; /* Letter spacing */
    border-bottom: 3px solid transparent;
    text-decoration: none; /* Remove underline */
    margin-left: 30px;
    color: gray; /* Inactive tab color is gray */
  
}



.active-tabdd {

    color: black; /* Active tab color is black */
}

.inactive-tabdd {
    color: gray; /* Inactive tab color is gray */
}







.tabsitemnavde {
    padding: 0px 0px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif; /* Font family */
    font-weight: 700; /* Font weight */
    font-size: 30px; /* Font size */
 margin-top: 12px;
 margin-bottom: 0px;
    letter-spacing: 0px; /* Letter spacing */
    border-bottom: 3px solid transparent;
    text-decoration: none; /* Remove underline */
    margin-left: 20px;
    color: gray; /* Inactive tab color is gray */
  
}



.active-tabde {

    color: black; /* Active tab color is black */
}

.inactive-tabde {
    color: gray; /* Inactive tab color is gray */
}




/* ------------------------------------------------------------------------------------------------------------------------------------------------------- */

.flight-carddd {
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-left: 25px;
    border-top: 1px solid #85B7CC;
    margin-top: 20px;
    position: relative; /* Added this line */
}

/* flight active */
.flightcontent{
    margin-top: 20px;
}
.flight-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-left: 25px;
    border: 1px solid #85B7CC;
    margin-top: 20px;
    position: relative; /* Added this line */
}


.flight-info {
    display: flex;
    align-items: center;
}

.airline-logo {
    width: 107px;
    height: 107px;
    border-radius: 50%;
    margin-right: 15px;
}

.flight-details {
    flex-grow: 1;
    
}

.airline-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 17.94px;

    letter-spacing: 0;
    color: #000000;
    margin: 0;
    margin-bottom: 0px; /* Reduces the space between title and route */
}

.duration {
    font-family: Roboto;
    font-weight: 600;
    font-size: 19.57px;
    line-height: 22.94px;
    letter-spacing: 0%;
    color: #000000;
    margin-left: 10px;
}

/* Route section */
.route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0px;
    gap: 20px;
    width: 100%;
}

.departure, .arrival {
    text-align: left;
}

.departure h4, .arrival h4 {
    font-family: Roboto;
    font-weight: 600;
    font-size: 19.57px;
    line-height: 22.94px;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
}

.departure p, .arrival p {
    font-family: Roboto;
    font-weight: 400;
    font-size: 16.31px;
    line-height: 19.12px;
    letter-spacing: 0%;
    color: #747474;
    margin: 5px 0;
}

.departure span, .arrival span {
    font-family: Roboto;
    font-weight: 400;
    font-size: 14.68px;
    line-height: 17.2px;
    letter-spacing: 0%;
    color: black;
}

.dotted-line {
    flex-grow: 1;
    height: 2px;
    border-top: 4px dashed #85B7CC;

}

/* Footer stacked below each other */
.flight-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin-left: auto; /* Push footer to the right */
    text-align: right;
}

.price {
    font-family: Roboto;
    font-weight: 700;
    font-size: 32.62px;
    line-height: 38.23px;
    letter-spacing: 0%;
    color: black;
}

.icons {
    display: flex;
    gap: 10px;
}

.icon-btn {
  background-color: transparent;
    border-radius: 50%;
}

.icon-btn img {
    width: 28px;
    height: 28px;
}

.details-btn {
    background: #85B7CC;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: Arial;
    font-weight: 400;
    font-size: 17.94px;
    line-height: 20.63px;
    letter-spacing: 0%;
}

.details-btn:hover {
    background: #0056b3;
}

.hidden {
    display: none;
}

.flight-extra-detailsda {
    margin-top: 0px;
}

.flight-extra-detailsconttnda {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0px;
 
    width: 100%;
}

/* Left Section */
.left-sectionda {
    width: 75%;
    padding: 0px;
    margin: 0px;
}

/* Flight Details & Class Selection on the Same Line */
.flight-headerda {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between title and buttons */
    margin: 0px;
}

.flight-headerdad {
    display: flex;
    align-items: center;
    gap: 0px; /* Space between title and buttons */
    margin: 0px;
    padding: 0px;
}


.class-selection {
    display: flex;
    gap: 10px;
}

.class-selection button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #e0e0e0;
}

.class-selection .selected {
    background: #85B7CC;
    color: white;
}

/* Departure & Return Info + Additional Info Side by Side */
.flight-info-containerda {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
    gap: 0px; /* Space between main and extra info */
}

/* Additional Flight Info Styling */
.extra-flightda {
width: 100%;
   margin-top: 0px;
   padding-top: 0px;
    text-align: left;
}

/* Right Section */
.right-section {
    margin-left: 20px;
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.right-section div {
    width: 100%;
}

.right-section h4 {
    margin-bottom: 5px;
    font-weight: bold;
}






.departure-details {
    margin: 0px;
    
    width: 100%;
}

.departure-info {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    align-items: flex-start; /* Aligns location and time-container from the top */
    gap: 20px; /* Space between location and time-container */
}

.departure-infoextra{
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start; /* Aligns location and time-container from the top */
    justify-content: flex-end; /* Pushes all content to the right */
    gap: 20px; /* Space between location and time-container */
}



.right-requesttt-centerlayover {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    flex-direction: column;
}

/* "Layover" title centered at the top */


/* Dotted line container */
.dotted-container-centerlayover {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    padding: 20px 0;
   
}

/* Center vertical dotted line */
.center-line-centerlayover {
    position: absolute;
    top: 0;
    bottom: 40px; /* Adjusted to make it smaller */
    left: 50%;
    width: 2px;
    border-left: 2px dotted #000;
    transform: translateX(-50%);
}

/* Centered text */
.center-text-centerlayover {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; /* Reduced space between texts */
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #747474;
    margin-top: 20px; /* Reduced spacing */
    padding-left:15px ;
    padding-right: 15px;
}


/* Dotted line on the left */
.dotted-container-centerlayover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 0;
    width: 2px;
    border-left: 2px dotted #000;
}

/* Dotted line on the right */
.dotted-container-centerlayover::after {
    content: "";
    position: absolute;
    right: 0;
    top: 30px;
    bottom: 0;
    width: 2px;
    border-left: 2px dotted #000;
}



.location {
    display: flex;
    flex-direction: column;
}




.time-container {
    display: flex;
    flex-direction: column; /* Stack time and image vertically */
    align-items: center;
    gap: 5px;
    padding-top: 10px;
}


.flight-icondetail {
    width: 24px;
    height: 24px;
}




.airlinedetail{
    margin-bottom: 10px;
}



.acceptimage{
    width: 15px;
    height: 15px;
}

/* ===================================================================================== */
/* RESPONSIVE DESIGN - MOBILE FIRST APPROACH */
/* ===================================================================================== */

/* Tablet and smaller desktop styles (768px to 1024px) */
@media screen and (max-width: 1024px) {
    .flight-card-requesttt {
        margin-left: 30px;
        margin-right: 15px;
        padding: 14px;
    }
    
    .tabsitemnavdd, .tabsitemnavde {
        font-size: 26px;
        margin-left: 20px;
    }
}

/* Mobile styles (up to 768px) */
@media screen and (max-width: 768px) {
    /* Main container adjustments */
    .flight-card-requesttt {
        margin-left: 15px;
        margin-right: 15px;
        padding: 12px;
        border-radius: 10px;
    }

    /* Typography responsive scaling */
    .tabsitemnavdd, .tabsitemnavde {
        font-size: 22px;
        line-height: 26px;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    /* Top section - stack on mobile if needed */
    .top-section-requesttt {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .buttons-container-requesttt {
        width: 100%;
        justify-content: flex-start;
    }

    .buttons-requesttt {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Profile section */
    .profile-img-requesttt {
        width: 35px;
        height: 35px;
    }

    .name-requesttt {
        font-size: 16px;
    }

    /* Details section - stack vertically on mobile */
    .details-section-requesttt {
        flex-direction: column;
        gap: 15px;
    }

    .left-requesttt {
        width: 100%;
    }

    .right-requesttt {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
    }

    /* Line layout - make more compact */
    .line-requesttt {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 10px;
    }

    .details-requesttt {
        flex-wrap: wrap;
        gap: 10px;
    }

    .payment-requesttt {
        margin-left: 0;
        margin-top: 5px;
    }

    /* Icons and buttons - make touch-friendly */
    .icon-btn-requesttt {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .icon1-requesttt {
        width: 16px;
        height: 12px;
    }

    .icon2-requesttt {
        width: 16px;
        height: 18px;
    }

    /* Button sizing for mobile */
    .pay-btn-requesttt, .visa-btn-requesttt, .unvisa-btn-requesttt {
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 44px; /* Touch-friendly minimum */
    }

    .pay-btn-requestapro, .pay-btn-requestrej {
        padding: 10px 14px;
        font-size: 14px;
        min-height: 44px;
    }

    /* Actions section adjustments */
    .actions-requesttt {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .divider-requesttt {
        height: 30px;
    }
}

/* Small mobile styles (up to 480px) */
@media screen and (max-width: 480px) {
    .flight-card-requesttt {
        margin-left: 10px;
        margin-right: 10px;
        padding: 10px;
    }

    /* Further reduce typography */
    .tabsitemnavdd, .tabsitemnavde {
        font-size: 18px;
        line-height: 22px;
        margin-left: 10px;
    }

    /* Stack everything vertically */
    .top-section-requesttt {
        gap: 10px;
    }

    .profile-img-requesttt {
        width: 30px;
        height: 30px;
    }

    .name-requesttt {
        font-size: 14px;
    }

    /* Make buttons smaller but still touch-friendly */
    .pay-btn-requesttt, .visa-btn-requesttt, .unvisa-btn-requesttt {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 40px;
    }

    .pay-btn-requestapro, .pay-btn-requestrej {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 40px;
    }

    /* Icon adjustments */
    .icon-btn-requesttt {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }

    .divider-requesttt {
        height: 25px;
    }

    /* Reduce spacing in icon3 circles */
    .icon3-requesttt {
        margin: 0 10px;
    }
}

/* ===================================================================================== */
/* RESPONSIVE DESIGN FOR FLIGHT CARDS AND DETAILED VIEWS */
/* ===================================================================================== */

/* Mobile responsive for flight details */
@media screen and (max-width: 768px) {
    .flight-card, .flight-carddd {
        margin-left: 15px;
        margin-right: 15px;
        padding: 12px;
    }

    /* Flight info section */
    .flight-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .airline-logo {
        width: 80px;
        height: 80px;
        align-self: center;
    }

    .flight-details {
        width: 100%;
    }

    /* Route section - stack on mobile */
    .route {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .departure, .arrival {
        text-align: center;
    }

    .dotted-line {
        width: 100%;
        height: 2px;
        transform: rotate(90deg);
        margin: 10px 0;
    }

    /* Flight footer */
    .flight-footer {
        align-items: center;
        margin-left: 0;
        margin-top: 15px;
    }

    .price {
        font-size: 24px;
        line-height: 28px;
    }

    .details-btn {
        padding: 12px 20px;
        font-size: 16px;
        min-height: 44px;
    }

    /* Flight extra details */
    .flight-extra-detailsconttnda {
        flex-direction: column;
        gap: 20px;
    }

    .left-sectionda {
        width: 100%;
    }

    .right-section {
        width: 100%;
        margin-left: 0;
        align-items: flex-start;
    }

    /* Flight header */
    .flight-headerda, .flight-headerdad {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .class-selection {
        width: 100%;
        justify-content: center;
    }

    .class-selection button {
        flex: 1;
        min-height: 44px;
    }

    /* Flight info container */
    .flight-info-containerda {
        flex-direction: column;
        gap: 15px;
    }

    /* Departure details */
    .departure-info, .departure-infoextra {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

    .time-container {
        padding-top: 5px;
    }

    .flight-icondetail {
        width: 20px;
        height: 20px;
    }
}

/* Small mobile adjustments for flight cards */
@media screen and (max-width: 480px) {
    .flight-card, .flight-carddd {
        margin-left: 10px;
        margin-right: 10px;
        padding: 10px;
    }

    .airline-logo {
        width: 60px;
        height: 60px;
    }

    .airline-name {
        font-size: 16px;
    }

    .duration {
        font-size: 16px;
        line-height: 18px;
    }

    .departure h4, .arrival h4 {
        font-size: 16px;
        line-height: 18px;
    }

    .departure p, .arrival p {
        font-size: 14px;
        line-height: 16px;
    }

    .price {
        font-size: 20px;
        line-height: 24px;
    }

    .details-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 40px;
    }
}

/* ===================================================================================== */
/* RESPONSIVE DESIGN FOR LAYOVER AND SPECIAL SECTIONS */
/* ===================================================================================== */

@media screen and (max-width: 768px) {
    .right-requesttt-centerlayover {
        padding: 15px;
    }

    .dotted-container-centerlayover {
        padding: 15px 0;
    }

    .center-text-centerlayover {
        margin-top: 15px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }

    .center-line-centerlayover {
        bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .right-requesttt-centerlayover {
        padding: 10px;
    }
    #bookingtitle {
display: none;
    }
    .dotted-container-centerlayover {
        padding: 10px 0;
    }

    .center-text-centerlayover {
        margin-top: 10px;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;
    }
}

/* ===================================================================================== */
/* RESPONSIVE DESIGN FOR PACKAGE AND ACCOMMODATION COMPONENTS */
/* ===================================================================================== */

@media screen and (max-width: 768px) {
    /* Package grid responsive */
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, auto);
        gap: 6px 10px;
        padding: 12px;
        border-radius: 12px;
    }

    .package-grid div {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Package multilocation responsive */
    .package-multilocationcl {
        width: 95%;
        padding: 15px;
        border-radius: 16px;
        margin-bottom: 15px;
    }

    .title-multilocationcl {
        font-size: 22px;
        margin-bottom: 10px;
    }

    /* Hotel card responsive */
    .hotelallclientacc {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .hotelcardclientacc {
        margin: 5px;
        padding: 10px;
        border-radius: 12px;
    }

    .hotelcardclientacc h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .hotelinfoclientacc {
        font-size: 14px;
        margin-bottom: 5px;
    }

    /* Price container responsive */
    .price-container-clientacc {
        width: 100%;
        margin-top: 10px;
    }

    .price-section-clientacc {
        margin-top: 10px;
        padding-top: 15px;
    }

    .price-column-clientacc {
        flex: 1;
        min-width: 80px;
    }

    .price-card-clientacc {
        padding: 8px;
        margin: 2px;
    }

    .price-card-clientacc h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .pricemultilocationtext-clientacc {
        font-size: 16px;
    }

    /* Row multilocation responsive */
    .row-multilocation {
        flex-direction: column;
        gap: 15px;
    }

    /* Stars section */
    .starsclientacc {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin-top: 5px;
    }

    .starsclientacc img {
        width: 16px;
        height: 16px;
    }

    /* Flight container in packages */
    .flights-container-packbooind {
        flex-direction: column;
        gap: 8px;
    }

    .flight-card-packbooind {
        width: 100%;
    }

    .flight-header-packbooind {
        gap: 6px;
        margin-bottom: 6px;
    }

    .flight-logo-packbooind {
        height: 24px;
        width: 24px;
    }

    .flight-title-packbooind {
        font-size: 18px;
    }

    /* Extra package details */
    .extra-package-details {
        padding: 12px;
        margin-top: 10px;
    }

    .extra-package-details p {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hidden-package-details {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    /* Further mobile optimizations */
    .package-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, auto);
        gap: 8px;
        padding: 10px;
    }

    .package-grid div {
        font-size: 11px;
        padding: 4px 0;
    }

    .package-multilocationcl {
        width: 98%;
        padding: 12px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .title-multilocationcl {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hotelcardclientacc {
        margin: 3px;
        padding: 8px;
        border-radius: 10px;
    }

    .hotelcardclientacc h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .hotelinfoclientacc {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .price-section-clientacc {
        margin-top: 8px;
        padding-top: 12px;
        flex-direction: column;
        gap: 8px;
    }

    .price-column-clientacc {
        min-width: 100%;
        display: flex;
        justify-content: center;
    }

    .price-card-clientacc {
        padding: 6px;
        margin: 1px;
        width: 100%;
        max-width: 120px;
    }

    .price-card-clientacc h4 {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .pricemultilocationtext-clientacc {
        font-size: 14px;
    }

    .flight-title-packbooind {
        font-size: 16px;
    }

    .flight-logo-packbooind {
        height: 20px;
        width: 20px;
    }

    .extra-package-details {
        padding: 10px;
        margin-top: 8px;
    }

    .extra-package-details p {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .starsclientacc img {
        width: 14px;
        height: 14px;
    }
}

/* ===================================================================================== */
/* RESPONSIVE DESIGN FOR EXPANDED FLIGHT DETAILS */
/* ===================================================================================== */

@media screen and (max-width: 768px) {
    /* Flight card expanded details - main container */
    .flight-carddd {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px !important;
    }

    /* Flight header tabs */
    .flight-headerdad {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 15px;
    }

    .tabsitemnavde {
        font-size: 18px !important;
        line-height: 22px !important;
        margin-left: 0 !important;
        margin-right: 15px;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #f5f5f5;
    }

    .tabsitemnavde.active-tabde {
        background: #85B7CC;
        color: white;
        border-color: #85B7CC;
    }

    /* Main flight details container */
    .flight-extra-detailsconttnda {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .left-sectionda {
        width: 100% !important;
        padding: 0 !important;
    }

    .right-section {
        width: 100% !important;
        margin-left: 0 !important;
        align-items: flex-start !important;
    }

    /* Flight info container */
    .flight-info-containerda {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Departure details section */
    .departure-details {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .departure-details h4 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #333;
        font-weight: bold;
    }

    .departure-info, .departure-infoextra {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        text-align: center !important;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .departure-info .location, .departure-infoextra .location {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .departure-info .location .city, .departure-infoextra .location .city {
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .departure-info .location .airport, .departure-infoextra .location .airport {
        font-size: 14px;
        color: #666;
    }

    .time-container {
        text-align: center;
    }

    .departure-time {
        font-size: 16px !important;
        font-weight: bold;
        color: #333;
    }

    .travel-time, .travel-timeadd {
        font-size: 14px;
        color: #666;
        margin: 5px 0;
    }

    .airlinedetail {
        font-size: 14px;
        color: #333;
        font-weight: 500;
    }

    /* Layover section */
    .right-requesttt-centerlayover {
        padding: 15px !important;
        margin: 15px 0;
        background: #f0f7ff;
        border-radius: 10px;
        border: 2px solid #85B7CC;
    }

    .layover-text-centerlayover {
        font-size: 16px !important;
        font-weight: bold;
        color: #85B7CC;
        text-align: center;
        margin-bottom: 10px;
    }

    .center-text-centerlayover {
        font-size: 14px !important;
        text-align: center;
    }

    .textcenterlayover1, .textcenterlayover {
        font-size: 14px;
        margin: 3px 0;
    }

    /* Extra flight section */
    .extra-flight {
        width: 100% !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .centertex, .titleforf1 {
        font-size: 16px !important;
        font-weight: bold;
        color: #333;
        text-align: center;
        margin-bottom: 10px;
        padding: 8px;
        background: #e9ecef;
        border-radius: 6px;
    }

    /* Right section - seat, bags, flexibility */
    .right-section {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 10px;
    }

    .seat-info, .bags-info, .flexibility {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 12px;
        background: white;
    }

    .seat-info h4, .bags-info h4, .flexibility h4 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        color: #333;
        font-weight: bold;
    }

    .seat-info p, .bags-info p, .flexibility p {
        font-size: 14px !important;
        line-height: 1.4;
        margin: 5px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .acceptimage {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0;
    }

    /* Flight info section in expanded view */
    .flight-info {
        padding: 15px;
        border-radius: 10px;
        background: #f8f9fa;
        margin-bottom: 15px;
    }

    .flight-info.withstopp, .flight-info.with-layoverdet, .flight-info.without-layoverdet {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .airline-logo {
        width: 60px !important;
        height: 60px !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .flight-details {
        width: 100% !important;
    }

    .airline-name {
        font-size: 16px !important;
        text-align: center;
        margin-bottom: 10px;
    }

    .duration {
        font-size: 14px !important;
        margin-left: 5px !important;
    }

    /* Route in expanded flight info */
    .route {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    .departure, .arrival {
        text-align: center !important;
        width: 100%;
        padding: 10px;
        background: white;
        border-radius: 8px;
        border: 1px solid #ddd;
    }

    .departure h4, .arrival h4 {
        font-size: 16px !important;
        margin-bottom: 5px;
    }

    .departure p, .arrival p {
        font-size: 14px !important;
        margin: 3px 0;
    }

    .departure span, .arrival span {
        font-size: 14px !important;
        font-weight: bold;
    }

    .dotted-line {
        width: 2px !important;
        height: 30px !important;
        border-left: 2px dashed #85B7CC !important;
        border-top: none !important;
        transform: none !important;
        margin: 5px 0 !important;
    }
}

@media screen and (max-width: 480px) {
    /* Further optimizations for small mobile */
    .flight-carddd {
        padding: 8px !important;
    }

    .tabsitemnavde {
        font-size: 16px !important;
        padding: 6px 10px;
        margin-right: 10px;
    }

    .departure-details h4 {
        font-size: 16px;
    }

    .departure-info, .departure-infoextra {
        padding: 8px;
        margin-bottom: 8px;
    }

    .departure-info .location .city, .departure-infoextra .location .city {
        font-size: 14px;
    }

    .departure-time {
        font-size: 14px !important;
    }

    .right-requesttt-centerlayover {
        padding: 10px !important;
        margin: 10px 0;
    }

    .layover-text-centerlayover {
        font-size: 14px !important;
    }

    .center-text-centerlayover {
        font-size: 12px !important;
    }

    .centertex, .titleforf1 {
        font-size: 14px !important;
        padding: 6px;
    }

    .right-section {
        padding: 10px;
        gap: 10px;
    }

    .seat-info, .bags-info, .flexibility {
        padding: 8px;
    }

    .seat-info h4, .bags-info h4, .flexibility h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .seat-info p, .bags-info p, .flexibility p {
        font-size: 12px !important;
        gap: 6px;
    }

    .airline-logo {
        width: 50px !important;
        height: 50px !important;
    }

    .airline-name {
        font-size: 14px !important;
    }

    .duration {
        font-size: 12px !important;
    }

    .departure h4, .arrival h4 {
        font-size: 14px !important;
    }

    .departure p, .arrival p, .departure span, .arrival span {
        font-size: 12px !important;
    }
}

/* ===================================================================================== */
/* RESPONSIVE DESIGN FOR PACKAGE RESERVATION EXPANDED DETAILS */
/* ===================================================================================== */

@media screen and (max-width: 768px) {
    /* Main package details container */
    .extra-package-details {
        padding: 12px !important;
        margin-top: 10px !important;
        background: #f8f9fa;
        border-radius: 10px;
    }

    /* Package detail headers */
    .extra-package-details .font-\[700\].text-\[25px\] {
        font-size: 18px !important;
        margin-bottom: 10px !important;
        color: #333;
        text-align: center;
        padding: 8px;
        background: #85B7CC;
        color: white !important;
        border-radius: 6px;
    }

    /* Package grid responsive layout */
    .extra-package-details .package-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 8px !important;
        padding: 15px !important;
        border: 2px solid #85B7CC;
        border-radius: 10px;
        background: white;
        margin-bottom: 15px;
    }

    .extra-package-details .package-grid div {
        font-size: 13px !important;
        line-height: 1.4 !important;
        padding: 8px 10px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .extra-package-details .package-grid div:last-child {
        border-bottom: none;
    }

    /* Passenger details styling */
    .extra-package-details .package-grid .font-\[700\].text-\[20px\] {
        font-size: 16px !important;
        font-weight: bold !important;
        background: #e9ecef;
        border-radius: 4px;
        padding: 8px !important;
        margin: 8px 0 !important;
        text-align: center;
        border-bottom: 2px solid #85B7CC !important;
    }

    .extra-package-details .package-grid .font-\[400\].text-\[18px\] {
        font-size: 14px !important;
        padding: 6px 8px;
        background: #f9f9f9;
        border-radius: 4px;
        margin: 2px 0;
    }

    .extra-package-details .package-grid .font-\[700\].text-\[26px\] {
        font-size: 16px !important;
        font-weight: bold !important;
        background: #fff3cd;
        border: 1px solid #ffeaa7;
        border-radius: 4px;
        padding: 8px !important;
        margin: 4px 0;
        color: #856404 !important;
    }

    /* Accommodation section styling */
    #accommodations-list {
        margin-top: 15px;
    }

    #accommodations-list .package-multilocationcl {
        width: 100% !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        border-radius: 12px;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
        border: 2px solid #85B7CC;
    }

    #accommodations-list .title-multilocationcl {
        font-size: 18px !important;
        margin-bottom: 12px !important;
        text-align: center;
        color: #333;
        font-weight: bold;
        padding: 8px;
        background: #f0f7ff;
        border-radius: 6px;
        border: 1px solid #85B7CC;
    }

    #accommodations-list .row-multilocation {
        flex-direction: column !important;
        gap: 15px !important;
    }

    #accommodations-list .hotelallclientacc {
        width: 100% !important;
        margin-top: 10px !important;
    }

    #accommodations-list .hotelcardclientacc {
        width: 100% !important;
        padding: 12px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
        background: white;
        border: 1px solid #ddd;
    }

    #accommodations-list .hotelcardclientacc h4 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        color: #333;
        font-weight: bold;
        text-align: center;
    }

    #accommodations-list .hotelinfoclientacc {
        font-size: 14px !important;
        margin-bottom: 6px !important;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    #accommodations-list .hotelinfoclientacc img {
        width: 18px;
        height: 18px;
    }

    #accommodations-list .starsclientacc {
        display: flex !important;
        justify-content: center !important;
        gap: 3px !important;
        margin-top: 8px !important;
    }

    #accommodations-list .starsclientacc img {
        width: 16px !important;
        height: 16px !important;
    }

    /* Price container responsive */
    #accommodations-list .price-container-clientacc {
        width: 100% !important;
        margin-top: 15px !important;
    }

    #accommodations-list .price-section-clientacc {
        margin-top: 10px !important;
        padding-top: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: 10px !important;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        border: 1px solid #ddd;
    }

    #accommodations-list .price-column-clientacc {
        flex: 1 !important;
        min-width: auto !important;
        display: flex;
        justify-content: center;
    }

    #accommodations-list .price-card-clientacc {
        padding: 10px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100px;
        background: white;
        border: 1px solid #85B7CC;
        border-radius: 6px;
        text-align: center;
    }

    #accommodations-list .price-card-clientacc h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
        color: #333;
    }

    #accommodations-list .pricemultilocationtext-clientacc {
        font-size: 16px !important;
        font-weight: bold;
        color: #85B7CC;
    }

    /* Flight schedule wrapper */
    .flight-schedule-wrapper {
        margin-top: 15px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 10px;
        border: 1px solid #ddd;
    }

    .flight-schedule-wrapper .flex.flex-row {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }

    .flight-schedule-wrapper .flight-card {
        width: 100% !important;
        padding: 15px !important;
        border: 1px solid #85B7CC;
        border-radius: 10px;
        background: white;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }

    .flight-schedule-wrapper .flight-card .flex.items-center {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center;
    }

    .flight-schedule-wrapper .flight-card .h-\[30px\] {
        width: 40px !important;
        height: 40px !important;
    }

    .flight-schedule-wrapper .flight-card .text-\[20px\] {
        font-size: 16px !important;
    }

    .flight-schedule-wrapper .flight-card .flex.items-center.justify-between {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    .flight-schedule-wrapper .flight-card .text-left {
        text-align: center !important;
        padding: 10px;
        background: #f0f7ff;
        border-radius: 8px;
        border: 1px solid #85B7CC;
        width: 100%;
    }

    .flight-schedule-wrapper .flight-card .text-center {
        padding: 10px;
        background: #fff3cd;
        border-radius: 8px;
        border: 1px solid #ffeaa7;
    }

    .flight-schedule-wrapper .flight-card .text-\[24px\] {
        font-size: 18px !important;
    }

    .flight-schedule-wrapper .flight-card .text-\[20px\] {
        font-size: 16px !important;
    }

    .flight-schedule-wrapper .flight-card .text-\[18px\] {
        font-size: 14px !important;
    }

    /* Dotted separator for flight schedule */
    .dotted-separator {
        width: 100% !important;
        height: 2px !important;
        border-top: 2px dashed #85B7CC !important;
        margin: 15px 0 !important;
    }

    /* View ticket link styling */
    .view-ticket-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 8px 12px !important;
        background: #007bff !important;
        color: white !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        font-size: 14px !important;
        margin-top: 10px !important;
        min-height: 40px;
        font-weight: 500;
    }

    .view-ticket-link:hover {
        background: #0056b3 !important;
    }
}

@media screen and (max-width: 480px) {
    /* Further optimizations for small mobile */
    .extra-package-details {
        padding: 10px !important;
        margin-top: 8px !important;
    }

    .extra-package-details .font-\[700\].text-\[25px\] {
        font-size: 16px !important;
        padding: 6px;
    }

    .extra-package-details .package-grid {
        padding: 10px !important;
        gap: 6px !important;
    }

    .extra-package-details .package-grid div {
        font-size: 12px !important;
        padding: 6px 8px;
    }

    .extra-package-details .package-grid .font-\[700\].text-\[20px\] {
        font-size: 14px !important;
        padding: 6px !important;
        margin: 6px 0 !important;
    }

    .extra-package-details .package-grid .font-\[400\].text-\[18px\] {
        font-size: 12px !important;
        padding: 4px 6px;
    }

    .extra-package-details .package-grid .font-\[700\].text-\[26px\] {
        font-size: 14px !important;
        padding: 6px !important;
    }

    #accommodations-list .package-multilocationcl {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    #accommodations-list .title-multilocationcl {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        padding: 6px;
    }

    #accommodations-list .hotelcardclientacc {
        padding: 8px !important;
    }

    #accommodations-list .hotelcardclientacc h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    #accommodations-list .hotelinfoclientacc {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    #accommodations-list .price-section-clientacc {
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: 8px !important;
        padding: 10px;
    }

    #accommodations-list .price-card-clientacc {
        padding: 8px !important;
        max-width: 80px;
        width: 100%;
        flex: 1;
    }

    #accommodations-list .price-card-clientacc h4 {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    #accommodations-list .pricemultilocationtext-clientacc {
        font-size: 14px !important;
    }

    .flight-schedule-wrapper {
        padding: 10px;
        margin-top: 10px;
    }

    .flight-schedule-wrapper .flight-card {
        padding: 10px !important;
    }

    .flight-schedule-wrapper .flight-card .h-\[30px\] {
        width: 30px !important;
        height: 30px !important;
    }

    .flight-schedule-wrapper .flight-card .text-\[20px\] {
        font-size: 14px !important;
    }

    .flight-schedule-wrapper .flight-card .text-\[24px\] {
        font-size: 16px !important;
    }

    .flight-schedule-wrapper .flight-card .text-\[18px\] {
        font-size: 12px !important;
    }

    .flight-schedule-wrapper .flight-card .text-left {
        padding: 8px;
    }

    .flight-schedule-wrapper .flight-card .text-center {
        padding: 8px;
    }

    .view-ticket-link {
        padding: 6px 10px !important;
        font-size: 12px !important;
        margin-top: 8px !important;
        min-height: 36px;
    }
}

/* ===================================================================================== */
/* RESPONSIVE OVERRIDES FOR TAILWIND CLASSES */
/* ===================================================================================== */

@media screen and (max-width: 768px) {
    /* Override large Tailwind text sizes for mobile */
    .text-\[32px\] {
        font-size: 24px !important;
    }
    
    .text-\[26px\] {
        font-size: 20px !important;
    }
    
    .text-\[25px\] {
        font-size: 18px !important;
    }
    
    .text-\[20px\] {
        font-size: 16px !important;
    }
    
    .text-\[18px\] {
        font-size: 14px !important;
    }

    /* Adjust margins for mobile */
    .mt-\[20px\] {
        margin-top: 15px !important;
    }
    
    .pb-\[10px\] {
        padding-bottom: 8px !important;
    }
    
    .pt-\[25px\] {
        padding-top: 15px !important;
    }

    
    /* Keep the flight/package tab navigation horizontal */
    #banner-main {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 30px; /* Maintain good spacing between tabs */
    }

    /* Responsive spacing for main title */
    .flex.justify-center > p {
        font-size: 24px !important;
        line-height: 1.2 !important;
        text-align: center;
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    /* Further reduce text sizes for small mobile */
    .text-\[32px\] {
        font-size: 20px !important;
    }
    
    .text-\[26px\] {
        font-size: 18px !important;
    }
    
    .text-\[25px\] {
        font-size: 16px !important;
    }
    
    .text-\[20px\] {
        font-size: 14px !important;
    }
    
    .text-\[18px\] {
        font-size: 12px !important;
    }

    /* Reduce margins further */
    .mt-\[20px\] {
        margin-top: 10px !important;
    }
    
    .pb-\[10px\] {
        padding-bottom: 6px !important;
    }
    
    .pt-\[25px\] {
        padding-top: 10px !important;
    }

    /* Adjust main title for very small screens */
    .flex.justify-center:not(.gap-6):not([id*="flight"]):not([class*="dropdown"]):not([class*="absolute"]) > p {
        font-size: 18px !important;
        line-height: 1.1 !important;
        padding: 0 5px;
    }
    
    /* Keep tab navigation horizontal with smaller gap on small mobile */
    .flex.justify-center.gap-6 {
        gap: 20px; /* Reduce gap slightly on very small screens */
    }
}




