@font-face {
  font-family: Jakarta;
  src: url('fonts/plus-jakarta-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
* { box-sizing: border-box; }
:root { font: 16px/1.5 Jakarta,system-ui,sans-serif; color: #18232e; background: #f7f6f4; --marino: #122541; }
body { display: grid; grid-template-rows: auto 1fr auto; margin: 0; min-height: 100vh; min-height: 100dvh; }
.barra, footer { display: flex; align-items: center; padding-inline: clamp(16px,3.2vw,60px); color: white; background: #191d1f; }
.barra { min-height: 64px; gap: clamp(10px,1.5vw,24px); }
.barra img { display: block; width: clamp(132px,17vw,200px); height: auto; }
.barra span { border-left: 1px solid #61707d; padding-left: clamp(10px,1.5vw,24px); font-size: clamp(12px,1.5vw,14px); }
main { display: grid; place-items: center; padding: clamp(16px,3vh,36px) 16px; }
.tarjeta { width: min(100%,448px); min-width: 0; padding: clamp(20px,3vw,32px); background: #fff; border: 1px solid #e4e3e1; border-radius: 16px; box-shadow: 0 4px 22px #15283a12; overflow-wrap: anywhere; }
.simbolo { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 12px; background: #edf3fe; color: #1859b0; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
h1 { margin: 0; text-align: center; font-size: clamp(24px,3vw,30px); line-height: 1.18; letter-spacing: -.04em; }
.intro { margin: 9px 0 22px; text-align: center; font-size: 14px; color: #52606c; }
.campos { display: grid; gap: 17px; }
label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 6px; }
input:not([type=hidden]) { width: 100%; min-height: 46px; padding: 9px 12px; font: inherit; color: inherit; background: #fff; border: 1px solid #a9b4c0; border-radius: 8px; }
.clave { position: relative; }
.clave input:not([type=hidden]) { padding-right: 48px; }
.clave button { position: absolute; inset: 1px 1px 1px auto; width: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #48546a; cursor: pointer; }
small { display: block; margin-top: 7px; color: #52606c; }
.principal { display: block; width: 100%; min-height: 46px; padding: 10px 16px; border: 0; border-radius: 8px; background: var(--marino); color: white; font: inherit; font-weight: 650; cursor: pointer; }
.principal:hover { background: #203c60; }
.enlace { display: block; width: fit-content; max-width: 100%; margin: 16px auto 0; text-align: center; font-size: 14px; font-weight: 650; color: #1656a5; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #3577cd; outline-offset: 3px; }
.alerta,.aviso { border-radius: 8px; padding: 10px 12px; margin: 14px 0 18px; font-size: 14px; }
.alerta { color: #872b1d; background: #fff1ec; }
.aviso { color: #183f71; background: #edf4ff; }
footer { min-height: 42px; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; font-size: clamp(11px,1.4vw,13px); }
footer a { color: inherit; text-decoration: none; }

.aviso-validacion {display:block;color:#872b1d;font-size:13px;line-height:1.45;margin:5px 0 0}
.aviso-validacion[hidden] {display:none}
