#frm-booking-form {
  position: relative;
  display: block;
}

.booking-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

.form-group-custom:last-child {
  border-right: none;
}

.form-group-custom label {
  font-size: 12px;
  margin-bottom: 5px;
  color: #555;
}

.form-group-custom input,
.form-group-custom select {
  padding: 5px;
  font-size: 14px;
  border: none;
  border-radius: 3px;
  width: 100%;
}

.form-group-custom input.modalcart {
  border: 1px solid #e2e5ec !important;
}

.search-button {
  background-color: #ff5a5f;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  flex: 0 0 auto;
}

.search-button:hover {
  background-color: #e0484f;
}

@media (max-width: 768px) {
  #frm-booking-form {
    position: relative;
    display: none;
  }

  .booking-form {
    flex-direction: column;
    gap: 15px;
  }

  .form-group-custom {
    min-width: 100%;
    border-right: none;
    padding-right: 0;
  }

  .search-button {
    width: 100%;
    text-align: center;
  }
}

/*room*/
.form-group-custom {
  display: flex;
  flex-direction: column;
}


.two-column {
  display: flex;
  gap: 10px;
  width: 100%;
  position: relative;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

#room-guest .dropdown-menu-sub {
  display: none;
}

#room-guest .dropdown-menu-sub.list {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 40px;
}

/* Dropdown menu styling */
#room-guest .dropdown-menu-sub.open {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: -180px;
  top: 42px;
}

#room-guest .dropdown-menu-sub.open .column-left {
  width: 50%;
  /* Left column takes half of the space */
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #f7f9fc;
  /* Light blue/gray background */
  border-right: 1px solid #ddd;
  /* Separator */
  text-align: left;
  position: relative;
}

#room-guest .dropdown-menu-sub .column-left {
  width: 100%;
}

#room-guest .dropdown-menu-sub .column-left .dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s ease;
}

.column-left .dropdown-item:hover {
  color: #fff;
  background-color: var(--primary);
}

.column-left .dropdown-item:hover small,
.column-left .dropdown-item:hover span {
  color: #fff;
}

.column-left .dropdown-item.active small {
  color: #fff;
}

.column-left .dropdown-item span {
  font-weight: 500;
  /* Slightly bold */
}

.column-left .dropdown-item small {
  font-size: 12px;
  color: #777;
  /* Subtle secondary text */
}

.dropdown-menu-sub ul.column-left {
  padding: 0;
  margin: 0;
  position: relative;
}

.column-left .dropdown-item.dropdown-arrow {
  position: relative;
}

/* Arrow icon */
.column-left .arrow-icon {
  color: #bbb;
  font-size: 1.2rem;
  transition: color 0.2s ease;
  position: absolute;
  top: 4px;
  right: 10px;
  margin-left: auto;
}

.column-left .dropdown-item:hover .arrow-icon {
  color: #333;
}

/* Column layout */
/* Right column styling */
#room-guest .dropdown-menu-sub.open .column-right {
  width: 50%;
  /* Right column takes half of the space */
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: top;
  gap: 10px;
}

#room-guest .dropdown-menu-sub .column-right {
  width: 0%;
  display: none;
}

.column-right .control-group {
  display: flex;
  /*justify-content: space-between;*/
  align-items: center;
  margin-bottom: 5px;
}

.column-right .control-group label {
  font-size: 14px;
  color: #555;
}

.column-right .control-group .ctr-label {
  display: flex;
  align-items: left;
  gap: 5px;
  width: 150px;
}

.column-right .input-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.column-right .control-input {
  width: 50px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
  font-size: 14px;
  color: #333;
}

