.cs-booking {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

/* L'attributo hidden perde contro qualunque display di tema o Elementor (pulsanti, div): nel
   widget vince sempre. Visto sul questionario di staging il 12/11/2026. */
.cs-booking [hidden] {
  display: none !important;
}


.cs-booking__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #1a2744;
  font-weight: 700;
}


.cs-booking__status {
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  background: #f6f3fb;
  color: #3a4560;
}

.cs-booking__status[data-type="error"] {
  background: #ffdede;
  color: #870000;
}

.cs-booking__status[data-type="success"] {
  background: #d4e9d6;
  color: #2f532e;
}

.cs-booking__days,
.cs-booking__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cs-booking__day,
.cs-booking__slot {
  appearance: none;
  border: 1px solid #e2e6f0;
  background: #fafbfd;
  color: #1a2744;
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cs-booking__day:hover,
.cs-booking__slot:hover {
  border-color: #1a2744;
}

.cs-booking__day.is-active,
.cs-booking__slot.is-active {
  background: #1a2744;
  border-color: #1a2744;
  color: #fff;
}

.cs-booking__confirm {
  appearance: none;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: #1a2744;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
}

.cs-booking__confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cs-booking__confirm:not(:disabled):hover {
  background: #2a3a5c;
}

.cs-booking__day:focus-visible,
.cs-booking__slot:focus-visible,
.cs-booking__confirm:focus-visible {
  outline: 2px solid #1a2744;
  outline-offset: 2px;
}

.cs-booking__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
