/**
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.md
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to support@qloapps.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your needs
* please refer to https://store.webkul.com/customisation-guidelines for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License 3.0
*/

.htlRoomTypeAddressText {
  font-size: 14px;
  color: #5b5a5aeb;
  font-weight: 500;
  width: fit-content;
  margin: 0px;
  text-transform: capitalize;
}
.htlRoomTypeNameText {
  font-size: 16px;
  color: #090909;
  font-weight: 600;
  width: fit-content;
  margin: 0px;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.htlRoomTypePriceText {
  font-size: 14px;
  color: #090909;
  font-weight: 500;
  width: fit-content;
  margin: 0px;
  font-weight: 500;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-transform: capitalize;
}
.start-rating {
  margin-bottom: 3px;
}
.accommodation_icons_wrapper .htlRoomTypePriceText {
  border: 1px solid #60927f;
  color: #60927f !important;
  font-family: "Courier New", Courier, monospace;
  /* font-size: 14px; */
  padding: 4px;
  border-radius: 18px;
  color: #2a2929;
  /* height: 25px; */
}
.htlRoomTypeDescText {
  /* height: 33%; */
  font-size: 16px;
  color: #555555;
  font-weight: 300;
  line-height: 21px;
  /* overflow-y: auto; */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #aaa transparent; /* Firefox */
}

/* WebKit (Chrome, Edge, Safari) */
.htlRoomTypeDescText::-webkit-scrollbar {
  width: 6px;
}

.htlRoomTypeDescText::-webkit-scrollbar-track {
  background: transparent;
}

.htlRoomTypeDescText::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 10px;
}

.htlRoomTypeBookNow {
  font-size: 15px !important;
  color: #333333 !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: 1px solid #333333 !important;
  /* padding: 10px 30px!important; */
  text-transform: capitalize;
}

.btn.htlRoomTypeBookNow:hover {
  border: 1px solid #333333;
}

.htlRoomTypeDescText {
  padding-bottom: 9px;
}

.room_type_old_price {
  text-decoration: line-through;
  color: #555555;
  font-size: 14px;
}

.custom-tab-wrapper {
  display: flex;
  width: 100%;
  border-radius: 7px;
  background: #e5e5e5;
  margin-bottom: 50px;
  position: relative;
  overflow: visible;
  /* Allow children to exceed bounds */
}
.tab-btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  outline: none;
  background-color: white;
  color: #055839;
  cursor: pointer;
  /* transition: all 0.3s ease; */
  position: relative;
  z-index: 1;
  border-top: 5px solid #055839;
  border-radius: 3px;
}
/* Diagonal clip paths */
.tab-left {
  cursor: auto;
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.tab-right {
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -5%;
  z-index: 1;
}

.tab-btn.active {
  background-color: #055839;
  color: white;
  transform: scaleY(1.2);
  /* Scale vertically */
  z-index: 2;
  border-top: 5px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Optional depth */
}

/* card css */
.htlRoomTypeBookNow,
.htlRoomTypeDescText {
  border: none !important;

  display: none;
}
.dashedtop {
  border-top: 4px #055839 dashed !important;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}

.room-card {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.room-bg-image {
  background-size: cover;
  background-position: center;
  min-height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.map {
  background: #f0f0f0;
  /* padding: 20px; */
  border-radius: 15px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Tablet view (2 columns) */

.accommodation_icons_wrapper {
  display: flex;
  flex-direction: row;
  align-items: end;
}
.icon-style {
  width: 30px;
  height: 30px;
  filter: invert(1) brightness(1);
  display: inline-block;
  background-size: cover;
  /* opacity: 0.6; */
}
.icon-style-right {
  width: 33px;
  height: 33px;
  filter: invert(1) brightness(1);
  display: inline-block;
  background-size: cover;
  /* opacity: 0.6; */
  margin-top: -2px;
  margin-right: -2px;
}

/* Mobile view (1 column) */
@media (max-width: 1200px) {
  .flex-container {
    display: flex;
    flex-direction: column;
  }

  /* Make map appear first */
  .flex-map {
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 15px;
    order: 1 !important;
  }

  /* Make card container appear after map */
  .flex-content,
  .flex-container > .col-md-8 {
    order: 2 !important;
  }

  /* Optional: make sure both are visible */
  .flex-map,
  .flex-content,
  .flex-container > .col-md-8 {
    display: block !important;
  }

  /* Optional: full width on mobile */
  .flex-map,
  .flex-container > .col-md-8 {
    width: 100% !important;
  }
  #googleMapContainer {
    position: relative;
    height: 300px !important;
    width: 100%;
    padding: 0px;
  }
}

#googleMapContainer {
  position: relative;
  height: 620px;
  width: 100%;
  padding: 0px;
}

#map {
  height: 100%;
  width: 100%;
  border: 1px solid #ccc; /* optional: gives a visual boundary */
  border-radius: 15px; /* optional: for rounded corners */
}

.like-btn {
  position: absolute;
  top: 5px;
  right: 5px;
}

.left-btn {
  position: absolute;
  top: 40%;
  right: 5px;
}

.right-btn {
  position: absolute;
  top: 40%;
  left: 5px;
}

.circle-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
}

.circle-icon-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  /* border: 2px solid white; */
  border-radius: 50%;
  color: transparent;

  font-size: 18px;
}
.circle-icon-btn-span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;

  font-size: 18px;
}

