:root {
    color-scheme: light;
    font-family: Tahoma, Arial, sans-serif;
    color: #505963;
    background: #e9edf0;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
.login-page {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background-color: #e9edf0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='270' viewBox='0 0 300 270'%3E%3Cg fill='none' stroke='%23b9c8d1' stroke-opacity='.075' stroke-width='15'%3E%3Crect x='32' y='35' width='78' height='43' rx='21' transform='rotate(30 70 57)'/%3E%3Crect x='180' y='135' width='80' height='48' rx='23' transform='rotate(-25 220 160)'/%3E%3Ccircle cx='183' cy='35' r='20'/%3E%3Cpath d='M30 190l48 28M105 125l28-35M253 66l25 32' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
}
.login-card {
    width: 482px;
    max-width: 100%;
    padding: 28px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 28px rgba(34, 47, 57, .17);
    transform: translateY(-31px);
}
.brand { display: flex; align-items: center; width: max-content; margin-bottom: 38px; height: 34px; gap: 4px; }
.brand-numbers { display: flex; direction: ltr; font: 700 38px/32px Arial, sans-serif; letter-spacing: -2px; color: #7b7c7f; }
.brand-numbers span { border-bottom: 1px solid #94989c; margin-left: 2px; padding-bottom: 2px; }
.brand-numbers span:first-child { color: #04add7; }
.brand-name { display: flex; flex-direction: column; text-align: center; line-height: 1.15; }
.brand-name > span:first-child { font-size: 17px; color: #00a9d6; }
.brand-name > span:last-child { font: 12px Georgia, serif; color: #777; letter-spacing: 2px; }
h1 { font-size: 19px; line-height: 1.7; margin: 0 0 12px; font-weight: 700; }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 13px; line-height: 22px; margin-bottom: 7px; }
.form-field input {
    width: 100%;
    height: 40px;
    border: 1px solid #d9dde2;
    border-radius: 7px;
    background: #fff;
    padding: 8px 12px;
    color: #384451;
    font: 14px Tahoma, Arial, sans-serif;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.username-field input { height: 30px; background: #f8f9fa; }
.form-field input:focus { border-color: #00a9d6; box-shadow: 0 0 0 3px rgba(0, 169, 214, .12); }
.password-field { position: relative; }
.password-field input { padding-inline: 40px; }
.password-toggle {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    height: 40px;
    width: 40px;
    display: grid;
    place-items: center;
    padding: 9px;
    border: 0;
    background: transparent;
    border-radius: 7px;
    color: #a8b4c2;
    cursor: pointer;
}
.password-toggle svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.6; }
.password-toggle:focus-visible { outline: 2px solid #00a9d6; outline-offset: -3px; }
.password-toggle[aria-pressed="true"] { color: #00a9d6; }
.lock-icon { position: absolute; left: 8px; top: 12px; width: 16px; height: 16px; stroke: #505963; stroke-width: 1.7; pointer-events: none; }
.login-button {
    width: 100%;
    height: 40px;
    margin-top: 9px;
    border: 0;
    border-radius: 5px;
    background: #05a9d5;
    color: #fff;
    font: 700 14px Tahoma, Arial, sans-serif;
    cursor: pointer;
    transition: background .15s;
}
.login-button:hover { background: #0099c4; }
.login-button:focus-visible { outline: 3px solid #007b9f; outline-offset: 3px; }
.field-error, .validation-summary { color: #b42318; font-size: 12px; line-height: 1.9; }
.field-error:empty, .validation-summary-valid { display: none; }
.validation-summary ul { padding-inline-start: 20px; margin: 0 0 12px; }
.input-validation-error { border-color: #b42318 !important; }
@media (max-width: 520px) {
    .login-page { padding: 24px 18px; }
    .login-card { padding: 26px 22px; transform: none; }
    h1 { font-size: 18px; }
}
@media (max-height: 480px) {
    .login-card { transform: none; }
    .brand { margin-bottom: 24px; }
}
