@import url("../search/HolidaySearchSidebar.css");
@import url("../search/SearchTabModals.css");
@import url("../components/Popups.css");
@import url("../components/DealBox.css");
@import url("../components/Pagination.css");
@import url("../components/SortByOption.css");

/****** SEARCH RESULTS START******/

.filter-button {
  border-bottom: 1px solid #d3d3d3;
  text-align: center;
  padding: 10px;
  box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 16%);
  font-size: 15px;
}
.noUi-connect {
  background: var(--primary-color) !important;
}

.card.pack_wrapper_search {
  border: 2px solid var(--primary-color);
  border-radius: var(--main-border-radius);
  box-shadow: var(--search-results-box-shadow) var(--search-results-box-shadow-color);
  padding: 20px 10px 15px 10px;
}

.pack_wrapper_search .rating {
  vertical-align: middle;
}

.pack_wrapper_search .rating .tripadvisor_rating {
  text-align: right;
}

.pack_wrapper_search .tripadvisor_rating .taReviewTxt {
  font-size: 12px;
  padding-right: 10px;
  margin-bottom: 0px;
}

.pack_wrapper_search .hotelTitleSection {
  padding-left: 15px;
}

.pack_wrapper_search .hotelTitle {
  color: var(--dark-text-color);
  margin-bottom: 0px;
}

.pack_wrapper_search .hotelTitle:hover {
  color: var(--dark-text-color);
}

.pack_wrapper_search .resortTxt {
  color: #707070;
  font-size: 13px;
  margin-bottom: 0px;
}

.pack_wrapper_search .searchResultImage img {
  width: 100%;
  border-radius: var(--main-border-radius);
  height: 240px;
}

.pack_wrapper_search .searchResultImage .searchMediaBtn {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 15px 20px;
  border-radius: var(--main-border-radius) 0px var(--main-border-radius) 0px;
}

.pack_wrapper_search .price_box .price.hotel .totalPriceSection small {
  font-size: inherit !important;
}

.searchResultImage {
  position: relative;
  height: auto;
  max-height: 250px;
  margin-bottom: 15px;
}

.searchResultImage .carousel-hotelImages ul {
  padding-bottom: 0px !important;
}

.searchResultImage .carousel-hotelImages .splide__arrow {
  background: white;
  opacity: 0.9;
}

.searchResultImage .carousel-hotelImages .splide__arrow svg {
  width: 0.8em;
  height: 0.8em;
}

.searchResultImage .carousel-hotelImages .splide__arrows {
  display: none;
}

.searchResultImage .carousel-hotelImages .splide__arrow:disabled {
  display: none;
}

.searchResultImage .carousel-hotelImages:hover .splide__arrows {
  display: block;
}

.pack_wrapper_search .searchResultImage .searchMediaBtn a {
  color: white;
  font-size: 18px;
}

.pack_wrapper_search .searchResultImage .searchShareBtn {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 0px 15px;
}

.pack_wrapper_search .searchResultImage .searchShareBtn.Left {
  border-radius: 0px var(--main-border-radius) 0px var(--main-border-radius);
  left: 0;
}

.pack_wrapper_search .searchResultImage .searchShareBtn.Right {
  border-radius: var(--main-border-radius) 0px var(--main-border-radius) 0px;
  right: 0;
}

.pack_wrapper_search .searchResultImage .searchShareBtn a {
  color: white;
  display: block;
  font-size: 18px;
  padding: 0px 0px;
  height: 25%;
  line-height: 3;
}
.pack_wrapper_search .searchResultImage .searchShareBtn span {
  color: #fff;
  display: block;
  font-size: 18px;
  padding: 0;
  height: 25%;
  line-height: 3;
  cursor: pointer;
}

#price-update .modal-dialog .modal-content {
  width: 70% !important;
}

#price-update {
  background: rgba(2, 170, 169, 0.6) !important;
}

