/* 🔥 MAIN BAR */
.sort-summary-bar {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* 🔥 EACH BOX */
.sort-box {
  flex: 1;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* vertical divider */
.sort-box:not(:last-child) {
  border-right: 1px solid #eee;
}

/* TEXT STYLING */
.sort-box strong {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.sort-box span {
  font-size: 14px;
  color: #666;
  margin:none !important;
}
.sort-box h4{
    margin:none !important;
}

/* 🔥 ACTIVE STYLE */
.sort-box.active {
    background:
        linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px),
        linear-gradient(180deg, #F4FCFB 0%, #EEF9F7 50%, #E8F6F3 100%);
    background-size: 40px 40px, 40px 40px, cover;
}

.sort-box.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00bcd4; /* blue underline */
  border-radius: 2px;
}

/* 🔥 HOVER EFFECT */
.sort-box:hover {
  background: #E8F6F3;
}

/* optional spacing fix */
.sort-summary-bar .d-flex {
  width: 100%;
}

.sort-box:active {
  transform: scale(0.98);
}































.select2-container .select2-selection--single {
    height: 60px !important;
    padding: 10px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 60px;
} 

.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-card {
    background: #ffffff;
    padding: 35px 45px;
    border-radius: 18px;
    text-align: center;
    width: 800px;
    max-width: 90%;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    animation: fadeInScale 0.25s ease;
    overflow: hidden; /* Prevents any accidental overflow from children */
}

/* Image wrapper – strict dimensions */
.plane-wrapper {
     width: 300px;        /* 🔥 increase container */
    height: 200px;
    margin: 0 auto 6px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;    /* Clips any overflow */
    position: relative;
}

/* Image itself – scale down if larger, maintain aspect ratio */
/*.plane-img {*/
/*    max-width: 100%;*/
/*    max-height: 100%;*/
/*    width: 400px;*/
/*    height: 200px;*/
    /*object-fit: contain;  */
/*    display: block;*/
/*}*/ 

.plane-img {
    width: 280px;        /* 🔥 increase container */
    height: 180px;

    display: block;
    margin: 0 auto 15px auto;
}

.route-text {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.arrow {
    margin: 0 6px;
    font-weight: 500;
}

.loader-subtext {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.5;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/*.spinner {*/
    /*border: 4px solid #f3f3f3;      */
    /*border-top: 4px solid #0d6efd; */
/*    border-radius: 50%;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    animation: spin 0.8s linear infinite;*/
/*    margin: 0 auto 20px;*/
/*}*/

/*@keyframes spin {*/
/*    0% { transform: rotate(0deg); }*/
/*    100% { transform: rotate(360deg); }*/
/*}*/



/*Travel -container*/ 
.app-container{
    width:100%; 
    
}

.Travel-container{ 
  
   width:100%;
   box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03); 
 
   border-radius:20px; 
   min-height:500px;
   height:auto;
}  

 .Travel-container.d-none{
    min-height:0 !important;
}
.travel-btn {
  background: transparent;
  border: none;
  color: #333;
  padding: 6px 14px;
  
  cursor: pointer;
  transition: all 0.2s ease;
}





.trip-oneway-heading,
.trip-roundoneway-heading, .trip-multiway-heading ,.trip-group-heading{
    text-decoration:none;
    color: #0f0b0a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.modifybtn,
.trip-oneway-heading.active,
.trip-roundoneway-heading.active,
.trip-multiway-heading.active , 
.trip-group-heading.active {
    position: relative;
    padding-bottom: 4px;
    font-size: 16px;
}

.modifybtn::after,
.trip-oneway-heading.active::after,
.trip-roundoneway-heading.active::after,
.trip-multiway-heading.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        #10b981,
        #14b8a6,
        #06b6d4
    );
}



.trip-name-style{
    margin-left:5px;  
    cursor: pointer; 
    transition: all 0.3s ease;
      display: inline-block; 
    
} 

#OnewayFlightTrip{
    overflow: visible;
}
.trip-name-style:hover{
    text-decoration:underline;
}  

.from-city-border{
    border: 1px solid #ced4da;
} 

.date-range{
    /*border: 1px solid #ced4da;*/
     font-size: 16px;   /* change this value */
    /* optional */
  color: #1f1e1d;
     transition: border-color 0.2s ease;
} 
.date-display {
  height: 60px;

  padding: 6px 10px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position:relative;
  border: 1px solid #ced4da;
  transition: border-color 0.2s ease;
} 
.date-display .daterangepicker {
  top: 100% !important;     /* BELOW the box */
  left: 0 !important;       /* align with left edge */
  margin-top: 6px;
}




.date-display.active {
  border-color: #000;
}

.date-day {
  font-size: 22px;
  font-weight: 600;
}

.date-month-year {
  font-size: 13px;
}

.date-weekday {
  font-size: 12px;
  color: #6b7280;
}
.fare-sub-title{
    font-size:13px;
   white-space: nowrap;
}

/*.form-control.form-control-sm {*/
/*    min-height: 40px; */
/*    min-width:80px;*/
/*    padding: 10px 10px;*/
/*    font-size: 16px;*/
/*    border-radius: 8px;*/
/*}*/


/* Container for the whole search bar */
.search-row {
  display: flex;
  flex-wrap: nowrap; /* Forces everything to stay on one line */
  align-items: flex-start;
  width: 100%;

}

/*@media(man-width:380px){*/
/*    .search-row{*/
/*        display:flex;*/
/*        flex-direction:column;*/
/*    }*/
/*    .search-row input{*/
/*        width:100%;*/
/*    }*/
/*}*/


 /*Fixed Swap Icon */
.swap-icon {
 height:60px;
 margin-top:29px;
  width: 60px !important;
  display: flex; 
  justify-content: center;
  align-items: center; 
  border: 1px solid #ced4da; 
  border-radius:6px; 
   flex-shrink: 0; /* 🔥 THIS IS THE FIX */
}



/* Fixed City Fields */
.from-city, .to-city {
  
 flex: 1 0 0;
  min-width: 250px;
  
}
.from-city input:focus,
.to-city input:focus{
    border: 1px solid #000;
    box-shadow: none;
    outline: none;
}

.swap-icon:focus,
.swap-icon:active {
  border: 1px solid #000 !important;
  outline: none;
}

/* Fixed Departure Field */
.depart-field {
  flex: 0 0 140px !important;
  width: 140px !important; 
 
} 

.date-display:focus,
.date-display:active{
  border: 1px solid #000 !important;
  outline: none;
}

/* Fixed Passenger Field */
.passenger-field {
  flex: 0 0 250px !important;
  width: 250px !important; 
  
}

/* Ensure inputs fill their fixed parent boxes */
.field-box input, 
.date-display, 
#passengerBtn {
  width: 100% !important;
  box-sizing: border-box; 
  min-width: auto; /* default */
} 

