/* Top summary row (the "bar" with boxes) */

.flight-search-summary {
  background: white;
  /* background: radial-gradient(circle, var(--bg-light), White); */
}

.flight-search-summary .container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
  gap:10px;
}

/* Each box in the top row */
.summary-box {
  background: white;
  padding: 5px 15px;
  border-radius: 8px;
  margin: 5px;
  min-width: 140px;
  text-align: left;
  flex: 1;
  box-shadow: 0 0 3px #ddd;
}
.summary-box label {
  font-size: 12px;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0px;
}
.summary-box span {
  font-size: 14px;
  font-weight: bold;
  color: var(--heading-color);;
}







.flight-listing-continer-main{
  display:flex;
  margin:50px 0;
  gap:40px;
}
.fl-content{
  flex:1;
}
.fl-content h2, .fl-content h2 p{margin:0; font-size: 16px;}

.fl-content p{font-size: 12px;}


.flight-listing-continer-main h3:first-child {
  margin: 0px 0 16px;
  }

.flight-listing-continer-main h3 {
margin: 30px 0 16px;
font-size: 14px;
}
.flight-listing-continer-main label {
flex: 1;
font-size: 14px;
cursor: pointer;
}



.pf-item {
display: flex;
align-items: center;
margin-bottom: 12px;
}

.pf-item input[type="checkbox"] {
margin-right: 8px;
cursor: pointer;
}

.pf-price {
margin-left: 8px;
font-size: 14px;
}






.da-item {
display: flex;
align-items: center;
margin-bottom: 12px;
}

.da-item input[type="checkbox"] {
margin-right: 8px;
cursor: pointer;
}

.da-price {
margin-left: 8px;
font-size: 14px;
}





/* Range slider container */
.owp-range {
display: flex;
align-items: center;
justify-content: space-between;
}

.owp-min,
.owp-max {
font-size: 14px;
width: 60px;
text-align: center;
}

/* The slider itself */
.owp-slider {
-webkit-appearance: none;
width: 100%;
margin: 0 10px;
background: transparent;
cursor: pointer;
}

.owp-slider:focus {
outline: none;
}

/* Slider track */
.owp-slider::-webkit-slider-runnable-track {
height: 4px;
background:var(--primary-light);
border-radius: 2px;
}

.owp-slider::-moz-range-track {
height: 4px;
background: var(--primary-light);
border-radius: 2px;
}

/* Slider thumb */
.owp-slider::-webkit-slider-thumb {
-webkit-appearance: none; /* Remove default */
width: 18px;
height: 18px;
border-radius: 50%;
background:var( --primary-color);
cursor: pointer;
margin-top: -7px; /* Center the thumb on the track */
}

.owp-slider::-moz-range-thumb {
width: 18px;
height: 18px;
border-radius: 50%;
background:var( --primary-color);
cursor: pointer;
}





.sn-item {
display: flex;
align-items: center;
margin-bottom: 12px;
}

.sn-item input[type="checkbox"] {
margin-right: 8px;
cursor: pointer;
}

.sn-price {
  margin-left: 8px;
  font-size: 12px;
}







/* Time filter options */
.time-options {
display: flex;
gap: 10px;
}

/* Individual time option */
.time-option {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 70px;
height: 90px;
padding: 8px;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
cursor: pointer;
transition: 0.2s;
text-align: center;
}

.time-option:hover {
background:rgb(246, 246, 246);
}

.time-option input {
display: none;
}

/* Icon (emoji) */
.time-icon {
font-size: 20px;
margin-bottom: 5px;
}

/* Label */
.time-label {
font-size: 12px;
font-weight: bold;
color: #333;
}





/* Individual airline item */
.af-item {
display: flex;
align-items: center;
margin-bottom: 12px;
}

/* Checkbox styling */
.af-item input[type="checkbox"] {
margin-right: 8px;
cursor: pointer;
}

/* The embedded icon (Data URI) */
.af-logo {
width: 20px;
height: 20px;
margin-right: 8px;
object-fit: contain; /* keeps the icon's aspect ratio */
}

/* Price on the right */
.af-price {
margin-left: 8px;
font-size: 12px;
}














/* Flight card container */
.fl-card {
display: flex;
align-items: center;
justify-content: space-between;
background: #fff;
border-radius: 6px;
margin-bottom: 15px;
padding: 25px 15px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
font-size:12px;
}


.fl-card p{margin:0; font-size:12px; font-weight:400;}

.fl-time, .price-amount{
  font-size:16px;
  font-weight:600;
}

.arrival-day{
  font-size:10px;
  color:var(--primary-color);
}
.fl-duration{
  margin-bottom:4px;
}
.fl-duration:after {
content: "";
display: block; /* or inline-block */
width: 80%;
height: 1.5px;
background: var(--primary-color);
margin: 4px auto 0;
}

.price-btn {
color: var(--primary-color);
border: 1px solid  var(--primary-color);
background:white;
padding: 6px 12px;
font-size: 10px;
cursor: pointer;
border-radius: 4px;
margin:4px 0 0;
border-radius: 20px;
}







@media (min-width: 850px) {
.fl-sidebar-btn,
.fl-close-btn {
    display: none;
}
}

@media (max-width:850px){

  .fl-sidebar-btn {
    display: block;
    position: fixed;
    left: 0px;
    top: 70px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index:9999;
}

  .fl-sidebar {
  position: fixed;
  left: -300px;
  top: 0;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,0.3);
  transition: left 0.3s ease-in-out;
  padding: 0 20px 20px 20px;
  z-index:10000;
  overflow-y:scroll;
  margin:0;
}


.fl-sidebar.open {
  display:block;
  left: 0;
}

.fl-close-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}



}



@media (max-width:550px){
.fl-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.fl-flight-info {
  grid-column: 1 / -1; /* Full width */
}

.fl-depart, .fl-middle, .fl-arrive {
  display: flex;
  flex-direction: column;
  width:fit-content;
}

.fl-price, .fl-extra {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

}



 