/* Flight page specific styles */
.hero-banner.hero-banner-lastminute .hero-overlay {
  opacity: 1;
}
.collapse-toggle{
  font-size: .88rem;
}
.hero-banner.hero-banner-lastminute .hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
}
.hero-banner  .container{
  margin-top: -41px;
}

/* You can add additional flight-specific overrides here */

/* Position search panel over hero */
.search-panel-wrapper {
  margin-top: -80px; /* pull up over hero */
  z-index: 40;
  position: relative;
}
.search-panel {
  border-radius: 12px;
  overflow: visible;
  margin-top: 20px;
}
.dropdown-input {
  background: #fff;
}

/* Adjust info bar padding for flight page */
.lastminute-info-bar {
  margin-top: -68px;
  padding: 78px 48px 12px 48px;
}
.shadow-tm {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1) !important;
  
}

/* Segmented sort control for lastminute-info-bar */
.sort-segment {
  display: inline-flex;
  background: #fff;
  border-radius: 32px;
  padding: 4px;
  align-items: center;
  gap: 4px;
  border: 1px solid gray;
}
.sort-segment .segment-btn {
  background: transparent;
  border: none;
  padding: 10px 18px;
  border-radius: 28px;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s ease, color .12s ease, transform .06s ease;
}
.sort-segment .segment-btn:hover {
  background: rgba(0,0,0,0.04);
}
.sort-segment .segment-btn.active,
.sort-segment .segment-btn:active {
  background: #36E43C; /* selected green */
  color: #fff;
}
.sort-segment .segment-btn:first-child { border-top-left-radius: 28px; border-bottom-left-radius: 28px; }
.sort-segment .segment-btn:last-child { border-top-right-radius: 28px; border-bottom-right-radius: 28px; }
.sort-segment .segment-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(54,228,60,0.12); }
.info-bar-content {
    font-size: 13px;
}

/* Flight-specific result card styles to match list layout (image left, title center, price right) */
.lastminute-main .results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lastminute-main .results-list .result-card {
  display: flex;
  align-items: stretch; /* let children (image) fill full height */
  background: #fff;
  border-radius: 12px;
  padding: 0; /* remove outer padding so image touches card edges */
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  overflow: hidden;
}
.lastminute-main .results-list .result-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.lastminute-main .results-list .result-card .result-img {
  /* Match lastminutedeals image behavior: full-cover image with size limits */
  flex: 0 0 220px;
  width: 220px;
  max-height: 250px;
  min-height: 134px;
  height: auto;
  object-fit: cover;
  border-radius: 8px 0 0 8px; /* rounded left corners to match card */
}
.result-img{    
  min-height: 134px;
}
.lastminute-main .results-list .result-card .result-details {
  flex: 1 1 auto;
  padding: 24px 20px; /* add internal padding so content doesn't touch edges */
  display: flex;
  min-width: 0;
}
.lastminute-main .results-list .result-card .result-details .result-location {
  font-size: 1rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 4px;
}
.lastminute-main .results-list .result-card .result-details .result-hotel {
  color: #6b6f76;
}
.lastminute-main .results-list .result-card .result-provider {
  background: transparent;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 48px 0 20px; /* extra right padding to make room for absolute chevron */
  border-radius: 6px;
  position: relative; /* for absolute chevron */
}
.lastminute-main .results-list .result-card .result-provider .provider-price {
  background: transparent;
  color: #222;
  font-size: 2rem;
  font-weight: 800;
  padding: 0;
  margin-bottom: 0;
}
.lastminute-main .results-list .result-card .result-provider .provider-note {
  font-size: 0.95rem;
  color: #6b6f76;
}
.lastminute-main .results-list .result-card .result-provider .chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: #9aa0a6;
}

/* Flight-specific minor tweaks */
.lastminute-main .results-list .result-card .result-origin small {
  color: #6b6f76;
  font-weight: 600;
}
.lastminute-main .results-list .result-card .provider-note {
  font-size: 0.95rem;
  color: #6b6f76;
  margin-bottom: 4px;
}
.lastminute-main .results-list .result-card .provider-price {
  font-size: 2.2rem;
  color: #222;
}
.lastminute-main .results-list .result-card .chevron i {
  color: #9aa0a6;
}