/* Load FontAwesome icons using ::before */
.left-arrow-icon::before {
  font-family: "FontAwesome";
  content: "\f104";
  font-size: 35px;
  color: rgba(255, 255, 255, 0.85);
  /* Left arrow */
}

.right-arrow-icon::before {
  font-family: "FontAwesome";
  content: "\f105";
  font-size: 35px;
  color: rgba(255, 255, 255, 0.85);

  /* Right arrow */
}
.star-icon::before {
  font-family: "FontAwesome";
  padding-right: 5px;
  font-size: 13px;
  color: #60927f;
  content: "\f005"; /* Unicode for solid star */
}

.cross-icon::before {
  font-family: "FontAwesome";
  font-size: 35px;
  color: rgba(255, 255, 255, 0.85);
  content: "\f00d"; /* Unicode for solid star */
}

.heart-icon::before {
  font-family: "FontAwesome";
  content: "\f08a"; /* Outline heart (fa-heart-o) */
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  font-size: 17px;
  color: white;
  transition: color 0.3s;
}

.liked .heart-icon::before {
  content: "\f004"; /* Filled heart (fa-heart) */
  color: red;
}

.features-container {
  display: flex;
  padding-top: 10px;
  flex-wrap: wrap;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.features-list li {
  color: #1c191996;
  margin-right: 15px;
  position: relative;
  padding-left: 20px;
}
.features-table {
  height: fit-content;
  width: 100%;
  border-collapse: collapse;
}

.features-table td {
  height: 5px;
  font-size: 14px;
  padding: 0px !important;
  vertical-align: top;
  white-space: nowrap;
}

.empty {
  height: 20px;
}

.habitatDescContainer-first {
  height: auto;
}
.habitatDescContainer-second {
  margin-top: 5px !important;
  min-height: 26%;
}
.features-container {
  height: 75%;
}
.habitatDescContainer-thered {
  height: 34%;
}

/* Mobile view: 1 column */

.features-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1c191996;
}
.short_desc_collapsed,
.short_desc_wrapper {
  font-size: 14px;
}
.features-table {
  width: 100%;
  border-collapse: collapse;
}

/* .room-slider {
  position: relative;
  overflow: hidden;
  transition: border 0.3s ease;
} */
.room-slider {
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease-in-out; /* won't animate image change, but keeps things smooth */
}

/* Initial preview state of room description */
.habitatDescContainer::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Allow room for it to expand inside the overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

#map .gm-style-iw-chr {
  display: none !important;
}
#map .gm-style-iw-tc {
  display: none !important;
}
#map .info-card h6 {
  color: #60927f;
  text-transform: capitalize;
  font-weight: bold;
}
.info-card {
  background: transparent; /* optional: ensures no visual obstruction */
}
.custom-info-window {
  pointer-events: none;
  cursor: grab;
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 1000;
}

#map .info-card p {
  margin: 0px;
  padding: 5px;
  color: black;
  font-weight: bold;
  text-transform: capitalize;

  font-family: "Courier New", Courier, monospace;
}
#map .gm-style-iw-d {
  margin: 0px !important;
  padding: 0px;
  overflow: unset !important;

  padding: 0px !important;
}
#map .gm-style-iw-c {
  pointer-events: none;
  border-radius: 25px !important;
  padding-inline-start: 0px !important;
}
.overlay .habitatDescContainer {
  pointer-events: auto;
}

