/* Bouton œil — champs password */
.ify-pw-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.ify-pw-wrap .ify-pw-input,
.ify-pw-wrap input[type="password"],
.ify-pw-wrap input[type="text"].ify-pw-input {
    padding-right: 2.75rem !important;
}
.ify-pw-toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0.35rem;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
    box-shadow: none;
}
.ify-pw-toggle:hover,
.ify-pw-toggle:focus {
    color: #343a40;
    background: rgba(0, 0, 0, 0.05);
    outline: none;
}
.ify-pw-toggle.is-visible {
    color: #6777ef;
}
.ify-pw-toggle svg {
    display: block;
    pointer-events: none;
}

/* input-group Bootstrap : garder le bouton à l’intérieur du champ */
.input-group > .ify-pw-wrap {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.input-group > .ify-pw-wrap > .form-control {
    border-radius: inherit;
}

[dir="rtl"] .ify-pw-wrap .ify-pw-input,
[dir="rtl"] .ify-pw-wrap input[type="password"],
[dir="rtl"] .ify-pw-wrap input[type="text"].ify-pw-input {
    padding-right: 0.75rem !important;
    padding-left: 2.75rem !important;
}
[dir="rtl"] .ify-pw-toggle {
    right: auto;
    left: 0.35rem;
}
