hbox-docs/docs/publico/entrar.css

88 lines
6.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Página de entrada (27-oct-2026). Pública: no depende de nada que pida sesión.
Colores y letras: tokens de stylesheets/helgen.css (oscuro por omisión; claro con js/tema.js). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0; min-height: 100vh; background: var(--hg-fondo); color: var(--hg-texto);
font: 16px/1.5 var(--hg-fuente); -webkit-font-smoothing: antialiased;
}
a { color: var(--hg-liga); }
code { font-family: var(--hg-fuente-mono); font-size: .92em; background: var(--hg-elevado); border-radius: 4px; padding: 0 .3em; }
:focus-visible { outline: 2px solid var(--hg-foco); outline-offset: 2px; }
.en { max-width: 460px; margin: 0 auto; padding: 40px 16px 48px; }
.en-cab { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding-right: 44px; }
.en-masc { width: 46px; height: 49px; flex: none; }
.en-cab h1 { margin: 0; font-family: var(--hg-fuente-titulo); font-weight: 700; font-size: 27px; line-height: 1.05;
letter-spacing: -0.01em; color: var(--hg-texto-fuerte); }
.en-cab p { margin: 4px 0 0; font-size: 14px; color: var(--hg-texto-2); line-height: 1.35; }
/* botón de modo (lo agrega js/tema.js dentro de header.top) */
.hg-modo { position: absolute; top: 4px; right: 0; width: 34px; height: 34px; display: grid; place-items: center;
border-radius: 8px; border: 1px solid var(--hg-linea-2); background: transparent; color: var(--hg-texto-2); cursor: pointer; padding: 0; }
.hg-modo:hover { color: var(--hg-texto-fuerte); background: var(--hg-elevado); }
.hg-modo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.en-tarjeta, .en-avisos, .en-ayuda {
background: var(--hg-plano); border: 1px solid var(--hg-linea); border-radius: 14px; padding: 20px 20px 18px;
box-shadow: var(--hg-sombra-suave);
}
.en-tarjeta h2, .en-avisos h2 { margin: 0 0 12px; font-family: var(--hg-fuente-titulo); font-weight: 600; font-size: 21px;
line-height: 1.2; color: var(--hg-texto-fuerte); }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; color: var(--hg-texto-2); }
.en-tarjeta label:first-of-type { margin-top: 0; }
input[type=text], input[type=password], textarea {
width: 100%; padding: 12px 13px; border: 1px solid var(--hg-linea-2); border-radius: 10px; font: inherit; font-size: 16px;
background: var(--hg-plano-2); color: var(--hg-texto);
}
input::placeholder, textarea::placeholder { color: var(--hg-texto-3); }
input:focus, textarea:focus { outline: 2px solid var(--hg-foco); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; min-height: 92px; }
.en-pw { position: relative; }
.en-pw input { padding-right: 64px; }
.en-ver { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
color: var(--hg-liga); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 10px; cursor: pointer; border-radius: 8px; }
.en-ver:hover { background: var(--hg-elevado); }
.en-mayus { margin: 8px 0 0; font-size: 13.5px; color: var(--hg-aviso); }
.en-check { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 14px; color: var(--hg-texto-2); margin: 14px 0 0; cursor: pointer; }
.en-check input { width: 18px; height: 18px; accent-color: var(--hg-acento); margin: 0; }
.en-boton {
display: block; width: 100%; margin: 18px 0 0; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--hg-acento);
background: var(--hg-acento); color: var(--hg-sobre-acento); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
.en-boton:hover { filter: brightness(1.06); }
.en-boton:disabled { opacity: .6; cursor: progress; }
.en-boton.sec { background: transparent; color: var(--hg-liga); border-color: var(--hg-linea-2); }
.en-boton.sec:hover { background: var(--hg-elevado); }
.en-msg { display: none; margin: 14px 0 0; padding: 11px 13px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; }
.en-msg.err { display: block; background: var(--hg-bloqueado-bg); color: var(--hg-texto-fuerte);
border: 1px solid color-mix(in srgb, var(--hg-bloqueado) 50%, transparent); }
.en-msg.err b { color: var(--hg-bloqueado); }
.en-msg.ok { display: block; background: var(--hg-hecho-bg); color: var(--hg-texto-fuerte);
border: 1px solid color-mix(in srgb, var(--hg-hecho) 45%, transparent); }
.en-msg.ok b { color: var(--hg-hecho); }
.en-avisos { margin-top: 16px; }
.en-avisos ul { margin: 0; padding: 0; list-style: none; }
.en-avisos li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--hg-linea-suave); font-size: 14.5px; }
.en-avisos li:first-child { border-top: 0; padding-top: 0; }
.en-pill { flex: none; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--hg-aviso-bg); color: var(--hg-aviso); }
.en-pill.ok { background: var(--hg-hecho-bg); color: var(--hg-hecho); }
.en-avisos small { color: var(--hg-texto-3); white-space: nowrap; }
.en-ayuda { margin-top: 16px; padding: 0; }
.en-ayuda summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--hg-liga); list-style: none; }
.en-ayuda summary::-webkit-details-marker { display: none; }
.en-ayuda summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 700; }
.en-ayuda[open] summary::before { content: "–"; }
.en-ayuda__c { padding: 0 20px 18px; }
.en-tips { margin: 0 0 6px; padding-left: 1.15em; font-size: 14.5px; color: var(--hg-texto-suave); }
.en-tips li { margin: 0 0 8px; }
.en-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 440px) { .en-dos { grid-template-columns: 1fr; } }
.en-tipo { border: 0; padding: 0; margin: 14px 0 0; }
.en-tipo legend { font-weight: 600; font-size: 14px; color: var(--hg-texto-2); padding: 0; margin-bottom: 6px; }
.en-tipo label { display: inline-flex; align-items: center; gap: 7px; margin: 0 16px 0 0; font-weight: 500; color: var(--hg-texto); }
.en-tipo input { accent-color: var(--hg-acento); width: 17px; height: 17px; margin: 0; }
.en-trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.en-pie { margin: 22px 0 0; text-align: center; font-size: 12.5px; color: var(--hg-texto-3); }