.booking-interface {
  max-width: 800px;
  margin: 150px auto 100px;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.booking-interface h1 {
  font-size: 32px;
  color: #15628f;
  margin-bottom: 30px;
}

.calendar-container label {
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
  color: #333;
}

.calendar-container input[type="date"] {
  padding: 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 250px;
  margin-top: 10px;
}

.time-slot-container {
  margin-top: 40px;
}

.time-slot-container h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #15628f;
}

.time-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.time-button {
  padding: 10px 20px;
  font-size: 16px;
  background: #e0f3fa;
  border: 2px solid #15628f;
  color: #15628f;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.time-button:hover {
  background: #c6e9f5;
}

.time-button.selected {
  background: #15628f;
  color: white;
  font-weight: bold;
}

#booking-form {
  margin-top: 40px;
}

#booking-form button {
  padding: 14px 30px;
  font-size: 16px;
  background: #15628f;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#booking-form button:hover {
  background: #0e4c70;
}

@media (max-width: 600px) {
  .calendar-container input[type="date"] {
    width: 100%;
  }
  .time-buttons {
    flex-direction: column;
  }
}

#extra-fields {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 30px;
  background: #ffffff;
  border: 2px solid #e0f3fa;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#extra-fields .form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  gap: 8px;
}

#extra-fields label {
  font-size: 18px;
  color: #333;
}

#extra-fields input[type="text"],
#extra-fields input[type="tel"],
#extra-fields input[type="email"],
#extra-fields input[type="number"] {
  width: 100%;
  max-width: 400px;
  padding: 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

#extra-fields input:focus {
  border-color: #15628f;
  outline: none;
}

@media (max-width: 600px) {
  #extra-fields {
    padding: 20px;
  }

  #extra-fields input {
    width: 100%;
  }
}

/* ===== POPUP DI CONFERMA ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 90%;
}

.modal-content h2 {
  color: #15628f;
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 16px;
  color: #333;
}

.modal-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #15628f;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-btn:hover {
  background: #0e4c70;
}
