/* San José Mall Plaza — Sistema de Gestión Administrativa */
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff;background:#0f2b44;font-synthesis:none;font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
html{min-height:100%}
body{min-width:320px;min-height:100vh;margin:0}
button,input{font:inherit}
button{cursor:pointer}
.page-shell{position:relative;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;isolation:isolate;overflow-x:hidden;background:linear-gradient(150deg,#102d48 0%,#0f2b44 42%,#071f36 100%)}
.page-shell::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 55% 48% at 50% 12%,rgba(42,82,117,.3),transparent 80%),linear-gradient(180deg,transparent 72%,rgba(2,14,28,.26));z-index:-3}
.ambient{position:absolute;z-index:-2;pointer-events:none;border-radius:50%;filter:blur(6px)}
.ambient--left{width:490px;height:490px;top:31%;left:-380px;border:90px solid rgba(47,90,129,.14)}
.ambient--right{width:390px;height:390px;top:15%;right:-290px;border:75px solid rgba(193,156,92,.055)}
.brand-watermark{position:absolute;left:-66px;top:27%;z-index:-1;font-family:Georgia,"Times New Roman",serif;font-size:clamp(200px,31vw,480px);letter-spacing:-.15em;color:rgba(120,160,193,.05);user-select:none;pointer-events:none}
.main{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:min(100%,560px);margin:auto;padding:38px 24px 42px}
.brand{width:min(260px,76vw);height:auto;margin:0 auto 8px;display:block;overflow:visible;flex-shrink:0}
.brand__image{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.gold-rule{height:2px;width:42px;border-radius:3px;margin:0 auto 22px;background:linear-gradient(90deg,#be9854,#e7c885,#be9854);box-shadow:0 0 16px rgba(220,185,115,.28)}
.portal-heading{text-align:center;margin-bottom:26px}

h1{font-size:clamp(22px,3vw,26px);font-weight:640;letter-spacing:-.035em;line-height:1.3;margin:0 0 7px}
.portal-heading h1 span,.portal-heading h1 strong{display:block}
.portal-heading h1 span{font-weight:650}
.portal-heading h1 strong{font-weight:750;letter-spacing:.10em;color:#e2c284;font-size:.85em;margin-top:4px}

.login-panel{width:100%;max-width:374px}
.field{margin-bottom:17px}
.field label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;letter-spacing:.01em;color:#e4edf4}
.input-wrap{position:relative;display:flex;align-items:center;min-height:52px;border:1px solid rgba(182,205,228,.2);border-radius:11px;background:rgba(88,125,159,.19);box-shadow:0 6px 18px rgba(0,14,30,.08);transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.input-wrap:focus-within{border-color:#c7ab6e;box-shadow:0 0 0 3px rgba(201,168,101,.18);background:rgba(75,113,150,.27)}
.input-wrap>svg{width:19px;height:19px;margin:0 14px 0 16px;flex:none;fill:none;stroke:#d5e2ee;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
input{height:50px;flex:1;min-width:0;border:0;outline:none;color:#fff;background:transparent;font-size:14px;line-height:1.4}
input::placeholder{color:#a5bdd0;opacity:1}
input::-ms-reveal{display:none}
.password-toggle{border:0;appearance:none;display:grid;place-items:center;width:44px;height:44px;margin-right:3px;border-radius:8px;color:#d9e7f3;background:transparent}
.password-toggle:hover,.password-toggle:focus-visible{background:rgba(255,255,255,.08)}
.password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.submit-button{display:flex;width:100%;min-height:51px;align-items:center;justify-content:center;gap:12px;margin:21px 0 0;border:0;border-radius:11px;background:linear-gradient(110deg,#e1bb73 0%,#c79f5c 100%);box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.26);color:#102b44;font-size:14px;font-weight:750;transition:filter .2s,transform .2s}
.submit-button span{font-size:19px;font-weight:400;line-height:0}
.submit-button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.submit-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.form-feedback{min-height:0;text-align:center;color:#f2c987;font-size:12px;line-height:1.5;margin:0}
.form-feedback:not(:empty){margin:13px 0 0}
.availability{text-align:center;font-size:11px;line-height:1.6;color:#93abc0;margin:19px 0 0}
.skyline{position:absolute;bottom:62px;left:0;right:0;height:146px;z-index:-1;color:rgba(205,168,100,.24);pointer-events:none}
.skyline svg{width:100%;height:100%}
.footer{min-height:61px;display:flex;align-items:center;justify-content:center;gap:13px;padding:10px 18px;color:#90a6b9;font-size:10px;letter-spacing:.025em;background:rgba(3,19,35,.21);border-top:1px solid rgba(186,159,109,.13)}
.footer>span:first-child{font-size:11px;letter-spacing:.035em;font-weight:500}

.footer__divider{width:1px;height:17px;background:rgba(203,222,235,.25)}
.footer__bullet{margin:0 5px;color:#cfb47f}
@media(max-height:850px) and (min-width:650px){.brand{width:220px}.main{padding-top:22px;padding-bottom:24px}.gold-rule{margin-bottom:18px}.portal-heading{margin-bottom:21px}}
@media(max-height:760px) and (min-width:650px){.brand{width:205px}.main{padding-top:22px;padding-bottom:25px}.portal-heading{margin-bottom:18px}}
@media(max-width:540px){.main{padding:26px 23px 34px;justify-content:center}.brand{width:214px}.gold-rule{margin-bottom:19px}.portal-heading{margin-bottom:23px}h1{font-size:20px}.skyline{bottom:64px;height:112px}.footer{gap:8px;font-size:10px}.brand-watermark{top:34%;left:-35px}}
@media(max-width:360px){.main{padding-left:18px;padding-right:18px}.footer{padding:7px 12px}.footer__divider{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Session views */
.panel-card{padding:26px;border:1px solid rgba(191,157,97,.35);border-radius:15px;background:rgba(25,56,81,.65);box-shadow:0 12px 36px rgba(0,0,0,.12);text-align:center;color:#d8e8f6}
.panel-card p{font-size:13px}
.panel-caption{color:#e0bd77;font-size:10px!important;letter-spacing:.18em;font-weight:700}
.account-email{margin:0 0 20px;overflow-wrap:anywhere;font-weight:700;font-size:14px;text-align:center;color:white}
.field .input-wrap>input:first-child{padding-left:15px}

/* All content must remain visible regardless of viewport height. */
.portal-heading{width:100%;max-width:420px;margin:0 auto 26px}
.portal-heading h1{margin:0;font-weight:600;font-size:clamp(18px,2.7vw,23px);letter-spacing:.085em;line-height:1.55}
.portal-heading h1 span,.portal-heading h1 strong{display:block;font-weight:650}
.portal-heading h1 strong{color:#e2c17f;font-weight:750;letter-spacing:.12em}
.footer{min-height:57px;letter-spacing:.04em;flex-shrink:0}
@media(max-width:540px){.portal-heading{margin-bottom:22px}.portal-heading h1{font-size:17px;letter-spacing:.06em}}

/* Login 2.0: consistently dark fields, including Chromium's autofilled values. */
.login-panel .input-wrap {overflow:hidden;background:#193852;border:1px solid #3b5a76;min-height:54px;border-radius:12px}
.login-panel .input-wrap:focus-within{background:#1b405e;border-color:#e2bd76;box-shadow:0 0 0 3px rgba(225,183,111,.19)}
.login-panel .input-wrap input:not([type=hidden]){width:100%;height:52px;display:block;min-width:0;flex:1 1 auto;border:0;box-shadow:none;border-radius:0;color:#f7fbff!important;background:transparent!important;-webkit-text-fill-color:#f7fbff;caret-color:#fff;appearance:none;-webkit-appearance:none;padding:0 10px 0 0;font-size:14px}
.login-panel .input-wrap input:first-child{padding-left:16px}
.login-panel .input-wrap input:not([type=hidden])::placeholder{color:#a9bfd1;-webkit-text-fill-color:#a9bfd1}
.login-panel .input-wrap input:-webkit-autofill,
.login-panel .input-wrap input:-webkit-autofill:hover,
.login-panel .input-wrap input:-webkit-autofill:focus,
.login-panel .input-wrap input:-webkit-autofill:active{
  -webkit-box-shadow:0 0 0 1000px #193852 inset!important;
  box-shadow:0 0 0 1000px #193852 inset!important;
  -webkit-text-fill-color:#f7fbff!important;
  caret-color:#fff!important;
  border:0!important;
  transition:background-color 9999s ease-out 0s;
}
.login-panel .input-wrap>svg{margin-right:15px}
.login-panel .password-toggle{flex:none}
/* Compact the institutional logo to avoid cropping on shorter screens. */
.main{width:min(100%,550px);padding:18px 24px 30px}
.brand{width:min(184px,48vw);margin:0 auto 4px}
.gold-rule{margin-bottom:12px}
.portal-heading{margin-bottom:23px}
.portal-heading h1{font-size:clamp(19px,2.4vw,23px);line-height:1.45}
@media(max-height:760px) and (min-width:650px){.brand{width:158px}.main{padding-top:15px;padding-bottom:16px}.portal-heading{margin-bottom:14px}.field{margin-bottom:12px}}
@media(max-width:540px){.brand{width:175px}.main{padding:19px 23px 25px}.portal-heading{margin-bottom:19px}.footer{min-height:54px}}
