/* Terrazel · Pantalla de ingreso (wp-login.php) */
@font-face{font-family:"Khand";font-weight:700;font-display:swap;src:url("../fonts/khand-700.woff2") format("woff2")}
@font-face{font-family:"Rubik";font-weight:400;font-display:swap;src:url("../fonts/rubik-400.woff2") format("woff2")}
@font-face{font-family:"Rubik";font-weight:600;font-display:swap;src:url("../fonts/rubik-600.woff2") format("woff2")}

body.login{
  position:relative;isolation:isolate;min-height:100vh;display:flex;flex-direction:column;justify-content:center;
  background:linear-gradient(160deg,#0c2f37 0%,#12404a 55%,#14743a 140%);font-family:Rubik,system-ui,sans-serif;color:#0c2f37;
}
body.login::before{
  content:"";position:fixed;inset:0;z-index:-1;background:#5ca8a0;opacity:calc(.2 * var(--tz-topo-scale,1));
  -webkit-mask:url("../patterns/topo-lines-dense.svg") 0 0/600px repeat;mask:url("../patterns/topo-lines-dense.svg") 0 0/600px repeat;
}
#login{width:min(400px,calc(100% - 32px));padding:6vh 0 4vh}
.login h1 a{
  width:100%;height:96px;margin:0 auto 20px;background:url("../brand/logo-horizontal-color.svg") center/contain no-repeat;
  background-color:#f5faed;border-radius:20px 20px 0 0;box-sizing:border-box;padding:0;
}
.login form{
  margin-top:0;padding:28px 28px 32px;border:0;border-radius:0 0 20px 20px;background:#f5faed;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}
.login h1{margin-bottom:0}
.login h1 a{margin-bottom:0;background-size:72% auto;padding-top:20px;height:110px}
.login label{font-weight:600;font-size:14px;color:#0c2f37}
.login form .input,.login input[type=text],.login input[type=password],.login input[type=email]{
  min-height:48px;padding:0 14px;border:1px solid #cfdccd;border-radius:6px;background:#fff;font-size:16px;box-shadow:none;
}
.login form .input:focus,.login input:focus{border-color:#14743a;box-shadow:0 0 0 3px rgba(136,198,86,.35);outline:none}
.login .button.wp-hide-pw{height:48px;min-height:48px;color:#0c2f37}
.login .button.wp-hide-pw:focus{border-color:#14743a;box-shadow:0 0 0 2px #14743a}
.wp-core-ui .button-primary{
  min-height:48px;padding:0 24px;border:0;border-radius:6px;background:#fdc70c;color:#0c2f37;
  font:600 15px/48px Rubik,system-ui,sans-serif;text-shadow:none;box-shadow:none;
}
.wp-core-ui .button-primary:hover,.wp-core-ui .button-primary:focus{background:#e9b000;color:#0c2f37}
.wp-core-ui .button-primary:focus{box-shadow:0 0 0 2px #fff,0 0 0 5px #0c2f37;outline:none}
.login .forgetmenot{margin-top:12px}
.login input[type=checkbox]:checked::before{filter:hue-rotate(-90deg) saturate(1.4)}
.login #nav,.login #backtoblog{text-align:center;padding:0}
.login #nav a,.login #backtoblog a{color:rgba(245,250,237,.85);font-size:14px}
.login #nav a:hover,.login #backtoblog a:hover{color:#88c656}
.login #login_error,.login .message,.login .success{border-radius:10px;border-left-color:#fdc70c;background:#fff}
.login .message{border-left-color:#88c656}
.login .privacy-policy-page-link a{color:rgba(245,250,237,.75)}
.language-switcher{display:none}

/* Aviso de reCAPTCHA y pantalla del código (2FA) sobre el fondo oscuro */
.login .rc-note{margin:16px 24px 0;text-align:center;font-size:12px;line-height:1.5;color:rgba(245,250,237,.75)}
.login .rc-note a{color:#f5faed}
.login .rc-note a:hover{color:#88c656}

/* Avisos de la pantalla de ingreso en ventana (login.js) */
.tz-login-modal{
  box-sizing:border-box;width:min(400px,calc(100vw - 32px));margin:auto;padding:36px 28px 28px;border:0;border-radius:20px;
  border-top:4px solid #88c656;background:#f5faed;color:#0c2f37;text-align:center;
  box-shadow:0 24px 60px rgba(12,47,55,.35);font-family:Rubik,system-ui,sans-serif;
}
.tz-login-modal:focus{outline:none}
.tz-login-modal::backdrop{background:rgba(12,47,55,.55);backdrop-filter:blur(3px)}
.tz-login-modal[open]{animation:tz-login-in .3s cubic-bezier(.2,.7,.2,1)}
@keyframes tz-login-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.tz-login-modal--error{border-top-color:#fdc70c}
.tz-login-modal__icon{display:inline-grid;place-items:center;width:64px;height:64px;margin-bottom:14px;border-radius:50%;background:#eaf3df;color:#14743a}
.tz-login-modal--error .tz-login-modal__icon{background:#fff4cc;color:#7a5800}
.tz-login-modal__title{margin:0 0 8px;font:700 26px/1.05 Khand,"Arial Narrow",sans-serif;color:#0c2f37}
.tz-login-modal__text{margin:0 0 22px;font-size:15px;line-height:1.55;color:#3d5059}
.tz-login-modal__text>div+div{margin-top:8px}
.tz-login-modal__text a{color:#14743a;font-weight:600}
.tz-login-modal__btn.button{float:none;width:100%}
@media (prefers-reduced-motion:reduce){.tz-login-modal[open]{animation:none}}
.tz-login-intro{margin:0 0 18px;font-size:14px;line-height:1.55;color:#3d5059}
