/* Modal maison */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 4px;
  max-width: 500px;
  width: 90%;
  padding: 1rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Bloque absolument tout clic et grise les cellules fermées */
td.disabled {
  pointer-events: none !important;
  opacity: 0.5 !important;
  cursor: default !important;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* ou 3 selon ta largeur */
  gap: 6px;
  margin-top: 1rem;
}


.slot-btn {
  flex: 0 0 calc(25% - 6px);
  padding: 0.5rem;
  text-align: center;
  border: 1px solid #ccc;
  background-color: #f8f9fa;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-btn:hover {
  background-color: #e2e6ea;
}

.slot-btn.selected {
  color: #fff !important;
  font-weight: bold;
}

.slot-btn.disabled {
  background-color: #dee2e6;
  color: #6c757d;
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}

#bookingForm {
  background-color: white;
}

.animal-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}