/* Bienvenida SITUS. Estilos limitados a la pantalla de acceso. */
body.campus-login {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: clamp(16px, 3.2vw, 48px);
    background: #f2f3ef;
    color: #263b35;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.campus-skip { position: fixed; top: 12px; left: 24px; z-index: 10; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 12px 18px; border-radius: 10px; background: #fff; color: #155b4f; }
.campus-skip:focus { width: auto; height: auto; overflow: visible; clip-path: none; outline: 3px solid #17685e; }
.campus-layout {
    width: 100%;
    max-width: 1192px;
    min-height: 708px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(0, 1fr);
    padding: 10px;
    border: 1px solid #e0e5df;
    border-radius: 30px;
    background: #fffefa;
    box-shadow: 0 24px 70px -36px #1b39252b, 0 2px 8px #253f2703;
}
.campus-photo-panel { position: relative; isolation: isolate; min-height: 688px; overflow: hidden; border-radius: 22px; background: #304d4d; color: #fff; }
.campus-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.campus-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #102d3a66 0%, transparent 26%, #0b20290a 43%, #0b232a7a 68%, #0b232aeb 100%); }
.campus-brand { position: absolute; top: 30px; left: 30px; display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: .07em; text-decoration: none; }
.campus-brand:hover { color: #fff; text-decoration: none; }
.campus-brand-mark { display: grid; place-items: center; width: 44px; height: 46px; border: 1px solid #ffffff65; border-radius: 13px; background: #f9fffb21; color: #fff; font-size: 29px; font-weight: 400; letter-spacing: 0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.campus-brand small { display: block; margin-top: 6px; color: #f5faf6; font-size: 8px; font-weight: 500; letter-spacing: .15em; }
.campus-photo-copy { position: absolute; right: 34px; bottom: 30px; left: 34px; }
.campus-location { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #eef5ed; font-size: 10px; font-weight: 650; letter-spacing: .13em; }
.campus-location > span { width: 5px; height: 5px; border-radius: 50%; background: #dbe9b9; box-shadow: 0 0 0 4px #dbe9b915; }
.campus-photo-copy h2 { margin: 0 0 17px; color: #fff; font-size: clamp(35px, 3.5vw, 47px); line-height: 1.08; font-weight: 580; letter-spacing: -.045em; }
.campus-photo-copy > p { margin: 0; color: #edf4f1; font-size: 13px; font-weight: 400; line-height: 1.75; }
.campus-photo-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 31px; padding-top: 19px; border-top: 1px solid #ffffff36; color: #e0e9e6; font-size: 10px; }
.campus-photo-footer > span:last-child { align-self: center; font-size: 7px; letter-spacing: .11em; }
.campus-auth-panel { display: flex; flex-direction: column; min-width: 0; padding: 30px clamp(30px, 4.2vw, 64px) 22px; }
.campus-auth-top { display: flex; align-items: center; gap: 9px; color: #52695e; font-size: 9px; font-weight: 650; letter-spacing: .13em; }
.campus-section-line { width: 20px; height: 2px; background: #427561; }
.campus-form-card { width: 100%; max-width: 366px; margin: auto; padding: 48px 0 36px; }
.campus-welcome-label { display: block; margin-bottom: 14px; color: #43735e; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.campus-form-card h1 { margin: 0 0 15px; color: #243b32; font-size: clamp(28px, 2.6vw, 35px); font-weight: 650; line-height: 1.15; letter-spacing: -.05em; }
.campus-form-card h1 > span { color: #17685e; }
.campus-intro { margin: 0 0 30px; color: #647169; font-size: 12px; line-height: 1.85; }
.campus-form .form-label { margin: 0 0 8px; color: #384e43; font-size: 11px; font-weight: 600; }
.campus-form .form-label [aria-label="obligatorio"] { margin-left: 2px; color: #738279; font-weight: 400; }
.campus-form .mb-3 { margin-bottom: 20px !important; }
.campus-form .form-control { min-height: 50px; height: 50px; padding: 12px 14px; border: 1px solid #dfe5dd; border-radius: 11px; background: #fff; color: #213c31; font-family: inherit; font-size: 12px; box-shadow: 0 1px 2px #18312102; transition: border-color 150ms ease, box-shadow 150ms ease; }
.campus-form .form-control::placeholder { color: #79857c; opacity: 1; }
.campus-form .form-control:focus { outline: 0; border-color: #4a8272; box-shadow: 0 0 0 4px #17685e13; background: #fff; }
.campus-password-wrap { position: relative; }
.campus-password-wrap .form-control { padding-right: 50px; }
.campus-password-toggle { position: absolute; top: 28px; right: 5px; display: grid; place-items: center; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: #6c7b70; cursor: pointer; touch-action: manipulation; }
.campus-password-toggle[hidden] { display: none; }
.campus-password-toggle:hover { color: #17685e; background: #edf3ed; }
.campus-password-toggle svg { width: 20px; height: 20px; }
.campus-eye-slash { display: none; }
.campus-password-toggle[aria-pressed="true"] .campus-eye-slash { display: block; }
.campus-submit.btn { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 50px; margin-top: 7px; padding: 13px 17px; border: 1px solid #17685e; border-radius: 11px; background: #17685e; color: #fff; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .01em; box-shadow: 0 4px 8px #17685e0c, inset 0 1px 0 #ffffff1a; transition: background-color 150ms ease, box-shadow 150ms ease, transform 100ms ease; touch-action: manipulation; }
.campus-submit.btn:hover { border-color: #12594e; background: #12594e; box-shadow: 0 6px 16px #17685e20; }
.campus-submit.btn:active { transform: scale(.99); background: #104e44 !important; }
.campus-submit > svg { width: 19px; height: 19px; }
.campus-password-toggle:focus-visible, .campus-submit:focus-visible, .campus-brand:focus-visible { outline: 3px solid #85ad95; outline-offset: 4px; }
.campus-account-help { margin: 25px 0 23px; color: #455c4e; font-size: 11px; font-weight: 550; line-height: 1.8; }
.campus-account-help > span { color: #68766c; font-weight: 400; }
.campus-access-note { display: flex; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid #e6ebe2; color: #6a786d; font-size: 10px; line-height: 1.6; }
.campus-access-note svg { flex-shrink: 0; width: 16px; height: 16px; color: #567161; }
.campus-auth-footer { display: flex; justify-content: space-between; gap: 12px; color: #758176; font-size: 9px; line-height: 1.6; }
.campus-auth-footer > span:last-child { color: #7b847b; }
.campus-form-error { margin-bottom: 20px; padding: 13px 14px; border: 1px solid #ebceca; border-radius: 10px; background: #fff3f1; color: #8e3a31; font-size: 12px; line-height: 1.6; }
@media (min-width: 1440px) and (min-height: 850px) {
    .campus-layout { min-height: 780px; }
    .campus-photo-panel { min-height: 760px; }
}
@media (max-width: 1050px) {
    body.campus-login { padding: 24px; }
    .campus-layout { min-height: 680px; }
    .campus-photo-panel { min-height: 660px; }
    .campus-auth-panel { padding-right: 32px; padding-left: 32px; }
    .campus-photo-footer > span:last-child { display: none; }
    .campus-photo-copy { right: 26px; left: 26px; }
    .campus-brand { top: 26px; left: 26px; }
    .campus-copy-break { display: none; }
}
@media (max-width: 760px) {
    body.campus-login { display: block; padding: 16px; }
    .campus-layout { display: flex; flex-direction: column; max-width: 520px; min-height: 0; padding: 7px; border-radius: 25px; }
    .campus-photo-panel { min-height: 260px; border-radius: 18px; }
    .campus-photo { object-position: 50% 38%; }
    .campus-photo-shade { background: linear-gradient(180deg, #0a263c55, #102c3108 30%, #102c31d9 100%); }
    .campus-brand { top: 20px; left: 21px; gap: 9px; font-size: 20px; }
    .campus-brand-mark { width: 35px; height: 37px; border-radius: 10px; font-size: 25px; }
    .campus-brand small { margin-top: 4px; font-size: 6.5px; }
    .campus-photo-copy { right: 23px; bottom: 23px; left: 23px; }
    .campus-location { margin-bottom: 10px; font-size: 8px; }
    .campus-photo-copy h2 { margin-bottom: 0; font-size: 31px; line-height: 1.05; }
    .campus-photo-copy > p, .campus-photo-footer { display: none; }
    .campus-auth-panel { padding: 30px 24px 20px; }
    .campus-auth-top { display: none; }
    .campus-form-card { max-width: 400px; padding: 0; }
    .campus-welcome-label { margin-bottom: 11px; font-size: 8px; }
    .campus-form-card h1 { font-size: clamp(27px, 6.5vw, 34px); }
    .campus-intro { margin-bottom: 25px; font-size: 12px; }
    .campus-form .form-control { font-size: 16px; }
    .campus-account-help { margin-top: 22px; margin-bottom: 19px; }
    .campus-auth-footer { margin-top: 29px; font-size: 8px; }
}
@media (max-width: 360px) {
    body.campus-login { padding: 10px; }
    .campus-auth-panel { padding: 26px 17px 18px; }
    .campus-photo-panel { min-height: 235px; }
    .campus-form-card h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .campus-form .form-control, .campus-submit.btn { transition: none; }
    .campus-submit.btn:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
    .campus-brand-mark { background: #244f51; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
    .campus-form .form-control { border-color: #5f7666; }
    .campus-intro, .campus-account-help > span, .campus-auth-footer, .campus-access-note { color: #3f5146; }
    .campus-photo-shade { background: linear-gradient(180deg, #102d3a99, transparent 28%, #0b232a44 48%, #0b232af5 100%); }
}