.column-right .btn-decrease-popup,
.column-right .btn-increase-popup,
.column-right .btn-decrease,
.column-right .btn-increase {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ff5a5f;
  color: #ff5a5f;
  border-radius: 50%;
  background-color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.column-right .btn-decrease:hover,
.column-right .btn-increase:hover {
  background-color: #ff5a5f;
  color: white;
}

.column-right .btn-decrease:disabled,
.column-right .btn-increase:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*buton show detail input in mobile*/
/* Container for input and button */
.input-with-dropdown {
  display: flex;
  align-items: center;
  position: relative;
}

/* Input styling */
.input-with-dropdown input {
  flex: 1;
  padding-right: 40px;
  /* Space for the dropdown button */
}

/* Dropdown button styling */
.dropdown-button {
  display: none;
  /* Hidden by default */
  position: absolute;
  right: 5px;
  background: none;
  border: none;
  color: #555;
  font-size: 16px;
  cursor: pointer;
}

.dropdown-button i {
  pointer-events: none;
  /* Prevent icon from blocking clicks */
}

/* Show button only on mobile */
/* Styling for hidden-mobile elements to display as a 3-column layout */

/* Optional: Adjust text alignment for better readability */
.hidden-mobile p,
.hidden-mobile span {
  font-size: 14px;
  /* Standardize font size */
  color: #555;
  /* Neutral color for text */
}

@media (max-width: 768px) {
  .search-button.hidden-mobile {
    display: none;
  }

  #room-guest .dropdown-menu-sub.open {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: -10px;
    top: 92px;
  }

  #room-guest .dropdown-menu-sub.open .column-left {
    width: 50%;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f7f9fc;
    border-right: 1px solid #ddd;
    text-align: left;
    position: relative;
  }

  #room-guest .dropdown-menu-sub.open .column-right {
    width: 50%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: top;
    gap: 10px;
  }

  #room-guest .dropdown-menu-sub.list {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100px;
  }

  .dropdown-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ccc;
    padding: 5px;
  }

  .hidden-mobile {
    display: none;
  }

  .hidden-mobile.show {
    display: block;
    opacity: 1;
    /* Fade in */
    transform: translateY(0);
    /* Slide in */
  }

  .hidden-mobile.show.checkin {
    width: 35%;
  }

  .hidden-mobile.show.checkout {
    width: 35%;
  }

  .hidden-mobile.show.room-guest {
    width: 30%;
  }
}

.show-rooms {
  position: relative;
  padding: 10px 0;
  color: #333;
}
.show-rooms.product-hotel {
  padding: 0px;
}
.show-rooms a.more {
  font-size: 14px;
  font-weight: 600;
  padding: 3xp 5px;
  color: rgb(0, 182, 243) !important;
}

.show-rooms p,
.show-rooms h2 {
  color: #333 !important;
  font-weight: 300;
}

.show-rooms .bed {
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 15px;
}

.show-rooms .bed ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.show-rooms .offers p {
  color: #333;
  margin-bottom: 3px;
}

.show-rooms .bed ul li {
  padding: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.show-rooms .bed span {
  color: #333;
}

.show-rooms .bed p {
  margin: auto 0px;
}

.show-rooms .amenity .list ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.show-rooms .amenity .list ul li {
  display: inline;
  margin: 3px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  border-radius: 100px;
  background-color: #EDF2F7;
  float: left;
}

.show-rooms .amenity .list ul li span {
  color: #333 !important;
}

.show-rooms .bed .icon {
  max-width: 25px;
  text-align: middle;
  margin-left: auto;
  margin-right: auto;
}

.show-rooms ul.list-policy {
  list-style: none;
  padding: 0;
  margin: 0;
}

.show-rooms ul.list-policy li {
  padding: 3px 3px;
  color: #333;
}

.show-rooms .popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.show-rooms .popup-content {
  background-color: white;
  width: 50%;
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  position: relative;
  color: #333;
}

.show-rooms .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.show-rooms .item .item-right ul.capacity {
  list-style: none;
  padding: 0;
  margin: 0;
}

.show-rooms .item .item-right ul.capacity li {
  float: left;
  position: relative;
  padding: 3px;
  color: #555;
  margin-right: 15px;
}

.show-rooms .list-policy .cancellation {
  color: #6F7977;
}

.show-rooms .list-policy .breakfast {
  color: #65BB78;
}

.show-rooms .list-policy .confirmation {
  color: #6F7977;
}

.show-rooms .list-policy .confirmation {
  color: #EE8936;
}

.show-rooms .list-policy .invoice {
  color: #FF3383;
}

.show-rooms .item .item-right .info-room {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

.show-rooms .item .item-right .include {
  background-color: #f0f8f0;
  /* Màu nền xanh nhạt */
  padding: 10px;
  border-left: 4px solid #4CAF50;
  /* Đường kẻ bên trái màu xanh lá */
  border-radius: 5px;
  /* Bo tròn góc */
  margin-bottom: 10px;
  color: #333;
}

.show-rooms .item .item-right .include h6 {
  font-weight: bold;
  /* Chữ đậm */
  color: #333;
  /* Màu chữ đen */
}

/*end input search*/
.head-hotel .bg-item {
  background: #F7FAFC;
}

.row.custom {
  display: flex;
}

.gallery-container {
  display: flex;
  width: 100%;
  gap: 4px;
  margin-bottom: 15px;
}

.gallery-container .left-column {
  flex: 1;
}

.gallery-container .right-column {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
}

.gallery-container .left-column img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-container .right-column img {
  width: 100%;
  height: 198px;
  /* 400px chia đều 2 ảnh, trừ đi 4px gap */
  object-fit: cover;
  border-radius: 8px;
}

.detail .row.slider-mobile {
  display: none;
}

@media(max-width:768px) {
  .detail .row.slider-mobile {
    display: block;
  }

  .slider-container.head-quater .main-image {
    width: 100%;
    height: 200px !important;
  }

  .head-hotel .row.custom {
    display: none;
  }
}

.jss319 {
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 0px;
  max-height: calc(3* 2.2em);
}

.jss356 {
  display: flex;
  margin-right: 10px;
  flex-direction: row;
}

.jss357 {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}

.jss360 {
  width: 100%;
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  text-align: start;
  margin-left: 5px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.head-hotel .flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
}

.head-hotel .col-left {
  flex: 1;
  text-align: left;
}

.head-hotel .col-right {
  flex: 1;
  text-align: right;
}

/*.head-hotel .col-left, .head-hotel .col-right {
  display: inline-block;
  width: 49%;
  vertical-align: middle;
  margin-bottom: 15px;
}

.head-hotel .col-left {
  text-align: left;
}

.head-hotel .col-right {
  text-align: right;
}*/

.container-item {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.container-item.visible {
  display: none;
}

@media (max-width: 768px) {
  label.local {
    display: none;
  }

  .container-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 3px 0px;
  }

  .container-item.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    position: relative;
  }

  .row-item {
    display: flex;
    width: 100%;
  }

  .row-item .item {
    text-align: center;
    margin: 10px 0;
    width: 100%;
  }

  .column-30 {
    flex: 0 0 30%;
  }

  .column-20 {
    flex: 0 0 20%;
  }

  .item h4 {
    font-size: 14px;
    color: #888;
    margin: 0;
  }

  .item .date {
    font-size: 14px;
    font-weight: bold;
    color: #ff3366;
    margin: 5px 0;
  }

  .item .edit {
    font-size: 14px;
    color: #1e90ff;
    cursor: pointer;
    text-decoration: none;
  }

  .divider {
    width: 100%;
    height: 1px;
    background-color: #ddd;
  }
}

#popup-guest-booking {
  display: none;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin: 5px 0px;
}

