/* Pages de connexion WordPress (wp-login.php : connexion, erreur de mot de passe, mot de passe oublié, nouveau mot de passe)
   habillées comme la page de connexion de l'espace partenaires (27/11/2026). Uniquement du design : le formulaire,
   ses champs et son fonctionnement restent ceux de WordPress. Tout est limité à body.login. */
body.login{--ink:#0A1A3A;--navy:#0C2466;--blue:#2E73BD;--blue-l:#8DB6E6;--blue-soft:#E8F0FA;--paper:#F5F6F8;--muted:#5B6579;--line:rgba(10,26,58,.11);--line-strong:rgba(10,26,58,.2);--ok:#1F7A55;--ok-soft:#E6F3EC;--sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:#fff;color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;min-height:100vh}
body.login #login,body.login #login *,body.login #login *::before,body.login #login *::after{box-sizing:border-box}
body.login #login{width:100%;max-width:440px;padding:40px 20px 32px;margin:0 auto}
@media (min-width:961px){
  body.login{padding-right:50%}
  body.login #login{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:48px 20px}
}
/* Logo */
body.login h1 a,body.login .wp-login-logo a{width:66px;height:52px;margin:0 0 28px;background:url(../img/logo-s.png) no-repeat left center/contain;text-indent:-9999px;overflow:hidden;display:block}
/* En-tête « Bonjour. » (ajouté par le module) */
body.login.login-action-lostpassword .ecoch-lx-h,body.login.login-action-rp .ecoch-lx-h,body.login.login-action-resetpass .ecoch-lx-h{font-size:clamp(30px,3.6vw,44px)}
body.login .ecoch-lx-head{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
body.login .ecoch-lx-k{font-size:14px;font-weight:600;color:var(--blue);margin:0}
body.login .ecoch-lx-h{margin:10px 0 0;overflow-wrap:break-word;font-size:clamp(34px,4.6vw,56px);font-weight:600;letter-spacing:-.045em;line-height:.95;color:var(--ink)}
body.login .ecoch-lx-s{margin:14px 0 0;font-size:16px;line-height:1.5;color:var(--muted)}
/* Messages et erreurs de WordPress */
body.login .message,body.login .notice,body.login #login_error,body.login .success{margin:0 0 18px;padding:12px 14px;border:0;border-left:3px solid var(--blue);border-radius:8px;background:var(--blue-soft);color:var(--navy);font-size:14px;line-height:1.45;box-shadow:none}
body.login #login_error,body.login .notice-error{border-left-color:#B4232A;background:#FBEDEE;color:#7A1A20}
body.login .message a,body.login #login_error a{color:inherit;font-weight:600}
/* Formulaire */
body.login form{margin:0;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
body.login form p,body.login .user-pass-wrap{margin:0 0 18px}
body.login #loginform > p:first-child,body.login #lostpasswordform > p:first-child{margin-bottom:20px}
body.login label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:var(--ink);line-height:1.3}
body.login form .input,body.login input[type=text],body.login input[type=email],body.login input[type=password]{width:100%;height:52px;margin:0;padding:0 16px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;box-shadow:none;font:inherit;font-size:16px;color:var(--ink);transition:border-color .2s,box-shadow .2s}
body.login form .input:focus,body.login input:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(12,36,102,.12)}
body.login .wp-pwd{position:relative}
body.login .wp-pwd .input{padding-right:52px}
body.login .wp-hide-pw,body.login .wp-hide-pw:hover,body.login .wp-hide-pw:focus{position:absolute;top:4px;right:4px;width:44px;height:44px;min-height:0;margin:0;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--muted)}
body.login .wp-hide-pw:hover{color:var(--ink)}
body.login .wp-hide-pw:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
body.login .wp-hide-pw .dashicons{width:20px;height:20px;font-size:20px;top:0}
body.login .forgetmenot{float:none;display:flex;align-items:center;gap:10px;margin:0 0 20px}
body.login .forgetmenot label{display:inline;margin:0;font-weight:400;font-size:14.5px}
body.login input[type=checkbox]{width:18px;height:18px;margin:0;border-radius:4px;accent-color:var(--navy)}
body.login .submit{margin:0;padding:0;float:none;clear:both}
body.login .button-primary,body.login #wp-submit{float:none;width:100%;height:54px;min-height:0;padding:0 20px;border:0;border-radius:999px;background:var(--navy);color:#fff;font:inherit;font-size:16px;font-weight:600;text-shadow:none;box-shadow:0 10px 22px -14px rgba(12,36,102,.7);cursor:pointer;transition:background-color .2s}
body.login .button-primary:hover,body.login .button-primary:focus,body.login #wp-submit:hover{background:var(--ink);color:#fff}
body.login .button-primary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
body.login .reset-pass-submit .button{width:100%}
body.login .pw-weak,body.login .indicator-hint{font-size:13px;color:var(--muted)}
/* Liens sous le formulaire */
body.login #nav,body.login #backtoblog{margin:0;padding:0;text-align:center;font-size:14.5px}
body.login #nav{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
body.login #backtoblog{margin-top:12px}
body.login #nav a,body.login #backtoblog a{color:var(--navy);font-weight:600;text-decoration:none}
body.login #nav a:hover,body.login #backtoblog a:hover{text-decoration:underline;color:var(--navy)}
body.login .privacy-policy-page-link{margin:24px 0 0;text-align:center;font-size:13px}
body.login .privacy-policy-page-link a{color:var(--muted);text-decoration:none}
body.login .language-switcher{display:none}
/* Panneau de droite (ajouté par le module) : l'espace partenaires en aperçu */
.ecoch-lx-side{display:none}
@media (min-width:961px){
  .ecoch-lx-side{display:block;position:fixed;top:16px;right:16px;bottom:16px;width:calc(50% - 32px);z-index:1}
}
.ecoch-lx-panel{position:relative;isolation:isolate;height:100%;border-radius:14px;color:#fff;overflow:hidden;display:flex;flex-direction:column;padding:clamp(28px,3.2vw,48px);font-family:var(--sans)}
.ecoch-lx-panel::before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(60% 50% at 78% 18%,rgba(46,115,189,.42),transparent 70%),radial-gradient(50% 45% at 10% 95%,rgba(12,36,102,.9),transparent 70%),linear-gradient(160deg,#0C2466 0%,#081430 55%,#060F26 100%)}
.ecoch-lx-panel::after{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(141,182,230,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(141,182,230,.07) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse 70% 60% at 60% 55%,#000,transparent 78%);mask-image:radial-gradient(ellipse 70% 60% at 60% 55%,#000,transparent 78%)}
.ecoch-lx-panel p{margin:0}
.ecoch-lx-pk{font-size:14px;font-weight:600;color:var(--blue-l)}
.ecoch-lx-ph{margin-top:12px!important;font-size:clamp(30px,3vw,44px);font-weight:600;letter-spacing:-.04em;line-height:1.02}
.ecoch-lx-ps{margin-top:14px!important;max-width:26em;font-size:15.5px;line-height:1.5;color:rgba(255,255,255,.72)}
.ecoch-lx-scene{flex:1;display:flex;align-items:center;justify-content:center;perspective:1600px;padding:16px 0 24px;min-height:280px}
.ecoch-lx-float{width:100%;display:flex;justify-content:center;animation:ecochLxFloat 9s ease-in-out 1.6s infinite}
.ecoch-lx-stack{position:relative;width:min(380px,70%);aspect-ratio:1/.92;transform-style:preserve-3d;transform:rotateX(7deg) rotateY(-14deg) rotateZ(1.5deg)}
.ecoch-lx-c{position:absolute;left:0;right:0;background:#fff;color:var(--ink);border-radius:12px;border:1px solid rgba(255,255,255,.6);padding:16px 18px;box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 24px 48px -24px rgba(0,0,0,.75),0 6px 14px -8px rgba(0,0,0,.4);opacity:0;transition:transform 1.1s cubic-bezier(.16,1,.3,1),opacity .7s ease}
.ecoch-lx-c2{top:0;transform:translate3d(0,24px,-30px)}
.ecoch-lx-c3{top:34%;transform:translate3d(0,0,20px)}
.ecoch-lx-stack.open .ecoch-lx-c{opacity:1}
.ecoch-lx-stack.open .ecoch-lx-c2{transform:translate3d(-9%,0,-60px)}
.ecoch-lx-stack.open .ecoch-lx-c3{transform:translate3d(11%,10%,30px);transition-delay:.15s}
.ecoch-lx-ch{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:11px;border-bottom:1px solid var(--line);font-size:13.5px}
.ecoch-lx-ch b{font-weight:600}
.ecoch-lx-ch span{color:var(--muted);font-size:12.5px}
.ecoch-lx-big{display:flex;align-items:baseline;gap:10px;margin-top:12px}
.ecoch-lx-big b{font-size:40px;font-weight:600;letter-spacing:-.05em;line-height:.9;color:var(--navy);font-variant-numeric:tabular-nums}
.ecoch-lx-big span{font-size:13px;color:var(--muted)}
.ecoch-lx-meter{height:6px;margin:12px 0 2px;background:var(--blue-soft);border-radius:3px;overflow:hidden}
.ecoch-lx-meter u{display:block;height:100%;width:70%;background:var(--ok);border-radius:3px;transition:width .9s cubic-bezier(.16,1,.3,1)}
.ecoch-lx-st{font-style:normal;font-size:12px;font-weight:600;padding:.3em .65em;border-radius:4px;background:var(--ok-soft);color:var(--ok);transition:background-color .4s,color .4s}
.ecoch-lx-st.am{background:#FCF1DE;color:#8A5A12}
.ecoch-lx-proof{list-style:none;margin:4px 0 0;padding:0}
.ecoch-lx-proof li{display:flex;align-items:center;gap:11px;padding:9px 0;border-bottom:1px solid var(--line);opacity:.35;transition:opacity .5s}
.ecoch-lx-proof li:last-child{border-bottom:0}
.ecoch-lx-proof li.on{opacity:1}
.ecoch-lx-proof b{display:block;font-size:13px;font-weight:600}
.ecoch-lx-proof small{display:block;font-size:11.5px;color:var(--muted);margin-top:1px}
.ecoch-lx-ic{flex:none;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--ok-soft);color:var(--ok)}
.ecoch-lx-ic.b{background:var(--blue-soft);color:var(--navy)}
.ecoch-lx-ic svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ecoch-lx-safe{display:flex;align-items:center;gap:9px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:13.5px;color:rgba(255,255,255,.6)}
.ecoch-lx-safe svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@keyframes ecochLxFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media (prefers-reduced-motion:reduce){.ecoch-lx-float{animation:none}.ecoch-lx-c,.ecoch-lx-meter u,.ecoch-lx-proof li,.ecoch-lx-st{transition:none}}

/* Mot de passe oublié : la demande à l'équipe EcoShower */
body.login .ecoch-lx-lost{margin:0}
body.login .ecoch-lx-ask{display:flex!important;align-items:center;justify-content:center;width:100%;height:54px;line-height:1;text-decoration:none}
body.login .ecoch-lx-alt{margin:16px 0 0;font-size:14.5px;line-height:1.5;color:var(--muted);text-align:center}
body.login .ecoch-lx-alt a{color:var(--navy);font-weight:600}