.pack_wrapper_search .searchResultPrice .price_box .price .totalSum {
  font-size: 30px;
  font-weight: bold;
  font-family:
    BlinkMacSystemFont,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.pack_wrapper_search .searchResultPrice .price_box .price .totalSum small {
  font-size: inherit;
  font-weight: inherit;
}

span.tooltiptext {
  display: none;
}

.pack_wrapper_search .searchResultPrice .price_box .match_price_box {
  font-size: 12px;
  color: #289600;
  line-height: 1.3;
}

.pack_wrapper_search .searchResultPrice .price_box .match_price_box .title {
  font-size: 13px;
  font-weight: 700;
  color: #222222;
}

strong.title {
}

.accom-events .card {
  background: #ffffff !important;
  border-radius: var(--small-border-radius);
  border: 0;
  box-shadow:
    0 3px 6px 0 rgb(0 0 0 / 10%),
    0 1px 3px 0 rgb(0 0 0 / 8%);
  font-size: 13px;
}

.accom-events .card .price {
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0;
}

.accom-events .card .card-body {
  padding: 15px 10px;
  line-height: 1;
}

.accom-events .splide .splide__list {
  padding-bottom: 0;
}

.accom-events .splide__arrow--prev {
  left: 0;
}

.accom-events .splide__arrow--next {
  right: 0;
}

.pack_wrapper_search .searchResultPrice .price_box .match_price_box .icon-tick {
  font-size: 18px;
  display: inline-block;
  vertical-align: top;
}

.pack_wrapper_search .searchResultPrice .price_box .match_price_box .text-section {
  display: inline-block;
  padding-left: 5px;
  width: 80%;
}

.pack_wrapper_search .searchResultPrice .price_box .price .totalPriceSection {
  margin-top: 8px;
  margin-bottom: 0px;
}

.pack_wrapper_search .searchResultPrice .price_box .discountSection {
  text-align: right;
  color: red;
  font-size: 15px;
  font-weight: 500;
  padding-right: 20px;
}

.pack_wrapper_search .searchResultPrice .price_box .secureSection {
  background: var(--dark-green);
  color: white;
  padding-left: 10px;
  line-height: 2;
  border-radius: var(--main-border-radius) 0px 0px var(--main-border-radius);
  margin-left: 15%;
}

.pack_wrapper_search .searchResultPrice {
  padding-right: 0px;
}

.pack_wrapper_search .searchResultPrice .price_box .secureSection .depositPricepp {
  float: right;
}

.pack_wrapper_search .searchResultPrice .price_box .secureSection .depsotPricepp {
  float: right;
  background: red;
  padding: 0px 20px;
  font-weight: 700;
}

.pack_wrapper_search .searchResultPrice .price_box .secureSection small {
  font-size: 12px;
}

.pack_wrapper_search .searchResultPrice .price_box .continue_detail {
  text-align: center;
  margin-top: 10px;
  color: var(--dark-text-color);
}

.pack_wrapper_search .searchResultPrice .price_box .continue_detail .card_btn .ctaBtn {
  font-size: 16px;
  font-weight: 700;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--small-border-radius);
  padding: 10px 5px;
}

.pack_wrapper_search .searchResultPrice .price_box .continue_detail .card_btn .ctaBtn:hover {
  background: var(--primary-color-2);
}

.pack_wrapper_search .searchResultPrice .price_box .continue_detail .card_btn {
  padding: 0px 10px;
}

.pack_wrapper_search .searchResultPrice .price_box .continue_detail .btnAtol {
  color: green;
  margin-top: 7px;
  text-decoration: none;
  margin-bottom: 0px;
}

.pack_wrapper_search .searchResultPrice .price_box .continue_detail .btnAtol img {
  margin-top: 0px;
  vertical-align: top;
  height: 22px;
}

.pack_wrapper_search .searchResultPrice .price_box .continue_detail .btnAtol span {
  display: inline-block;
  color: var(--dark-text-color);
  font-size: 16px;
  text-decoration: none;
  margin-left: 5px;
  border-bottom-color: #4a4a4a;
  font-weight: 600;
  text-decoration: underline dotted;
  cursor: pointer;
}

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

.flightDetails {
  padding: 20px 40px;
}

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

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

.flightDetails .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;
}

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

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

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

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

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

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

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

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

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

.flightDetails .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;
}

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

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

.flightDetails .flightDetailFooter {
  color: green;
  font-size: 13px;
  line-height: 1.5;
}

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

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

.flightDetails .flight-number-block h4 {
  margin-bottom: 0px;
}

.hotelPopupLogoHeader h3 {
  font-size: 28px;
  font-weight: 700;
  padding: 15px;
  margin-bottom: 0px;
}

.hotelDetails {
  padding: 0px 20px;
}

.hotelDetails .hotelDetailFooter {
  margin: 0px;
  padding: 5px 20px;
  font-size: 13px;
  width: 100%;
  line-height: 1.5;
}

.hotelDetails .hotelDetailFooter .fontBold {
  font-weight: 700;
}

.hotelDetails .hotelPicture {
  text-align: right;
}

.hotelDetails .hotelPicture img.hotelImage {
  width: 100%;
  border-radius: var(--main-border-radius);
}

.hotelDetails {
  padding: 0px 20px;
  color: #141515;
}

.hotelDetails .resortTxt {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-text-color);
}

.hotelDetails .searchResult_date {
  font-size: 20px;
  font-weight: 700;
}

.hotelDetails .searchResult_normalText {
  font-size: 16px;
}

.hotelDetails .searchResult_normalText i {
  margin-right: 10px;
}

.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 .searchTabsSummaryCell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px;
}

.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;
  text-align: center;
}

