@import url("../search/HolidaySearchSidebar.css");
@import url("../search/SearchTabModals.css");
@import url("../components/popups.css");
@import url("../components/PlaneLoader.css");

:root {
  --search-text-color: #5d5d5d;
  /* --primary-color: #02aaa9;
    --primary-color-2: #218887;*/
  --menu-bg-color: #f3f3f3;
  --menu-text-color: #3c4e5a;
  --primary-text-color: #707070;
  --secondary-color: #f9706a;
  --bs-modal-width: "auto";
  --light-grey-color: #d5d5d5;
  --dark-text-color: #3c4e5a;
  --dark-green: #104443;
  --link-blue: #009ff4;
  --btn-secondary-background-color: #dedede;
  --btn-secondary-hover-color: #d2d2d2;
}

.flightPopupLogoHeader {
  padding: 10px 30px;
  margin-bottom: 15px;
}

.flightResultDetails {
  padding: 20px 40px;
}

.flightResultDetails .title {
  font-size: 30px;
  font-weight: 700;
  color: #222222;
  line-height: 1;
}

.flightResultDetails .title img {
  height: 33px;
  vertical-align: sub;
  margin-right: 15px;
}

.flightResultDetails .flight-airplane-icon {
  background: var(--dark-text-color);
  height: 2px;
  width: 90%;
  margin: 0.375rem auto 0;
  padding: 0;
  position: relative;
  border-radius: var(--small-border-radius);
  display: block;
  text-align: center;
  line-height: 0;
}

.flightResultDetails .depart-block h3 {
  font-size: 30px;
  margin-bottom: 0px;
}

.flightResultDetails .depart-block h4 {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 16px;
}

.flightResultDetails .depart-block p {
  margin-bottom: 0px;
}

.flightResultDetails .depart-block {
  font-size: 18px;
  text-align: right;
  margin-right: 20px;
  color: var(--dark-text-color);
}

.flightResultDetails .arrival-block h4 {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 16px;
}

.flightResultDetails .arrival-block h3 {
  font-size: 30px;
  margin-bottom: 0px;
}

.flightResultDetails .arrival-block p {
  margin-bottom: 0px;
}

.flightResultDetails .arrival-block {
  font-size: 18px;
  text-align: left;
  margin-right: 20px;
  color: var(--dark-text-color);
}

.flightSearchResult .flightResultDetails .flight-number-block img {
  width: 80%;
  max-width: 80px;
  margin: 10px 0px;
}

.flightResultDetails .titleSection {
  margin-bottom: 20px;
}

.flightResultDetails .flight-icon-block .flight-airplane-icon:after {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  right: -0.375rem;
  top: 50%;
  margin-top: -10px;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%233c4e5a' d='M3.922 12h.499a.52.52 0 0 0 .444-.247L7.949 6.8l3.233-.019A.8.8 0 0 0 12 6a.8.8 0 0 0-.818-.781L7.949 5.2 4.866.246A.525.525 0 0 0 4.421 0h-.499a.523.523 0 0 0-.489.71L5.149 5.2H2.296l-.664-1.33a.523.523 0 0 0-.436-.288L0 3.509 1.097 6 0 8.491l1.196-.073a.523.523 0 0 0 .436-.288l.664-1.33h2.853l-1.716 4.49a.523.523 0 0 0 .489.71'/></svg>");
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 100% 50%;
  background-size: 20px;
}

.flightResultDetails .flight-icon-block {
  text-align: center;
}

.flightResultDetails .flight-icon-block p {
  margin-bottom: 0px;
}

.flightResultDetails .flightDetailFooter {
  color: green;
  font-size: 15px;
}

.flightResultDetails .flightDetailFooter .fontBold {
  font-weight: 700;
}

.flightSearchResult .flightResultDetails.selected {
  border: 2px solid var(--primary-color);
  box-shadow: 2px 2px 7px 0px;
}

