.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-topbar {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(24, 59, 53, .07);
}

.login-topbar .language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(24, 59, 53, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
}

.login-topbar .language-link {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 999px;
    color: #52675f;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.login-topbar .language-link:hover,
.login-topbar .language-link.active {
    color: #fff;
    background: #176e5b;
}

.login-content {
    width: min(100% - 32px, 470px);
    margin: auto;
    padding: 44px 0 64px;
}

.login-card {
    padding: 30px;
    border: 1px solid rgba(24, 59, 53, .10);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(32, 74, 61, .10);
}

.login-back {
    color: #52675f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.login-back:hover,
.login-extra-link:hover {
    color: #176e5b;
    text-decoration: underline;
}

.login-heading {
    margin: 27px 0;
    text-align: center;
}

.login-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin: 0 auto 17px;
    border-radius: 18px;
    color: #176e5b;
    background: #e5f2e9;
    font-size: 30px;
}

.login-heading h1 {
    max-width: none;
    margin: 0 0 9px;
    font: 700 32px/1.2 "Manrope", sans-serif;
    letter-spacing: -1px;
}

.login-heading p {
    margin: 0;
    color: #687b73;
    font-size: 14px;
    line-height: 1.6;
}

.form-field {
    margin-bottom: 19px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: #183b35;
    font-size: 13px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #d6e0da;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #183b35;
    font: inherit;
    font-size: 14px;
}

.form-field input:focus {
    border-color: #176e5b;
    box-shadow: 0 0 0 3px rgba(23, 110, 91, .12);
}

.form-field input[aria-invalid="true"] {
    border-color: #b42318;
}

.field-error {
    margin: 7px 0 0;
    color: #b42318;
    font-size: 12px;
}

.remember-option {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 4px 0 20px;
    color: #52675f;
    font-size: 13px;
}

.remember-option input {
    width: 16px;
    height: 16px;
    accent-color: #176e5b;
}

.login-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: #176e5b;
    box-shadow: 0 9px 20px rgba(23, 110, 91, .18);
    cursor: pointer;
    font: 700 14px "DM Sans", sans-serif;
    transition: background .2s ease, transform .2s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    background: #115747;
}

.login-extra-link {
    display: block;
    margin-top: 18px;
    color: #176e5b;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}

.login-status {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #b7dfc5;
    border-radius: 12px;
    color: #176e5b;
    background: #effaf2;
    font-size: 13px;
}

.login-security-note {
    margin: 22px 0 0;
    color: #74837b;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 480px) {
    .login-topbar {
        min-height: 70px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .login-card {
        padding: 23px 19px;
    }

    .login-heading h1 {
        font-size: 28px;
    }
}