/* Flight result filters — Airlines & Airports (reference UI) */
.flight-result-v3 #allairlines,
.flight-result-v3 #frt-airport-filters {
  padding: 2px 0 6px;
}

.flight-result-v3 .boxins#allairlines {
  max-height: none;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.flight-result-v3 .celsrch .rangebox + .rangebox .collapsebtn,
.flight-result-v3 .celsrch .septor + .rangebox .collapsebtn {
  padding-top: 2px;
}

.flight-result-v3 #allairlines .locationul,
.flight-result-v3 #frt-airport-filters .locationul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.flight-result-v3 #frt-airport-filters .locationul + .locationul {
  margin-top: 0;
}

.flight-result-v3 #allairlines .locationul li,
.flight-result-v3 #frt-airport-filters .locationul li {
  display: flex;
  align-items: center;
  gap: 12px;
  float: none;
  width: 100%;
  padding: 6px 0;
  margin: 0;
  clear: both;
  overflow: visible;
  min-height: 32px;
}

.flight-result-v3 #allairlines .squaredThree,
.flight-result-v3 #frt-airport-filters .squaredThree {
  float: none;
  flex-shrink: 0;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 0;
  position: relative;
  overflow: visible;
}

.flight-result-v3 #allairlines .squaredThree label,
.flight-result-v3 #frt-airport-filters .squaredThree label {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  background: #fff;
  border-radius: 4px !important;
  cursor: pointer;
}

.flight-result-v3 #allairlines [type="checkbox"]:not(:checked) + label:before,
.flight-result-v3 #allairlines [type="checkbox"]:checked + label:before,
.flight-result-v3 #frt-airport-filters [type="checkbox"]:not(:checked) + label:before,
.flight-result-v3 #frt-airport-filters [type="checkbox"]:checked + label:before {
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  left: 0 !important;
  top: 0 !important;
  border: 1px solid #bdbdbd !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
  position: absolute;
}

.flight-result-v3 #allairlines [type="checkbox"]:checked + label:before,
.flight-result-v3 #frt-airport-filters [type="checkbox"]:checked + label:before {
  border-color: #FF5F20 !important;
  background: #FF5F20 !important;
}

.flight-result-v3 #allairlines [type="checkbox"]:not(:checked) + label:after,
.flight-result-v3 #frt-airport-filters [type="checkbox"]:not(:checked) + label:after {
  content: "\f00c" !important;
  font-family: "Font Awesome 5 Pro" !important;
  opacity: 0 !important;
  transform: scale(0) !important;
  background: transparent !important;
  border: none !important;
}

.flight-result-v3 #allairlines [type="checkbox"]:checked + label:after,
.flight-result-v3 #frt-airport-filters [type="checkbox"]:checked + label:after {
  content: "\f00c" !important;
  font-family: "Font Awesome 5 Pro" !important;
  font-weight: 600;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 20px !important;
  height: 20px !important;
  line-height: 20px !important;
  font-size: 11px !important;
  text-align: center !important;
  color: #fff !important;
  background: #FF5F20 !important;
  border: 1px solid #FF5F20 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.flight-result-v3 .frt-filter-airline-logo {
  width: 24px;
  height: 24px;
  min-width: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.flight-result-v3 #allairlines .lbllbl,
.flight-result-v3 #frt-airport-filters .lbllbl {
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.35;
  overflow: visible;
  white-space: normal;
  cursor: pointer;
}

.flight-result-v3 #frt-airport-filters .airline_namesrch,
.flight-result-v3 #frt-airport-filters .airline_smldts {
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.flight-result-v3 .frt-filter-show-more {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 0 2px;
  margin: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
  line-height: 1.3;
}

.flight-result-v3 .frt-filter-show-more:hover {
  color: #111;
}

.flight-result-v3 .frt-filter-item--hidden {
  display: none !important;
}

.flight-result-v3 .celsrch .septor {
  background: #e8eaef;
  border: none;
  height: 1px;
  margin: 16px 18px;
}

.flight-result-v3 .collapsebtn {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 0 0 12px;
  pointer-events: none;
}

/* Time-of-day filter — session SVG icons (reference UI) */
.flight-result-v3 #departureTimeWrapper .price_slider1,
.flight-result-v3 #arrivalTimeWrapper .price_slider1 {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 2px 0 4px;
  margin: 0;
}

.flight-result-v3 .timone.time-wrapper {
  float: none !important;
  width: auto !important;
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  height: auto !important;
}

.flight-result-v3 .timone.time-wrapper .starin {
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  background: #eef1f6 !important;
  padding: 10px 4px 8px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  flex: 1;
  min-height: 78px;
  box-shadow: none !important;
  transition: border-color 0.2s, background 0.2s;
}