.flightSearchResult .modal-dialog .modal-content .modal-body {
  max-height: 90vh;
  overflow-y: scroll;
}

.flightSearchResult .modal-dialog .modal-content .modal-header .modal-title {
  font-size: 20px;
  font-weight: 700;
}

.flightSearchResult .modal-dialog .modal-content .modal-header .modal-title i {
  margin-right: 10px;
}

.flightSearchResult .modal-content .modal-header .bodyCloseIcon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 45px;
  color: #ac0000;
}

.flightSearchResult .flightResultDetails {
  border-radius: var(--main-border-radius);
  padding: 15px 20px;
  align-items: center !important;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 35px;
  border: 2px solid var(--primary-color);
  box-shadow: var(--search-results-box-shadow) var(--search-results-box-shadow-color);
}

.flightSearchResult .flightResultDetails .depart-block {
  font-size: 15px;
  margin-right: 0px;
}

.flightSearchResult .flightResultDetails .arrival-block {
  font-size: 15px;
  margin-right: 0px;
}

.flightSearchResult .flightResultDetails .flight-icon-block {
  flex: 1;
}

.flightSearchResult .flightResultDetails .flight-price-block {
  text-align: center;
}

.flightSearchResult .flightResultDetails .flight-price-block h3 {
  font-size: 30px;
  font-weight: bold;
  color: #222222;
  font-family:
    BlinkMacSystemFont,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.flightSearchResult .flightResultDetails .flight-price-block h3 small {
  font-size: inherit;
  font-weight: 600;
  color: #222222;
}

.flightSearchResult .flightResultDetails .flight-price-block .btn-sel-flight {
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--main-border-radius);
  padding: 10px 5px;
}

.flightSearchResult .flightResultDetails .flight-price-block .btn-sel-flight.ctaProductBtn {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: white;
  margin: 10px;
}

.flightSearchResult .flightResultDetails .flight-price-block .btn-sel-flight.ctaProductBtn:hover {
  background: var(--primary-color-2);
}

.flightSearchResult .flightResultDetails .flight-price-block .btnAtol img {
  width: 20px;
}

.flightSearchResult .flightResultDetails .secureSection {
  background: var(--dark-green);
  color: white;
  padding-left: 10px;
  line-height: 2;
  border-radius: var(--main-border-radius) 0px;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
}

.flightSearchResult .flightResultDetails .flight-price-block .luggage-row img {
  width: 25px;
}

.flightSearchResult .flightResultDetails .flight-price-block .luggage-row {
  vertical-align: middle;
  margin-bottom: 20px;
}

.flightSearchResult .flightResultDetails .flight-price-block .selected-btn {
  margin: 25px 10px;
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 700;
}

.selected-btn {
}

.flightSearchResult .flightResultDetails .flight-price-block .btnAtol {
  margin-bottom: 0px;
}

.flightSearchResult .flightResultDetails .flight-price-block .selected-btn ion-icon {
  color: green;
  font-size: 25px;
  vertical-align: sub;
  margin-right: 10px;
}

