:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
    margin: 0;
    color: #092346;
    background: radial-gradient(ellipse at center, #fff 5%, #e8f0fa 88%);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.login-art { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.login-page {
    position: relative;
    min-height: 100vh;
    padding: 22px 20px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-brand { display: block; width: min(420px, 85vw); }
.login-brand-image { display: block; position: relative; width: 100%; aspect-ratio: 3.15; overflow: hidden; }
.login-brand-image img { position: absolute; width: 100%; height: auto; top: -18%; left: 0; }
.login-motto {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(420px, 85vw);
    margin: 4px 0 25px;
    font-size: clamp(16px, 1.65vw, 21px);
    font-weight: 700;
    font-style: italic;
    white-space: nowrap;
}
.login-motto strong { color: #d99715; }
.login-motto::before, .login-motto::after { content: ""; height: 2px; flex: 1; background: #d99a24; }
h1 { margin: 0; text-align: center; font-size: clamp(29px, 3.3vw, 44px); line-height: 1.2; }
.login-subtitle { margin: 8px 0 24px; color: #515c6b; text-align: center; font-size: clamp(16px, 1.7vw, 22px); }
.login-card {
    width: min(100%, 636px);
    padding: 21px 36px 24px;
    border: 1px solid #c7d4e4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px #1d385414;
}
.login-field + .login-field { margin-top: 18px; }
.login-field label { display: block; margin-bottom: 7px; font-size: 19px; font-weight: 700; }
.login-input { display: flex; align-items: center; min-height: 49px; border: 1.5px solid #b9c6d6; border-radius: 10px; }
.login-input:focus-within { border-color: #14598c; box-shadow: 0 0 0 3px #14598c30; }
.login-input > svg, .password-toggle svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.login-input > svg { margin-left: 16px; }
.login-input input { width: 100%; min-width: 0; padding: 12px 14px; border: 0; outline: 0; background: transparent; color: #092346; font: inherit; font-size: 17px; }
.login-input input::placeholder { color: #687485; opacity: 1; }
.password-toggle { padding: 10px 14px; border: 0; background: none; color: #596575; cursor: pointer; }
.password-toggle[hidden] { display: none; }
.login-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 28px; font-size: 16px; }
.remember-label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.remember-label input { width: 20px; height: 20px; margin: 0; accent-color: #07375e; }
.reset-unavailable { color: #556578; text-decoration: underline; text-decoration-style: dotted; cursor: help; }
.login-submit { width: 100%; min-height: 54px; border: 0; border-radius: 10px; background: #06365f; color: #fff; font: inherit; font-size: 23px; font-weight: 700; cursor: pointer; }
.login-submit:hover { background: #052848; }
.login-submit span { display: inline-block; margin-left: 10px; font-weight: 400; }
.login-support { display: flex; align-items: center; gap: 24px; width: min(685px, 100%); margin: 30px 0 0; color: #4a5b70; text-align: center; font-size: 15px; }
.login-support::before, .login-support::after { content: ""; height: 2px; min-width: 30px; flex: 1; background: #dda02e; }
.login-errors { margin-bottom: 18px; padding: 12px 16px; border: 1px solid #dc9a9a; border-radius: 8px; background: #fff1f1; color: #8c2525; }
.login-errors ul { margin: 0; padding-left: 20px; }
button:focus-visible, a:focus-visible, input[type="checkbox"]:focus-visible { outline: 3px solid #d99715; outline-offset: 3px; }
@media (max-width: 600px) {
    .login-page { padding: 28px 16px; }
    .login-art { opacity: .38; }
    .login-motto { margin-bottom: 28px; gap: 6px; }
    .login-card { padding: 22px 20px; }
    .login-field label { font-size: 17px; }
    .login-options { align-items: flex-start; flex-wrap: wrap; }
    .login-support { gap: 10px; font-size: 14px; }
}