/*.passenger-container {*/
/*    position: relative;*/
/*}*/



.traveller-text {
  font-weight: 700;      /* bold */
  color: #333131;        
} 
.passenger-container .btn {
  background-color: transparent !important;
  transition: background-color 0.3s ease;
}


.passenger-container .btn-outline-secondary :focus, 
 
.passenger-container .btn-outline-secondary :active,
.passenger-container .btn-outline-secondary.show {
    background-color: transparent !important;
    border-color: #000 !important;
    box-shadow: none !important;
}
.passenger-container .btn:hover {
  border-color: #000; /* same as normal */
} 

.counter {
  gap: 6px;
}
.counter{
    width:100px;
}
.counter-input {
  width: 36px;
  height: 36px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-weight: 500; 
  text-align:center;
}

.qty-btn {
  width: 40px;
  height: 36px;
  border: 1px solid #ced4da;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover {
  background: #e9ecef;
}

/*From and to values*/
.city-popup {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  max-height: 260px;
  overflow-y: auto;
  z-index: 1050;
}

.airport-name{
   font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width:100%;
  display: inline-block;
} 

.travel-row {
  width: 100%;
  display: flex;

  align-items: end;
}


.depart-field
{
  width: 140px;
}


.city-popup {
  width: 100%;
}

.discount-ticket {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.city-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.city-item:hover {
  background-color: #f5f7ff;
}

.city-name {
  font-weight: 600;
}

.city-airport {
  font-size: 12px;
  color: #6c757d;
}


/*search flight button*/ 
.search-flight-btn{
     background-color: #516AF0;
  color: #fff;
  border-color: none;
    display:flex;
    align-items:center;
    justify-content:center;
      border:none;
  height:70px;
    border-radius:12px;
  width:70;
  font-size:12px;
    
}  
.search-icon-bar{
    border:none;
     height: 28px;              /* set exact height */

   line-height: 48px;
  }
  
  /* remove extra vertical padding 
  line-height: 48px;
}
/*.search-icon{*/
/*     position: absolute;*/
/*  right: 12px;*/
/*  top: 50%;*/
/*  transform: translateY(-50%);*/
/*  cursor: pointer;*/
/*  color: #6c757d;*/
/*}*/

/*....................select fare section..............*/


.select-fares-section {
        margin-top: 15px;
        border-top: 1px solid var(--border-color);
      
    }
    
    .select-fares-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 1rem;
        display:flex;
        align-self:flex-start;
    }
    .fare-selector {
      display: flex;
     
     
    } 

