:root {
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: #122b43;
    background: #f2f6fa;
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; }
.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
    background: radial-gradient(circle at 18% 8%, #e4f4fa 0, transparent 34%), #f2f6fa;
}
.login-card {
    width: min(100%, 480px);
    border: 1px solid #dce7f0;
    border-radius: 18px;
    overflow: hidden;
    background: white;
    box-shadow: 0 20px 55px rgb(18 46 72 / 9%);
}
.login-brand {
    display: flex;
    gap: 19px;
    align-items: center;
    padding: 27px 29px;
    background: linear-gradient(125deg, #10283d, #194665);
    color: white;
}
.login-logo { width: 83px; height: 83px; flex-shrink: 0; object-fit: contain; }
.login-kicker {
    margin: 0 0 8px;
    color: #85c7e7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}
.login-brand h1 { margin: 0; font-size: 23px; line-height: 1.16; letter-spacing: -.025em; }
.login-brand h1 span { display: block; font-weight: 500; }
.login-content { padding: 32px 36px 25px; }
.login-overline {
    margin: 0 0 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    color: #1b8cbd;
}
.login-heading h2 { margin: 0 0 5px; font-size: 27px; letter-spacing: -.03em; }
.login-heading > p:last-child { margin: 0 0 26px; color: #75889b; font-size: 13px; }
.login-field { margin-bottom: 18px; }
.login-field > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 650; }
.login-field input {
    width: 100%; min-width: 0; height: 45px; padding: 0 13px;
    border: 1px solid #d4e0e9; border-radius: 8px;
    background: white; color: #122b43; font: inherit; font-size: 14px;
    outline: none; transition: border-color .15s, box-shadow .15s;
}
.login-field input:focus { border-color: #1598c9; box-shadow: 0 0 0 3px rgb(21 152 201 / 13%); }
.login-password { display: flex; position: relative; }
.login-password input { padding-right: 87px; }
.login-password button {
    position: absolute; right: 6px; top: 5px; height: 35px;
    border: 0; border-radius: 6px; background: transparent;
    color: #377595; font-size: 12px; font-weight: 650; cursor: pointer;
}
.login-password button:hover { background: #edf6fa; }
.login-submit {
    width: 100%; height: 46px; display: flex; align-items: center;
    justify-content: center; gap: 10px;
    margin-top: 24px; border: none; border-radius: 8px;
    color: white; background: #137ca9;
    font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .15s, transform .15s;
}
.login-submit:hover { background: #106b93; }
.login-submit:active { transform: translateY(1px); }
.login-submit:focus-visible, .login-password button:focus-visible {
    outline: 3px solid #74cbf0; outline-offset: 2px;
}
.login-errors { margin: 0 0 18px; padding: 11px 14px; border-radius: 8px; background: #fff1f1; color: #a3212a; font-size: 12px; }
.login-errors.validation-summary-valid { display: none; }
.login-errors ul { margin: 0; padding-left: 17px; }
.login-footer { margin: 27px 0 0; text-align: center; font-size: 11px; color: #8a9aaa; }
@media (max-width: 520px) {
    .login-card { border-radius: 13px; }
    .login-brand { padding: 22px; gap: 14px; }
    .login-logo { width: 68px; height: 68px; }
    .login-brand h1 { font-size: 20px; }
    .login-content { padding: 26px 23px 22px; }
}
