/* PRATINIUM v306 — récupération mot de passe : vrai correctif stable
   - aucun MutationObserver / aucune boucle JS ;
   - champ e-mail élargi ;
   - CTA réduit sans débordement du cadran ;
   - scope strict au formulaire du contenu. */

body#password,
body.page-password,
body.pratinium-password-recovery-v306{
  --prat-pw-label:130px;
  --prat-pw-cta:250px;
  --prat-pw-gap:20px;
}

body#password #content form .form-group,
body.page-password #content form .form-group,
body.pratinium-password-recovery-v306 #content form .form-group,
body#password #content .forgotten-password form .form-group,
body.page-password #content .forgotten-password form .form-group{
  display:grid!important;
  grid-template-columns:var(--prat-pw-label) minmax(500px,1fr) var(--prat-pw-cta)!important;
  gap:var(--prat-pw-gap)!important;
  align-items:center!important;
  width:min(calc(100% + 140px),1040px)!important;
  max-width:1040px!important;
  margin-left:-70px!important;
  margin-right:auto!important;
  padding:18px 28px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

body#password #content form label,
body#password #content form .form-control-label,
body.page-password #content form label,
body.page-password #content form .form-control-label,
body.pratinium-password-recovery-v306 #content form label,
body.pratinium-password-recovery-v306 #content form .form-control-label{
  grid-column:1!important;
  width:100%!important;
  max-width:var(--prat-pw-label)!important;
  white-space:normal!important;
}

body#password #content form input[type="email"],
body#password #content form input[type="text"],
body#password #content form .form-control,
body.page-password #content form input[type="email"],
body.page-password #content form input[type="text"],
body.page-password #content form .form-control,
body.pratinium-password-recovery-v306 #content form input[type="email"],
body.pratinium-password-recovery-v306 #content form input[type="text"],
body.pratinium-password-recovery-v306 #content form .form-control{
  grid-column:2!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

body#password #content form .form-group .btn-primary,
body#password #content form .form-group button[type="submit"],
body#password #content form .form-group input[type="submit"],
body#password #content form .form-group .pratinium-pw-main-submit,
body.page-password #content form .form-group .btn-primary,
body.page-password #content form .form-group button[type="submit"],
body.page-password #content form .form-group input[type="submit"],
body.page-password #content form .form-group .pratinium-pw-main-submit,
body.pratinium-password-recovery-v306 #content form .form-group .btn-primary,
body.pratinium-password-recovery-v306 #content form .form-group button[type="submit"],
body.pratinium-password-recovery-v306 #content form .form-group input[type="submit"],
body.pratinium-password-recovery-v306 #content form .form-group .pratinium-pw-main-submit{
  grid-column:3!important;
  width:var(--prat-pw-cta)!important;
  max-width:var(--prat-pw-cta)!important;
  min-width:0!important;
  height:52px!important;
  min-height:52px!important;
  padding:0 14px!important;
  box-sizing:border-box!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  line-height:1.08!important;
  font-size:12.5px!important;
  letter-spacing:-.02em!important;
  text-align:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

body#password #content form footer,
body#password #content form .form-footer,
body#password #content form .text-xs-center,
body.page-password #content form footer,
body.page-password #content form .form-footer,
body.page-password #content form .text-xs-center,
body.pratinium-password-recovery-v306 #content form footer,
body.pratinium-password-recovery-v306 #content form .form-footer,
body.pratinium-password-recovery-v306 #content form .text-xs-center{
  display:none!important;
}

@media (max-width:1199px){
  body#password,
  body.page-password,
  body.pratinium-password-recovery-v306{
    --prat-pw-label:126px;
    --prat-pw-cta:240px;
    --prat-pw-gap:18px;
  }
  body#password #content form .form-group,
  body.page-password #content form .form-group,
  body.pratinium-password-recovery-v306 #content form .form-group{
    grid-template-columns:var(--prat-pw-label) minmax(420px,1fr) var(--prat-pw-cta)!important;
    width:min(calc(100% + 96px),100%)!important;
    margin-left:0!important;
  }
}

@media (max-width:991px){
  body#password #content form .form-group,
  body.page-password #content form .form-group,
  body.pratinium-password-recovery-v306 #content form .form-group{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    gap:12px!important;
    overflow:visible!important;
  }
  body#password #content form .form-group .btn-primary,
  body#password #content form .form-group button[type="submit"],
  body#password #content form .form-group input[type="submit"],
  body.page-password #content form .form-group .btn-primary,
  body.page-password #content form .form-group button[type="submit"],
  body.page-password #content form .form-group input[type="submit"],
  body.pratinium-password-recovery-v306 #content form .form-group .btn-primary,
  body.pratinium-password-recovery-v306 #content form .form-group button[type="submit"],
  body.pratinium-password-recovery-v306 #content form .form-group input[type="submit"]{
    width:100%!important;
    max-width:100%!important;
  }
}
