.room-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 20px;
  transition: transform 0.3s;
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-image-section {
  padding-left: 20px;
  padding-top: 20px;
}

.room-image-container {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
}

.room-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.room-card:hover .room-image-container img {
  transform: scale(1.1);
}

.room-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--brand);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.room-thumbnails {
  display: flex;
  gap: 10px;
  padding: 15px 0;
}

.room-thumbnails img {
  width: 250px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.room-thumbnails img:hover {
  transform: scale(1.1);
  padding-left: 5px;
  padding-right: 5px;
}

.room-details {
  padding: 30px;
}

.room-summary {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  margin-top: 20px;
  min-height: 120px;
  padding: 15px;
  background: #f8f9fa;
  border-left: 3px solid var(--secondaryColor);
  border-radius: 5px;
}

.room-title {
  color: var(--brand);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.room-title:hover {
  color: var(--brand);
}

.room-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: 20px;
}

.room-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
}

.star-rating {
  color: var(--secondaryColor);
  margin-bottom: 20px;
}

.room-info {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.room-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px;
  text-align: left;
  color: #666;
}

.room-info-item i {
  color: var(--secondaryColor);
}

.facilities-section-2 {
  margin: 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.facilities-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}

.facility-item i {
  color: var(--brand);
  font-size: 1.1rem;
}

.availability-status {
  color: #28a745;
  font-weight: 600;
  margin-bottom: 15px;
}

