.login-page {
    max-width: 420px;
    margin: 0 auto;
    padding: 24px 16px;
}

    .login-page h2 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .login-page .error-message {
        color: #d0021b;
        margin-bottom: 12px;
    }

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .login-form .field {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .login-form .field label {
            font-weight: 600;
            font-size: 0.9rem;
        }

        .login-form .field input[type="text"],
        .login-form .field input[type="password"] {
            height: 44px;
            padding: 0 12px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 1rem;
            box-sizing: border-box;
        }

        .login-form .field input:focus {
            outline: none;
            border-color: #1a73e8;
        }

        .login-form .field .field-validation-error {
            color: #d0021b;
            font-size: 0.8rem;
        }

    .login-form .remember-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
    }

        .login-form .remember-row a {
            color: #1a73e8;
            text-decoration: none;
        }

            .login-form .remember-row a:hover {
                text-decoration: underline;
            }

    .login-form .forgot-link {
        align-self: flex-end;
        font-size: 0.85rem;
        color: #1a73e8;
        text-decoration: none;
    }

        .login-form .forgot-link:hover {
            text-decoration: underline;
        }

    .login-form .submit-button {
        height: 44px;
        background: #1a73e8;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-size: 1rem;
        cursor: pointer;
    }

        .login-form .submit-button:hover {
            background: #1558b0;
        }

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        width: 100%;
        padding-right: 40px;
        box-sizing: border-box;
    }

    .password-wrapper .eye-toggle {
        position: absolute;
        right: 8px;
        top: 32px;
        background: none;
        border: none;
        font-size: 1.1rem;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
    }

.captcha-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

    .captcha-preview img {
        height: 40px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .captcha-preview .refresh-button {
        background: none;
        border: none;
        color: #1a73e8;
        cursor: pointer;
        font-size: 0.85rem;
        min-height: 44px;
    }

.mask-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 999;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #333;
}

    .mask-overlay.is-visible {
        display: flex;
    }