.SearchResultsBody .searchtabSummary .rounded_btn .departuredate_adults .departuredate {
  padding-right: 8px;
}

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

/****** SEARCH RESULTS END******/
/****************Search Results Loading Section Start*******************/
.loadingSection {
  display: none;
  margin-top: 20px;
}

.blank-text {
  background-color: lightgray !important;
  color: transparent !important;
}

.loadingSection .pack_wrapper_search .searchResultImage .searchShareBtn {
  background: rgb(0 0 0 / 7%);
}

.loadingSection i {
  color: lightgray;
}

.loadingSection .searchResultImage i {
  color: rgba(0, 0, 0, 0.1);
}

.loadingSection .pack_wrapper_search .searchResultImage .searchMediaBtn {
  opacity: 0.2;
}

.loadingSection .searchResult_blockText {
  text-decoration: none !important;
}

.blank-btn {
  border-radius: var(--main-border-radius);
  height: 45px;
}

.loadingSection .card.pack_wrapper_search {
  border-color: lightgray !important;
}
/****************Search Results Loading Section End*******************/

/*********Tool tip start***********/
.hotelTitle .tooltip-container {
  top: 50px;
  left: -165px;
  /*background: #fff;
    color: var(--primary-text-color);*/
  width: 400px;
  border-radius: var(--main-border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hotelTitle .tooltip-basic .tooltip-container.bottom:before {
  /*border-color: transparent transparent rgba(255, 255, 255, 1) transparent;*/
}

.hotelTitle .tooltip-basic .tooltip-container.right {
  right: 121%;
  left: auto;
  top: -52px;
  width: 250px;
}

.tooltip-basic .tooltip-container.right:before {
  right: -20px;
  top: 50%;
  margin-top: -10px;
  border-width: 10px 10px 10px 10px;
  border-color: transparent transparent transparent rgba(60, 78, 90, 0.95);
}
#map {
  width: 100% !important; /* Full width of the modal body */
  height: 100% !important; /* Fixed height for the map */
  position: relative;
}
.map-thumbnail {
  position: relative;
  width: 100%; /* Set thumbnail width */
  height: 200px; /* Set thumbnail height */
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

#map-thumbnail {
  width: 100%;
  height: 100%;
}

.show-on-map-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.show-on-map-button:hover {
  background-color: var(--primary-color-2);
}

.price-marker {
  background-color: #1e90ff;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}
/* Top search bar wrapper - holds the HolidaySearchTab.cshtml/HotelSearchTab.cshtml partial (the
   same aip-search-bar/dialog component the homepage uses), matching flightSearchResult.cshtml's
   own .fsr-search-top band (same values, ported here so this page gets an identical band without
   depending on FlightSearchResults.css being loaded). Flat #f3f6f6 - the prototype's own real
   page background (tokens.css's --cp-page), not the mint-tinted gradient this used to invent;
   see #hotelApp 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. */
.hsr-search-top {
  padding: 18px 0;
}

/* ============================================================================================
   Hero banner + "Matching your dates" results header - ported from
   CyprusParadise-NewDesigns/prototypes/hotel-only/ and .../search-results/ (same .hero/
   .results__head/.eyebrow/.sort/.insight component, holiday and hotel-only just get different
   copy - see HotelSearchResult.cshtml/_SearchResultsHeader.cshtml for the isHotelOnly ternaries).
   Hardcoded colours rather than var(--aip-*)/var(--pp-*) - same reasoning as this file's own
   .hsr-search-top comment above: this page has neither of those wrapper scopes, and the values
   are identical to both anyway. Prefixed hsr- (this page's own prefix, see .hsr-search-top). */
/* 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/#hotelApp's own .container divs do - this rule now only owns vertical
   spacing and the continuous grey background (see its own comment below). */
.hsr-hero {
  padding-top: 18px;
  /* This section sits between .hsr-search-top and #hotelApp (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
     .hsr-search-top/#hotelApp were meant to give. */
  background: #f3f6f6;
}

.hsr-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);
}

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

.hsr-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;
}

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

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

.hsr-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;
}

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

.hsr-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;
}

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

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

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

.hsr-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;
}

.hsr-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) {
  .hsr-hero {
    padding-top: 8px;
  }

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

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

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

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

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

/* ============================================================================================
   Sidebar filter card - fonts/card design brought in line with the redesigned components on
   this page and on flightSearchResult.cshtml (.fsr-chg-filters), matching
   CyprusParadise-NewDesigns/prototypes/hotel-only/'s own .filter-card (Montserrat headings,
   Lato body copy, a proper card shadow/radius, teal accents) instead of the plain Bootstrap
   look Layout.css gives .search-filter-section sitewide. Scoped under #hotelApp rather than
   edited in Layout.css itself, since that file is shared by other, untouched pages (e.g. the
   older HolidaySearchResult.cshtml) that still want the old look. The underlying custom
   checkbox mechanism (.form-check-label::before/::after, Layout.css) and the delegated
   change-listener this sidebar relies on (hotelSearch.js's handleFilterChange, keyed off
   .search-filter-section/data-cpstars/data-tastars/#BoardFilters etc.) are untouched - only
   typography, spacing and the card's own chrome change here. */
#hotelApp .search-filter-section {
  /* border: 1px solid #d8e0e0; */
  border-radius: 8px;
  /* box-shadow: 0 4px 14px rgba(16, 68, 67, 0.06); */
  padding: 16px 0;
  font-family: "Lato", "Segoe UI", sans-serif;
}

