.hotel-detail-page {
  min-height: 100vh;
}

.overlayFix2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-gallery img:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.rate-option:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #e67e22 !important;
  transition: background 0.3s ease;
}

.hotel-info-card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.room-section {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .image-gallery {
    justify-content: center;
  }
  
  .image-gallery img {
    width: 60px;
    height: 45px;
  }
  
  .main-image img {
    height: 250px !important;
  }
  
  .price-section {
    text-align: center !important;
    margin-top: 15px;
  }

  .booking-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
  }

  .booking-bar .btn-primary {
    flex: 1 1 100%;
    width: 100%;
  }
}

.room-index-title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0px;
}

.no-rooms-message {
  margin: 24px 0 32px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
}

.no-rooms-message p {
  margin: 0;
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.booking-bar {
    align-items: center;
    justify-content: space-between;    
    padding: 12px 12px;
    text-align: right;
}

.booking-bar div {
  font-size: 16px;
  color: #333;  
}

.booking-bar div strong {
  margin-right: 6px;
}

.booking-bar #totalPrice {
  font-size: 18px;
  font-weight: 500;
  color: #f58220;
  margin-right: 2px;
}

.booking-bar .btn-primary {
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 500;
  background: #f58220;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.booking-bar .btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* AI Chat */
.hotel-question-box {
  display: flex;
  flex-direction: column;
}

.ai-chat-messages {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 2px;
}

.ai-msg-user {
  align-self: flex-end;
  background: #f58220;
  color: #fff;
  border-radius: 12px 12px 2px 12px;
  padding: 8px 14px;
  font-size: 14px;
  max-width: 85%;
  line-height: 1.5;
}

.ai-msg-ai {
  align-self: flex-start;
  background: #f1f1f1;
  color: #333;
  border-radius: 12px 12px 12px 2px;
  padding: 8px 14px;
  font-size: 14px;
  max-width: 85%;
  line-height: 1.5;
}

.ai-thinking {
  color: #f58220;
  background: transparent;
  font-style: italic;
  padding: 4px 0;
}

.policy-html-content {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.policy-html-block {
  margin-bottom: 8px;
}

.policy-html-content ul,
.policy-html-content ol {
  margin: 8px 0;
  padding-left: 22px;
  list-style-position: outside;
}

.policy-html-content ul {
  list-style-type: disc;
}

.policy-html-content ol {
  list-style-type: decimal;
}

.policy-html-content li {
  margin: 4px 0;
}

.policy-html-content p {
  margin: 8px 0;
}

#hdPolicyModal .hd-policy-table {
  width: 100%;
  border-collapse: collapse;
}

#hdPolicyModal .hd-policy-table th {
  background: #001848;
  color: #fff;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
}

#hdPolicyModal .hd-policy-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

#hdPolicyModal .close-btn,
#hdDescPopup .close-btn,
#hdAmenitiesPopup .close-btn {
  position: static !important;
  top: auto !important;
  width: 32px;
  height: 32px;
  margin: 0 !important;
  background-color: #e53935;
  color: #fff;
  font-size: 22px !important;
  font-weight: 600;
  border-radius: 6px !important;
  line-height: 32px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

@keyframes hd-skel-wave {
  0% { background-position: -420px 0; }
  100% { background-position: 420px 0; }
}

.hd-skel-block,
.hd-skel-line {
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 45%, #ececec 80%);
  background-size: 840px 100%;
  animation: hd-skel-wave 1.35s ease-in-out infinite;
}

.hd-skel-block {
  border-radius: 8px;
}

.hd-skel-line {
  height: 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.hd-skel-title {
  height: 26px;
  width: 42%;
}

.hd-skel-sub {
  width: 68%;
}

.hd-skel-stars {
  width: 150px;
  height: 16px;
}

.hd-skel-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 45%, #ececec 80%);
  background-size: 840px 100%;
  animation: hd-skel-wave 1.35s ease-in-out infinite;
}

.hd-skel-gallery .hotel-main-img,
.hd-skel-gallery .hotel-gallery-list li {
  background: #ececec;
}

.hd-skel-gallery .hotel-gallery-list li:nth-child(6)::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

.hd-skel-gallery .hotel-main-img .hd-skel-img {
  border-radius: 0;
}

.hd-skel-table {
  margin-bottom: 28px;
}

.hd-skel-thead,
.hd-skel-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 0.7fr;
  gap: 12px;
  align-items: center;
}

.hd-skel-thead {
  margin: 12px 0 8px;
}

.hd-skel-row {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.hd-skel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hd-skel-pill {
  width: 88px;
  height: 14px;
  display: inline-block;
}

.hd-skel-chat {
  height: 120px;
  margin: 12px 0;
}

@media (max-width: 768px) {
  .hd-skel-thead {
    display: none;
  }

  .hd-skel-row {
    grid-template-columns: 1fr 1fr;
  }

  .hd-skel-title {
    width: 70%;
  }

  .hd-skel-sub {
    width: 90%;
  }
}
