.portal-access-page {
    min-height: 100vh;
    background: radial-gradient(ellipse at 12% 15%, #e8f0ff 0, transparent 45%), radial-gradient(ellipse at 90% 85%, #e8f5f5 0, transparent 40%), #f7f9fc;
    font-family: Inter, "Segoe UI", sans-serif;
    color: #172b47;
}
.portal-access-page .navbar { padding-block: 16px; }
.portal-access-page .navbar-brand { font-size: 19px; letter-spacing: -.5px; }
.portal-access-page .navbar-brand small { font-size: 12px; font-weight: 500; letter-spacing: .03em; margin-left: 10px; padding-left: 14px; border-left: 1px solid #ffffff50; }
.portal-access-page main.container { padding-block: 44px !important; }
.portal-access-page main > .alert { max-width: 500px; margin-inline: auto; border-radius: 14px; }
.portal-access { width: 100%; max-width: 500px; margin-inline: auto; }
.access-intro { text-align: center; margin-bottom: 24px; }
.access-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #466180; }
.access-intro p { margin: 7px 0 0; font-size: 17px; color: #52647b; }
.access-card { background: #fff; border: 1px solid #e3eaf3; border-radius: 24px; padding: 32px 36px; box-shadow: 0 20px 65px -25px #23477735, 0 2px 8px #23477704; }
.access-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; background: #f0f3f8; border: 1px solid #e9eef5; border-radius: 12px; }
.access-switch a { text-decoration: none; text-align: center; padding: 10px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #596b82; transition: background .18s, box-shadow .18s; }
.access-switch a[aria-current] { color: #234777; background: #fff; box-shadow: 0 2px 6px #172b4710; }
.access-switch a:hover { color: #234777; }
.access-heading { margin: 26px 0; text-align: center; }
.access-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: #eef4ff; border: 1px solid #e0eaff; border-radius: 15px; color: #315e9e; margin-bottom: 14px; }
.access-icon svg { width: 25px; height: 25px; }
.access-heading h1 { font-size: 28px; font-weight: 700; letter-spacing: -.8px; margin: 0 0 8px; color: #172b47; }
.access-heading p { color: #627188; font-size: 14px; line-height: 1.6; margin: 0; }
.portal-access fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
.portal-access [hidden] { display: none !important; }
.access-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.access-field { margin-bottom: 18px; }
.access-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: #2c405c; }
.access-field label span { color: #748096; font-size: 11px; font-weight: 400; }
.access-field input { display: block; box-sizing: border-box; width: 100%; min-width: 0; height: 48px; border: 1px solid #d6dfeb; border-radius: 9px; padding: 11px 14px; background: #fbfcfe; color: #172b47; font: inherit; font-size: 14px; transition: border-color .18s, box-shadow .18s; }
.access-field input::placeholder { color: #8591a3; opacity: 1; }
.access-field input:focus { border-color: #4e7bc0; background: #fff; box-shadow: 0 0 0 3px #315e9e12; }
.access-password-wrap { position: relative; }
.access-password-wrap input { padding-right: 66px; }
.access-reveal { position: absolute; inset: 4px 5px 4px auto; border: 0; border-radius: 6px; background: transparent; padding: 0 10px; color: #3e5f8c; font-size: 12px; font-weight: 600; }
.access-reveal:hover { background: #edf2fa; }
.access-field small { display: block; color: #697991; font-size: 12px; margin-top: 6px; }
.access-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; margin-top: 7px; padding: 12px 20px; border: 1px solid #234777; border-radius: 9px; background: #234777; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 4px 10px #23477720; transition: background .18s, transform .18s; }
.access-submit:hover { background: #19385f; transform: translateY(-1px); }
.access-submit span:last-child { font-size: 19px; font-weight: 400; line-height: 1; }
.access-alternative { border-top: 1px solid #edf0f5; padding-top: 21px; margin: 24px 0 0; text-align: center; font-size: 13px; color: #697991; }
.access-alternative a { color: #315e9e; text-decoration: none; font-weight: 600; margin-left: 3px; }
.access-alternative a:hover { text-decoration: underline; }
.access-footnote { display: flex; justify-content: center; align-items: center; gap: 7px; color: #748298; font-size: 12px; margin: 21px 0 0; }
.access-footnote svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (max-width: 575px) {
    .portal-access-page main.container { padding: 28px 18px !important; }
    .access-card { padding: 24px; border-radius: 20px; }
    .access-heading h1 { font-size: 26px; }
    .access-intro p { font-size: 15px; }
    .access-details { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .portal-access * { transition: none !important; }
}