.btn-continue {
  background-color: var(--brand);
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 0px;
  margin-top: 20px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-more-rooms {
  background-color: white;
  color: var(--secondaryColor);
  padding: 12px;
  width: 100%;
  border: 1px solid var(--secondaryColor) !important;
  border-radius: 8px;
  margin-top: 20px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-check-availability {
  width: 100%;
  background: white;
  color: var(--secondaryColor);
  border: 2px solid var(--secondaryColor);
  padding: 12px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-continue:hover {
  background-color: white;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.room-capacity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-section {
    height: 300px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .booking-form {
    padding: 20px;
    margin-top: -30px;
  }

  .section-title {
    font-size: 1.8rem;
    margin: 40px 0 30px;
  }

  .room-image-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .room-image-container {
    height: 250px;
    margin-bottom: 15px;
  }

  .room-thumbnails {
    padding: 10px 0;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .room-thumbnails img {
    width: 60px;
    height: 45px;
    flex-shrink: 0;
  }

  .room-details {
    padding: 20px 15px;
  }

  .room-title {
    font-size: 1.5rem;
  }

  .room-price {
    font-size: 1.5rem;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .facility-item {
    font-size: 0.85rem;
  }

  .room-info {
    flex-direction: column;
    gap: 10px;
  }

  .room-capacity span {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .booking-form .col-md-3,
  .booking-form .col-md-2 {
    margin-bottom: 15px;
  }

  .btn-search {
    padding: 10px 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .room-summary {
    font-size: 0.9rem;
    padding: 12px;
  }
}

/* Desktop: negative margin */
.sort-container {
  margin-top: -80px;
}

.image-slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

/* Mobile: positive margin */
@media (max-width: 768px) {
  .sort-container {
    margin-top: 20px;
  }
}

.mobile-only-thumb {
  display: none;
}

/* Show only on mobile screens */
@media (max-width: 767px) {
  .mobile-only-thumb {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .image-slider img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0px;
    border-radius: 4px;
  }
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-content h3 {
  margin: 10px 0;
  font-size: 20px;
}

.loading-content p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
}

.room-subtitle {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-align: center;
  background-color: var(--brand);
}

.star-rating {
  text-align: right;
}

@media (max-width: 767px) {
  .star-rating {
    text-align: left;
  }

  .room-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-align: left;
    background-color: var(--brand);
    padding: 5px 15px;
    border-radius: 20px;
    width: 100%;
  }
}

/* Floating Selection Button */
.floating-selection-btn {
  position: fixed;
  top: 400px !important;
  right: 30px;
  background-color: var(--secondaryColor);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
  z-index: 1000;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.floating-selection-btn:hover {
  background-color: var(--brand);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.floating-selection-btn i {
  font-size: 1.5rem;
}

.floating-selection-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #dc3545;
  font-size: 0.75rem;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}

/* Selection Panel Offcanvas */
.offcanvas-custom {
  width: 450px !important;
}

.offcanvas-header {
  background: var(--secondaryColor);
  color: white;
}

.offcanvas-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.btn-close {
  filter: brightness(0) invert(1);
}

/* Selected Room Item */
.selected-room-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s;
}

.selected-room-item:hover {
  border-color: var(--secondaryColor);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.selected-room-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

/* Quantity Control */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: white;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 700;
}

.quantity-btn:hover {
  background-color: var(--brand);
  color: white;
}

.quantity-value {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 30px;
  text-align: center;
}

/* Booking Summary */
.booking-summary {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--secondaryColor);
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}

.booking-summary-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Total Section */
.total-section {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--brand);
}

.total-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
}

.total-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-color);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}

.empty-state i {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.empty-state h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Room Card Enhancements */
.btn-select-room {
  background-color: var(--secondaryColor);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 0px;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-select-room:hover {
  background-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-select-room i {
  font-size: 1.1rem;
}

/* Remove Button */
.btn-remove-room {
  background: transparent;
  border: none;
  color: #dc3545;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  padding: 5px;
}

.btn-remove-room:hover {
  color: #bb2d3b;
  transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-selection-btn {
    width: 55px;
    height: 55px;
    right: 20px;
    top: 100px;
  }

  .floating-selection-btn i {
    font-size: 1.3rem;
  }

  .offcanvas-custom {
    width: 100% !important;
  }

  .total-amount {
    font-size: 1.5rem;
  }
}

/* Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(247, 147, 30, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 147, 30, 0);
  }
}

.floating-selection-btn.has-items {
  animation: pulse 2s infinite;
}

/* Room Info Enhancement */
.room-capacity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.room-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.room-info-item i {
  color: var(--brand);
}

/* Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Modal Container */
.modal {
  display: flex;
  background: #fff;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  margin: auto;
  height: 350px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.5s ease;
}

.modal-header {
  position: relative;
  padding: 0;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Left Image Section */
.modal-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

/* Right Text Section */
.modal-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #111;
}

.btn {
  flex: 1;
  padding: 14px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-choose {
  background: #f1f1f1;
  color: #333;
}

.btn-choose:hover {
  background: #e2e2e2;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.close-btn:hover {
  background: white;
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
  .modal {
    flex-direction: column;
  }
  .modal-image {
    height: 250px;
  }
  .modal-content {
    padding: 25px;
  }
}

.floating-selection-btn.has-selection {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.floating-selection-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Offcanvas Custom Styles */
.offcanvas-custom {
  width: 450px !important;
  max-width: 90vw;
  z-index: 999999;
}

.offcanvas-custom .offcanvas-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: white;
}

.offcanvas-custom .btn-close {
  filter: invert(1);
  opacity: 1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #95a5a6;
}

.empty-state i {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-state h5 {
  color: #7f8c8d;
  margin-bottom: 10px;
}

.empty-state p {
  color: #95a5a6;
  font-size: 14px;
}

/* Booking Summary */
.booking-summary {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.booking-summary-row:last-child {
  border-bottom: none;
}

.booking-summary-row i {
  color: var(--brand);
  font-size: 16px;
}

.booking-summary-row span {
  color: #6c757d;
  font-size: 16px;
}

.booking-summary-row strong {
  color: var(--text-color);
  font-weight: 600;
}

/* Selected Room Card */
.selected-room-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 25px;
  margin-left: 10px;
  margin-right: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-top: 10px;
  display: flex;
  gap: 15px;
  position: relative;
  transition: all 0.3s ease;
}

.selected-room-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.selected-room-image {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.selected-room-details {
  flex: 1;
}

.selected-room-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color) !important;
  margin-bottom: 5px;
}

.selected-room-title a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color) !important;
  margin-bottom: 5px;
}

.selected-room-dates,
.selected-room-guests {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 5px;
}

.selected-room-dates i {
  font-size: 16px;
  color: var(--secondaryColor);
}

.selected-room-guests i {
  font-size: 16px;
  color: var(--secondaryColor);
}

.selected-room-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  flex-wrap: wrap; /* Allows flex items to wrap to next line */
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #dee2e6;
  background: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.qty-display {
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.selected-room-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 5px;
}

.btn-remove-room {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: #fee;
  color: #e74c3c;
  border-radius: 5px;
  padding: 0px;
  margin: 0px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-remove-room:hover {
  background: #e74c3c;
  color: white;
}

/* Total Section */
.total-section {
  color: white;
  border-radius: 10px;
  padding: 20px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 20px;
}

.control-buttons {
  margin-left: 10px;
  margin-right: 10px;
}

.total-section .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.total-label {
  font-size: 18px;
  font-weight: 600;
}

.total-amount {
  font-size: 24px;
  font-weight: 700;
}

.text-brand-color {
  color: var(--text-color);
}

/* Complete Booking Button */
.btn-complete-booking {
  width: 100%;
  padding: 15px;
  background: var(--secondaryColor);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-clear-booking {
  width: 100%;
  padding: 15px;
  background: var(--secondaryColor);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-complete-booking:hover {
  background: white;
  border: 2px solid var(--secondaryColor);
  color: var(--secondaryColor);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .offcanvas-custom {
    width: 100% !important;
  }

  .floating-selection-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Minimal Modal Styles */
.minimal-modal {
  max-width: 450px;
}

.minimal-modal .modal-body {
  text-align: center;
}

/* Success Modal Styles */
.success-modal .modal-body {
  text-align: center;
  padding: 40px 30px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
}
.modal-actions {
  display: flex;
  gap: 12px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 30px;
}

.success-message {
  color: #718096;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.modal-btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .modal {
    display: flex;
    background: #fff;
    border-radius: 15px;
    max-width: 800px;
    overflow: hidden;
    margin: auto;
    height: 430px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease;
  }

  .selected-room-dates {
    font-size: 15px;
  }

  .modal-actions {
    flex-direction: column;
    gap: 0px;
  }

  .modal-actions .modal-btn {
    width: 100% !important;
  }

  .btn-continue {
    margin-bottom: 0px !important;
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal Container */
.modal {
  position: relative;
  display: flex;
  background: #fff;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  overflow: hidden;
  margin: auto;
  height: 350px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.5s ease;
}

.modal-header {
  position: relative;
  padding: 0;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Left Image Section */
.modal-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

/* Right Text Section */
.modal-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #111;
}

/* Close Button - FIXED VERSION */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  /* Ensure button is clickable */
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.close-btn:hover {
  background: white;
  transform: rotate(90deg);
}

.close-btn:active {
  transform: scale(0.95);
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .modal {
    flex-direction: column;
    height: 430px;
    width: 95%;
    max-width: 95%;
  }

  .modal-image {
    height: 250px;
    min-height: 250px;
  }

  .modal-content {
    padding: 25px;
  }

  /* Make close button larger and more accessible on mobile */
  .close-btn {
    width: 48px;
    height: 48px;
    top: 12px;
    right: 12px;
    font-size: 26px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  }

  .modal-actions {
    flex-direction: column;
    gap: 0px;
  }

  .modal-actions .modal-btn {
    width: 100% !important;
  }

  .btn-continue {
    margin-bottom: 0px !important;
  }
}

/* Additional mobile touch target improvement */
@media (max-width: 576px) {
  .close-btn {
    /* Even larger touch target for small phones */
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;
  }
}

.selected-room-title a:hover {
  color: var(--text-color);
}

/* Keep guests and children on same line */
.selected-room-guests {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 5px;
}

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

.guest-separator {
  margin: 0 6px;
  color: #dee2e6;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .selected-room-guests {
    font-size: 15px;
    gap: 6px;
  }

  .selected-room-image {
    width: 100%;
    height: 170px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
  }

  .selected-room-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    transition: all 0.3s ease;
  }

  .guest-separator {
    margin: 0 4px;
    font-size: 12px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1180px) {
  .mt-tablet {
    margin-top: 40px !important;
  }
}
@media screen and (width: 820px) and (height: 1180px) {
  .mt-ipad-air {
    margin-top: 40px !important;
  }
}
