/* EAVS Welcome Letter — styles strictement préfixés .eavswl (aucune règle globale sur le thème). */

/* Choix du type de compte (page d'inscription) */
.eavswl-choice { margin-bottom: 1.5rem; }
.eavswl-choice__title { margin-bottom: .75rem; }
.eavswl-choice__options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.eavswl-choice__option {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem; border: 2px solid #d5d9e0; border-radius: .5rem;
  color: inherit; text-decoration: none; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.eavswl-choice__option:hover, .eavswl-choice__option:focus-visible { border-color: var(--bs-primary, #1d3c78); color: inherit; }
.eavswl-choice__option.is-active { border-color: var(--bs-primary, #1d3c78); box-shadow: 0 0 0 3px rgba(29, 60, 120, .12); }
.eavswl-choice__icon { font-size: 1.75rem; color: var(--bs-primary, #1d3c78); }
.eavswl-choice__label { font-weight: 700; }
.eavswl-choice__desc { font-size: .85rem; color: #5c6370; }
.eavswl-choice__info { margin: .75rem 0 0; padding: .75rem 1rem; background: #eef2f8; border-radius: .375rem; }
@media (max-width: 575.98px) {
  .eavswl-choice__options { grid-template-columns: 1fr; }
}

/* Page de connexion : le bloc module remplace le bouton natif « Créer votre compte »
   (uniquement s'il est présent juste avant, donc uniquement module actif). */
.eavswl-login-choice ~ .login__register-prompt { display: none; }
.eavswl-login-choice { margin-bottom: 1rem; }
.eavswl-login-choice__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 575.98px) {
  .eavswl-login-choice__buttons { grid-template-columns: 1fr; }
}

/* Tunnel de commande */
.eavswl-inline-choice { padding: .75rem 1rem; background: #f6f7f9; border-radius: .375rem; }

/* Formulaire Welcome Letter */
.eavswl-section { margin-bottom: 1.75rem; padding-bottom: .5rem; border-bottom: 1px solid #e6e8ec; }
.eavswl-section legend { margin-bottom: 1rem; color: var(--bs-primary, #1d3c78); }
.eavswl-req { color: #c0392b; }
.eavswl-contact { margin-bottom: .5rem; }
.eavswl-contact__title, .eavswl-sector__title { font-weight: 700; margin-bottom: .5rem; }
.eavswl-sector__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 1rem; }
.eavswl-cgv { border: 1px solid #e6e8ec; border-radius: .375rem; padding: .5rem 1rem; }
.eavswl-cgv summary { cursor: pointer; font-weight: 600; }
.eavswl-cgv__body { max-height: 320px; overflow-y: auto; margin-top: .5rem; font-size: .8rem; text-align: justify; }
.eavswl-cgv__title { font-weight: 700; margin: .75rem 0 .25rem; }
.eavswl-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.eavswl-status .material-icons { font-size: 1.1rem; vertical-align: text-bottom; }
.eavswl-field[hidden] { display: none !important; }
