.password-toggle-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #6c757d;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.password-toggle-icon:hover {
    color: #4a5568;
}

/* For form-floating implementation */
.form-floating .password-toggle-container {
    display: block;
}

.form-floating .password-toggle-icon {
    top: 50%;
    right: 12px;
    z-index: 5;
    /* Ensure the icon doesn't interfere with the form-floating label */
    pointer-events: auto;
    height: 20px;
} 