.auth-screen {
    --accent: #5556df;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 15px;
    background: #0e2d5e url(/img/login-background.jpg) center / cover no-repeat;
    font: 14px/1.5 'Open Sans', Helvetica, Arial, sans-serif;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 34px 26px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(9, 26, 56, 0.28);
}

.auth-logo {
    display: block;
    width: 290px;
    max-width: 100%;
    margin: 0 auto 33px;
}

.auth-heading {
    margin: -8px 0 22px;
    color: #6b7280;
    text-align: center;
}

.auth-heading h1 {
    margin: 0 0 6px;
    padding: 0;
    color: #33373d;
    font-size: 18px;
    font-weight: 600;
}

.auth-notice {
    margin-bottom: 18px;
    color: #2f6b3a;
}

.auth-check,
.auth-link,
.auth-submit,
.language_link,
.auth-field select {
    text-transform: uppercase;
}

.auth-field {
    position: relative;
    margin-bottom: 14px;
}

.auth-field :is(input, select),
.auth-terms {
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f3f3f9;
}

.auth-field :is(input, select) {
    box-sizing: border-box;
    width: 100%;
    height: 53px;
    padding: 0 20px;
    font: inherit;
}

.auth-field :is(input, select):focus {
    border-color: var(--accent);
    background: #fff;
    outline: 2px solid rgba(85, 86, 223, 0.35);
    outline-offset: 1px;
}

.auth-field input::placeholder {
    color: #9b9b9b;
    text-transform: uppercase;
}

.auth-field.has-error :is(input, select),
.auth-terms.has-error {
    border-color: #e84e40;
    background: #fdf3f2;
}

.password-input-group input {
    padding-right: 52px;
}

.togglePassword {
    position: absolute;
    top: 0;
    right: 0;
    padding: 19px 18px;
    color: #6b7280;
    cursor: pointer;
}

.auth-error {
    display: block;
    margin: -8px 0 12px;
    color: #e84e40;
}

.auth-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 5px;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.auth-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--accent);
}

.auth-terms {
    margin: 4px 0 14px;
    padding: 14px 16px;
    text-transform: none;
}

.auth-screen .auth-terms a {
    color: var(--accent);
    text-decoration: underline;
    white-space: nowrap;
}

.auth-screen .auth-link,
.auth-screen .auth-footnote a {
    color: var(--accent);
}

.auth-submit {
    display: block;
    width: 184px;
    height: 47px;
    margin: 43px auto 0;
    border: 0;
    border-radius: 24px;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
}

.auth-submit:hover,
.auth-submit:focus {
    background: #4344c9;
}

.login_language_container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

.language_link {
    padding: 0 10px;
    border: 0;
    background: none;
    color: #9b9b9b;
    font: inherit;
}

.language_active {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
}

.auth-footnote {
    margin-top: 18px;
    color: #6b7280;
    text-align: center;
}