#popup-guest-booking.active {
  display: block;
}

.list-categories {
  color: #fff;
}

.list-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-categories ul li {
  padding: 5px 15px;
}

#suggestion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #f0f0f0;
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  background: white;
  width: 100%;
  z-index: 1000;
  top: 40px;
}

#suggestion-list li {
  padding: 8px;
  cursor: pointer;
}

#suggestion-list li:hover {
  background: #f0f0f0;
}

.jss122 {
  width: 36px;
  border: 1px solid #CBD5E0;
  height: 36px;
  margin: 0px auto;
  display: flex;
  align-items: center;
  border-radius: 100px;
  justify-content: center;
}

.form-group-custom.hidden-mobile.checkin {
  border-right: none;
}

.form-group-custom.hidden-mobile.amount-days {
  min-width: 45px;
  max-width: 50px;
  border-right: none;
}

.hidden-list-box {
  display: none !important;
}

.hidden-list-box.show {
  display: block !important;
}

ul.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline;
}

ul.list-check li {
  padding: 0px 3px;
  float: left;
}

.instant_confirmation {
  width: 50px;
  padding: 3px;
  margin-left: 5px;
}

.popup-wrapper {
  position: relative;
  margin-bottom: 5px;
}

.popup_note_capacity {
  display: none;
  /* Hidden by default */
  position: absolute;
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 9999;
  min-width: 300px;
}

.close-popup {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: red;
  position: absolute;
  top: -5px;
  right: 5px;
  cursor: pointer;
}

.close-popup:hover {
  color: red;
  /* Color on hover */
}

.slider-container {
  width: 100%;
  text-align: center;
}

.slider-container .main-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-container.head-quater .main-image {
  width: 100%;
  height: 500px;
}

.slider-container .thumbnail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.slider-container .thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  max-width: 300px;
  /* Adjust width as needed */
  scroll-behavior: smooth;
}

.slider-container.head-quater .thumbnails {
  max-width: 500px;
  /* Adjust width as needed */
}

.slider-container .thumbnails::-webkit-scrollbar {
  display: none;
}

.slider-container .thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
}

.slider-container .thumbnail:hover,
.slider-container .thumbnail.active {
  opacity: 1;
  border: 2px solid #007BFF;
}

.slider-container .prev-btn,
.slider-container .next-btn {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.slider-container .prev-btn:hover,
.slider-container .next-btn:hover {
  background-color: #0056b3;
}

.selected-border {
  border: 2px solid red !important;
  border-radius: 5px;
}

#cart-summary .viewcart ul li p {
  margin-bottom: 3px !important;
}