.fare-btn {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 10px 14px;
  background-color: #fff;
  cursor: pointer;
  text-align: left;
   min-width: 100px;       /* same width */
  height: 70px; 
         /* donÃ¢â‚¬â„¢t stretch */
  max-width: 100%;       /* stay inside container */
   transition: all 0.25s ease;
   flex:1;
}

.fare-btn{
              /* ðŸ‘ˆ each button takes equal width */
  min-width: 0;         /* ðŸ‘ˆ prevents overflow issues */
  white-space: normal;  /* allow text wrap */
}


.fare-btn .fare-btn-main {
  font-weight: 600;
  display: block; 
  color: #000;
}

.passenger-container {
    position: relative;
}

.passenger-container{
    width: 300px;
   
}
.dropdown-menu{
    width: 440px !important;
    
    top: 0;
   left: auto !important;
    right: 100% !important;
    margin-right: 3px!important; 
    margin-top:10px!important; 
}
.fare-btn:first-child {
  flex: 0.5;
}

.fare-btn:not(:first-child) {
  flex: 0.7;
}

.fare-btn.active {
    background: linear-gradient(
        90deg,
        #10b981,
        #14b8a6,
        #06b6d4,
        #10b981
    );
    background-size: 300% 300%;
    animation: gradientWave 4s ease infinite;
    color: #fff;
} 

.modifybtn{
     background: linear-gradient(
        90deg,
        #10b981,
        #14b8a6,
        #06b6d4,
        #10b981
    );
    background-size: 300% 300%;
    animation: gradientWave 4s ease infinite;
    color: #fff; 
    width:260px; 
    height:45px;
}


@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
} 
.search-flight-btn{
     background: linear-gradient(
        90deg,
        #10b981,
        #14b8a6,
        #06b6d4,
        #10b981
    );
    background-size: 300% 300%;
    animation: gradientWave 4s ease infinite;
    color: #fff;
}

.fare-btn.active .fare-btn-main,
.fare-btn.active .fare-sub-title {
  color: #fff !important;
}

.prefreed-btn {
  color: #757474; 
 
}

.btn.travel-class-btn{
  border: 1px solid #ced4da;
  background-color: transparent;
  color: #333;
 
  font-size:10px !important;
} 
.form-check-input:checked {
    background-color: #10b981 !important;
    border-color: #5156be;
}

/* ACTIVE STATE */
.btn.travel-class-btn.active {
 
    background-color: #D9F1EA !important;
    border: 2px solid #A7E2D1;
    color: #177C68;
    border-radius: 8px;
    padding: 5px;
    overflow: hidden;
} 
.save-button {
     background: linear-gradient(90deg, #10b981, #14b8a6, #06b6d4, #10b981);
    background-size: 300% 300%;
    animation: gradientWave 4s ease infinite;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
    padding: 6px 12px;
    border-radius: 4px;
} 
.save-container{ 
    display:flex;
    align-self:flex-end; 
  
    margin-left:20px;
}
/*.search-flight-btn{*/
  
/*    width:60px; */
/*    height:65px; */
/*    border-radius:10px;*/
/*}*/

.preferred-airline-btn.active .prefreed-btn,
.preferred-airline-btn.active .fare-sub-title {
  color: #fff;
}
/*.................... fare section END..............*/
.selected-list-flight{
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #e0f2fe 100%);  
}  
   /*background: linear-gradient(*/
   /*     90deg,*/
   /*     #10b981,*/
   /*     #14b8a6,*/
   /*     #06b6d4,*/
   /*     #10b981*/
   /* );  */

/*discount option styles*/
.discount-option {
        background: linear-gradient(270deg,  #c2f0e3 10%, #ffffff 100%); 
        
        border: 1px solid #bae6fd;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top:16px;
        padding:10px;
        cursor: pointer;
        width:97%;
        margin-left:28px; 
       
    }
    
    .checkbox-label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        font-size: 0.9375rem;
        color: var(--text-primary);
    }
    
    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }
    
    .discount-checkbox {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        cursor: pointer;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--text-primary); 
        
    }
    
    .discount-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        flex-shrink: 0;
    }
    
    .discount-checkbox span {
        font-weight: 600;
    }
    