#hotelApp .search-filter-section > .container > h3 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Lato", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #104443;
}

#hotelApp .search-filter-section .filter-heading {
  margin: 0 0 6px;
  font-family: "Montserrat", "Lato", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #141515;
  text-transform: none;
  letter-spacing: normal;
}

#hotelApp .search-filter-section .container.RegionEnd {
  border-top: 1px solid #e7e7e7;
  margin: 14px 0 14px;
  padding: 0;
}

#hotelApp .search-filter-section .filter-items .form-check-label {
  font-size: 14px;
  color: #141515;
  font-weight: 400;
}

#hotelApp .search-filter-section .filter-items .item {
  padding: 4px 0;
}

#hotelApp .search-filter-section .filter-items .item .count {
  font-family: "Lato", "Segoe UI", sans-serif;
}

/* Per-option result count, written in by hotelSearch.js's paintFilterCounts() - pushed to the
   far end of the row. The label stays position:relative, so Layout.css's ::before/::after
   checkbox is unaffected by the flex layout. */
#hotelApp .search-filter-section .filter-items .form-check-label {
  display: flex;
  align-items: center;
  width: 100%;
}

#hotelApp .search-filter-section .filter-count {
  margin-left: auto;
  padding-left: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7a7a;
  white-space: nowrap;
}

#hotelApp .search-filter-section .filter-items .item.is-empty {
  opacity: 0.5;
}

/* ============================================================================================
   Mobile/tablet "Filters" toggle + slide-over - opens as a left-side drawer (not the sidebar's
   normal in-flow column) at any width under 1140px, since below that the .col-md-4/.col-xl-3
   sidebar column gets uncomfortably squeezed next to the results list. Desktop (>=1140px) is
   completely unaffected: .hsr-chg-filters is a plain, unstyled wrapper there and
   .hsr-chg-filter-toggle stays hidden, so #hotelApp .search-filter-section's own card styling
   (just above) still applies exactly as before. */
.hsr-chg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

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

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

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

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

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

@media (max-width: 1139px) {
  /* With the filter sidebar pulled out of flow into the left drawer above, its Bootstrap
     column (.col-md-4/.col-xl-3, in HotelSearchResult.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 #hotelApp > child
     selector (the id lives on the .row itself) so they outrank Bootstrap's own .col-md-*/
     .col-xl-* rules regardless of stylesheet order. */
  #hotelApp > .col-md-4.col-xl-3.overPos {
    flex: 0 0 0;
    max-width: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
  }

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

  /* Left-side drawer (not a full-height sidebar in normal flow, and not a bottom sheet) -
     slides in from the left edge of the viewport, same fixed-panel approach as the bottom
     sheet used elsewhere on this page (AlternateFlightsModal.cshtml's mobile treatment), just
     anchored to left/top/bottom instead of left/right/bottom so it reads as a sidebar. */
  /* 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. */
  .hsr-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;
    background: #fff;
    padding: 14px 14px 0;
    border-radius: 0 18px 18px 0;
    box-shadow: 10px 0 40px rgba(16, 68, 67, 0.2);
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.3s ease,
      visibility 0s linear 0.3s;
  }

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

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

  #hotelApp .hsr-chg-filters .search-filter-section {
    order: 1;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding-left: 0;
    padding-right: 0;
    padding-top: 40px;
  }

  /* "Show hotels"/"Show holidays" sticky footer - lives in the markup as a sibling right
     after .hsr-chg-filters__close (before .search-filter-section even opens, not after its
     closing tag - see the markup's own comment on why), and CSS order alone moves it to the
     visual bottom of the drawer's flex column instead. */
  .hsr-chg-filters__done {
    display: block;
    order: 2;
    flex-shrink: 0;
    padding: 10px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
  }

  /* Top-right overlay close button - the drawer previously had no way to dismiss it except
     the "Show results" button (removed; a real close (X) reads clearer here, same corner
     placement as the search-tab dialogs' own .aip-modal__x). Absolutely positioned so it
     doesn't take up space in .hsr-chg-filters' own flex column. */
  .hsr-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;
  }

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

  .hsr-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;
  }

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

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