.flight-result-v3 .timone.time-wrapper .flitsprt {
  background: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
  opacity: 1;
  flex: 1 1 auto;
  min-height: 32px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.flight-result-v3 .timone.time-wrapper .flitsprt.mng1 {
  background-image: url(../images/session.svg);
  width: 30px;
  height: 19px;
}

.flight-result-v3 .timone.time-wrapper .flitsprt.mng2 {
  background-image: url(../images/session1.svg);
  width: 26px;
  height: 26px;
}

.flight-result-v3 .timone.time-wrapper .flitsprt.mng3 {
  background-image: url(../images/session2.svg);
  width: 34px;
  height: 25px;
}

.flight-result-v3 .timone.time-wrapper .flitsprt.mng4 {
  background-image: url(../images/session3.svg);
  width: 32px;
  height: 27px;
}

.flight-result-v3 .timone.time-wrapper .htlcount {
  display: inline-block !important;
  background: #fff !important;
  border-radius: 20px !important;
  padding: 4px 10px !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #888 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.flight-result-v3 .timone.time-wrapper p {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #191e3b !important;
  text-align: center;
  margin: 8px 0 0 !important;
  padding: 0;
  line-height: 1.2;
}

.flight-result-v3 .timone.time-wrapper:hover .starin {
  background: #e8ebf0 !important;
}

.flight-result-v3 .timone.time-wrapper.active .starin,
.flight-result-v3 .timone.time-wrapper.toglefil.active .starin {
  background: #eef1f6 !important;
  border-color: #003bca !important;
  box-shadow: none !important;
}

.flight-result-v3 .timone.time-wrapper.active .htlcount,
.flight-result-v3 .timone.time-wrapper.toglefil.active .htlcount {
  background: #fff !important;
  color: #666 !important;
}

.flight-result-v3 .timone.time-wrapper.active p,
.flight-result-v3 .timone.time-wrapper.toglefil.active p {
  color: #191e3b !important;
}

.flight-result-v3 .timone.time-wrapper.active .flitsprt,
.flight-result-v3 .timone.time-wrapper.toglefil.active .flitsprt {
  opacity: 1;
}

/* Promo ad above airline matrix carousel */
.flight-result-v3 .frt-result-ad-banner {
  width: 100%;
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.flight-result-v3 .frt-result-ad-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Select Your Fare modal — reference UI */
.frt-fare-modal .modal-dialog,
.frt-fare-modal .frt-fare-modal-dialog {
  width: min(1100px, 96vw);
  max-width: 1100px;
  margin: 20px auto;
  max-height: calc(100vh - 40px);
}

.frt-fare-modal .modal-content,
.frt-fare-modal .frt-fare-modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.frt-fare-modal .frt-fare-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #e8ecf2;
  background: #fff;
  flex-shrink: 0;
}

.frt-fare-modal .frt-fare-modal-title-wrap .modal-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #021D62;
  line-height: 1.25;
}

.frt-fare-modal .frt-fare-modal-subtitle {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.frt-fare-modal .frt-fare-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #333;
  opacity: 0.65;
  padding: 0;
  margin-top: 2px;
}

.frt-fare-modal .frt-fare-modal-body {
  padding: 0 28px 24px;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.frt-fare-modal .frt-fare-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid #e8ecf2;
  margin: 0 0 20px;
  padding: 0;
}

.frt-fare-modal .frt-fare-tab {
  flex: 1;
  background: #fff;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 16px 12px;
  text-align: left;
  cursor: pointer;
}

.frt-fare-modal .frt-fare-tab.active {
  border-bottom-color: #003BCA;
}

.frt-fare-modal .frt-fare-tab-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  line-height: 1.2;
}

.frt-fare-modal .frt-fare-tab.active .frt-fare-tab-label {
  color: #003BCA;
}

.frt-fare-modal .frt-fare-tab-meta {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  line-height: 1.35;
}

.frt-fare-modal .frt-fare-cards-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 0;
}

.frt-fare-modal .frt-fare-cards {
  display: flex;
  gap: 16px;
  align-items: stretch;
  min-width: min-content;
}

.frt-fare-modal .frt-fare-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 280px;
  max-width: 340px;
  border: 1px solid #e4e8ef;
  border-top: 4px solid #C07830;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
}

.frt-fare-modal .frt-fare-card-head {
  padding: 16px 16px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.frt-fare-modal .frt-fare-card-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #C07830;
  line-height: 1.2;
}

.frt-fare-modal .frt-fare-card-price {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.frt-fare-modal .frt-fare-card-price span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-top: 4px;
}

.frt-fare-modal .frt-fare-card-body {
  flex: 1 1 auto;
  padding: 12px 16px;
  overflow-y: visible;
  min-height: 0;
}

.frt-fare-modal .frt-fare-section {
  margin-bottom: 14px;
}

.frt-fare-modal .frt-fare-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.frt-fare-modal .frt-fare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.frt-fare-modal .frt-fare-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.35;
}

