/* Isolated presentation for the three portal login pages only. */
.portal-login { --navy:#0b1f3a; --royal:#1f5fb4; --teal:#0b8175; --ink:#14263d; margin:0; color:#fff; font-family:Inter,'Segoe UI',Arial,sans-serif; background:radial-gradient(ellipse at 78% 12%,#17468a88,transparent 52%),radial-gradient(ellipse at 8% 96%,#0b817566,transparent 48%),linear-gradient(125deg,#0b1f3a,#102a4a 56%,#123765); min-height:100vh; min-height:100svh; }
.portal-login *, .portal-login *::before, .portal-login *::after { box-sizing:border-box; }
.portal-login [hidden] { display:none !important; }
.portal-login svg { width:22px; height:22px; flex:none; }
.login-shell { max-width:1240px; margin:auto; padding:36px 48px 24px; min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.school-brand { display:flex; align-items:center; gap:16px; }
.school-logo { width:68px; height:68px; padding:6px; background:#fff; border-radius:18px; box-shadow:0 8px 24px #0002; flex:none; }
.school-logo img { width:100%; height:100%; object-fit:contain; }
.school-name { font-weight:700; font-size:21px; letter-spacing:-.4px; margin:0 0 6px; }
.school-system { color:#becfe3; font-size:12px; letter-spacing:1.3px; margin:0; }
.login-layout { display:grid; grid-template-columns:1fr 440px; gap:80px; align-items:center; flex:1; padding:48px 0; }
.login-intro { animation:login-enter .65s ease both; }
.eyebrow { display:flex; align-items:center; gap:10px; text-transform:uppercase; font-size:11px; font-weight:700; letter-spacing:2px; color:#bdede5; margin:0 0 24px; }
.eyebrow span { width:7px; height:7px; background:#60d2bd; border-radius:50%; box-shadow:0 0 0 5px #60d2bd18; }
.login-intro h2 { font-size:clamp(32px,3.6vw,46px); line-height:1.19; letter-spacing:-1.7px; margin:0 0 22px; font-weight:650; }
.intro-description { color:#bfcee0; line-height:1.8; font-size:15px; max-width:370px; margin:0; }
.school-art { position:relative; height:200px; max-width:380px; margin-top:26px; }
.orbit { position:absolute; border:1px solid #b6d6f21a; border-radius:50%; left:50%; top:43%; transform:translate(-50%,-50%) rotate(-20deg); }
.orbit-one { width:310px; height:140px; }.orbit-two { width:220px; height:180px; transform:translate(-50%,-50%) rotate(24deg); }
.art-center,.art-tile { position:absolute; display:grid; place-items:center; border:1px solid #b7d9ee33; background:linear-gradient(140deg,#ffffff1c,#ffffff05); box-shadow:0 16px 32px #0002; border-radius:22px; }
.art-center { width:94px; height:94px; top:38px; left:calc(50% - 47px); transform:rotate(-8deg); background:linear-gradient(140deg,#1f5fb4aa,#0b817588); }.art-center svg { width:45px; height:45px; }
.art-tile { width:50px; height:50px; border-radius:15px; color:#bbede6; }.tile-one { top:24px; left:18px; transform:rotate(-10deg); }.tile-two { top:101px; right:10px; transform:rotate(10deg); }
.art-caption { position:absolute; bottom:0; width:100%; text-align:center; font-size:11px; letter-spacing:1.2px; color:#a9c4d6; }
.login-card { background:#fff; color:var(--ink); border:1px solid #ffffffb3; border-radius:26px; padding:38px; box-shadow:0 30px 80px #020f2940,0 2px 5px #0001; position:relative; animation:login-enter .65s .08s ease both; }
.login-card::before { content:''; position:absolute; top:0; left:38px; right:38px; height:3px; border-radius:0 0 6px 6px; background:linear-gradient(90deg,var(--royal),var(--teal)); }
.portal-badge { display:inline-flex; align-items:center; gap:7px; background:#e3f4f1; color:#096a60; padding:7px 11px; border-radius:8px; font-size:11px; font-weight:700; letter-spacing:.4px; }.portal-badge svg { width:15px; height:15px; }
.login-card h1 { font-size:30px; letter-spacing:-1px; line-height:1.2; margin:22px 0 10px; }
.card-description { color:#52627a; font-size:13px; line-height:1.6; margin:0; }
.portal-context { font-size:11px; color:#52627a; margin:10px 0 28px; }
.form-group { margin-bottom:20px; }.form-group label { display:block; margin-bottom:9px; font-size:12px; font-weight:650; }.form-group label span { color:#66748a; font-weight:400; }
.input-wrap { display:flex; align-items:center; position:relative; }.input-wrap > svg { position:absolute; left:15px; color:#66748a; width:18px; height:18px; pointer-events:none; }
.input-wrap input { width:100%; min-width:0; height:54px; padding:0 14px 0 44px; border:1px solid #d6dee9; border-radius:10px; background:#f8fafc; color:var(--ink); font:inherit; font-size:14px; transition:border-color .2s,box-shadow .2s,background .2s; }
.input-wrap input::placeholder { color:#707e91; font-size:13px; }.input-wrap input:hover { border-color:#9eafc5; }.input-wrap input:focus { outline:none; border-color:var(--royal); box-shadow:0 0 0 3px #1f5fb41a; background:#fff; }
.input-wrap #password { padding-right:72px; }
.toggle-password { position:absolute; right:6px; min-width:58px; min-height:44px; border:0; background:transparent; color:#1f5fb4; font:inherit; font-size:12px; font-weight:650; cursor:pointer; border-radius:6px; }.toggle-password:hover { background:#e8f1fc; }
/* Eye icon variant: portal-login.js keeps setting aria-pressed and the Show/Hide text; aria-label names the button. */
.toggle-password--eye { min-width:44px; width:44px; height:44px; padding:0; font-size:0; color:#66748a; touch-action:manipulation; -webkit-tap-highlight-color:transparent; transition:color .2s,background .2s; --eye-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.toggle-password--eye[aria-pressed="true"] { color:#1f5fb4; --eye-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.9 5.2A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3 3.9M6.5 6.6A16.5 16.5 0 0 0 2 12s3.6 7 10 7a10 10 0 0 0 5.5-1.6M9.9 9.9a3 3 0 0 0 4.200 4.200M3 3l18 18'/%3E%3C/svg%3E"); }
.toggle-password--eye::before { content:""; position:absolute; inset:0; margin:auto; width:20px; height:20px; background:currentColor; -webkit-mask:var(--eye-icon) center/contain no-repeat; mask:var(--eye-icon) center/contain no-repeat; }
.toggle-password--eye:hover { color:#1f5fb4; }
.input-wrap input:has(+ .toggle-password--eye) { padding-right:56px; }
.input-wrap input:has(+ .toggle-password--eye)::-ms-reveal { display:none; }
@media (forced-colors:active) { .toggle-password--eye::before { background:ButtonText; } }
.login-submit { display:flex; align-items:center; justify-content:center; gap:14px; width:100%; min-height:53px; margin-top:26px; padding:14px 20px; border:0; border-radius:10px; background:linear-gradient(110deg,#17468a,#1f5fb4); color:#fff; font:inherit; font-size:14px; font-weight:650; box-shadow:0 6px 16px #1f5fb42b; cursor:pointer; transition:transform .2s,box-shadow .2s,filter .2s; }
.submit-arrow { display:flex; }.submit-arrow svg { width:18px; height:18px; }.login-submit:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 10px 24px #1f5fb43d; filter:brightness(1.1); }.login-submit:active:not(:disabled) { transform:translateY(0); }.login-submit:disabled { cursor:wait; opacity:.8; }
.portal-login button:focus-visible { outline:3px solid #0b8175; outline-offset:3px; }
.login-spinner { width:17px; height:17px; border:2px solid #ffffff65; border-top-color:#fff; border-radius:50%; animation:login-spin .7s linear infinite; }
.login-status { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.login-footer-note { display:flex; align-items:center; justify-content:center; gap:7px; border-top:1px solid #e4e9f0; margin:28px 0 0; padding-top:22px; font-size:10px; line-height:1.6; color:#66748a; }.login-footer-note svg { width:13px; height:13px; }
.form-alert { border:1px solid #f0c6c6; border-left:3px solid #b42318; border-radius:8px; background:#fff4f3; color:#9c211a; padding:12px 14px; margin:0 0 22px; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }.form-alert strong,.form-alert span { display:block; }.form-alert:focus { outline:2px solid #b42318; outline-offset:2px; }
.page-footer { display:flex; justify-content:space-between; gap:12px; padding-top:18px; border-top:1px solid #ffffff1c; font-size:10px; letter-spacing:.3px; color:#afc3d9; }
.developer-footer { align-items:center; gap:20px; padding:20px 24px; border:1px solid #95c9d52b; border-radius:16px; background:linear-gradient(115deg,#0b1f3acc,#0b81751c); box-shadow:0 8px 24px #020f291a; }
.developer-credit p { margin:0; font-size:12px; line-height:1.7; color:#d7e4f2; }
.developer-credit strong { color:#a0eddf; font-weight:700; }
.developer-credit .developer-contact { margin-top:3px; font-size:11px; color:#afc3d9; }
.developer-contact a { color:inherit; text-decoration:none; white-space:nowrap; }
.developer-contact a:hover { color:#fff; text-decoration:underline; }
.developer-actions { display:flex; gap:10px; flex-shrink:0; }
.developer-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 15px; border:1px solid #8aacc140; border-radius:10px; color:#e1edf8; background:#ffffff08; font-size:12px; font-weight:600; text-decoration:none; transition:background .2s,transform .2s,box-shadow .2s; }
.developer-link svg { width:18px; height:18px; }
.developer-whatsapp { background:#0b8175; border-color:#3caa9c; color:#fff; }
.developer-link:hover { background:#17468a; transform:translateY(-2px); box-shadow:0 5px 14px #0002; }
.developer-whatsapp:hover { background:#096a60; }
.developer-footer a:focus-visible { outline:3px solid #a0eddf; outline-offset:4px; }
@media (max-width:760px) { .page-footer.developer-footer { flex-direction:column; gap:16px; text-align:center; padding:20px 14px; }.developer-credit p { font-size:11px; }.developer-actions { flex-wrap:wrap; justify-content:center; } }
@keyframes login-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }@keyframes login-spin { to { transform:rotate(360deg); } }
@media (min-width:1500px) { .login-shell { max-width:1340px; }.login-layout { gap:120px; grid-template-columns:1fr 460px; } }
@media (max-width:1000px) { .login-shell { padding:28px 32px 22px; }.login-layout { gap:36px; grid-template-columns:1fr 400px; }.login-card { padding:32px; }.login-intro h2 { font-size:35px; }.school-art { max-width:290px; }.orbit-one { width:260px; } }
@media (max-width:760px) { .login-shell { padding:26px 24px 20px; max-width:560px; }.school-brand { justify-content:center; }.school-name { font-size:18px; }.school-logo { width:58px; height:58px; border-radius:15px; }.school-system { font-size:10px; letter-spacing:.8px; }.login-layout { grid-template-columns:1fr; gap:26px; padding:34px 0; }.login-intro { text-align:center; }.eyebrow { justify-content:center; margin-bottom:13px; font-size:10px; }.login-intro h2 { font-size:30px; letter-spacing:-1px; margin-bottom:12px; }.intro-description,.school-art { display:none; }.login-card { padding:30px; border-radius:22px; }.page-footer { font-size:9px; } }
@media (max-width:380px) { .login-shell { padding:22px 16px 18px; }.school-brand { gap:10px; }.school-name { font-size:16px; }.school-system { font-size:9px; }.school-logo { width:50px; height:50px; }.login-card { padding:26px 22px; }.login-card h1 { font-size:27px; }.login-intro h2 { font-size:27px; }.page-footer { flex-direction:column; align-items:center; gap:6px; } }
@media (prefers-reduced-motion:reduce) { .portal-login *, .portal-login *::before { animation:none !important; transition:none !important; } }
