/* ============================================ */
/* details */
/* ============================================ */
.input_box {
  margin-top: -30px;
}

.input_container {
  background-color: var(--page_color);
  padding: 5px 0;
  border-radius: 10px;
}

.inputs_btn button {
  font-size: 30px;
  width: 100%;
}
.details_img {
  overflow: hidden;
  height: 70vh;
  border-radius: 15px;
  margin-top: 20px;
}
.details_img img {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}
.details_svg {
  color: #5ce1e6;
  width: 25px;
  margin: 10px;
}
.carousel-item {
  overflow: hidden;
  height: 70vh;
  border-radius: 15px;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Details Left Section Styles */
.details_left {
  position: sticky;
  top: 100px;
}

.details-book-btn {
  background-color: var(--page_color) !important;
  color: #000 !important;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
}
.details-book-btn:hover {
  background-color: var(--accent_color) !important;
  color: #fff !important;
}

.details-icon-btn {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  padding: 0;
  cursor: pointer !important;
}

.details-icon-btn:hover {
  background-color: #f5f5f5;
  color: #003580;
}
.share-dropdown {
  transform: none !important;
  margin-top: 60px !important;
  right: -150% !important;
  width: fit-content !important;
}
.red-heart {
  color: var(--red_color);
}

.details-price-match {
  background-color: #f0f6ff;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #003580;
  font-weight: 600;
  font-size: 0.9rem;
}

.details-price-match i {
  font-size: 1.2rem;
}

.details-review-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.details-rating-badge {
  background-color: var(--page_color);
  color: #000;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 70px;
  text-align: center;
}

.details-review-card h4 {
  color: #000;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
}

.details-review-card h5 {
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.details-review-text {
  background-color: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
  border-right: 4px solid #003580;
}

.details-review-text p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.details-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.details-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.details-rating-small {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 700;
  color: #000;
  font-size: 0.9rem;
}

.details-map-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.details-map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
}

.details-map-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #003580 !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.details-map-btn:hover {
  background-color: #004494 !important;
}

@media (max-width: 1199.98px) {
  .details_left {
    position: relative;
    top: 0;
    margin-top: 30px;
  }
}

.details_left_card {
  padding: 10px;
  margin-top: 20px;
  width: 100%;
  background-color: var(--page_opa);
  border-radius: 10px;
}
.last_btn {
  background-color: #fff;
}

/* ======================================================= */

/* ================= Guest Reviews Section ================= */

.client-rating-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Section title */
.client-rating-card h2 {
  font-weight: 700;
  color: #1e3a8a;
}

/* Overall rating badge */
.client-rating-badge-large {
  width: 72px;
  height: 72px;
  background: var(--page_color);
  color: #000;
  font-size: 24px;
  font-weight: 700;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rating text */
.client-rating-card h3 {
  color: #0f172a;
  font-weight: 600;
}

/* ================= Category Ratings ================= */

.rating-category-item {
  background: #f8fafc;
  padding: 16px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.rating-category-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.rating-value {
  font-weight: 600;
  color: #2563eb;
}

/* Progress bar */
.rating-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 20px;
}

/* ================= Guest Review Cards ================= */

.guest-review-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.guest-review-card:hover {
  transform: translateY(-6px);
}

/* Avatar */
.guest-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}

.guest-avatar-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Flag */
.guest-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

/* Review text */
.guest-review-text {
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

/* Links */
.guest-review-card a {
  font-weight: 500;
}

.guest-review-card a:hover {
  text-decoration: underline;
}

/* ================= Swiper Pagination ================= */

.swiper-pagination-bullet {
  background: #cbd5f5;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #2563eb;
}

/* ================= Button ================= */

.client-rating-card .btn-primary {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border: none;
  padding: 10px 28px;
  border-radius: 12px;
  font-weight: 600;
}

.client-rating-card .btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

/* ================================== */
/* details table */
/* ================================== */

.availability-section {
  direction: rtl;
  background: #fff;
  padding: 24px;
  font-family: "Segoe UI", Tahoma;
}

/* SEARCH */
.availability-search {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-item {
  flex: 1;
  border: 2px solid #febb02;
  padding: 12px;
  border-radius: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-btn {
  background: #0071c2;
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 6px;
}

/* TABLE */
.availability-table {
  border: 1px solid #ddd;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2fr 1fr;
}

.table-header {
  background: #4f76ad;
  color: #fff;
  font-weight: bold;
  padding: 14px 10px;
}

.table-header div {
  padding: 0 10px;
}

.table-row {
  border-top: 1px solid #ddd;
}

.table-row > div {
  padding: 16px;
  border-left: 1px solid #eee;
}

/* ROOM */
.room-info a {
  color: #0071c2;
  font-weight: bold;
  text-decoration: none;
}

.availability {
  color: red;
  font-size: 14px;
}

.room-features {
  padding: 0;
  list-style: none;
  font-size: 14px;
}

/* GUESTS */
.guests i {
  font-size: 20px;
}

/* PRICE */
.price-box h4 {
  color: #008009;
  margin: 5px 0;
}

.old-price {
  text-decoration: line-through;
  color: red;
  font-size: 14px;
}

.discount {
  background: #008009;
  color: #fff;
  padding: 4px 8px;
  font-size: 13px;
  border-radius: 4px;
}

/* OPTIONS */
.options p {
  margin: 4px 0;
  font-size: 14px;
}

.ok {
  color: #008009;
}

.no {
  color: #d4111e;
}

/* SELECT */
.select-room select {
  width: 100%;
  padding: 6px;
}

.book-btn {
  width: 100%;
  margin-top: 10px;
  background: #0071c2;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
}

.note {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}