/* ------------ Response Message Styling ---------------------------  */
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  position: relative;
  animation: modalopen 0.5s;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-50px)}
  to {opacity: 1; transform: translateY(0)}
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #f44336;
}

.booking-details {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 5px;
}

.booking-details p {
  margin: 8px 0;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.past {
        color: #ccc;
}
.booked {
    background-color: #ef483a !important;
    color: #fff !important;
    cursor: not-allowed;
}
.booked-badge {
    display: block;
    font-size: 9px;
    color: white !important;
    background: #f44336;
    border-radius: 2px;
    padding: 1px 3px;
    margin-top: 2px;
}
.available {
    background-color: #e8f5e9;
    cursor: pointer;
}
.otherMonth {
    opacity: 0.5;
}
.flatpickr-day[disabled] {
    pointer-events: none;
}
