.hotel-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hotel-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.hotel-card-content {
  display: flex;
  padding: 0;
}

.image {
  flex: 0 0 25%;
  position: relative;
}

.hotel-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.wishlist-btn:hover {
  background: white;
  transform: scale(1.1);
}

.wishlist-btn i {
  font-size: 16px;
  color: #e74c3c;
  transition: color 0.2s ease;
}

.wishlist-btn.active i {
  color: #e74c3c;
}

.wishlist-btn:hover i {
  color: #e74c3c;
}

.info {
  flex: 0 0 55%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hotel-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.hotel-location {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.hotel-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: #ffa500;
  font-size: 20px;
}

.rating-text {
  color: #666;
  font-size: 14px;
}

.amenity-tag {
  display: inline-block;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
}

.cta {
  flex: 0 0 23%;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}

.original-price {
  color: #666;
  font-size: 14px;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.current-price {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.price-per-night {
  color: #666;
  font-size: 12px;
}

.taxes-fees {
  color: #666;
  font-size: 12px;
}

.offers-available {
  color: #0066cc;
  font-size: 12px;
}

.btn-view-deal {
  background: #0066cc;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-view-deal:hover {
  background: #0052a3;
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container.row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hotel-results {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    margin: 0 !important;
    flex: 1 !important;
  }

  #hotelResults {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hotel-card-link {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
  }

  .hotel-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
  }

  .hotel-card-content {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .image {
    flex: 0 0 35% !important;
    height: 150px !important;
    max-width: 35% !important;
    min-width: 35% !important;
  }

  .hotel-image {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 12px 0 0 12px !important;
  }

  .info {
    flex: 1 !important;
    padding: 12px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .cta {
    flex: 0 0 auto !important;
    padding: 12px !important;
    align-items: flex-end !important;
    text-align: right !important;
    min-width: 90px !important;
    max-width: 90px !important;
  }

  .filter-sidebar {
    display: none !important;
  }

  .hotel-name {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }

  .hotel-location {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }

  .hotel-rating {
    margin-bottom: 8px !important;
  }

  .stars {
    font-size: 16px !important;
  }

  .rating-text {
    font-size: 12px !important;
  }

  .amenity-tag {
    font-size: 11px !important;
    padding: 2px 6px !important;
    margin-right: 4px !important;
    margin-bottom: 2px !important;
  }

  .current-price {
    font-size: 18px !important;
  }

  .price-per-night,
  .taxes-fees,
  .offers-available {
    font-size: 11px !important;
  }
}

/* Property Search Styling */
.property-search .form-control {
  border-left: 3px solid #0066cc;
}

/* Filter Sidebar */
.filters-sidebar {
  background: white;
  /* border: 1px solid #e0e0e0; */
  border-radius: 12px;
  padding: 0;
}

.filters-sidebar h5 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.filters-sidebar h6 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.property-search h6 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.star-filters label,
.type-filters label,
.chain-filters label {
  font-size: 14px;
  color: #000 !important;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.amenity-label {
  font-size: 14px;
  color: #000 !important;
  font-weight: 400;
  line-height: 1.4;
}

.star-filters input,
.type-filters input,
.chain-filters input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #0066cc;
}

/* Map Section */
.map-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.map-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
}

.map-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.map-container {
  position: relative;
  height: 145px;
  background: #f5f5f5;
  cursor: pointer;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: end;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
}

/* Custom Width Layout */
.filter-sidebar {
  flex: 0 0 22% !important;
}

.hotel-results {
  flex: 0 0 78% !important;
}

.hotel-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hotel-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.discount-badge {
  background: #e74c3c;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}

.search-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.filters-sidebar {
  background: white;
  padding: 0;
  border-radius: 8px;
  box-shadow: none;
}

.filter-group {
  margin-bottom: 15px;
}

.price-range input[type="range"] {
  width: 100%;
  margin: 10px 0;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  color: #666;
}

.hotel-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  overflow: hidden;
  transition: transform 0.2s;
}

.hotel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hotel-card-body {
  padding: 0px;
}

.hotel-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
}