.flightSearchResult .flightResultDetails .secureSection .depsotPricepp {
  float: right;
  background: red;
  padding: 0px 20px;
  font-weight: 700;
  border-radius: 0px 0px var(--main-border-radius) 0px;
  font-family:
    BlinkMacSystemFont,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.flightSearchResult .flightResultDetails .selected-tick {
  position: absolute;
  top: 0;
  right: 0;
  border: 30px solid transparent;
  border-right-color: var(--primary-color);
  border-top-color: var(--primary-color);
  border-radius: 0px var(--main-border-radius);
}

.flightSearchResult .flightResultDetails .selected-tick ion-icon {
  position: absolute;
  bottom: 0;
  display: block;
  font-size: 25px;
  color: white;
  --ionicon-stroke-width: 50;
}

.flightSearchResult .flightResultDetails .selected-tick {
  position: absolute;
  top: 0;
  right: 0;
  border: 30px solid transparent;
  border-right-color: var(--primary-color);
  border-top-color: var(--primary-color);
  border-radius: 0px var(--main-border-radius);
}

.flightSearchResult .flightResultDetails .selected-tick ion-icon {
  position: absolute;
  bottom: 0;
  display: block;
  font-size: 25px;
  color: white;
  --ionicon-stroke-width: 50;
}

.flightSearchResult .flightResultDetails.selected {
  border: 2px solid var(--primary-color);
  box-shadow: 2px 2px 7px 0px;
}

.total-results {
  font-size: 17px;
  font-weight: 700;
}

.SearchResultsBody .searchtabSummary {
  padding: 15px;
}

.SearchResultsBody .searchtabSummary .rounded_btn {
  background: white;
  border-radius: var(--small-border-radius);
  padding: 0px 10px;
  box-shadow: 0px 2px 5px 0px #707070;
}

.SearchResultsBody .searchtabSummary .rounded_btn ion-icon {
  font-size: 20px;
  margin: auto;
}

.SearchResultsBody .searchtabSummary .rounded_btn .departure {
  font-size: 15px;
  border-bottom: 1px solid lightgray;
  padding: 5px;
}

.SearchResultsBody .searchtabSummary .rounded_btn .departuredate_adults {
  padding: 5px;
  font-size: 15px;
}

.SearchResultsBody .searchtabSummary .rounded_btn .departuredate_adults .departuredate {
  border-right: 1px solid lightgray;
  padding-right: 8px;
}

.SearchResultsBody .searchtabSummary .rounded_btn .departuredate_adults .s_adults {
  padding-left: 8px;
}

/********Sort By Dropdown*********/

/* Dropdown Button */
.dropbtn {
  background-color: #3498db;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
  background-color: #2980b9;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}

#SortByBtn img {
  width: 25px;
}

#SortByBtn {
  cursor: pointer;
}
/******Sort By Search Results End*********/

.SearchResultsBody .daterangepicker .drp-calendar {
  max-width: 50% !important;
}
/******Tool tip*********/

.atolImgSmall {
  width: 20px;
}

.fsr-chg-filters {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 12px 18px;
  border-radius: 12px;
  /* White card + border/shadow (CyprusParadise-NewDesigns/prototypes/.../.filter-card),
     not the flat #f3f6f6 this used to carry over unchanged from AlternateFlightsModal.cshtml's
     .pp-chg-filters (correct there, sitting inside that modal's own white shell) - on this page
     the surrounding page background is now that same #f3f6f6 itself (see #flightApp below), so
     the panel needs to read as a card against it rather than disappearing into it. */
  background: #fff;
  border: 1px solid #d8e0e0;
  box-shadow: 0 4px 14px rgba(16, 68, 67, 0.06);
}

.fsr-chg-filters__list {
  display: contents;
}

.fsr-chg-filters__done {
  display: none;
}

.fsr-chg-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 4px 10px;
}

.fsr-chg-filters h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #104443;
}

.fsr-chg-filters__clear {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #02aaa9;
  cursor: pointer;
}

.fsr-chg-filters__clear:hover {
  color: #218887;
}

.fsr-chg-set {
  border: 1px solid #e4ecec;
  border-radius: 12px;
  margin: 0 0 10px;
  padding: 10px 10px 8px;
  background: #fff;
}

.fsr-chg-set legend {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  color: #104443;
}

.fsr-chg-set__hint {
  margin: 2px 0 8px;
  font-size: 11px;
  font-weight: 700;
  color: #707070;
}

.fsr-chg-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.fsr-chg-chip {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 6px 4px;
  border: 1px solid #d8e0e0;
  border-radius: 999px;
  background: #f3f6f6;
  font-size: 11px;
  font-weight: 800;
  color: #3c4e5a;
  cursor: pointer;
}

.fsr-chg-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fsr-chg-chip:hover {
  border-color: #02aaa9;
}

