/* Règles limitées à la page de connexion. Le formulaire reste celui de WordPress. */
body.login.evomat-connexion {
  --evomat-yellow: #ded20b;
  background: #fff !important;
  color: #191b24;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  margin: 0;
}
.evomat-top { height: 46px; position: relative; border-bottom: 1px solid #ddd; background: #fff; z-index: 2; display: flex; justify-content: flex-end; align-items: center; padding: 0 4%; box-sizing: border-box; }
.evomat-top a { color: #191b24; text-decoration: none; font-size: 14px; }
.evomat-top span { margin-left: 14px; font-size: 24px; vertical-align: middle; }
.evomat-hero { position: fixed; top: 47px; bottom: 0; left: 0; width: 52.65%; background-image: url('visuel.png'); background-size: 189.94% 104.97%; background-position: left bottom; background-repeat: no-repeat; background-color: #25301c; }
.evomat-accessible { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
body.evomat-connexion #login { width: auto; max-width: none; margin: 0 6.6% 0 59.5%; padding: clamp(60px, 19vh, 195px) 0 30px; box-sizing: border-box; }
body.evomat-connexion #login > h1 { display: none !important; }
.evomat-heading h2 { font-size: clamp(25px, 2.65vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -1px; margin: 0 0 8px; }
.evomat-heading p { font-size: clamp(17px, 1.55vw, 24px); color: #737582; margin: 0 0 48px; line-height: 1.4; }
body.evomat-connexion #login form { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0; overflow: visible; position: relative; }
body.evomat-connexion #login label { color: #191b24; font-size: 18px; margin-bottom: 9px; }
body.evomat-connexion #login .input { background: #fafafa !important; border: 1px solid #b8bac4 !important; border-radius: 6px; color: #191b24; font-size: 18px; min-height: 57px; padding: 12px 16px; margin: 0 0 30px; box-shadow: none; }
body.evomat-connexion #login .input:focus { border-color: #817a00 !important; box-shadow: 0 0 0 2px rgba(222,210,11,.3); outline: none; }
body.evomat-connexion #login .wp-pwd .input { padding-right: 48px; }
body.evomat-connexion #login .wp-hide-pw { color: #191b24; height: 57px; width: 48px; }
body.evomat-connexion #login .forgetmenot { float: none; margin: 0 0 36px; }
body.evomat-connexion #login .forgetmenot label { font-size: 16px; }
body.evomat-connexion input[type=checkbox] { background: #fff; border: 1px solid #191b24; border-radius: 2px; width: 24px; height: 24px; margin-right: 8px; box-shadow: none; }
body.evomat-connexion input[type=checkbox]:checked::before { color: #191b24; margin: 0; }
.evomat-forgot { position: absolute; right: 0; bottom: 102px; font-size: 16px; color: #191b24; text-decoration: underline; }
body.evomat-connexion #login .submit { float: none; margin: 0; }
body.evomat-connexion #login .button-primary { float: none; width: 100%; min-height: 62px; background: var(--evomat-yellow) !important; border: 0 !important; border-radius: 12px; color: #080808 !important; font-size: 21px; font-weight: 700; text-shadow: none; box-shadow: none; cursor: pointer; }
body.evomat-connexion #login .button-primary:hover { filter: brightness(.95); }
body.evomat-connexion a:focus-visible, body.evomat-connexion button:focus-visible, body.evomat-connexion input[type=submit]:focus-visible { outline: 3px solid #817a00; outline-offset: 3px; }
body.evomat-connexion #backtoblog { display: none; }
body.evomat-connexion #nav { text-align: center; padding: 30px 0 0; line-height: 1.7; }
body.evomat-connexion.login-action-login #nav { display: none; }
body.evomat-connexion #nav a { color: #191b24; }
.evomat-signup { margin: 20px 6.6% 30px 59.5%; border-top: 1px solid #c5c7ce; padding-top: 22px; text-align: center; color: #686b78; font-size: 16px; }
.evomat-signup a { display: block; margin-top: 12px; color: #191b24; }
body.evomat-connexion:not(.login-action-login) .evomat-signup { display: none; }
body.evomat-connexion .language-switcher { margin: 20px 6.6% 25px 59.5%; text-align: right; padding: 0; }
body.evomat-connexion .language-switcher select { border: 1px solid #ddd; background: #fff; color: #191b24; }
body.evomat-connexion #login_error, body.evomat-connexion #login .message, body.evomat-connexion #login .success { margin: 0 0 24px; font-size: 15px; }
@media (max-width: 1100px) {
  .evomat-heading h2 { letter-spacing: -.5px; }
  body.evomat-connexion #login label { font-size: 16px; }
  .evomat-forgot { font-size: 13px; }
  body.evomat-connexion #login .forgetmenot label { font-size: 13px; }
}
@media (max-width: 780px) {
  .evomat-hero { position: relative; top: auto; width: 100%; height: auto; aspect-ratio: 835 / 945; background-size: 189.94% 104.97%; }
  body.evomat-connexion #login { margin: 0 auto; width: min(100% - 40px, 540px); padding: 40px 0 20px; }
  .evomat-heading h2 { font-size: 30px; }
  .evomat-heading p { font-size: 18px; margin-bottom: 30px; }
  .evomat-signup, body.evomat-connexion .language-switcher { margin: 20px auto; width: min(100% - 40px, 540px); }
}
