.inscription-form {
  max-width: 768px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fafafa;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  font-family: sans-serif;
}

.inscription-form h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}

.inscription-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.inscription-form .form-column {
  flex: 1 1 100%;
}

@media (min-width: 600px) {
  .inscription-form .form-column {
    flex: 1 1 48%;
  }
}

.inscription-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
}

.inscription-form input,
.inscription-form select,
.inscription-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  color: #000;
}

.inscription-form input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.inscription-form .form-option {
  margin: 1rem 0;
}

.inscription-form button[type="submit"] {
  background-color: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.inscription-form button[type="submit"]:hover {
  background-color: #0056b3;
}
/* ---- Espacement entre champs ---- */
.inscription-form .form-group {
  margin-bottom: 1.25rem;
}
/* Pas de marge en bas à l'intérieur des colonnes (la form-row gère l'espacement) */
.inscription-form .form-column .form-group {
  margin-bottom: 0;
}

/* ---- Toggle : label + switch en ligne ---- */
.inscription-form .form-group--toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  background: #f5f7fa;
  border-radius: 6px;
}
.inscription-form .form-group--toggle > label:first-of-type {
  flex: 1;
  font-weight: 500;
  margin-bottom: 0;
  cursor: pointer;
}

/* ---- Number : ne pas prendre toute la largeur ---- */
.inscription-form .form-group--number input[type="number"] {
  max-width: 180px;
}

/* ---- Radio : options en ligne ---- */
.inscription-form .form-group--radio label:first-of-type {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.form-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-check-input {
  width: auto !important;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.inscription-form .form-check-label {
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 0;
}

/* ---- Select : full width ---- */
.inscription-form .form-group--select select {
  width: 100%;
}

/* ---- Focus ---- */
.inscription-form input:focus,
.inscription-form select:focus,
.inscription-form textarea:focus {
  outline: 2px solid #007bff;
  outline-offset: 1px;
  border-color: #007bff;
}

/* ---- Bouton d'envoi ---- */
.acck-form-submit {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

/* ---- Moyen de paiement Stripe ---- */
#bloc_moyen_paiement {
  display: none !important;
}
#bloc_moyen_paiement.visible {
  display: block !important;
}

.confirmation-message {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    line-height: 1.8;
}

.confirmation-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 500;
}

.confirmation-button {
    text-align: center;
    margin-top: 30px;
    background-color: #e8cf57;
    padding: 1em;
    color: white;
    font-weight: bold;
    width: 15em;
    margin: auto;

}

.confirmation-conclusion {
    margin-top: 2em;
}
/* Container du switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  cursor: pointer;
  user-select: none;
}

/* L'input devient cliquable sur toute la zone */
.toggle-switch-input {
  position: absolute;
  opacity: 0;
  width: 50px;
  height: 26px;
  margin: 0;
  padding: 0;
  z-index: 2; /* Toujours au-dessus */
  cursor: pointer;
}

/* Le slider (fond du switch) */
.toggle-switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 26px;
  transition: background-color .25s, box-shadow .25s;
  z-index: 1;
}

/* Le bouton rond */
.toggle-switch-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform .25s ease;
}

/* État activé */
.toggle-switch-input:checked + .toggle-switch-slider {
  background-color: #0d6efd;
}

/* Déplacement du rond */
.toggle-switch-input:checked + .toggle-switch-slider::before {
  transform: translateX(24px);
}

/* Focus */
.toggle-switch-input:focus + .toggle-switch-slider {
  box-shadow: 0 0 3px rgba(13,110,253,0.6);
}
