/* PRATINIUM v299 — Password recovery real card layout match
   Correction visible : le bloc de récupération reprend la disposition premium de la capture 1.
   Scope strict : page récupération mot de passe uniquement. */

body#password,
body.page-password,
body.pratinium-password-recovery-v299{
  --prat-pw-ink:#07152f;
  --prat-pw-blue:#12a8e8;
  --prat-pw-blue2:#0b6fd3;
  --prat-pw-gold:#f7c84b;
}

/* Masquages conservés de la page uniquement */
body#password .breadcrumb,
body.page-password .breadcrumb,
body.pratinium-password-recovery-v299 .breadcrumb,
body#password #header .header-nav,
body.page-password #header .header-nav,
body.pratinium-password-recovery-v299 #header .header-nav,
body#password #header .header-banner,
body.page-password #header .header-banner,
body.pratinium-password-recovery-v299 #header .header-banner{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

/* Hero plus compact et identique à la logique fintech validée */
body#password .page-header,
body.page-password .page-header,
body.pratinium-password-recovery-v299 .page-header{
  max-width:1180px!important;
  min-height:132px!important;
  height:132px!important;
  margin:0 auto!important;
  padding:28px 44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:30px 30px 0 0!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-bottom:0!important;
  overflow:hidden!important;
  background:
    linear-gradient(135deg,rgba(7,21,47,.96),rgba(16,50,94,.94) 48%,rgba(12,127,179,.88)),
    radial-gradient(circle at 84% 20%,rgba(247,200,75,.34),transparent 35%)!important;
  box-shadow:0 26px 80px rgba(7,21,47,.14)!important;
}
body#password .page-header h1,
body#password h1.page-title,
body.page-password .page-header h1,
body.page-password h1.page-title,
body.pratinium-password-recovery-v299 .page-header h1{
  margin:0!important;
  color:#fff!important;
  font-size:34px!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
  font-weight:900!important;
  text-align:center!important;
  text-shadow:0 12px 34px rgba(0,0,0,.18)!important;
}

/* Cadran principal blanc : suppression de l'aspect PrestaShop brut */
body#password #content,
body#password div#content.page-content,
body.page-password #content,
body.page-password div#content.page-content,
body.pratinium-password-recovery-v299 #content{
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto 26px!important;
  padding:38px 38px 30px!important;
  border:1px solid rgba(255,255,255,.82)!important;
  border-top:0!important;
  border-radius:0 0 30px 30px!important;
  background:rgba(255,255,255,.86)!important;
  box-shadow:0 28px 80px rgba(7,21,47,.12)!important;
  backdrop-filter:blur(18px)!important;
}

/* Texte explicatif = cartouche premium bleu clair, comme la capture 1 */
body#password #content > p,
body#password .page-content > p,
body.page-password #content > p,
body.page-password .page-content > p,
body.pratinium-password-recovery-v299 #content > p{
  width:100%!important;
  max-width:880px!important;
  min-height:0!important;
  margin:0 auto 22px!important;
  padding:19px 28px!important;
  border:1px solid rgba(18,168,232,.22)!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(18,168,232,.10),rgba(255,255,255,.78) 44%,rgba(247,200,75,.13))!important;
  color:#344563!important;
  font-size:16px!important;
  line-height:1.48!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:0 18px 44px rgba(7,21,47,.055)!important;
}

/* Grand card interne blanc autour du formulaire — rétablit la disposition de la capture 1 */
body#password form,
body#password .forgotten-password form,
body.page-password form,
body.page-password .forgotten-password form,
body.pratinium-password-recovery-v299 form{
  width:100%!important;
  max-width:880px!important;
  min-height:178px!important;
  margin:0 auto!important;
  padding:80px 28px 30px!important;
  position:relative!important;
  border:1px solid rgba(18,168,232,.24)!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 22px 60px rgba(7,21,47,.08)!important;
}