.discount-icon {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background: #1e40af;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    flex-shrink: 0;

    font-size: 0.875rem;

    transition: transform 0.3s ease;
}

/*........................discount option styles END.............................*/

/*..........Result Container......................*/
/*.result-container{*/
/*     width:100%;*/
/*   box-shadow: */
/*        0 4px 12px rgba(0, 0, 0, 0.08),*/
/*        0 0 0 1px rgba(0, 0, 0, 0.03);*/
        /*min-height:400px; */
/*        border-radius:16px;*/
/*} */

/*..............................................Filter container.....................................*/
 .filters-sidebar {
        background: transparent;
        padding: 0;
        height: fit-content;
       
        /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);*/
        display: flex;
       
        gap: 2rem;
        height:40px;
    } 
.hide-filter {
  display: none;
}
    .filters-header {
      
        border: 1px solid #ced4da;
        border-radius: 4px;
       
        display: flex;
        justify-content: space-between;
        align-items: center;
       
    }
    
    .filters-header-left {
        display: flex;
        align-items: center;
        gap: 0.625rem;
    }
    
    .filters-header-left i {
        color: var(--text-secondary);
        font-size: 1rem;
    }
    
    .filters-header h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        margin: 0;
    } 
  
    .clear-all {
        font-size: 0.875rem;
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .clear-all:hover {
        text-decoration: underline;
    }

    .heading-name-onward{
        color:#4896f0;
        font-size:20px;
        font-family:"Roboto";
         margin-bottom: 0px;  
    }  
 

    
 /*airline drop down list css*/
 .airline-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  margin-top: 6px;
  z-index: 1000;
  max-height: 240px;
  overflow-y: auto;
}

.airline-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.airline-dropdown li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
}

.airline-dropdown li:hover {
  background-color: #f1f5ff;
}

/* Container sizing */
.range-wrapper {
  width: 100%;
  max-width: 400px;
  font-family: Arial, sans-serif;
 
}

/* Label values at the top */
.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 15px;
}

/* The visual track (The Bar) */
.range-bar {
  position: relative;
  height: 1px !important;
  background: #d6d6d6; /* Ash color */
  border-radius: 5px;
}

.range-input {
 position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  pointer-events: none;
  -webkit-appearance: none; 
   left: 0;
  right: 0;
  margin: 0;
  padding: 0;
}

/* Remove default track */
.range-input::-webkit-slider-runnable-track {
  background: transparent;
  height: 2px;
}

.range-input::-moz-range-track {
  background: transparent;
}

/* Keep thumb visible */
.range-bar {
  height: 2px;
  background: #000;
  border-radius: 5px;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  margin-top: -10px;
  box-shadow: 0 0 0 4px rgba(13,110,253,0.2);
}

.range-input::-moz-range-thumb {
  height: 16px;
  width: 16px;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
}
.min-value{
    font-size:16px; 
    font-weight:400;
    margin-left:11px; 
    margin-top:3px;
}   
.max-value{
     font-size:16px; 
    font-weight:400;
    margin-right:11px; 
    margin-top:3px;
}


.stops-wrapper label {
  grid-column: span 2; /* label full width */
} 

/*...Flight display List...*/
.flight-container{
   /*box-shadow: */
   /*     0 4px 12px rgba(0, 0, 0, 0.08),*/
   /*     0 0 0 1px rgba(0, 0, 0, 0.03); */
    height:auto;    
    width: 100%;
        
} 

.card {
  position: relative;
}

.search-icon {
  position: absolute;
  right: 0;              /* 🔥 remove gap */
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  pointer-events: none;
}
.travel-flight-heading{
    font-size:22px;
    font-weight:500;
    font-family:"Roboto";
    padding:15px;
    color:#6e6765;
     
}

/*Flight display details style*/
.logo-flight{
    width:62px !important;
    height:62px !important;
    border-radius:5px;
}

.flight-bottom-card{
     width:100%; 
    /* max-height:700px;*/
    /*overflow-y:auto;*/
}
.no-gap {
  gap: 0 !important;
}

.no-gap > * {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: block;          /* ðŸ”‘ key fix */
}

/* specifically tighten the time text */
.time-text {
  line-height: 1 !important;
}

