/* Bienfolio /login: reuse the exact auth_signup_bienfolio.css reset layout. */
.bf-login-choices-body .bf-auth-card { max-width: 490px; }
.bf-login-choices-body .bf-choice-heading { margin-bottom: 28px; }
.bf-login-choices-body .bf-choice-heading h2 { font-size: clamp(31px, 3vw, 42px); }
.bf-auth-options { display: flex; flex-direction: column; gap: 12px; }
.bf-choice { width: 100%; min-height: 76px; padding: 16px 18px; display: flex; align-items: center; gap: 16px; border: 1px solid #dce5e3; border-radius: 16px; background: #fff; color: #182f32; text-decoration: none; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.bf-choice:hover, .bf-choice:focus-visible { border-color: #0aa35a; box-shadow: 0 6px 22px rgba(5, 105, 65, .10); color: #182f32; text-decoration: none; transform: translateY(-1px); outline: none; }
.bf-choice-icon { flex-shrink: 0; color: #0a8752; }
.bf-choice-label { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.bf-choice-label strong { font-size: 17px; font-weight: 700; line-height: 1.3; }
.bf-choice-label small { color: #73838a; font-size: 13px; line-height: 1.4; }
.bf-choice-chevron { font-size: 30px; color: #81918c; line-height: 1; }
.bf-choice-password { border-radius: 16px; }
.bf-choice-password > summary { list-style: none; }
.bf-choice-password > summary::-webkit-details-marker { display: none; }
.bf-choice-password[open] .bf-choice-password-summary { border-color: #0aa35a; border-radius: 16px 16px 0 0; }
.bf-choice-password[open] .bf-choice-chevron { transform: rotate(90deg); }
.bf-choice-password-form { border: 1px solid #dce5e3; border-top: 0; border-radius: 0 0 16px 16px; padding: 20px; background: #fff; }
.bf-choice-password-form .bf-primary-button { margin-top: 4px; }
.bf-login-help-links { margin-top: 22px; text-align: center; color: #869497; font-size: 13px; line-height: 1.7; }
.bf-login-help-links p { margin: 5px 0; }
.bf-login-help-links a { color: #087d5c; font-weight: 650; text-decoration: none; }
.bf-login-help-links a:hover { text-decoration: underline; }
.bf-login-notice { margin: 0 0 20px; background: #eaf6ee; color: #17663c; border: 1px solid #c9e8d4; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.bf-login-choices-body .bf-brand-footer { color: rgba(255,255,255,.54); }
@media (max-width: 900px) { .bf-login-choices-body .bf-auth-main { padding-top: 36px; padding-bottom: 50px; } }
@media (max-width: 520px) { .bf-choice { min-height: 70px; padding: 13px 14px; gap: 12px; } .bf-choice-label strong { font-size: 15px; } .bf-choice-label small { font-size: 12px; } .bf-login-choices-body .bf-choice-heading h2 { font-size: 33px; } }


/* v18.0.26.1.12 : visibilité complète de l'en-tête même formulaire déroulé. */
/* v18.0.26.1.13 : centrer les méthodes de connexion verticalement sur desktop.
   En cas de formulaire ouvert ou d'écran bas, la hauteur de la colonne peut
   grandir et le scroll reste naturel sans couper le titre ni les liens. */
@media (min-width: 901px) {
  .bf-login-choices-body .bf-auth-main {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.bf-login-choices-body .bf-auth-brand { position: sticky; top: 0; height: 100vh; }
.bf-login-choices-body .bf-choices-card { margin: 0 auto; }

/* Connexion par code : le même cadre split-screen que le reset password. */
.bf-login-otp-body .bf-auth-card { max-width: 490px; }
.bf-login-otp-body .bf-form-heading h2 { font-size: clamp(33px, 3vw, 42px); }
.bf-login-otp-body .bf-otp-code-input { text-align: center; letter-spacing: .36em; font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bf-login-otp-body .bf-otp-help-links { margin-top: 26px; }
.bf-login-otp-body .bf-otp-help-links p { margin: 9px 0; }
.bf-login-otp-body .bf-otp-help-links a { display: inline; }
@media (max-width: 900px) {
  .bf-login-choices-body .bf-auth-brand { display: none; }
  .bf-login-choices-body .bf-auth-main { align-items: flex-start; padding: 36px 24px 50px; }
}
@media (max-width: 520px) {
  .bf-login-choices-body .bf-auth-main { padding: 28px 20px 44px; }
  .bf-login-otp-body .bf-form-heading h2 { font-size: 32px; }
  .bf-login-otp-body .bf-auth-main { min-height: 100vh; padding: 28px 20px 44px; }
}
