:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #26354a;
    background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #174f81; text-underline-offset: 3px; }
a:hover { color: #072652; }
a:focus-visible, button:focus-visible { outline: 3px solid #4a95cf; outline-offset: 4px; }
.portal-login { display: flex; min-height: 100vh; min-height: 100svh; }
.portal-login-panel {
    flex: 0 0 44%;
    min-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 48px;
    background: #fff;
    box-shadow: 10px 0 30px rgb(7 38 82 / 16%);
    position: relative;
    z-index: 1;
}
.portal-login-content { width: 100%; max-width: 420px; }
.portal-login-logo { display: block; width: 320px; max-width: 100%; height: auto; margin: 0 auto 38px; }
.portal-login-heading { text-align: center; margin-bottom: 30px; }
.portal-login-heading h1 { color: #072652; font-size: 28px; line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
.portal-login-heading h1::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: #a2b8cc; margin: 15px auto; }
.portal-login-heading p { font-size: 14px; line-height: 1.6; color: #667384; margin: 0; }
.portal-login-field { margin-bottom: 20px; }
.portal-login-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.portal-login-field input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbd3dc; border-radius: 6px; font: inherit; color: #26354a; background: #fff; }
.portal-login-field input:focus { outline: none; border-color: #367cb2; box-shadow: 0 0 0 3px rgb(54 124 178 / 15%); }
.portal-login-field input[aria-invalid="true"] { border-color: #b52835; }
.portal-login-error { font-size: 13px; line-height: 1.5; color: #b52835; margin: 7px 0 0; }
.portal-login-forgot { text-align: right; font-size: 13px; margin: -6px 0 24px; }
.portal-login-submit { display: block; width: 100%; padding: 14px 20px; border: 0; border-radius: 6px; background: #174f81; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.portal-login-submit:hover { background: #072652; }
.portal-collection { display: flex; align-items: center; gap: 20px; padding: 24px 0; margin-top: 36px; border-top: 1px solid #dce1e7; border-bottom: 1px solid #dce1e7; }
.portal-collection-icon { width: 43px; height: 43px; flex-shrink: 0; color: #174f81; }
.portal-collection > div { padding-left: 20px; border-left: 1px solid #cbd3dc; }
.portal-collection p { margin: 0 0 5px; font-size: 14px; color: #667384; }
.portal-collection-phone { display: block; font-size: 28px; font-weight: 750; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.portal-collection-link { display: inline-block; margin-top: 10px; font-size: 13px; }
.portal-login-footer { text-align: center; font-size: 11px; line-height: 1.7; color: #667384; padding-top: 18px; }
.portal-login-footer p { margin: 0 0 3px; }
.portal-login-photo { flex: 1; position: relative; overflow: hidden; min-width: 0; }
.portal-login-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 767px) {
    .portal-login-panel { flex: 1; min-width: 0; padding: 32px 24px; box-shadow: none; }
    .portal-login-photo { display: none; }
    .portal-login-logo { width: 290px; margin-bottom: 30px; }
}
@media (max-width: 360px) {
    .portal-login-panel { padding: 28px 18px; }
    .portal-collection { gap: 12px; }
    .portal-collection > div { padding-left: 12px; }
    .portal-collection-phone { font-size: 24px; }
}