.hotel-name {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 5px;
}

.hotel-location {
  color: #666;
  margin-bottom: 10px;
}

.stars {
  color: #ffc107;
}

.hotel-price {
  font-size: 1.3em;
  font-weight: 700;
  color: #007bff;
}

.price-per-night {
  font-size: 0.9em;
  color: #666;
}

.btn-book {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-book:hover {
  background: #0056b3;
}

.btn-load-more {
  background: #f48711;
  color: white;
  border: none;
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.btn-load-more:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #e07600;
}

.btn-load-more:active:not(:disabled) {
  transform: translateY(0);
}

.btn-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-load-more .btn-spinner {
  display: inline-flex;
  align-items: center;
}

.btn-load-more .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

/* Sort Options Styling - Expedia Style */
.sort-options {
  position: relative;
}

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

.sort-button {
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
  justify-content: space-between;
}

.sort-button:hover {
  border-color: #0066cc;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.1);
}

.sort-button:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.sort-label {
  color: #6b7280;
  font-weight: 500;
}

.sort-value {
  color: #111827;
  font-weight: 600;
  flex: 1;
  text-align: left;
}

.sort-arrow {
  color: #6b7280;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.sort-button[aria-expanded="true"] .sort-arrow {
  transform: rotate(180deg);
}

.sort-menu {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 4px;
  min-width: 220px;
  background: white;
}

.sort-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
}

.sort-item:hover {
  background-color: #f3f4f6;
  color: #0C979C;
}

.sort-item.active {
  background-color: #eff6ff;
  color: #0C979C;
  font-weight: 600;
  position: relative;
}

.sort-item.active::after {
  content: "✓";
  position: absolute;
  right: 16px;
  color: #0C979C;
  font-weight: bold;
}

/* Search Form Styles */
.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 7px;
  right: 0;
  text-align: left;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 2px;
  width: 97%;
}

.suggestion-category-header {
  padding: 12px 16px 8px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.suggestion-category-header:first-child {
  border-top: none;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.suggestion-item:hover {
  background: #f8f9fa;
  color: #0c979c;
}

.suggestion-item .suggestion-label-main {
  font-weight: 600;
  color: #1a1a1a;
}

.suggestion-item .suggestion-label-sub {
  font-size: 12px;
  color: #6c757d;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item i {
  color: #6c757d;
  font-size: 16px;
  width: 16px;
  flex-shrink: 0;
}

.suggestion-city {
  color: #0066cc;
  font-weight: 500;
}

.suggestion-hotel {
  color: #000;
  font-weight: 400;
}

.suggestion-region {
  color: #000;
  font-weight: 400;
}

.suggestion-airport {
  color: #000;
  font-weight: 500;
}

.suggestion-poi {
  color: #000;
  font-weight: 500;
}

.suggestion-hotel:hover,
.suggestion-region:hover {
  color: #f48711;
}

.calendar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0;
  z-index: 1000;
  display: none;
  margin-top: 8px;
}

.calendar-container {
  display: flex;
  gap: 20px;
  padding: 24px;
}

.calendar-month {
  min-width: 280px;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-header {
  font-weight: 600;
  font-size: 16px;
}

.nav-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  color: #f48711;
}

.nav-btn:hover {
  color: #f48711;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.calendar-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  padding: 8px 0;
}

.calendar-day {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  margin: 0;
  transition: all 0.2s;
}

.calendar-day:hover:not(.disabled) {
  background: #ffeee0;
  color: #f48711;
  border-radius: 50%;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.in-range {
  background: #ffeee0;
}

.calendar-day.start-date {
  background: #f48711 !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 50% 0 0 50% !important;
}

.calendar-day.end-date {
  background: #f48711 !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 0 50% 50% 0 !important;
}

.calendar-day.single-date {
  background: #f48711 !important;
  color: white !important;
  border-radius: 50% !important;
  font-weight: 600 !important;
}

/* Mobile Suggestions Dropdown */
@media (max-width: 768px) {
  .suggestions-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 10px !important;
    right: 10px !important;
    text-align: left !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    border-top: none !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    margin-top: 0 !important;
    width: auto !important;
  }
}

/* Mobile Calendar Responsive */
@media (max-width: 768px) {
  .calendar-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    margin-top: 0;
    z-index: 9999;
    overflow-y: auto;
    max-height: 85vh;
  }

  .calendar-container {
    flex-direction: column;
    padding: 12px;
    gap: 8px;
    min-height: auto;
    padding-top: 35px;
    padding-bottom: 40px;
  }

  .calendar-month {
    min-width: auto;
  }

  .calendar-dropdown::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    z-index: 1;
  }

  .calendar-dropdown::after {
    content: "✕";
    position: fixed;
    top: 12px;
    right: 16px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    z-index: 2;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
  }

  .calendar-day {
    height: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin: 0;
  }

  .calendar-header {
    font-size: 16px;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .calendar-nav {
    margin-bottom: 12px;
  }

  .calendar-grid {
    gap: 0;
  }

  .calendar-weekday {
    padding: 6px 2px;
    font-size: 11px;
  }
}

