/**
 * Bouton œil collé à l'intérieur du champ mot de passe, à droite.
 */
.champ-mot-de-passe {
  position: relative;
  display: block;
}

.champ-mot-de-passe > input[type="password"],
.champ-mot-de-passe > input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding-right: 2.75rem;
}

.champ-mot-de-passe > button[data-affichage-mot-de-passe] {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transform: translateY(-50%);
}

.champ-mot-de-passe > button[data-affichage-mot-de-passe]:hover,
.champ-mot-de-passe > button[data-affichage-mot-de-passe]:focus-visible {
  color: #0f172a;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.champ-mot-de-passe svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
}

.champ-mot-de-passe .hidden {
  display: none !important;
}