.fsr-chg-chip:has(input:checked) {
  background: #02aaa9;
  border-color: #02aaa9;
  color: #fff;
}

.fsr-chg-chip:has(input:focus-visible) {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #febb02;
}

.fsr-chg-check {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0 -4px;
  padding: 4px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #3c4e5a;
  cursor: pointer;
}

.fsr-chg-check:has(.fsr-chg-check__logo) {
  grid-template-columns: 18px 36px minmax(0, 1fr);
}

.fsr-chg-check:hover {
  background: #def6f5;
}

.fsr-chg-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fsr-chg-check__box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #c5d2d2;
  border-radius: 5px;
  background: #fff;
}

.fsr-chg-check:has(input:checked) .fsr-chg-check__box {
  border-color: #02aaa9;
  background: #02aaa9
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9L13.2 4z'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.fsr-chg-check:has(input:focus-visible) .fsr-chg-check__box {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #febb02;
}

.fsr-chg-check__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fsr-chg-check__code {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 999px;
  background: #def6f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #218887;
}

.fsr-chg-check:has(input:checked) .fsr-chg-check__code {
  background: #02aaa9;
  color: #fff;
}

.fsr-chg-check__logo {
  width: 36px;
  height: 16px;
  object-fit: contain;
  object-position: left center;
}

.fsr-chg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.fsr-chg-count {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #104443;
}

.fsr-chg-filter-toggle {
  display: none;
}

.fsr-chg-handle {
  display: none;
}

.fsr-chg-filters__close {
  display: none;
}

.fsr-chg-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0;
  margin: 0 0 20px;
  border: 1px solid #d8e0e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(60, 78, 90, 0.06);
}

.fsr-chg-offer.is-on {
  border-color: #02aaa9;
  box-shadow: 0 10px 24px rgba(2, 170, 169, 0.16);
}

.fsr-chg-offer__head {
  grid-column: 1 / -1;
  padding: 10px 14px;
  background: #def6f5;
  border-radius: 9px 9px 0 0;
  border-bottom: 1px solid #e7eeee;
}

.fsr-chg-offer.is-on .fsr-chg-offer__head {
  background: #02aaa9;
  color: #fff;
  border-bottom-color: transparent;
}

.fsr-chg-offer__head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.fsr-chg-offer__kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #104443;
}

.fsr-chg-offer__head-price {
  margin: 0;
  font-family: "Montserrat", "Lato", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: #3c4e5a;
}

.fsr-chg-offer.is-on .fsr-chg-offer__kicker,
.fsr-chg-offer.is-on .fsr-chg-offer__head-price {
  color: #fff;
}

.fsr-chg-offer__pair {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #3c4e5a;
}

.fsr-chg-offer.is-on .fsr-chg-offer__pair {
  color: rgba(255, 255, 255, 0.92);
}

.fsr-chg-offer__flights {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.fsr-chg-offer .ticket--alt {
  margin: 0;
}

.fsr-chg-offer__return {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #218887;
}

.fsr-chg-offer__return svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.fsr-chg-offer__return::before,
.fsr-chg-offer__return::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, #c5d6d6 0 6px, transparent 6px 10px);
}

.fsr-chg-offer__buy {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 8px;
  padding: 18px 14px;
  background: #f4fafa;
  border-left: 1px dashed #c5d6d6;
  border-radius: 0 0 10px 0;
  text-align: center;
}

.fsr-chg-offer__buy::before,
.fsr-chg-offer__buy::after {
  content: "";
  position: absolute;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f3f6f6;
  box-shadow: inset 0 0 0 1px #d8e0e0;
}

.fsr-chg-offer__buy::before {
  top: 16px;
}

.fsr-chg-offer__buy::after {
  bottom: 16px;
}

.fsr-chg-offer__bags {
  margin: 0;
  font-size: 12px;
  color: #707070;
}

.fsr-chg-offer__bags.is-in {
  font-weight: 800;
  color: #008009;
}