/* arrow styling */
.arrow-width {
 /*display: block;*/
 /* width: 120px;        */
 /* height: 2px;        */
 /* background-color: #6c757d;*/
  /*margin: 6px;  */
  
}











.timeline-wrap {
  position: relative;
  margin: 8px 0;
  width: 100%;
}

.line {
  height: 1px;
  background: #9fa8b8;
  width: 100%;
}

.timeline-plane {
  position: absolute;
  top: -6px;
  left: -1px;
  font-size: 11px;
  color: #2d62cd;
  opacity: 0;
  pointer-events: none;
}

/* animation trigger */
.flight-card.selected .timeline-plane {
  opacity: 0.2;
}

.timeline-plane.plane-animate-ltr {
  animation: planeMoveLtr 0.9s ease-in-out;
}

/*.timeline-plane.plane-animate-rtl {*/
/*  right: -1px;*/
/*  left: auto;*/
/*  transform: scaleX(-1);*/
/*  animation: planeMoveRtl 0.9s ease-in-out;*/
/*}*/

/* animations */
@keyframes planeMoveLtr {
  0% {
    left: -1px;
    opacity: 0;
    transform: translateY(1px);
  }
  18% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 10px);
    opacity: 1;
    transform: translateY(-1px);
  }
}

/*@keyframes planeMoveRtl {*/
/*  0% {*/
/*    right: -1px;*/
/*    opacity: 0;*/
/*    transform: scaleX(-1) translateY(1px);*/
/*  }*/
/*  18% {*/
/*    opacity: 1;*/
/*  }*/
/*  100% {*/
/*    right: calc(100% - 10px);*/
/*    opacity: 1;*/
/*    transform: scaleX(-1) translateY(-1px);*/
/*  }*/
/*}*/










.flight-details .row.mt-3 {
  display: flex;
  align-items: center;
}

.flight-details .row.mt-3 .col-md-4:last-child {
  margin-left: auto;
  text-align: right;
}



















.button-view-price {
  background-image: linear-gradient(
    to right,
    #131314,
    #201f24,
    #585073,
    #585073
  );
  height: 30px;
   font-size:16px;         /* ðŸ”‘ fits inside col-lg-2 */
  width: 90px;     /* keeps nice size */
  color: white;
  border: none;
  border-radius: 6px;
}

.travel-list-card-heading{
    font-size:17px;
    font-family: serif; 
    
} 

.flight-card {
  border-radius: 12px;
  border: none;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease; 
padding:30px;
  margin-left:10px;
}

.flight-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
} 



.modifybtn:hover {
    transform: translateY(-2px);
     background-color: #fff;
    background-colore: linear-gradient(
        90deg,
        #10b981,
        #14b8a6,
        #06b6d4
    ) !important;
     border:1px solid #14b8a6;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #14b8a6;
    background-clip: text;

    cursor: pointer;
}
.flight-card.active {
  background-color: #f1f3f5;   /* ash color */
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.12),
    0 0 0 2px #ced4da;
}
 
/* 1. Ensure the parent container doesn't grow */
.airport-field {
    position: relative; /* This acts as the anchor for the list */
}

/* 2. Fix the height of the field containers to prevent jumping */


/* 3. The CRITICAL FIX: Float the dropdown list */
.airport-dropdown {
    position: absolute !important;
    top: 100%;       /* Starts exactly at the bottom of the input */
    left: 0;
    width: 100%;     /* Matches the width of your search box */
    z-index: 9999;   /* Sits ABOVE Departure, Passengers, and Fares */
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15); /* Adds a shadow to show it's floating */
    max-height: 250px;
    overflow-y: auto;
}

/* 4. Keep the row aligned to the top */
.travel-row {
    display: flex !important;
    align-items: flex-start !important; /* Forces all items to stay at the top */
} 


/*..........................................Result Container END......................*/ 

  @media (min-width: 1050px) {

  .fare-selector {
    display: flex;
    align-items: center;
    gap: 6px;              /* proper spacing */
    flex-wrap: nowrap;      /* prevent wrapping */ 
    
  }

  .fare-btn {
    flex: 0 0 auto;         /* prevent shrinking */
    min-width: 120px; 
    height: 70px; 
    /*padding: 14px 20px;*/
  } 
  .fare-btn:first-child {
  flex: 0.5;
}

  .preferred-airline-btn {
    width: 180px;
    flex: 0 0 180px;  
  
  }

  /* Search button bigger */
  .search-flight-btn { 
      background-color: #516AF0; 
    width: 100px;
    height: 70px;
    font-size: 18px;
    flex: 0 0 auto; 
    border:none; 
    border-radius:4px; 
    color:white;
  }

}