.habitatDescContainer:hover {
  height: 100%;
  overflow-y: auto;
}
.habitatDescContainer:hover .circle-icon-btn {
  display: none;
}

.accommodation_icons_wrapper {
  display: flex !important;
  gap: 8px; /* optional spacing between icons */
}

.accommodation_icon_container {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accommodation_icon_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.accommodation_icon_more {
  color: #222222;
}
.view-habitat {
  background-color: #055839;
  color: white;
  border-radius: 15px;
  position: relative;
  bottom: 5px;
  right: 5px;
}
.qas_accommodation_section {
  padding: 45px 0 0 0;
}

.qas_accommodation_information_text {
  text-align: center;
  font-size: 36px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 32px;
}

.qas_home_block_desc_line {
  width: 150px;
  /* border: 1px solid #333333;
     */
  border-color: #333333;
  margin: 30px auto;
}

.accommodation_logo_row {
  padding-bottom: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 25px;
  overflow-x: auto;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* for smoother touch scrolling on iOS */
}

.accommodation_logo_row::-webkit-scrollbar {
   cursor: -webkit-grab;
  height: 6px;
}

.accommodation_logo_row::-webkit-scrollbar-thumb {
  background: #055839;
  border-radius: 4px;
  cursor: -webkit-grab;
}
.accommodation_logo_wrapper {
  user-select: none; /* Prevent text selection */
}

.accommodation_logo_container {
  text-align: center;
  max-width: 120px;
  margin: 10px;
}

.accommodation_logo_img {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
}

.accommodation_display_name {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  font-weight: 300;
  text-align: center;
}

.accommodation_logo_wrapper {
  position: relative;
  user-select: none;
  display: inline-block;
  cursor: pointer;
}

.tick-overlay {
  position: absolute;
  bottom: 0;
  left: 50px;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: #055839;
  color: white;
  padding: 6px 9px;
  font-size: 25px;
  font-weight: bold;
  display: none;
  z-index: 10;
}

.accommodation_logo_container.selected .tick-overlay {
  display: block;
}

/* wish list */
.wishlist-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wishlist-item {
  width: 200px;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  background: #fdfdfd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wishlist-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.wishlist-item h3 {
  font-size: 16px;
  margin: 10px 0 5px;
}

.wishlist-item .price {
  color: #1d8b5f;
  font-weight: bold;
}

.wishlist-title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}

.home_block_content {
  min-height: 400px;
}

.wishlist-empty {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* or use 100vh for full screen */
  text-align: center;
}

.wishlist-empty p {
  font-size: 20px;
  padding: 10px;
}

.empty-wishlist::before {
  font-family: "FontAwesome";
  content: "\f08a";
  /* font-weight: 900; */
  color: #1d8b5f;
  font-size: 40px;
}
.room-card.disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(100%);
}
.wishlist-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}
.avg_rating {
  color: #222222;
  font-weight: bold;
}
.num_reviews {
  color: #333333cb;
}
@media (max-width: 1200px) {
  .features-table {
    width: 100%;
    border-collapse: collapse;
  }

  .features-table td {
    height: 5px;
    width: 5px;
    font-size: 13px;
    padding: 0px !important;
    vertical-align: top;
    white-space: nowrap;
  }
  #googleMapContainer {
    position: relative;
    width: 100%;
    padding: 0px;
  }
  .hotel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.habitatDescContainer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 10;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 5px 5px 0px 10px;
  margin: 0;
  margin-top: 5px !important;

  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  pointer-events: auto;
  transition: height 0.4s ease;

  /* Optional - hides scrollbar in Firefox and WebKit browsers */
  scrollbar-width: none; /* Firefox */
}
.habitatDescContainer:hover + .wk_roomType_price {
  margin: 10px;
}

.habitatDescContainer .htlRoomTypeDescText,
.habitatDescContainer .htlRoomTypeBookNow {
  display: none;
}
.habitatDescContainer:hover .htlRoomTypeDescText,
.habitatDescContainer:hover .htlRoomTypeBookNow {
  display: block;
}
@media (min-width: 168px) {
  .habitatDescContainer {
    max-height: 110px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .habitatDescContainer:hover {
    border: 4px solid #055839;
    border-radius: 15px;
    max-height: 300px;
    overflow-y: auto;
  }
}

.room-slider {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0s !important;
  transform: none !important; /* kill any scaling */
}