.fsr-chg-offer__price {
  margin: 0;
  font-family: "Montserrat", "Lato", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #3c4e5a;
  line-height: 1;
}

.fsr-chg-offer__buy .journey-btn {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.fsr-chg-offer__atol {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 2px 0 0;
  cursor: help;
}

.fsr-chg-offer__atol img {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 auto;
}

.fsr-chg-offer__atol-copy {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  color: #008009;
  border-bottom: 1px dotted currentColor;
}

.fsr-chg-offer__atol-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 6;
  width: 200px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #104443;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 10px 22px rgba(60, 78, 90, 0.22);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fsr-chg-offer__atol-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #104443;
  transform: translateX(-50%) rotate(45deg);
}

.fsr-chg-offer__atol:hover .fsr-chg-offer__atol-tip,
.fsr-chg-offer__atol:focus .fsr-chg-offer__atol-tip,
.fsr-chg-offer__atol:focus-visible .fsr-chg-offer__atol-tip {
  opacity: 1;
  visibility: visible;
}

.fsr-chg-empty {
  margin: 24px 0;
  padding: 24px;
  text-align: center;
  color: #707070;
}

/* ---- Mobile: filters become a bottom sheet (not a full-height panel), toggled by
   isFilteringMobile in flightSearch.js (bound as the "is-open" class below) - same shape as
   AlternateFlightsModal.cshtml's own mobile treatment (#alternativeFlightModal .modal-content:
   height:96dvh, margin:auto 0 0, border-radius:18px 18px 0 0 - see that rule's own comment in
   JourneyPages.css) and the same fix just ported to HotelSearchResults.css's .hsr-chg-filters -
   this one had gone unfixed until now, hence the "why not here too" ask that led here.
   display stays flex always at this width - display:none can't be transitioned (an element
   isn't there to animate to/from, which is why this used to just snap open/closed with no
   motion) - transform:translateY(100%) pushes the sheet fully below the viewport when closed
   instead, with visibility's hide delayed (transition-delay) so it can still animate down
   before it stops being hit-testable; .is-open removes that delay so opening is instant. ---- */
@media (max-width: 860px) {

  .fsr-chg-offer,
  .fsr-chg-offer__buy {
    grid-template-columns: 1fr;
  }

  .fsr-chg-offer__buy {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    padding: 16px 14px 18px;
    border-left: 0;
    border-top: 1px dashed #b7d4d3;
    border-radius: 0 0 10px 10px;
    text-align: left;
  }

  .fsr-chg-offer__buy::before,
  .fsr-chg-offer__buy::after {
    top: -8px;
    bottom: auto;
    left: -8px;
  }

  .fsr-chg-offer__buy::after {
    left: auto;
    right: -8px;
  }

  .fsr-chg-offer__bags {
    grid-column: 1;
  }

  .fsr-chg-offer__price {
    grid-column: 2;
    font-size: 22px;
  }

  /* grid-column only affects an element that's actually a direct grid item of
     .fsr-chg-offer__buy - the button itself isn't one (it's nested inside its own
     <form class="flight-select-form">, which IS the real grid item here), so this rule never
     did anything: the button just rendered at whatever width its unstyled form auto-placed
     into (the first of .fsr-chg-offer__buy's two mobile columns), not the full row - .journey
     -btn--block's width:100% was only ever filling that narrower form, not the row. Spanning
     the form itself is what actually makes the button (100% of it) full width. */
  .fsr-chg-offer__buy .flight-select-form {
    grid-column: 1 / -1;
  }

  .fsr-chg-offer__buy .journey-btn {
    white-space: normal;
  }

  .fsr-chg-offer__atol {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 6px;
  }

  .fsr-chg-offer__atol-copy {
    border-bottom: 0;
  }

  .fsr-chg-offer__atol-copy br {
    display: none;
  }

  .fsr-chg-offer__atol-tip {
    left: 0;
    transform: none;
    width: min(220px, calc(100vw - 48px));
  }

  .fsr-chg-offer__atol-tip::after {
    left: 16px;
    transform: rotate(45deg);
  }
}

