/**
 * Password Toggle Styles
 * 
 * Styles for the password toggle functionality
 */

.password-field-wrapper {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d; /* Bootstrap secondary color */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.password-toggle-btn:hover {
    color: #495057; /* Darker on hover */
}

.password-toggle-btn:focus {
    outline: none;
}

/* Adjust the padding of the password input to prevent text from going under the icon */
.password-field-wrapper input[type="password"],
.password-field-wrapper input[type="text"] {
    padding-right: 40px;
}