/* Tablet Calendar Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .calendar-container {
    gap: 24px;
    padding: 20px;
  }

  .calendar-month {
    min-width: 240px;
  }

  .calendar-day {
    min-height: 42px;
  }
}

/* Large Screen Calendar Styles */
@media (min-width: 1200px) {
  .calendar-container {
    gap: 40px;
  }

  .calendar-month {
    min-width: 320px;
  }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .calendar-day {
    width: 40px;
    height: 40px;
    min-height: 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-btn {
    min-width: 48px;
    min-height: 48px;
  }

  .calendar-day:active {
    background-color: #ffeee0;
    transform: scale(0.95);
  }
}

/* Accessibility improvements */
.calendar-day:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

.nav-btn:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

.travelers-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  margin-top: 8px;
}

.room-section {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.room-section:last-child {
  border-bottom: none;
}

.btn-counter {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-counter:hover:not(:disabled) {
  border-color: #0066cc;
  color: #0066cc;
}

.btn-counter:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: #fff;
  width: 8px;
  height: 8px;
}

.carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: #fff;
  width: 8px;
  height: 8px;
}

.carousel-indicators [data-bs-target]:nth-child(n + 4) {
  display: none;
}

.carousel-indicators [data-bs-target]:nth-child(1),
.carousel-indicators [data-bs-target]:nth-child(2),
.carousel-indicators [data-bs-target]:nth-child(3) {
  display: inline-block !important;
}

.rating-filters,
.board-filters,
.rate-filters,
.amenities-filters {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.amenity-label {
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #000 !important;
  font-weight: 400;
  line-height: 1.4;
}

.amenity-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #0066cc;
}

/* Amenities Grid Layout */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.amenity-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  text-align: center;
  min-height: 80px;
  justify-content: center;
}

.amenity-box:hover {
  border-color: #f48711;
  background: #fff7f0;
}

.amenity-box input[type="checkbox"] {
  display: none;
}

.amenity-box input[type="checkbox"]:checked+.amenity-content {
  color: #f48711;
}

.amenity-box input[type="checkbox"]:checked+.amenity-content .amenity-icon {
  color: #f48711;
}

.amenity-box.checked {
  border-color: #f48711;
  background: #fff7f0;
}

.amenity-box.checked .amenity-content {
  color: #f48711;
}

.amenity-box.checked .amenity-icon {
  color: #f48711;
}

.amenity-box.checked .amenity-text {
  color: #f48711;
  font-weight: 600;
}

.amenity-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.amenity-icon {
  font-size: 20px;
  color: #666;
  transition: color 0.2s ease;
}

.amenity-text {
  font-size: 12px;
  color: #333;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  padding: 2px 7px;
}

.amenity-text {
  flex: 1;
  line-height: 1.4;
}

.mobile-buttons-container {
  display: flex;
  gap: 10px;
  margin: 15px 0;
  padding: 0 15px;
}