@media (max-width: 1139px) {
  /* Left-side drawer (not a full-height sidebar in normal flow) - opens the filter panel
     below 1140px, same breakpoint and left-drawer treatment as HotelSearchResults.css's own
     .hsr-chg-filters, so all three search-results pages behave the same way once the sidebar
     column can no longer fit comfortably next to the results list. */

  /* With the filter panel pulled out of flow into the drawer, its Bootstrap column
     (.col-md-4/.col-lg-4/.col-xl-3, in flightSearchResult.cshtml) would otherwise still
     reserve that width as an empty gutter next to the results list. Collapse it to 0 and let
     the results column take the full row width instead. Both sides use an #flightApp > child
     selector (the id lives on the .row itself) so they outrank Bootstrap's own .col-md-*/
     .col-lg-*/.col-xl-* rules regardless of stylesheet order. */
  #flightApp > .col-md-4.col-lg-4.col-xl-3.overPos {
    flex: 0 0 0;
    max-width: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
  }

  #flightApp > .col-md-8.col-lg-8.col-xl-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* display stays flex always at this width - display:none can't be transitioned (an element
     isn't there to animate to/from), so open/close is driven purely by transform + visibility
     instead: translateX(-100%) pushes the drawer fully off the left edge of the viewport when
     closed, and the visibility swap is delayed on the way out (transition-delay) so it still
     renders (and can animate) during the slide-out, but stops being hit-testable/focusable
     only once that animation finishes - same reasoning .is-open removes the delay so opening
     is instant. */
  .fsr-chg-filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    width: min(86vw, 340px);
    max-width: min(86vw, 340px);
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    border-radius: 0 18px 18px 0;
    border: 0;
    box-shadow: 10px 0 40px rgba(16, 68, 67, 0.2);
    padding: 14px 14px 0;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .fsr-chg-filters.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s linear 0s;
  }

  .fsr-chg-handle {
    display: none;
  }

  /* Top-right overlay close button - same corner placement/look as the search-tab dialogs'
     .aip-modal__x and HotelSearchResults.css's own .hsr-chg-filters__close. Absolutely
     positioned so it doesn't take up space in .fsr-chg-filters' own flex column. */
  .fsr-chg-filters__close {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: #eef1f1;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #3c4e5a;
  }

  .fsr-chg-filters__close:hover {
    background: #e4e8e8;
  }

  /* Reserves room for the close button above so "Clear" (justify-content:space-between's
     other end of this same row) doesn't sit underneath it - the exact overlap bug already
     hit and fixed on HotelSearchResults.css's own .hsr-chg-filters version of this. */
  .fsr-chg-filters__head {
    padding-right: 44px;
  }

  .fsr-chg-filters__list {
    display: block;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding-bottom: 8px;
  }

  .fsr-chg-filters__done {
    display: block;
    flex-shrink: 0;
    padding: 10px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    background: #f3f6f6;
  }

  .fsr-chg-chip {
    min-height: 40px;
    font-size: 12px;
  }

  .fsr-chg-check {
    min-height: 44px;
  }

  .fsr-chg-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #d8e0e0;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    color: #104443;
    cursor: pointer;
  }

  .fsr-chg-filter-toggle svg {
    width: 16px;
    height: 16px;
    color: #02aaa9;
  }

  .fsr-chg-filter-toggle__n {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #02aaa9;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
  }
}

/* Top search bar wrapper - holds the FlightSearchTab.cshtml partial (the same
   aip-search-bar/dialog component the homepage uses), matching the flight-only prototype's own
   top-of-page .search-wrap band instead of the old per-field sidebar refine form. Flat #f3f6f6 -
   the prototype's own real page background (tokens.css's --cp-page), not the mint-tinted
   gradient this used to invent; see #flightApp below, which carries the same colour the rest of
   the way down the page so the hero/results/sidebar all sit on one continuous grey rather than
   white with a grey strip floating behind just the search bar. */