#cart-summary .viewcart ul li p.name {
  font-size: 14px;
  font-weight: 400;
}

#cart-summary .viewcart ul li p.booking {
  font-size: 13px;
  font-weight: 300;
}

#option-choice-form p {
  color: #333;
}

.form-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-inline label {
  white-space: nowrap;
}

.form-inline input {
  flex: 1;
}

.category-container {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
}

.category-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.amenity-list {
  list-style: none;
  padding: 0;
}

.amenity-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.amenity-item.hidden {
  display: none;
  /* Ẩn hoàn toàn item */
}

.amenity-item input {
  margin-right: 8px;
  position: relative;
  margin-top: -8px;
}

.amenity-item label {
  font-size: 16px;
  color: #555;
}

.toggle-btn {
  display: block;
  margin-top: 10px;
  padding: 5px 10px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.filter-box {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  background: #fff;
  font-family: Arial, sans-serif;
  max-width: 100%;
  margin-bottom: 15px;
}

.price-range {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.slider-container-custom {
  position: relative;
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 5px;
  margin-top: 10px;
}

.slider-range-custom {
  position: absolute;
  height: 8px;
  background: #ff5733;
  border-radius: 5px;
}

.slider-handle-custom {
  width: 18px;
  height: 18px;
  background: #ff5733;
  border: 2px solid #fff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: -5px;
  transform: translateX(-50%);
}

.price-values {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #333;
  margin-top: 10px;
}

.popup-amenity {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  z-index: 1100;
  max-width: 800px;
  min-width: 400px;
  max-height: 100%;
  padding: 5px 15px;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.slider-container-reviews {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  margin: auto;
  /*border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
}

.slider-container-reviews .list-group-item {
  position: relative;
  display: block;
  padding: 0.1rem 0.1rem;
  background-color: transparent;
  border: none;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-item {
  min-width: 100%;
  box-sizing: border-box;
  background: transparent;
  padding: 0px;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 15px;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 100;
}

.slider-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-button.prev {
  left: 10px;
}

.slider-button.next {
  right: 10px;
}

.head-hotel h3 {
  font-size: 15px;
  font-weight: 400;
}

.orderdetail-booking {
  position: relative;
  margin-top: 5px;
  padding: 5px 5px;
}

.orderdetail-booking .schedule {
  color: #333;
}

.orderdetail-booking ul.timeline {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.orderdetail-booking ul.timeline li {
  color: #333;
}

.btn-soft-danger-custom {
  display: inline;
  margin: 3px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  border-radius: 100px;
  background-color: #EDF2F7;
  color: #333;
  float: left;
}

.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-wrapper .dropdown-button {
  position: absolute;
  top: 0;
  left: 30%;
  cursor: pointer;
}

/*tool search in mobile*/
.mobile-search-box {
  display: none;
}

#popup-guest-info {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#popup-guest-info.active {
  display: block;
  opacity: 1;
}

@media screen and (max-width: 768px) {

  #popup-guest-booking {
    position: relative;
    width: 100%;
    margin: 10px auto;
    box-shadow: none;
    border-radius: 0;
  }

  .mobile-search-box {
    display: block;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    max-width: 100%;
    margin: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
  }

  .field {
    margin-bottom: 12px;
  }

  .location input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
  }

  .date-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
  }

  .date-item {
    text-align: center;
    flex: 1;
  }

  .date-item .label {
    display: block;
    font-size: 18px;
    font-weight: bold;
  }

  .date-item .sub {
    font-size: 13px;
    color: #666;
  }

  .icon {
    padding: 0 8px;
    font-size: 18px;
    color: #888;
  }

  .guest-info {
    font-size: 15px;
    color: #333;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
  }

  .search-btn {
    width: 100%;
    background-color: #ff3366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
  }
}

#popup-guest-info .control-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

#popup-guest-info .ctr-label label {
  font-size: 16px;
  color: #555;
  font-weight: 500;
}

#popup-guest-info .input-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

#popup-guest-info .input-controls button {
  width: 32px;
  height: 32px;
  font-size: 18px;
  color: #e70000;
  border: 1px solid #e70000;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

#popup-guest-info .input-controls button:hover {
  background: #ffeaea;
}

#popup-guest-info .input-controls input {
  width: 48px;
  height: 32px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

#popup-guest-info .control-group.buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

#popup-guest-info .btn-cancel {
  flex: 1;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #e70000;
  color: #e70000;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}

