/* Ensure the form-group is a relative container */
.form-group.password-group {
    position: relative;
    margin-bottom: 1.5rem;
    /* Adjust spacing between fields */
}

/* Style the input field */
.form-group.password-group .form-control {
    padding-right: 40px;
    /* Space for the eye icon */
    height: 40px;
    /* Consistent height */
}

/* Position the eye icon */
.form-group.password-group .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    /* Bootstrap secondary color, adjust as needed */
    font-size: 1rem;
}

/* Ensure error message doesn't affect layout */
.form-group.password-group .invalid-feedback {
    position: absolute;
    bottom: -25px;
    /* Place error message below the input */
    left: 0;
    width: 100%;
}
