/* Form Prenotazione Open Week */
.prenota-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.prenota-campo {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prenota-campo label {
  font-weight: bold;
  color: #333;
  font-size: 0.9rem;
}

.prenota-campo input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.prenota-campo input:focus {
  outline: none;
  border-color: #fc6d6d;
}

.prenota-corsi {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px 18px;
  margin-bottom: 20px;
}

.prenota-corsi legend {
  font-weight: bold;
  color: #e6001f;
  padding: 0 8px;
}

.prenota-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
}

.prenota-checkbox input:disabled {
  cursor: not-allowed;
}

.prenota-checkbox input:disabled + * {
  opacity: 0.5;
}

.prenota-errore {
  color: #e6001f;
  font-size: 0.85rem;
  margin-top: 8px;
  min-height: 1.2em;
}

.prenota-form button[type="submit"] {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.prenota-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.prenota-successo {
  display: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
  border: 2px solid #fc6d6d;
  border-radius: 16px;
  padding: 40px 30px;
}

.prenota-successo.visible {
  display: block;
}

.prenota-successo-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 10px;
}

.prenota-successo h3 {
  color: #e6001f;
  margin-bottom: 10px;
}

.prenota-corso-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0e6d0;
  flex-wrap: wrap;
}

.prenota-corso-row:last-child {
  border-bottom: none;
}

.prenota-orario-select {
  flex: 1 1 220px;
  max-width: 260px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
}

.prenota-orario-select:disabled {
  background-color: #f5f5f5;
  color: #aaa;
}