/* Bande de formulaire superposée dans le cadran, comme la capture 1 */
body#password form .form-fields,
body.page-password form .form-fields,
body.pratinium-password-recovery-v299 form .form-fields{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body#password form .form-group,
body.page-password form .form-group,
body.pratinium-password-recovery-v299 form .form-group{
  display:grid!important;
  grid-template-columns:160px minmax(260px,1fr) 310px!important;
  gap:20px!important;
  align-items:center!important;
  width:calc(100% + 96px)!important;
  max-width:1040px!important;
  margin:0 0 0 -48px!important;
  padding:18px 28px!important;
  border:1px solid rgba(15,35,70,.10)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:0 20px 56px rgba(7,21,47,.105)!important;
}

body#password form label,
body#password form .form-control-label,
body.page-password form label,
body.page-password form .form-control-label,
body.pratinium-password-recovery-v299 form label,
body.pratinium-password-recovery-v299 form .form-control-label{
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  color:#07152f!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:900!important;
}

body#password form input[type="email"],
body#password form input[type="text"],
body#password form .form-control,
body.page-password form input[type="email"],
body.page-password form input[type="text"],
body.page-password form .form-control,
body.pratinium-password-recovery-v299 form .form-control{
  width:100%!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 18px!important;
  border:1px solid rgba(16,36,71,.14)!important;
  border-radius:15px!important;
  background:#fbfdff!important;
  color:#07152f!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
  font-weight:650!important;
}

body#password form .btn-primary,
body#password form button[type="submit"],
body#password form input[type="submit"],
body.page-password form .btn-primary,
body.page-password form button[type="submit"],
body.page-password form input[type="submit"],
body.pratinium-password-recovery-v299 form .btn-primary,
body.pratinium-password-recovery-v299 form button[type="submit"]{
  width:100%!important;
  min-width:0!important;
  min-height:52px!important;
  height:52px!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#0b6fd3 0%,#12a8e8 58%,#64d2ff 100%)!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
  white-space:normal!important;
  text-align:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 18px 34px rgba(18,112,211,.25)!important;
}

@media (max-width:991px){
  body#password .page-header,
  body.page-password .page-header,
  body.pratinium-password-recovery-v299 .page-header{
    min-height:112px!important;
    height:auto!important;
    padding:26px 20px!important;
    border-radius:24px 24px 0 0!important;
  }
  body#password .page-header h1,
  body.page-password .page-header h1,
  body.pratinium-password-recovery-v299 .page-header h1{font-size:28px!important;}

  body#password #content,
  body.page-password #content,
  body.pratinium-password-recovery-v299 #content{padding:26px 16px 28px!important;border-radius:0 0 24px 24px!important;}

  body#password #content > p,
  body.page-password #content > p,
  body.pratinium-password-recovery-v299 #content > p{
    margin-bottom:20px!important;
    padding:17px 18px!important;
    font-size:14px!important;
  }

  body#password form,
  body#password .forgotten-password form,
  body.page-password form,
  body.page-password .forgotten-password form,
  body.pratinium-password-recovery-v299 form{
    min-height:0!important;
    padding:22px 16px!important;
    border-radius:22px!important;
  }

  body#password form .form-group,
  body.page-password form .form-group,
  body.pratinium-password-recovery-v299 form .form-group{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:18px!important;
  }

  body#password form label,
  body#password form .form-control-label,
  body.page-password form label,
  body.page-password form .form-control-label,
  body.pratinium-password-recovery-v299 form label,
  body.pratinium-password-recovery-v299 form .form-control-label{
    display:block!important;
    margin-bottom:10px!important;
    text-align:left!important;
  }

  body#password form .btn-primary,
  body#password form button[type="submit"],
  body.page-password form .btn-primary,
  body.page-password form button[type="submit"],
  body.pratinium-password-recovery-v299 form .btn-primary,
  body.pratinium-password-recovery-v299 form button[type="submit"]{
    margin-top:14px!important;
    width:100%!important;
  }
}
