/* ==== Booking Form Container ==== */
.atg-booking-form {
  max-width: 400px;
  margin: 1.5em auto;
  padding: 25px 30px;
  background-color: #f9faf7;
  border: 1.5px solid #d1d5c8;
  border-radius: 10px;
  font-family: 'Inter', Arial, sans-serif;
  color: #374151;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 80px;
}

/* ==== Labels ==== */
.atg-booking-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #4b5563;
}

/* ==== Inputs ==== */
.atg-booking-form input[type="date"],
.atg-booking-form input[type="number"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1.8px solid #cbd5e1;
  border-radius: 8px;
  background-color: #fff;
  color: #374151;
  height: 44px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.atg-booking-form input[type="date"]::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.atg-booking-form input[type="date"]:focus,
.atg-booking-form input[type="number"]:focus {
  outline: none;
  border-color: #636b2f;
  box-shadow: 0 0 6px #94a3b8aa;
}

/* ==== Total Price ==== */
.atg-total-price {
  margin: 25px 0;
  font-weight: 700;
  font-size: 1.3rem;
  color: #636b2f;
  text-align: center;
}

/* ==== Submit Button ==== */
.atg-booking-form button[type="submit"] {
  width: 100%;
  padding: 14px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background-color: #636b2f;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.atg-booking-form button[type="submit"]:hover {
  background-color: #4f5424;
}

/* ==== Flatpickr Calendar Popup ==== */
.flatpickr-calendar {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  border: 1.5px solid #d1d5c8;
  border-radius: 12px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.9rem;
  color: #374151;
  z-index: 9999 !important;
}

.flatpickr-month,
.flatpickr-weekdays {
  color: #636b2f !important;
  font-weight: 600 !important;
}

.flatpickr-day {
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.flatpickr-day:hover:not(.flatpickr-disabled):not(.disabled) {
  background-color: #8a914c;
  color: #fff;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background-color: #636b2f !important;
  color: #fff !important;
  border-radius: 8px;
}

/* ==== Disabled days strike-through ==== */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.disabled {
  color: #a0a080 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  background: transparent !important;
  text-decoration: line-through !important;
  pointer-events: none !important;
}

.flatpickr-day.flatpickr-disabled[aria-disabled="true"],
.flatpickr-day.disabled[aria-disabled="true"] {
  text-decoration: line-through !important;
}

/* ==== Calendar input icon tweak ==== */
.atg-booking-form input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(35%) sepia(21%) saturate(559%) hue-rotate(86deg) brightness(95%) contrast(89%);
}