.filter-btn {
  background-color: transparent;
  color: #000;
  border: 2px solid #0c979c;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.filter-btn:hover {
  background-color: #0c979c;
  color: #ffffff;
  border-radius: 20px;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(12, 151, 156, 0.35);
}

.filter-btn:active {
  transform: scale(0.98);
}

.mobile-filter-btn,
.mobile-sort-btn,
.mobile-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0c979c;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  flex: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
}

.mobile-filter-btn:hover,
.mobile-sort-btn:hover,
.mobile-map-btn:hover {
  background: #0c979c;
  transform: translateY(-1px);
}

.mobile-filters-overlay,
.mobile-sort-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.mobile-filters-content,
.mobile-sort-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px 16px 0 0;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-filters-header,
.mobile-sort-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.mobile-filters-header h5,
.mobile-sort-header h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.close-filters-btn,
.close-sort-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.close-filters-btn:hover,
.close-sort-btn:hover {
  background: #f0f0f0;
}

.mobile-filters-body {
  padding: 20px;
}

.mobile-sort-body {
  padding: 0;
}

.sort-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sort-option:hover {
  background: #f8f9fa;
}

.sort-option:last-child {
  border-bottom: none;
}

.sort-option span {
  font-size: 16px;
  color: #1a1a1a;
}

.sort-option i {
  color: #f48711;
  font-size: 18px;
}

.mobile-filters-body h5 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.mobile-filters-body h6 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.mobile-filters-body .property-search h6 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.mobile-filters-body .star-filters label,
.mobile-filters-body .type-filters label {
  font-size: 14px;
  color: #000 !important;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mobile-filters-body .amenity-label {
  font-size: 14px;
  color: #000 !important;
  font-weight: 400;
  line-height: 1.4;
  display: flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Mobile Star Rating Filter Styles - Removed to show text labels */
.mobile-filters-body .star-filters input,
.mobile-filters-body .type-filters input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #0066cc;
}

.mobile-filters-body .amenity-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #0066cc;
}

.mobile-filters-body .property-search .form-control {
  border-left: 3px solid #0066cc;
}

.mobile-filters-body .filter-group {
  margin-bottom: 15px;
}

.mobile-filters-body .amenities-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-filters-body .amenity-text {
  flex: 1;
  line-height: 1.4;
}

/* Child Age Selector Styles */
.child-age-wrapper {
  position: relative;
}

.child-age-wrapper select {
  height: 36px;
  padding: 10px 6px 0px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: #fff;
  appearance: none;
  cursor: pointer;
}

.child-age-wrapper label {
  position: absolute;
  top: 4px;
  left: 12px;
  font-size: 11px;
  color: #6b7280;
  pointer-events: none;
  line-height: 1;
}

.child-age-wrapper::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 60%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #6b7280;
  pointer-events: none;
}

.child-age-wrapper select:focus {
  border-color: #F48711;
  outline: none;
}

/* Override for children age selects to allow gaps */
#hotelSearchForm .children-age-selects.row.g-2>[class*="col-"] {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

#hotelSearchForm .children-age-selects.row.g-3>[class*="col-"] {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-buttons-container {
    display: flex;
  }

  .btn-load-more {
    max-width: 280px;
    margin: 0 auto;
    padding: 12px 32px;
    font-size: 14px;
    border-radius: 25px;
  }

  #loadMoreContainer,
  #mobileLoadMoreContainer {
    margin: 20px 0;
    padding: 0 30px;
  }
}

/* Mobile Hotel Cards */
/* Desktop-specific styles */
@media (min-width: 769px) {
  .hotel-card {
    min-height: 220px;
  }

  .hotel-card-content {
    min-height: 220px;
  }

  .image {
    max-height: 220px;
    overflow: hidden;
  }

  .hotel-image {
    height: 220px;
    max-height: 220px;
  }

  .cta {
    flex: 0 0 20%;
    padding: 20px 10px;
    min-width: 0;
    overflow: hidden;
  }

  .info {
    min-width: 0;
    overflow: hidden;
  }

  .hotel-card-link:hover .hotel-name {
    text-decoration: underline;
    color: #1a1a1a !important;
    text-decoration-color: #1a1a1a;
  }
}

