@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800;900&display=swap');
/* Adaptado de SIGEP/assets/css/login.css. Esta hoja solo se carga en el login. */
.login-page, .login-page * { box-sizing: border-box; }
body.login-page { margin:0; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 28px 20px; background: linear-gradient(110deg, #0e2436, #1b3042); color: #122e50; font-family: 'Roboto', system-ui, sans-serif; }
body.login-page::before { content: none; }
.login-card { width: 420px; max-width: 100%; padding: 28px 28px 24px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(5, 18, 31, .12); }

.lgn-avatar { width: 100px; height: 100px; margin: 0 auto 22px; }
.lgn-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lgn-title { text-align: center; margin-bottom: 28px; }
.lgn-title h1 { margin: 0 0 18px; color: #122e50; font-size: 1.35rem; font-weight: 800; letter-spacing: -.65px; line-height: 1.2; }
.lgn-title p { margin: 0; color: #50709a; font-size: 0.92rem; line-height: 20px; }
.lgn-field { margin-bottom: 16px; }
.lgn-input { display: flex; align-items: center; min-height: 44px; overflow: hidden; border: 1px solid #69819a; border-radius: 7px; background: #e8effc; transition: border-color .2s, box-shadow .2s; }
.lgn-input:focus-within { border-color: #006d8f; box-shadow: 0 0 0 3px rgba(0, 169, 211, .12); }
.lgn-input-ico { width: 43px; flex-shrink: 0; display: grid; place-items: center; color: #006d8f; }
.lgn-input svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lgn-input :is(input, select) { width: 100%; min-width: 0; flex: 1; padding: 12px 12px 12px 0; border: 0; outline: 0; background: transparent; color: #111820; font: 400 0.8rem/18px 'Roboto', system-ui, sans-serif; }
.lgn-input select { padding-left: 12px; }
.lgn-input input::placeholder { color: #475569; opacity: 1; }
.lgn-input input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #e8effc inset; -webkit-text-fill-color: #111820; }
.lgn-help { margin-top: 31px; padding-top: 24px; border-top: 1px solid #d8e2f0; text-align: center; color: #50709a; font-size: 0.69rem; line-height: 18px; }
.lgn-cyan { color: #122e50; }
.lgn-help small { display: block; margin-top: 16px; font-size: 0.8rem; }
.lgn-link { color: #006d8f; font-weight: 700; text-decoration: none; }
.lgn-link:hover { text-decoration: underline; }
.lgn-ver { margin-top: 14px; text-align: center; color: #475569; font-size: 0.69rem; line-height: 16px; }
.lgn-error { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 16px; border: 1px solid #efb7bd; border-radius: 7px; background: #fff0f1; color: #a02435; font-size: 0.8rem; line-height: 18px; }
@media (max-width: 480px) {
    body.login-page { padding: 20px 16px; }
    .login-card { padding: 24px 22px 22px; }
    .lgn-avatar { width: 88px; height: 88px; margin-bottom: 18px; }
    .lgn-title { margin-bottom: 24px; }
    .lgn-title h1 { font-size: 1.12rem; margin-bottom: 14px; }
    .lgn-help { margin-top: 24px; padding-top: 20px; }
}
@media (max-height: 620px) {
    body.login-page { align-items: flex-start; padding-top: 16px; padding-bottom: 16px; }
    .lgn-avatar { width: 76px; height: 76px; margin-bottom: 14px; }
    .lgn-title { margin-bottom: 20px; }
    .lgn-title h1 { margin-bottom: 12px; }
    .lgn-help { margin-top: 20px; padding-top: 16px; }
}

.pw-slash { display: none; } .is-visible .pw-slash { display: block; }

.lgn-submit { display:flex; align-items:center; justify-content:center; width:100%; min-height:40px; margin-top:28px; padding:10px 14px; border:1px solid #102f4f; border-radius:7px; background:#102f4f; color:#ffd500; font:800 .8rem/18px 'Roboto',system-ui,sans-serif; cursor:pointer; }
.lgn-submit:hover { background:#19466f; }
.lgn-pw-btn { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; padding:0; border:0; border-radius:6px; background:transparent; color:#006d8f; cursor:pointer; }
.lgn-pw-btn:hover { background:#dce7f9; }
.login-page button:focus-visible,.lgn-input:focus-within { outline:2px solid #006d8f; outline-offset:2px; }