/* Sidebar styles for flight page */
.aside-container .sidebar-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}
.group-header { padding: 6px 0; }
.group-toggle { background: none; border: none; padding: 6px; cursor: pointer; }
.group-toggle i { color: #444; }
.sidebar-group { border-bottom: 1px solid #eee; padding-bottom: 12px; margin-bottom: 12px; }
.duration-values { display:flex; gap:12px; align-items:center; justify-content:flex-start; margin-top:8px; flex-wrap:nowrap; }
.duration-value-box { background:#fff; border:1px solid #eee; padding:6px 10px; border-radius:8px; min-width:80px; text-align:center; }
.duration-value-input { width:48px; border:none; outline:none; text-align:center; }
.aside-container .sidebar-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding:0;
  cursor: pointer;
}
.sidebar-subgroup { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f1f1; }
.sidebar-subgroup .sidebar-label { margin-bottom: 8px; }
.duration-slider-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}
.price-slider-box { background:#fff; border-radius:12px; padding:12px 12px 8px 12px; position:relative; }
/* make the native range fit the slider box and not stretch full page */
.price-range { position: absolute; left: 12px; right: 12px; top: 8px; width: auto; pointer-events: all; }
.price-value-box { background:#fff; border:1px solid #eee; padding:6px 10px; border-radius:8px; min-width:90px; text-align:center; }
.price-value-box { position:relative; background:#fff; border:1px solid #eee; padding:6px 10px; border-radius:8px; min-width:90px; text-align:left; }
.price-value-input { border:none; outline:none; width:100%; text-align:left; padding-right:22px; }
.price-value-input.no-limit { color:#6b6f76; }
.price-value-box .currency {
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  color:#444;
  font-weight:600;
}
.duration-slider { position: relative; height: 36px; }
.duration-range { width: 100%; pointer-events: all; position: absolute; left: 0; top: 8px; }
/* duration-range visual is handled by .range-slider rules in lastminutedeals.css; keep only positioning in flight.css */
.duration-values { display:flex; gap:12px; align-items:center; justify-content:center; margin-top:8px; }
.duration-value-box { background:#fff; border:1px solid #eee; padding:6px 10px; border-radius:8px; }
.duration-value-input { width:48px; border:none; outline:none; }
.day-pills { display:flex; gap:5px; flex-wrap:wrap; margin-top:8px; }
.pill { font-size: .75rem;background:#fff; border:1px solid #ddd; padding:8px 12px; border-radius:20px; cursor:pointer; transition: all 0.3s ease; font-weight: 500; color: #333; }
.pill:hover { background:#f5f5f5 !important; border-color:#2196F3 !important; }
.pill.active { background:#2196F3 !important; color:#fff !important; border-color:#2196F3 !important; }
.collapse-toggle { background:none; border:none; width:100%; text-align:left; padding:10px 0; font-weight:600; cursor:pointer; }
.collapse-body { padding:0;}
.collapse-toggle { display:flex; justify-content:space-between; align-items:center; }
.collapse-toggle i { transition: transform .18s ease; }
.collapse-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

/* Airlines checkbox list styles */
.airlines-controls { margin-bottom: 6px; }
.airlines-select-all, .airlines-clear { background:none; border:none; color:#6b6f76; cursor:pointer; font-weight:600; }
.airlines-list { display:block; }
.airline-row { display:flex; align-items:center; gap:10px; padding:6px 0; }
.airline-row input[type="checkbox"] { width:18px; height:18px; }
.airlines-show-more { display:block; margin-top:6px; cursor:pointer; }
.airlines-more { margin-top:6px; }

/* Mobile Responsive Styles for Flights and Hotels Pages */
@media (max-width: 991.98px) {
  .lastminute-info-bar {
    margin-top: 20px;
    padding: 20px 16px;
  }
  
  .sort-segment {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .sort-segment .segment-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .search-panel-wrapper {
    margin-top: -60px;
  }
  
  .lastminute-info-bar {
    padding: 16px;
  }
  
  .info-bar-content {
    font-size: 11px;
  }
  
  .sort-segment {
    padding: 2px;
  }
  
  .sort-segment .segment-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .result-card .result-img {
    flex: 0 0 100px;
    height: 120px;
  }
  
  .lastminute-main .results-list .result-card .result-img {
    width: 100%;
  }
  
  .result-details {
    padding: 12px;
  }
  
  .result-provider {
    min-width: 100px;
    padding: 12px 8px;
  }
  
  .lastminute-main .results-list .result-card .result-provider {
    align-items: flex-start;
  }
  
  .provider-price {
    font-size: 1.25rem;
    padding: 8px 16px;
  }
}

@media (max-width: 576px) {
  .search-panel-wrapper {
    margin-top: -50px;
  }
  
  .lastminute-info-bar {
    padding: 12px;
  }
  
  .sort-segment {
    flex-direction: column;
    width: 100%;
  }
  
  .sort-segment .segment-btn {
    width: 100%;
    border-radius: 8px !important;
    text-align: center;
  }
  
  .result-card {
    width: 100%;
    flex-direction: column;
    position: relative;
  }
  
  .result-card .result-img {
    flex: 0 0 auto;
    width: 100%;
    height: 180px;
  }
  
  .lastminute-main .results-list .result-card .result-img {
    width: 100%;
  }
  
  .result-card img {
    width: 100%;
  }
  
  .result-provider {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .lastminute-main .results-list .result-card .result-provider {
    align-items: flex-start;
  }
  
  .provider-logo {
    width: 60px;
    margin: 0;
  }
  
  .provider-price {
    font-size: 1.5rem;
  }
  
  .day-pills .pill {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
  
  .price-value-box {
    min-width: 70px;
    font-size: 0.85rem;
  }
  
  .duration-value-input {
    width: 40px;
  }
}

/* Stopovers / layover styles */
.stopovers-options label { display:flex; gap:8px; align-items:center; cursor:pointer; }
.duration-label { font-weight:600; margin-bottom:6px; }
.unit { margin-left:6px; color:#444; font-weight:600; }

/* Schedule group styles */
.schedule-title { font-weight:700; margin-bottom:8px; }
.schedule-group { margin-top:8px; }
.temperature-unit { font-weight:700; margin-left:6px; }