#popup-guest-info .btn-apply {
  flex: 1;
  padding: 10px;
  font-size: 15px;
  background: #e70000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  /*position: absolute;
  top: 0;*/
}

.tag-list li {
  padding: 0;
  border: none;
  background: none;
}

.tag-item {
  display: inline-block;
  padding: 6px 14px;
  background-color: #f0f4f8;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.tag-item:hover {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.tag-item.active-tag {
  background-color: #1d4ed8;
  color: white;
}

/* searching*/
/* Hiển thị popup khi có class này trong body */
body.typed-search-box-shown .typed-search-box {
  display: block !important;
  z-index: 1050;
}

/* Mặc định (desktop) */
form .input-search {
  position: relative;
  width: 100%;
  padding: 0.5rem 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
/* Mặc định (desktop): Ẩn nút đóng và biểu tượng tìm kiếm */
.input-wrapper-mobile .btn-close-search {
  display: none;
}
.room-list ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.edit .room-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 5px;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}
.room-item {
    padding: 0px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.room-item:hover {
    background-color: #e0e0e0;
}

.room-item.locked {
    background-color: #ffdddd;
    border-color: #ff5c5c;
    color: #a94442;
    text-decoration: line-through;
    cursor: not-allowed;
}
.room-item span.room-number {
    font-weight: 300;
    color: #333;
}
.room-item .btn-lock {
    background: transparent;
    border: none;
    color: #555;
    padding: 2px 6px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 8px;
    transition: color 0.2s;
}

.room-item.locked .btn-lock {
    color: #b94a48;
}

.room-item .btn-lock:hover {
    color: #007bff;
}
.room-checkbox {
    display: none;
}

.room-checkbox + .custom-checkbox-icon i::before {
    content: "\f3c1"; /* la-unlock */
}

.room-checkbox:checked + .custom-checkbox-icon i::before {
    content: "\f023"; /* la-lock */
}

/* Optional styling */
.room-checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.custom-checkbox-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    color: #555;
    border-radius: 6px;
    background: #f9f9f9;
    transition: background 0.3s ease;
}

.room-checkbox:checked + .custom-checkbox-icon {
    background: #d2f4dc;
}
.room-checkbox + .custom-checkbox-icon i::before {
    content: "\f09c"; /* fa-unlock */
    font-family: 'Font Awesome 5 Free'; /* hoặc 'Font Awesome 6 Free' tùy phiên bản bạn dùng */
    font-weight: 900;
}

.room-checkbox:checked + .custom-checkbox-icon i::before {
    content: "\f023"; /* fa-lock */
}

.input-time {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    margin-top: 5px;
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
}
.checkin .input-group > .form-control,
.checkout .input-group > .form-control {
    width: 100%;
}
.checked_rooms .form-control {
    padding: 0.3rem 0.8rem;
    margin-bottom: 3px;
    font-size: 0.875rem;
    height: calc(1.125rem + 1.2rem + 2px);
    border: 1px solid #e2e5ec;
    color: #898b92;
}
.z-guest-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.z-guest-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.z-guest-column {
    width: calc(100% / 3 - 10px);
    box-sizing: border-box;
}

.z-guest-label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.z-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease;
}

.z-input:focus {
    border-color: #007bff;
}

/* Optional: Nếu màn hình nhỏ hơn 400px, xuống 100% chiều ngang */
@media (max-width: 400px) {
    .z-guest-column {
        width: 30%;
    }
}


@media (max-width: 768px) {
  body.typed-search-box-shown .input-wrapper-mobile {
    position: fixed; /* hoặc fixed nếu bạn muốn nó luôn ở trên cùng */
    top: 0;
    left: 0;
    z-index: 10001;
    background: #fff;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .input-wrapper-mobile {
    display: flex;
    align-items: center;
    background: #f3f6f9;
    border-radius: 8px;
    padding: 3px 10px;
    margin-bottom: 0px;
    width: 100%;
  }

  .input-wrapper-mobile .btn-close-search {
    background: none;
    display: none;
    border: none;
    font-size: 20px;
    color: #000;
    margin-right: 8px;
    cursor: pointer;
  }

  body.typed-search-box-shown .btn-close-search {
    display: block;
  }

  .input-wrapper-mobile .search-icon-svg {
    width: 20px;
    height: 20px;
    color: #000;
  }

  .input-wrapper-mobile .input-search {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
  }

  form .typed-search-box {
    position: fixed;
    top: 3.0rem;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    padding: 1rem;
    align-items: flex-start; /* Căn các phần tử con lên trên */
    height: 100%;
    display: none;
  }

  form .typed-search-box.show {
    display: block !important;
  }
}
