/* Page de connexion de l'espace partenaires (/pro/), visiteur non connecté (27/11/2026).
   Même design que wp-login.php (connexion.css, dont ce fichier reprend le panneau de droite).
   Uniquement du design, limité à body.ecoch-lxp : le formulaire vient de l'extension « Portail Partenaires ». */
body.ecoch-lxp{--ink:#0A1A3A;--navy:#0C2466;--blue:#2E73BD;--blue-l:#8DB6E6;--blue-soft:#E8F0FA;--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!important;color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
body.ecoch-lxp #ast-scroll-top{display:none!important}
body.ecoch-lxp .eco-pro-login,body.ecoch-lxp .eco-pro-login *{box-sizing:border-box}
@media (min-width:961px){body.ecoch-lxp{padding-right:50%}}

/* Colonne du formulaire */
body.ecoch-lxp .eco-pro-login{display:block;min-height:0;width:100%;max-width:440px;margin:0 auto;padding:40px 20px 32px;font-family:var(--sans);color:var(--ink)}
@media (min-width:961px){body.ecoch-lxp .eco-pro-login{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:48px 20px}}
body.ecoch-lxp .eco-pro-login__brand,body.ecoch-lxp .eco-pro-login__card>h2,body.ecoch-lxp .eco-pro-login__register{display:none!important}
body.ecoch-lxp .eco-pro-login__card{width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.ecoch-lxp .eco-pro-login p{margin:0}

/* En-tête « Bonjour. » */
body.ecoch-lxp .ecoch-lxp-head{grid-column:1/-1;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
body.ecoch-lxp .ecoch-lxp-logo{display:inline-block;margin:0 0 28px;line-height:0}
body.ecoch-lxp .ecoch-lxp-logo img{width:66px;height:auto;aspect-ratio:240/190;object-fit:contain}
body.ecoch-lxp .ecoch-lxp-k{font-size:14px;font-weight:600;color:var(--blue)}
body.ecoch-lxp .eco-pro-login .ecoch-lxp-h{margin:10px 0 0;font-size:clamp(40px,4.6vw,56px);font-weight:600;letter-spacing:-.045em;line-height:.95;color:var(--ink)}
body.ecoch-lxp .eco-pro-login .ecoch-lxp-s{margin:14px 0 0;font-size:16px;line-height:1.5;color:var(--muted)}

/* Formulaire : les champs gardent leur ordre ; « Mot de passe oublié ? » se place à côté de « Se souvenir de moi » */
body.ecoch-lxp #loginform{display:grid;grid-template-columns:1fr auto;column-gap:16px;margin:0}
body.ecoch-lxp #loginform>*{grid-column:1/-1}
body.ecoch-lxp #loginform>.login-username,body.ecoch-lxp #loginform>.login-password{margin:0 0 18px}
body.ecoch-lxp #loginform label{display:block;margin:0 0 8px;font-size:14px;font-weight:500;line-height:1.3;color:var(--ink)}
body.ecoch-lxp .eco-pro-login input[type=text],body.ecoch-lxp .eco-pro-login input[type=email],body.ecoch-lxp .eco-pro-login input[type=password]{width:100%;height:52px;min-height:0;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.ecoch-lxp .eco-pro-login input::placeholder{color:#8A93A6}
body.ecoch-lxp .eco-pro-login input[type=text]:focus,body.ecoch-lxp .eco-pro-login input[type=password]:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(12,36,102,.12)}
body.ecoch-lxp #loginform>.login-remember{grid-column:1;grid-row:4;align-self:center;margin:0 0 22px}
body.ecoch-lxp #loginform>.ecoch-lxp-lost{grid-column:2;grid-row:4;align-self:center;margin:0 0 22px}
body.ecoch-lxp #loginform .login-remember label{display:flex;align-items:center;gap:10px;margin:0;font-size:14.5px;font-weight:400}
body.ecoch-lxp #loginform input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:var(--navy)}
body.ecoch-lxp .ecoch-lxp-lost a,body.ecoch-lxp .ecoch-lxp-alt a{color:var(--navy);font-weight:600;font-size:14.5px;text-decoration:none}
body.ecoch-lxp .ecoch-lxp-lost a:hover,body.ecoch-lxp .ecoch-lxp-alt a:hover{text-decoration:underline}
body.ecoch-lxp #loginform>.login-submit{margin:0}
body.ecoch-lxp .eco-pro-login input[type=submit]{display:block;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;box-shadow:0 10px 22px -14px rgba(12,36,102,.7);cursor:pointer;transition:background-color .2s}
body.ecoch-lxp .eco-pro-login input[type=submit]:hover{background:var(--ink)}
body.ecoch-lxp .eco-pro-login input:focus-visible,body.ecoch-lxp .eco-pro-login a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
body.ecoch-lxp .eco-pro-login .ecoch-lxp-alt{margin:22px 0 0;padding-top:20px;border-top:1px solid var(--line);text-align:center;font-size:14.5px;line-height:1.5;color:var(--muted)}
body.ecoch-lxp .eco-pro-login .eco-pro-login__terms{margin:20px 0 0;text-align:center;font-size:13px;color:var(--muted)}
@media (max-width:420px){
  body.ecoch-lxp #loginform{grid-template-columns:1fr}
  body.ecoch-lxp #loginform>.login-remember{grid-column:1;grid-row:4;margin-bottom:12px}
  body.ecoch-lxp #loginform>.ecoch-lxp-lost{grid-column:1;grid-row:5}
}
