#demande .sp-booking { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
#demande .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#demande .calendar-visible,
#demande .id-slots {
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
}
#demande .idcal-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
#demande .idcal-title { text-align: center; }
#demande .idcal-title strong, #demande .idcal-title span { display: block; }
#demande .idcal-title span { font-weight: 900; text-transform: capitalize; }
#demande .idcal-nav {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}
#demande .idcal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
#demande .idcal-week { text-align: center; color: #666; font-size: .75rem; font-weight: 800; padding: 5px 0; }
#demande .idcal-day { min-height: 42px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; }
#demande .idcal-day:hover:not(:disabled) { background: #fff3ae; }
#demande .idcal-day.today:not(.selected) { box-shadow: inset 0 0 0 2px #fecd11; }
#demande .idcal-day.selected, #demande .id-slot.selected { background: #fecd11; border-color: #fecd11; color: #171717; }
#demande .idcal-day:disabled, #demande .idcal-nav:disabled { color: #999; cursor: default; }
#demande .idcal-legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #666; font-size: .82rem; }
#demande .idcal-dot { width: 13px; height: 13px; background: #fecd11; border-radius: 50%; }
#demande .id-slots-title { font-weight: 850; }
#demande .id-slots-grid:not(:empty) { margin-top: 10px; }
#demande .id-slots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#demande .id-slot { min-height: 44px; border: 1px solid #ddd; border-radius: 10px; background: #fff; color: #171717; font-weight: 800; }
#demande .id-slot:disabled { background: #eee; color: #575757; border-color: #eee; }
#demande .id-slot small { display: block; font-size: .7rem; margin-top: 2px; }
#demande button:not(:disabled) { cursor: pointer; }
#demande button:focus-visible { outline: 2px solid #171717; outline-offset: 2px; }
#demande button[type="submit"]:disabled { opacity: .65; }
@media (max-width: 900px) {
  #demande .sp-booking { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  #demande .form { grid-template-columns: minmax(0, 1fr); }
  #demande .calendar-visible, #demande .id-slots { padding: 12px; }
  #demande .id-slots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