/*----------------ADDED--------------------*/

/* ================= MOBILE (TABLET + BELOW) ================= */
@media (max-width: 768px) {


/* reduce gap slightly */
.search-row {
  gap: 10px !important;
}

/* control spacing between sections */
.field-box {
  margin-bottom: 6px !important;se
}

/* labels spacing */
label {
  margin-bottom: 4px !important;
}

/* section headings like "Passengers and Classes" */
h6, .section-title {
  margin-bottom: 6px !important;
}

.Travel-container {
  height: auto !important;
  padding: 2px !important;   /*  keep consistent */
}

  /* TOP SECTION */
  .trip-way-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px;
  }

  /* ===== SEARCH ROW FIX ===== */

  .search-row {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;   /*  reduced spacing */
}

  /* FORCE ALL CHILDREN FULL WIDTH */
  .search-row > * {
    width: 100% !important;
    min-width: 100% !important;
    flex: unset !important;
  }

  /* REMOVE DESKTOP WIDTHS */
  .from-city,
  .to-city,
  .depart-field,
  .passenger-field {
    width: 100% !important;
    min-width: unset !important;
    flex: unset !important;
  }

  /* INPUT FULL WIDTH */
  .field-box input,
  .date-display,
  #passengerBtn {
    width: 100% !important;
  }

  /* SWAP ICON */

.swap-icon {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;

  border-radius: 50% !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  margin: 12px auto !important; /* center */

  background: #fff;
  border: 1px solid #ced4da;

  flex: none !important;   
}

  /* DATE */
  .date-display {
    height: 55px !important;
  }

/* ===== FIX DROPDOWN FULL WIDTH + CENTER ===== */
.passenger-container .dropdown-menu {
  position: fixed !important;

  left: 50% !important;
  transform: translateX(-50%) !important;

  width: 95% !important;
  max-width: 420px;

  top: 30% !important;   /* center vertically */
  
  border-radius: 10px;
}


  /* ===== FARE SECTION ===== */
  .fare-selector {
   display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
.fare-sub-title {
  white-space: normal !important;
  word-break: break-word;
  font-size: 12px;
}
.fare-btn {
  min-height: 70px !important;   /* keeps size consistent */
  padding: 10px !important;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

  /* SEARCH BUTTON */
  .search-flight-btn {
    width: 100% !important;
    height: 55px !important;
    font-size: 16px;
  }

  /* DISCOUNT BOX */
  .discount-option {
    width: 98% !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    flex-direction: row !important;
    padding: 10px;
    
  }





/* ================= EXTRA SMALL (PHONES) ================= */
@media (max-width: 480px) {

  .travel-btn {
    
    padding: 5px 10px;
  }

  .trip-oneway-heading,
  .trip-roundoneway-heading,
  .trip-multiway-heading {
    font-size: 13px;
  }

  .date-day {
    font-size: 18px;
  }

  .date-month-year {
    font-size: 12px;
  }

  .fare-btn {
    min-width: 120px !important;
    padding: 8px;
  }

  .discount-checkbox span {
    font-size: 13px;
  }

}

/*-----------------------------------------------------------------------------------------------------------------------------------*/


/* ================= RESULT PAGE MOBILE FIX ================= */
/* ================= MOBILE RESULT + FILTER FIX ================= */
@media (max-width: 768px) {

  /* STACK LAYOUT */
  .result-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    padding: 10px !important;
  }

  /* FILTER SECTION */
  .asidebar-container {
    width: 100% !important;
    position: relative !important;
  }

  /* 🔥 HIDE FILTER USING SAME CLASS */
  .asidebar-container.hide-filter {
    display: none !important;
  }

  /* SHOW FILTER */
  .asidebar-container:not(.hide-filter) {
    display: block !important;
    margin-bottom: 10px;
  }

  /* FLIGHTS FULL WIDTH */
  .flight-container {
    width: 100% !important;
  }

  /* REMOVE LEFT GAP */
  .flight-card {
    margin-left: 0 !important;
    width: 100%;
  }

  /* STACK CONTENT INSIDE CARD */
  .flight-card .row {
    flex-direction: column !important;
  }

  /* HIDE TABLE HEADER */
  .results-table-header {
    display: none;
  }

  /* FILTER HEADER STICKY */
  .filters-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    padding: 10px;
  }

} 

