.password-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 325px;
    transform: translateY(-82%);
    cursor: pointer;
    opacity: 0.5;
}

.toggle-password-icon {
    width: 21px;
    height: 25px;
    pointer-events: none; /* Prevents icon from capturing click events */
}

.toggle-password:hover .toggle-password-icon {
    opacity: 1;
}

 /*cart*/

.password-container-cart {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;

}

.toggle-password-cart {
    position: relative;
    top: 50%;
    margin-left: -44px;
    transform: translateY(-24px);
    cursor: pointer;
    opacity: 0.5;
}

.toggle-password-icon-cart {
    width: 30px;
    height: 25px;
    pointer-events: none; /* Prevents icon from capturing click events */
}

.toggle-password-cart:hover .toggle-password-icon-cart {
    opacity: 1;
}
