t.querySelector('label[for="password"]');

        passwordInput.addEventListener('input', () => {
            if (passwordInput.value) {
                passwordLabel.style.display = 'none';
            } else {
                passwordLabel.style.display = 'block';
            }
        });

        document.getElementById('login-form').addEventListener('submit', async (event) => {
            event.preventDefault();

            const password = document.getElementById('password').value;
            cons