/* ============================================================
   BlixoAir Hotel Section & Search Widget - Matching Reference
   ============================================================ */

/* Top Tab Switcher Attached Directly to Search Bar */
.hotel-search-card.folder-widget {
  border-top-left-radius: 0 !important;
  margin-top: 0 !important;
}


/* Hotel Search Bar Card (Matching Screenshot) */
.hotel-search-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 15;
  width: 100%;
}

.hotel-search-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.6fr 1.3fr 1.3fr 1.1fr auto;
  gap: 14px;
  align-items: center;
}

.hotel-field-col {
  position: relative;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hotel-field-col:hover {
  border-color: #94a3b8;
}

.hotel-field-col.active, .hotel-field-col:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.hotel-field-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
  pointer-events: none;
}

.hotel-field-val-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.hotel-field-val {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-field-chevron {
  font-size: 10px;
  color: #94a3b8;
  margin-left: auto;
  transition: transform 0.2s;
}

.hotel-field-icon {
  font-size: 15px;
  color: #64748b;
}

.hotel-date-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

/* Red / Coral Search Button (Matching Screenshot) */
.hotel-btn-search {
  background: #f43f5e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 28px;
  height: 58px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotel-btn-search:hover {
  background: #e11d48;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.45);
}

/* Dropdown Menus */
.hotel-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  padding: 6px;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  animation: hotelDropdownFade 0.18s ease-out;
}

@keyframes hotelDropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hotel-dd-item {
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.12s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hotel-dd-item:hover {
  background: #f1f5f9;
  color: #0284c7;
}

.hotel-dd-item.active {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

/* Hotel Cards Showcase Section (Matching Reference) */
.hotel-showcase-container {
  margin-top: 24px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  width: 100%;
}

.hotel-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hotel-filter-dropdown-wrap {
  position: relative;
}

.hotel-filter-trigger {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
}

.hotel-filter-trigger:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.hotel-filter-trigger .filter-chevron {
  font-size: 10px;
  color: #64748b;
}

/* Carousel Navigation Arrows */
.hotel-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.btn-carousel-arrow:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Horizontal Cards Carousel */
.hotel-cards-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px 14px 2px;
  scrollbar-width: none; /* Firefox */
}

.hotel-cards-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Individual Hotel Card */
.hotel-card {
  flex: 0 0 260px;
  width: 260px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.hotel-card-img-wrap {
  position: relative;
  width: 100%;
  height: 165px;
  overflow: hidden;
  background: #e2e8f0;
}

.hotel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.hotel-card:hover .hotel-card-img {
  transform: scale(1.05);
}

.hotel-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.hotel-card-body {
  padding: 14px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hotel-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  line-height: 1.3;
}

.hotel-card-stars {
  font-size: 13px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
}

.hotel-footer-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Modal Popup for Hotel Details */
.hotel-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hotel-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { transform: translateY(20px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}

.hotel-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hotel-modal-body {
  padding: 24px;
}

.hotel-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.hotel-modal-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.hotel-amenities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.hotel-amenity-pill {
  background: #f1f5f9;
  color: #334155;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.hotel-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.hotel-price-tag {
  font-size: 22px;
  font-weight: 800;
  color: #0284c7;
}

.hotel-price-unit {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.btn-book-hotel {
  background: #f43f5e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-book-hotel:hover {
  background: #e11d48;
}

@media (max-width: 900px) {
  .hotel-search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hotel-btn-col {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .hotel-search-grid {
    grid-template-columns: 1fr;
  }
  .hotel-btn-col {
    grid-column: span 1;
  }
}


.hotel-showcase-controls-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