.frt-fare-modal .frt-fare-item i {
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.frt-fare-modal .frt-fare-item-ok i {
  color: #003BCA;
}

.frt-fare-modal .frt-fare-item-bad i {
  color: #d9534f;
}

.frt-fare-modal .frt-fare-item-info i {
  color: #888;
}

.frt-fare-modal .frt-fare-card-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.frt-fare-modal .frt-fare-card-foot .frt-fare-remarks {
  margin: 0 0 12px;
}

.frt-fare-modal .frt-fare-rules-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #003BCA;
  text-decoration: underline;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.frt-fare-modal .frt-fare-select-btn,
.frt-fare-modal .selct_btn.select-fare,
.frt-fare-modal .book-form-wrapper .frt-fare-select-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #021D62 0%, #003BCA 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  cursor: pointer;
  display: block;
}

.frt-fare-modal .frt-fare-item-bullet {
  color: #666;
}

.frt-fare-modal .frt-fare-bullet {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #888;
  margin-top: 6px;
  flex-shrink: 0;
}

.frt-fare-modal .frt-fare-item-info strong {
  color: #111;
  font-weight: 600;
}

.frt-fare-modal .frt-fare-remarks {
  margin: 8px 0 0;
  font-size: 11px;
  color: #888;
  line-height: 1.45;
  position: relative;
  overflow: hidden;
  overflow-wrap: anywhere;
  transition: max-height 220ms ease, opacity 180ms ease;
}

.frt-fare-modal .frt-fare-remarks strong {
  color: #666;
  font-weight: 700;
}

.frt-fare-modal .frt-fare-remarks.is-collapsed {
  display: -webkit-box;
  max-height: 64px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.frt-fare-modal .frt-fare-remarks.is-expanded {
  display: block;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  -webkit-line-clamp: unset;
}

.frt-fare-modal .frt-fare-remarks.is-overflowing.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.frt-fare-modal .frt-fare-remarks-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #003BCA;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  margin: -6px 0 12px;
  padding: 0;
  text-align: left;
}

.frt-fare-modal .frt-fare-remarks-toggle:hover,
.frt-fare-modal .frt-fare-remarks-toggle:focus {
  color: #021D62;
  outline: none;
  text-decoration: underline;
}

.frt-fare-modal .frt-fare-loading {
  padding: 40px 0;
  color: #888;
  font-size: 14px;
  width: 100%;
  text-align: center;
}

.frt-fare-modal .frt-fare-disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eef1f5;
  text-align: center;
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

.frt-fare-modal .book-form-wrapper {
  margin: 0;
}

.frt-fare-modal .modal-backdrop {
  background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 991px) {
  .frt-fare-modal .frt-fare-card {
    flex: 0 0 85vw;
    min-width: 260px;
    max-width: none;
  }
}

/* AdminLTE agent panel sets .modal-open .modal { overflow-y: hidden !important } */
.modal-open #morefare.frt-fare-modal.modal,
.modal-open .frt-fare-modal#morefare {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.modal-open #morefare.frt-fare-modal .modal-dialog,
.modal-open .frt-fare-modal#morefare .modal-dialog {
  margin: 20px auto;
}
.filter-empty-card {
  background: #fff;
  border: 1px solid #eee8ff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 19, 69, 0.08);
  margin: 12px 0 24px;
  padding: 38px 24px;
  text-align: center;
}

.filter-empty-icon {
  align-items: center;
  background: #f4f0ff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(61, 12, 176, 0.12);
  color: #3d0cb0;
  display: inline-flex;
  font-size: 22px;
  height: 52px;
  justify-content: center;
  margin-bottom: 15px;
  width: 52px;
}

.filter-empty-title {
  color: #151133;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.filter-empty-desc {
  color: #7b7594;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 auto 18px;
  max-width: 520px;
}

.filter-empty-btn {
  align-items: center;
  background: #3d0cb0;
  border: 0;
  border-radius: 5px;
  box-shadow: 0 7px 16px rgba(61, 12, 176, 0.24);
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  line-height: 1;
  padding: 12px 18px;
  text-decoration: none !important;
}

.filter-empty-btn:hover {
  background: #2d087f;
  color: #fff !important;
}

.flight-result-v3 #flight_search_result .frt-flight-city[data-tip],
.flight-result-v3 #flight_search_result .from-loc.smalairport.frt-flight-city[data-tip],
.flight-result-v3 #flight_search_result .to-loc.smalairport.frt-flight-city[data-tip] {
  cursor: help;
  overflow: visible !important;
}

.frt-city-tip {
  background: #0b2a4a;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
  color: #fff;
  display: none;
  font-size: 12px;
  font-weight: 600;
  left: 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding: 6px 10px;
  pointer-events: none;
  position: fixed;
  top: 0;
  white-space: nowrap;
  z-index: 100050;
}

.frt-city-tip.is-visible {
  display: block;
}

.frt-city-tip::after {
  border: 6px solid transparent;
  border-top-color: #0b2a4a;
  bottom: -12px;
  content: "";
  height: 0;
  left: 50%;
  margin-left: -6px;
  position: absolute;
  width: 0;
}

.frt-city-tip.is-below::after {
  border-bottom-color: #0b2a4a;
  border-top-color: transparent;
  bottom: auto;
  top: -12px;
}