.mobile-hotel-container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.mobile-hotel-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  /* margin: 0 15px 15px 15px; */
  margin: 5px 10px;
}

.mobile-hotel-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-hotel-card-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.mobile-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.mobile-image {
  flex: 0 0 35%;
  position: relative;
  align-self: stretch;
}

.mobile-image img,
.mobile-image .mobile-hotel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
}

/* Mobile Carousel Styles */
.mobile-image .carousel {
  height: 100%;
}

.mobile-image .carousel-inner {
  height: 100%;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.mobile-image .carousel-item {
  height: 100%;
}

.mobile-image .carousel-control-prev,
.mobile-image .carousel-control-next {
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.mobile-image .carousel-control-prev {
  left: 8px;
}

.mobile-image .carousel-control-next {
  right: 8px;
}

.mobile-image .carousel-control-prev-icon,
.mobile-image .carousel-control-next-icon {
  width: 12px;
  height: 12px;
}

.mobile-image .carousel-indicators {
  bottom: 8px;
  margin-bottom: 0;
}

.mobile-image .carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 0 2px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  opacity: 1;
}

.mobile-image .carousel-indicators .active {
  background-color: #fff;
  width: 6px;
  height: 6px;
}

.mobile-info {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-cta {
  flex: 0 0 auto;
  padding: 12px;
  padding-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  align-self: flex-end;
}

.mobile-hotel-card .hotel-name {
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.mobile-hotel-card .hotel-location {
  font-size: 13px;
  margin-bottom: 6px;
  word-break: break-word;
}

.mobile-hotel-card .hotel-rating {
  margin-bottom: 5px;
}

.mobile-hotel-card .rating-text {
  font-size: 12px;
}

.mobile-hotel-card .amenity-tag {
  font-size: 11px;
  padding: 2px 6px;
  margin-right: 4px;
  margin-bottom: 2px;
}

.mobile-hotel-card .current-price {
  font-size: 18px;
}

.mobile-hotel-card .price-per-night,
.mobile-hotel-card .taxes-fees,
.mobile-hotel-card .offers-available {
  font-size: 11px;
}

/* Skeleton Loading Styles */
.skeleton-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-line {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-badge {
  display: inline-block;
  width: 100px;
  height: 24px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 12px;
  margin-right: 8px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Mobile CTA - Hide availability button, show only price */
@media (max-width: 768px) {
  .btn-see-availability {
    display: none !important;
  }
}

.btn-see-availability {
  background: #f48711;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-container {
  width: 100% !important;
}

/* Policy Badges */
.policy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.policy-badges .badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

/* Free Cancellation - Green */
.policy-badges .bg-success {
  background-color: #10b981 !important;
  color: white !important;
}

/* Non-refundable - Orange/Amber */
.policy-badges .bg-warning {
  background-color: #f48711 !important;
  color: white !important;
}

/* Board Description - Blue */
.policy-badges .bg-info {
  background-color: #0066cc !important;
  color: white !important;
}

/* Additional badge colors for future use */
.policy-badges .bg-primary {
  background-color: #0066cc !important;
  color: white !important;
}

.policy-badges .bg-secondary {
  background-color: #6b7280 !important;
  color: white !important;
}

.policy-badges .bg-danger {
  background-color: #ef4444 !important;
  color: white !important;
}

.hotel-name {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Price Filter Styles */
.price-filter-container {
  padding: 0;
}

.price-range-slider {
  margin-bottom: 16px;
}

.price-range-slider .form-range {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-inputs .form-control {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.price-inputs .form-control:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
  outline: none;
}

.price-inputs .form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

/* Dual Range Slider Styles */
.dual-range-slider {
  position: relative;
  height: 20px;
  margin: 10px 0;
}

.dual-range-slider::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 6px;
  background: #ff6b35;
  border-radius: 3px;
  z-index: 1;
}

.dual-range-slider input[type="range"] {
  position: absolute;
  left: -3px;
  right: -3px;
  width: auto;
  height: 20px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  padding: 0;
}

.dual-range-slider input[type="range"]::-webkit-slider-track {
  height: 6px;
  background: transparent;
  border-radius: 3px;
  border: none;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ff6b35;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
  position: relative;
  z-index: 2;
  margin-top: -7px;
}

.dual-range-slider input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
  border-radius: 3px;
  border: none;
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ff6b35;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
  position: relative;
  z-index: 3;
}

.dual-range-slider input[type="range"]:focus::-webkit-slider-thumb {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.dual-range-slider input[type="range"]:focus::-moz-range-thumb {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.dual-range-slider input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.1);
}

.dual-range-slider input[type="range"]:active::-moz-range-thumb {
  transform: scale(1.1);
}

/* Mobile price filter adjustments */
@media (max-width: 768px) {

  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .row {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Fix search form elements */
  .search-box {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #hotelSearchForm {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Fix suggestions dropdown for mobile */
  .suggestions-dropdown {
    position: fixed !important;
    top: auto !important;
    left: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    z-index: 999999 !important;
    display: none;
    max-height: 50vh !important;
    overflow-y: auto !important;
    margin-top: 2px !important;
  }

  /* Calendar dropdown for mobile */
  .calendar-dropdown {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 95vw !important;
    max-width: 400px !important;
    height: auto !important;
    max-height: 85vh !important;
    z-index: 999999 !important;
  }

  /* Travelers dropdown for mobile */
  .travelers-dropdown {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 95vw !important;
    max-width: 400px !important;
    height: auto !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
  }

  .hotel-input-field {
    position: relative !important;
    z-index: auto !important;
  }

  .date-input-field {
    position: relative !important;
    z-index: auto !important;
  }

  .guest-input-field {
    position: relative !important;
    z-index: auto !important;
  }

  /* Fix calendar dropdown width */
  .calendar-month {
    min-width: auto !important;
    width: 100% !important;
  }

  /* Fix sort button width */
  .sort-button {
    min-width: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .price-filter-container {
    padding: 0;
  }

  .price-range-slider .form-range::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  .price-range-slider .form-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  .price-inputs .form-control {
    padding: 10px 12px;
    font-size: 16px;
  }
}

/* Tablet Responsiveness - More specific breakpoints */
@media (min-width: 769px) and (max-width: 820px) {
  .filter-sidebar {
    flex: 0 0 32% !important;
  }

  .hotel-results {
    flex: 0 0 68% !important;
  }

  .hotel-card {
    min-height: 180px;
  }

  .image {
    flex: 0 0 35%;
  }

  .info {
    flex: 0 0 45%;
    padding: 14px;
  }

  .cta {
    flex: 0 0 20%;
    padding: 14px 6px;
  }

  .hotel-name {
    font-size: 15px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .amenity-box {
    min-height: 60px;
  }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .filter-sidebar {
    flex: 0 0 28% !important;
  }

  .hotel-results {
    flex: 0 0 72% !important;
  }

  .hotel-card {
    min-height: 200px;
  }

  .image {
    flex: 0 0 30%;
  }

  .info {
    flex: 0 0 50%;
    padding: 16px;
  }

  .cta {
    flex: 0 0 20%;
    padding: 16px 8px;
  }
}

/* Disabled dates from previous/next months */
.calendar-day.prev-month,
.calendar-day.next-month {
  color: #ccc;
  cursor: not-allowed;
  font-weight: 500;
}

.calendar-day.prev-month:hover,
.calendar-day.next-month:hover {
  background: transparent;
  color: #ddd;
}

.btn-search {
  background: #f48711 !important;
  border-color: #f48711 !important;
  color: white !important;
  border: none;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-search:hover {
  background: #e07600 !important;
  border-color: #e07600 !important;
  color: white !important;
}