.hotel-search-container {
  max-width: 480px;
  margin: 30px auto;
  background: #f9f9f9;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

#hotel-search-form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #333;
}

#hotel-search-form input[type="text"],
#hotel-search-form input[type="date"],
#hotel-search-form input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 14px;
}

#hotel-search-form button {
  margin-top: 20px;
  background: #0073e6;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#hotel-search-form button:hover {
  background: #005bb5;
}

.suggestion-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.suggestion-box li {
  padding: 10px;
  cursor: pointer;
}

.suggestion-box li:hover {
  background: #f1f1f1;
}
.hotel-card-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.hotel-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px 20px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.hotel-card h3 {
  margin: 0 0 8px;
  color: #0073e6;
  font-size: 18px;
}

.hotel-card p {
  margin: 4px 0;
  color: #555;
  font-size: 14px;
}
.hotel-card .check-price-btn {
  margin-top: 10px;
  background: #28a745;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.hotel-card .price-list {
  margin-top: 10px;
  list-style: none;
  padding-left: 0;
}
.book-now-btn {
  margin-top: 8px;
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}
.book-now-btn:hover {
  background: #0056b3;
}

.hotel-search-wrapper {
  background: linear-gradient(to right, #e8f4ff, #fffce1);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 100%;
  overflow-x: auto;
}

#hotel-search-form-inline-modern {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: wrap;
  font-family: 'Segoe UI', sans-serif;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 150px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #5a4400;
}

.form-group input {
  padding: 10px 10px 10px 35px;
  border-radius: 6px;
  font-size: 14px;
  color: #222;
  font-weight: bold;
}

.icon-input i {
  position: absolute;
  top: 34px;
  left: 10px;
  color: #888;
  pointer-events: none;
}

.search-btn {
  padding: 11px 24px;
  background: #2daeff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  height: 42px;
}


.hotel-search-wrapper {
  background: linear-gradient(to right, #e8f4ff, #fffce1);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 100%;
  overflow-x: auto;
  /* ✅ REMOVE overflow clipping that hides absolute elements */
  overflow: visible; 
  position: relative;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative; /* ✅ Ensure suggestion box is positioned relative to this */
  min-width: 150px;
}

/* ✅ Updated suggestion box to fit input and show properly */
.suggestion-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999; /* increase z-index for safety */
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#booking-response pre {
  background: #f8f8f8;
  padding: 10px;
  border: 1px dashed #ccc;
  margin-top: 10px;
  font-size: 13px;
}
.afs-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.afs-modal {
  background: #fff;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', sans-serif;
  position: relative;
}

.afs-close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

#afs-confirm-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

#afs-confirm-label {
  font-weight: bold;
}

#afs-confirm-row {
  margin-bottom: 10px;
}
.hotel-checkout-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.hotel-checkout-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

#hotel-booking-form label {
    font-weight: 600;
    display: block;
    margin: 15px 0 5px;
    color: #222;
}

#hotel-booking-form input,
#hotel-booking-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.booking-submit-btn {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    background-color: #0073aa;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.booking-submit-btn:hover {
    background-color: #005e8a;
}

#booking-response {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
}
.afs-booking-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.afs-booking-modal {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  font-family: 'Segoe UI', sans-serif;
}
#afs-booking-modal button {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #2271b1;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#close-booking-modal {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#close-booking-modal:hover {
  background-color: #005a87;
  transform: scale(1.02);
}

#close-booking-modal:active {
  background-color: #004a70;
  transform: scale(0.98);
}

