/* #form-field-11ce36 {
padding-right: 30px; /* Space for the eye icon
}*/
#togglePassword {
font-size: 16px;
color: red;
}document.addEventListener('DOMContentLoaded', function() {
var passwordField = document.getElementById('form-field-11ce36');
if (passwordField) {
var eyeIcon = document.createElement('i');
eyeIcon.className = 'fas fa-eye';
eyeIcon.id = 'togglePassword';
eyeIcon.style.position = 'absolute';
eyeIcon.style.right = '10px';
eyeIcon.style.top = '50%';
eyeIcon.style.transform = 'translateY(-50%)';
eyeIcon.style.cursor = 'pointer';
passwordField.parentElement.style.position = 'relative';
passwordField.parentElement.appendChild(eyeIcon);
eyeIcon.addEventListener('click', function() {
if (passwordField.type === 'password') {
passwordField.type = 'text';
this.classList.remove('fa-eye');
this.classList.add('fa-eye-slash');
} else {
passwordField.type = 'password';
this.classList.remove('fa-eye-slash');
this.classList.add('fa-eye');
}
});
}
});