q => req.message).join(', ');
                    document.getElementById('passwordHelp').innerHTML = `<span class="text-red-500">Password ${messages}</span>`;
                    isValid = false;
                }

                if (passwordInput.value.length > 128) {
                    document.getElementById('passwordHelp').innerHTML = '<span class="text-red-500">Password is too long.</span>';
                    isValid = false;
                }

                // Validate Confirm Password
        