d = document.getElementById('password').value;
            const repeatPassword = document.getElementById('repeat-password').value;

            if (password !== repeatPassword) {
                alert("Passwords do not match!");
                return;
            }

            alert("Registration successful!");
            form.reset(); // Optionally reset the form after submission
        });

        // Redirect to Google for OAuth sign-in
        function redirectToGoogle() {
            // For OAuth,