/* --------- Fond général --------- */
body {
  background-color: #f5f8fc;
  font-family: 'Poppins', 'Nunito', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* --------- Titre principal --------- */
h2 {
  color: #1a73e8;
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 30px;
}

/* --------- Formulaire --------- */
form {
  background: #fff;
  border-radius: 14px;
  padding: 35px;
  max-width: 880px;
  margin: 40px auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* --------- Libellés --------- */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
  font-size: 15px;
}

/* --------- Inputs / Selects / Textareas --------- */
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccddee;
  background: #f9fbff;
  transition: border 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #5c9ded;
  outline: none;
}

/* --------- Bouton principal --------- */
button[type="submit"] {
  background: #1a73e8;
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #155cc2;
}

/* --------- Bouton "voir plus" --------- */
#voir-plus {
  background: #5c9ded;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 10px;
}

#voir-plus:hover {
  background: #3878d1;
}

/* --------- Créneaux horaires --------- */
.date-block {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  width: 48%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.horaire-btn {
  background-color: #64b5f6;
  color: white;
  padding: 8px 14px;
  border: none;
  margin: 6px auto;
  border-radius: 10px;
  font-weight: bold;
  width: 85%;
  font-size: 15px;
}

.horaire-btn.selected {
  background-color: #1a73e8;
}

.horaire-btn:disabled {
  background-color: #e57373 !important;
  cursor: not-allowed;
}

/* --------- Titres des créneaux --------- */
.creneau-titre {
  font-weight: bold;
  margin-bottom: 8px;
  color: #0d47a1;
  font-size: 16px;
}

/* --------- Alerte rouge --------- */
#creneau-alert,
#zone-message,
#appareil-message {
  color: red;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}