/* ------------------------------
   Booking Widget
--------------------------------*/

.booking-widget {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 95%;
  max-width: 72rem;
}

.booking-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr 1fr 1fr auto;
  }
}

.booking-cell {
  padding: 1rem 1.5rem;
}

.booking-border {
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .booking-border {
    border-bottom: none;
    border-right: 1px solid #e5e7eb;
  }
}

.booking-clickable {
  cursor: pointer;
}

.booking-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color:  #000000;
}

.booking-value {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  color:  #000000;
}

.booking-submit {
  padding: 0 2.5rem;
  background: #000;
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 0 0.75rem 0.75rem 0;
  font-size: 0.875rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.booking-submit:hover {
  background: #292828;
}

/* ------------------------------
   Guest Modal
--------------------------------*/

.guestModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guestModal.hidden {
  display: none;
}

.guestModal-box {
  background: #fff;
  padding: 1rem;
  width: 17rem;
    border-radius: 15px;
  box-shadow: 0 20px 40px  #000000;
}

.guestModal-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: capitalize;
}

.guestModal-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guestModal-fields label {
  font-size: 0.8rem;
  font-weight: 400;
  color: #000000;
  padding: 0 8px !important;
}

.guestModal-fields select {
  width: 100%;
  height: 44px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.3rem;
  margin-top:5px;
}

.guestModal-fields select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(3, 3, 3, 0.25);
}
.guestModal-actions{
  display:flex;
  justify-content: flex-end;
  gap:10px;
}
.guestModal-actions button {
  height: 40px;
  font-size: 0.875rem !important;
  font-weight: 500;
  border-radius: 0.5rem;
  margin-top: 20px;
  width:6rem;
}


.closeGuestModal {
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
}

.saveGuestSelection {
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.saveGuestSelection:hover {
  padding: 0.5rem 1rem;
  background: #292828;
  color: #fff;
  border: none;
  cursor: pointer;
}


/* ------------------------------ */

.flatpickr-calendar {
  font-family: inherit;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #000;
  border-color: #000;
}

.flatpickr-day.inRange {
  background: rgba(0, 0, 0, 0.15);
}

#booking-widget {
  overflow: visible;
  z-index: 100;
}

.booking-calendar {
  position: absolute !important;
  bottom: 100% !important; 
  top: auto !important;
  margin-bottom: 12px;
  z-index: 60;
}
.flatpickr-calendar {
    width: 618px;
    top: 1456px;
    left: 340.297px !important;
    right: auto;
}

.booking-calendar .flatpickr-day {
    background: transparent;
}

.booking-calendar .flatpickr-day.selected,
.booking-calendar .flatpickr-day.startRange,
.booking-calendar .flatpickr-day.endRange,
.booking-calendar .flatpickr-day.selected:hover,
.booking-calendar .flatpickr-day.startRange:hover,
.booking-calendar .flatpickr-day.endRange:hover,
.booking-calendar .flatpickr-day.inRange,
.booking-calendar .flatpickr-day.inRange:hover {
    background-color: #000;
    border-color: #000;
    color: white;
}

.booking-calendar .flatpickr-day.today {
    border-color: #000;
}

#booking-widget {
    display: none;
}

@media (min-width: 1024px) {
    #booking-widget {
        display: block;
        position: fixed;
    }
}
.guestModal select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: normal;
}
