#calendar td {
  background-color: #fafafa;
}

.form-title {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 3%;
  text-align: center;
}

.form-input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 2.5%;
  margin-bottom: 2.5%;
  border-radius: 8px;
  border: 1px solid #555;
  background: #cfcfcf;
  color: black;
  font-weight: bold;
  font-size: 0.95rem;
  transition: border 0.2s, background 0.2s;
}

.form-input:focus {
  border-color: #88c7bc;
  background: #bfbfbf;
  outline: none;
}

#custom-time-start {
  margin-bottom: 20px;
}

.color-container {
  display: flex;
  justify-content: space-around;
  margin-top: 5%;
}

.color-option {
  appearance: none;
  -webkit-appearance: none;
  border: 3px solid white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  outline: none;
  transition: 0.2s ease;
}

.color-option:hover {
  transform: scale(1.15);
}

.color-option:checked {
  border: 3px solid #bababa;
  box-shadow: 0 0 8px rgba(255,255,255,1);
}

#planning-modal-button-div {
  display: flex;
  justify-content: space-around;
  margin-top: 10%;
}

#delete-popup {
  background-color: #ce6a6b;  /* rouge doux pour la suppression */
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

#delete-popup:hover {
  background-color: #b54f56;   /* rouge plus foncé au survol */
  transform: scale(1.05);      /* effet léger d’agrandissement */
}

#delete-popup:active {
  background-color: #9c3d42;   /* rouge encore plus foncé quand on clique */
  transform: scale(0.98);      /* effet “bouton pressé” */
}