/* ================= MAIN SECTION ================= */
.tab-container-section {
  padding: 40px 0;
}

/* ================= MAIN TABS ================= */
.tab-container-section .custom_tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.tab-container-section .custom_tabs::-webkit-scrollbar {
  display: none;
}

.tab-container-section .custom_tabs .nav-link {
  padding: 8px 16px;
  background: transparent;
  color: #202020;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.tab-container-section .custom_tabs .nav-link:hover {
  background: #ebebeb;
  border: 1px solid #707070;
}

/* Active Main Tab */
.tab-container-section .custom_tabs .nav-link.active {
  font-weight: 500;
  background: #ffd2bc;
  border: 1px solid #f16625;
  color: #202020;
}

/* ================= TAB CONTENT ================= */
.tab-container-section .tab-content {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #707070;
  padding-top: 20px;
}

/* ================= INNER TABS ================= */
.tab-container-section .inner_tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.tab-container-section .inner_tabs::-webkit-scrollbar {
  display: none;
}

.tab-container-section .inner_tabs .nav-link {
  background: none !important;
  border: none !important;
  color: #202020;
  font-weight: 500;
  padding: 8px 16px;
  position: relative;
  font-size: 16px;
}

/* Hover */
.tab-container-section .inner_tabs .nav-link:hover {
  color: #ff6b00;
}

/* Active Inner Tab */
.tab-container-section .inner_tabs .nav-link.active {
  color: #ff6b00;
  font-weight: 600;
}

/* Underline animation */
.tab-container-section .inner_tabs .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 2px;
  background-color: #ff6b00;
  transition: 0.3s ease;
}

.tab-container-section .inner_tabs .nav-link.active::after {
  width: 100%;
}

.tab-container-section .inner_tabs .nav-item {
  margin-right: 10px;
}

/* ================= ROOM CARD ================= */

.common_room_card {
  width: 100%;
  height: 100%;
}

.common_room_card .room-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px;
  width: 100%;
  height: 100%;
}

.common_room_card .room-card .room-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.common_room_card .room-card .room-image-wrapper .room-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

.common_room_card .room-card .room-image-wrapper .room-location {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: transparent linear-gradient(90deg, #153b89 0%, #143984ee 45%, #0b1e4500 100%) 0% 0% no-repeat padding-box;
  border-radius: 0px 0px 8px 8px;
  opacity: 0.85;

  font-size: 14px;
  font-weight: 500;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.common_room_card .room-card .room-image-wrapper .gallery-icon {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: #fff;
  padding: 6px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.common_room_card .room-card .room-info {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.common_room_card .room-card .room-info .room-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #202020;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.room-type p {
  font-size: 14px;
  font-weight: 100;
}

.common_room_card .room-card .room-info .room-type {
  font-size: 14px;
  color: #202020;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 600;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.common_room_card .room-card .room-type span {
  font-weight: 100;
}

.common_room_card .room-card .room-info .room-type .dot {
  width: 6px;
  height: 6px;
  background: #f16625;
  border-radius: 50%;
  display: inline-block;
  margin: 0 8px;
}

.common_room_card .room-card .room-info .room-description {
  font-size: 14px;
  color: #202020;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.common_room_card .room-card .room-info .room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.common_room_card .room-card .room-info .room-footer .room-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f16625;
  font-weight: 600;
}

.common_room_card .room-card .room-info .room-footer .room-rating .star-icon {
  color: #f16625;
}

.common_room_card .room-card .room-info .room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.common_room_card .room-card .room-info .room-footer .btn_wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.left-action {
  display: flex;
}

.right-action {
  display: flex;
}

.common_room_card .room-card .room-info .room-footer .view-details {
  font-size: 14px;
  color: #153b89;
  font-weight: 600;
  text-decoration: unset;
}

.common_room_card .room-card .room-info .room-footer .view-details:hover {
  text-decoration: underline;
}

.common_room_card .room-card .room-image-wrapper .gallery-icon {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: #202020;
  padding: 6px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.gallery-icon svg {
  color: #ffffff;
  width: 20px;
  height: 16px;
}

/* ================= VIEW MORE ================= */
.tab-container-section .book_btn {
  background-color: #1f2937;
  border: none;
  padding: 7px 16px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.tab-container-section .book_btn:hover {
  background-color: #f16625;
  color: #fff;
}

.room-footer .view-details {
  font-size: 14px;
  color: #153b89;
  font-weight: 600;
  text-decoration: unset;
  cursor: pointer;
  text-decoration: none;
}

.room-footer .view-details:hover {
  text-decoration: underline;
}

/* ========================== Title ===================== */

.common_title {
  /* text-align: center; */
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.common_title .common_subtitle {
  color: #f16625;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.common_title .common_main_title {
  font-size: 45px;
  font-weight: 800;
  color: #202020;
  margin-bottom: 10px;
  position: relative;
}

.common_title .common_main_title::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 2px;
  background: #153b89;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: auto;
}

.view_more {
  border: none;
  background: #d1d1d1 0% 0% no-repeat padding-box;
  border-radius: 0px 0px 10px 10px;
  padding: 3px 12px 10px;
  color: #202020;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
}

/* Image Modal */
.modal .modal-body {
  padding: 0 !important;
}

.modal .img_fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.image_modal .modal-content {
  background: #000;
  border: none;
}

.modal_close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  background: none;
  border: none;
  z-index: 10;
}

.image_swiper {
  width: 100%;
  height: 500px;
}

.image_modal_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.slider_img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 7px;
}

/* ================= MEDIA QUERIES ================= */

/* Mobile */
@media (min-width: 0) and (max-width: 574px) {
  .tab-container-section .custom_tabs .nav-link {
    padding: 6px 12px;
    font-size: 14px;
  }

  .tab-container-section .inner_tabs .nav-link {
    padding: 6px 12px;
    font-size: 14px;
  }

  .common_title .common_main_title::after {
    width: 120px;
  }

  .common_title {
    padding: 40px 0 30px;
  }

  .common_title .common_main_title {
    font-size: 20px !important;
  }
}

/* Tablet */
@media (min-width: 575px) and (max-width: 767px) {
  .tab-container-section .custom_tabs .nav-link {
    font-size: 15px;
  }

  .tab-container-section .inner_tabs .nav-link {
    font-size: 15px;
  }

  .common_title .common_main_title {
    font-size: 35px;
  }
}