:root{--login-blue:#087fbd;--login-blue-dark:#075b91;--login-ink:#243447;--login-muted:#687789;--login-line:#e4e9ef}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
.login-page{min-height:100vh;background:#f4f5f6;color:var(--login-ink);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden;position:relative}
.login-network{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.login-shell{position:relative;z-index:1;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px 22px 18px}
.login-card{width:min(100%,960px);min-height:610px;background:#fff;border-radius:13px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 12px 34px rgba(30,48,66,.16),0 2px 7px rgba(30,48,66,.10);border:1px solid rgba(220,225,230,.9)}
.login-form-panel{padding:42px clamp(28px,5vw,58px) 30px;display:flex;flex-direction:column;justify-content:center;background:#fff}
.brand-block{text-align:center;margin-bottom:28px}
.brand-logo{width:auto;max-width:190px;height:76px;object-fit:contain;display:block;margin:0 auto 9px}
.brand-version{font-size:11px;letter-spacing:2px;font-weight:700;color:#0874ae}
.form-heading{text-align:center;margin-bottom:25px}
.form-heading h1{font-size:25px;font-weight:700;color:#5c6570;margin:0 0 8px}
.form-heading p{font-size:15px;color:#697586;margin:0}
.login-form-panel .form-label{font-size:13px;font-weight:600;color:#526173;margin-bottom:7px}
.login-input{height:49px;border:1px solid #e6e9ed;border-radius:8px;background:#f1f2f3;padding:10px 15px;font-size:15px;color:#26384a;box-shadow:none!important}
.login-input::placeholder{color:#818b98}
.login-input:focus{background:#fff;border-color:#1688c5;outline:0;box-shadow:0 0 0 3px rgba(8,127,189,.12)!important}
.password-wrap{position:relative}
.password-wrap .login-input{padding-right:49px}
.password-toggle{position:absolute;right:5px;top:4px;width:40px;height:40px;border:0;background:transparent;color:#718093;display:grid;place-items:center;border-radius:6px;cursor:pointer}
.password-toggle:hover{background:#e7edf2;color:#075b91}
.eye-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-submit{height:49px;border:0;border-radius:25px;background:linear-gradient(100deg,#087fbd,#075f98);color:#fff;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:24px;box-shadow:0 5px 12px rgba(5,100,157,.18);transition:transform .2s,box-shadow .2s,filter .2s}
.login-submit:hover,.login-submit:focus{color:#fff;filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 8px 17px rgba(5,100,157,.25)}
.login-submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.login-alert{font-size:13px;padding:10px 12px;border-radius:7px;margin-bottom:17px}
.login-footnote{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:26px;color:#8290a0;font-size:11px}
.secure-dot{width:7px;height:7px;background:#21a67a;border-radius:50%;box-shadow:0 0 0 3px rgba(33,166,122,.12)}
.login-brand-panel{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;padding:45px 48px;color:#fff;background:linear-gradient(145deg,#0b91d6 0%,#0876b6 48%,#075b91 100%)}
.login-brand-panel:before,.login-brand-panel:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}
.login-brand-panel:before{width:430px;height:430px;right:-220px;top:-190px}
.login-brand-panel:after{width:330px;height:330px;left:-190px;bottom:-170px}
.panel-content{position:relative;z-index:1;max-width:390px}
.panel-logo-wrap{width:min(100%,330px);min-height:92px;margin:0 auto 25px;padding:17px 20px;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,35,75,.13)}
.panel-logo{display:block;width:100%;height:auto;max-height:76px;object-fit:contain}
.panel-eyebrow{font-size:12px;letter-spacing:3px;font-weight:700;margin:0 0 13px;color:rgba(255,255,255,.8)}
.panel-content h2{font-size:43px;line-height:1.05;font-weight:800;letter-spacing:.5px;margin:0 0 13px}
.panel-content h3{font-size:19px;line-height:1.45;font-weight:600;margin:0;color:#fff}
.panel-divider{width:58px;height:3px;border-radius:5px;background:rgba(255,255,255,.75);margin:27px auto}
.panel-description{font-size:14px;line-height:1.8;color:rgba(255,255,255,.88);margin:0}
.panel-footer{position:absolute;bottom:25px;left:15px;right:15px;text-align:center;font-size:9px;letter-spacing:2px;color:rgba(255,255,255,.65)}
.panel-decoration{position:absolute;border:1px solid rgba(255,255,255,.13);border-radius:50%}
.panel-decoration-one{width:220px;height:220px;right:-120px;bottom:90px}
.panel-decoration-two{width:140px;height:140px;left:-80px;top:75px}
.page-footer{position:relative;z-index:1;text-align:center;font-size:11px;color:#7f8a96;margin-top:17px}
@media(max-width:767.98px){.login-shell{justify-content:flex-start;padding:20px 13px}.login-card{grid-template-columns:1fr;max-width:480px;min-height:0}.login-form-panel{padding:32px 27px 27px;order:1}.login-brand-panel{min-height:230px;padding:27px 25px 48px;order:2}.panel-logo-wrap{width:min(100%,270px);min-height:70px;margin-bottom:15px;padding:13px 16px}.panel-logo{max-height:54px}.panel-eyebrow{font-size:10px;margin-bottom:7px}.panel-content h2{font-size:29px;margin-bottom:6px}.panel-content h3{font-size:14px}.panel-divider{margin:13px auto}.panel-description{font-size:11px;line-height:1.5}.panel-footer{bottom:12px;font-size:8px}.brand-logo{height:64px}.form-heading h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Logotipos del login: enlaces visibles e interactivos al portal principal */
.login-logo-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;border-radius:8px;outline-offset:5px;transition:transform .18s ease,filter .18s ease}
.login-logo-link:hover{transform:scale(1.025);filter:brightness(1.04)}
.login-logo-link:focus-visible{outline:3px solid #ffbf47}
.login-logo-link .brand-logo{cursor:pointer}
.panel-logo-link{width:100%;height:100%}
.panel-logo-link .panel-logo{cursor:pointer}
