 if (toggleConfirmPassword && confirmPasswordField && confirmPasswordIcon) {
                toggleConfirmPassword.addEventListener('click', function() {
                    // Toggle password visibility
                    const type = confirmPasswordField.getAttribute('type') === 'password' ? 'text' : 'password';
                    confirmPasswordField.setAttribute('type', type);
                    
                    // Toggle icon
                    confirmPasswordIcon.classList.toggle('fa-eye');
  