.fsr-search-top {
  padding: 18px 0;
}

/* ============================================================================================
   Hero banner + "Matching your dates" results header - ported from
   CyprusParadise-NewDesigns/prototypes/flight-only/ (same .hero/.results__head/.eyebrow/.sort/
   .insight component HotelSearchResults.css's own .hsr-hero/.hsr-results-head/etc. carry for the
   hotel/holiday results page - identical values, hardcoded independently here rather than
   shared, same reasoning as this file's own .fsr-search-top comment above). Prefixed fsr- to
   match this page's existing components. */
/* No max-width/margin:auto of its own any more - that was a fixed 1320px cap, which only
   matched the real Bootstrap .container (search-top/results use) at the xxl breakpoint
   (>=1400px viewport); at every narrower width Bootstrap steps its container down (1140/960/
   720/540) while a plain max-width cap doesn't, so the hero rendered edge-to-edge, wider than
   everything around it, at ordinary laptop widths. Fixed by nesting a real .container inside
   this section (see the markup) and letting it own the horizontal width/centring exactly like
   .fsr-search-top/#flightApp's own .container divs do - this rule now only owns vertical
   spacing and the continuous grey background (see its own comment below). */
.fsr-hero {
  padding-top: 18px;
  /* This section sits between .fsr-search-top and #flightApp (both #f3f6f6) as a plain
     sibling, not a descendant of either - without its own background here the white <body>
     showed through in the gap around/behind the hero card, breaking the continuous grey page
     .fsr-search-top/#flightApp were meant to give. */
  background: #f3f6f6;
}

.fsr-hero__inner {
  border-radius: 20px;
  padding: 28px 32px 24px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 68, 67, 0.88) 0%, rgba(33, 136, 135, 0.55) 55%, rgba(16, 68, 67, 0.25) 100%),
    url("/assets/img/waiting/north-cyprus-kyrenia.jpg") center/cover;
  box-shadow: 0 18px 40px rgba(16, 68, 67, 0.16);
}

.fsr-hero__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.fsr-hero__inner h1 {
  margin: 0 0 8px;
  font-family: "Montserrat", "Lato", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
  max-width: 16ch;
  color: #fff;
}

.fsr-hero__inner p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Lato", "Segoe UI", sans-serif;
}

.fsr-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.fsr-trust li {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.fsr-results-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.fsr-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #104443;
  font-family: "Lato", "Segoe UI", sans-serif;
}

.fsr-results-head h2 {
  margin: 0;
  font-family: "Montserrat", "Lato", sans-serif;
  font-size: 28px;
  color: #104443;
  letter-spacing: -0.04em;
}

.fsr-results-meta {
  margin: 4px 0 0;
  color: #707070;
  font-size: 14px;
  font-family: "Lato", "Segoe UI", sans-serif;
}

.fsr-sort {
  font-size: 12px;
  font-weight: 700;
  color: #707070;
  font-family: "Lato", "Segoe UI", sans-serif;
}

.fsr-sort select {
  display: block;
  margin-top: 6px;
  min-width: 210px;
  min-height: 44px;
  border: 1px solid #d8e0e0;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 68, 67, 0.05);
  font: inherit;
  color: #141515;
}

.fsr-insight {
  background: #dff6e1;
  color: #008009;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: "Lato", "Segoe UI", sans-serif;
}

@media (max-width: 860px) {
  .fsr-hero {
    padding-top: 8px;
  }

  .fsr-hero__inner {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .fsr-hero__inner h1 {
    font-size: 26px;
    max-width: none;
  }

  .fsr-results-head {
    flex-direction: column;
    align-items: stretch;
  }

  .fsr-sort select {
    width: 100%;
    min-width: 0;
  }

  .fsr-results-head h2 {
    font-size: 22px;
  }
}
