/* Estilos exclusivos del inicio SPCC. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body.spcc-login {
    margin: 0; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    position: relative; padding: 36px 20px 24px;
    color: #273942; font-family: "Segoe UI", Arial, sans-serif;
    background-color: #b89b55;
    background-image: repeating-radial-gradient(ellipse at 8% 16%, transparent 0, transparent 34px, rgba(255,255,255,.15) 35px, transparent 37px), repeating-radial-gradient(ellipse at 96% 84%, transparent 0, transparent 42px, rgba(255,255,255,.13) 43px, transparent 45px), linear-gradient(135deg, #8c7335, #ae9250 34%, #cbb471 68%, #e6d8ae);
}
.spcc-login::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .7; background-image: linear-gradient(118deg, transparent 48.7%, rgba(255,255,255,.12) 49%, transparent 49.3%), linear-gradient(62deg, transparent 48.7%, rgba(255,255,255,.09) 49%, transparent 49.3%); background-size: 92px 92px; }
.login-glow { position: fixed; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; pointer-events: none; }
.login-glow::before, .login-glow::after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: inherit; }
.login-glow::after { inset: 62px; }
.login-glow-left { top: -190px; left: -150px; }
.login-glow-right { right: -180px; bottom: -210px; }
.login-wrap { position: relative; z-index: 1; width: 100%; max-width: 440px; }
.login-panel { overflow: hidden; border: 1px solid rgba(255,255,255,.76); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 28px 70px rgba(75,48,5,.28), 0 4px 16px rgba(75,48,5,.12); }
.login-brand { padding: 26px 36px 22px; text-align: center; }
.minedu-logo { display: block; width: 250px; max-width: 100%; height: auto; margin: 0 auto; }
.brand-separator, .panel-separator { height: 1px; background: linear-gradient(90deg, transparent, rgba(184,139,45,.82), transparent); }
.brand-separator { margin: 18px 0; }
.panel-separator { margin: 0 28px; }
.program-kicker { margin: 0 0 5px; color: #75613e; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.program-identity h1 { margin: 0; font-size: 36px; line-height: 1.15; font-weight: 750; letter-spacing: .07em; }
.program-subtitle { margin: 8px 0 0; color: #746445; font-size: 13px; font-weight: 600; line-height: 1.5; }
.login-content { padding: 24px 38px 30px; }
.login-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 23px; }
.login-heading h2 { flex: 0 0 auto; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.login-heading span { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(184,139,45,.72)); }
.login-heading span:last-child { background: linear-gradient(90deg, rgba(184,139,45,.72), transparent); }
.login-field { margin-bottom: 17px; }
.login-field label { display: block; margin-bottom: 8px; color: #56636b; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.login-input { display: block; width: 100%; min-height: 49px; padding: 12px 15px; border: 1px solid #bfc1bd; border-radius: 12px; color: #25313a; background: rgba(255,255,255,.8); font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.login-input::placeholder { color: #77818a; }
.login-input:focus { outline: none; border-color: #a67a24; background: #fff; box-shadow: 0 0 0 3px rgba(184,139,45,.18); }
.password-control { position: relative; }
.password-control .login-input { padding-right: 52px; }
.password-toggle { position: absolute; right: 5px; top: 3px; display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; padding: 10px; border: 0; border-radius: 9px; color: #806830; background: transparent; cursor: pointer; }
.password-toggle:hover { background: #f3ead6; }
.eye-icon { width: 23px; height: 23px; }
.eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.login-button, .secondary-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, box-shadow .2s; }
.login-button { margin-top: 23px; border: 1px solid #273942; color: #fff; background: #273942; box-shadow: 0 8px 18px rgba(39,57,66,.18); }
.login-button:hover { background: #344c57; box-shadow: 0 10px 22px rgba(39,57,66,.24); }
.alternative-access { display: flex; align-items: center; gap: 10px; margin: 22px 0 14px; color: #746445; }
.alternative-access span { height: 1px; width: 100%; background: rgba(184,139,45,.5); }
.alternative-access small { flex: 0 0 auto; font-size: 11px; }
.secondary-button { min-height: 46px; font-size: 13px; border: 1px solid #c8ae72; color: #65512a; background: #f3ebd8; }
.secondary-button:hover { background: #ece0c4; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a27520; outline-offset: 4px; }
.login-alert { margin-bottom: 23px; padding: 13px 15px; border: 1px solid; border-radius: 10px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.login-alert-error { color: #842f2c; border-color: #e9bbb4; background: #fff0ec; }
.login-alert-success { color: #285b3b; border-color: #b3d5be; background: #edf7f0; }
.login-form ul { margin: 6px 0; padding-left: 18px; color: #842f2c; font-size: 12px; }
.recovery-panel { margin-top: 32px; padding-top: 26px; border-top: 1px solid #d8c69a; }
.js-login .recovery-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.recovery-description { margin: -3px 0 22px; color: #5d6870; font-size: 13px; line-height: 1.6; }
.back-link { display: block; margin-top: 22px; color: #65512a; font-size: 13px; text-align: center; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.login-footer { margin-top: 20px; text-align: center; }
.login-footer > p { margin: 0; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(76,49,5,.35); }
.about-spcc { margin-top: 13px; font-size: 12px; }
.about-spcc summary { width: fit-content; margin: 0 auto; padding: 7px; color: #fff; cursor: pointer; text-shadow: 0 1px 3px #695120; }
.about-content { margin-top: 12px; padding: 20px 24px; border: 1px solid #e7d9b8; border-radius: 16px; background: #fcf8ef; text-align: left; font-size: 13px; line-height: 1.7; }
.about-content h2 { margin: 16px 0 4px; font-size: 14px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { margin: 0; }
@media (max-width: 480px) {
    body.spcc-login { padding: 22px 12px; }
    .login-panel { border-radius: 22px; }
    .login-brand { padding: 23px 24px 20px; }
    .minedu-logo { width: 225px; }
    .login-content { padding: 23px 24px 26px; }
    .login-input { font-size: 16px; }
    .program-identity h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .login-panel, .login-button, .secondary-button { border: 1px solid CanvasText; } }
