
.password-entry {
  position: relative;
  min-width: 0;
}
.password-entry input { width: 100%; min-width: 0; margin: 0; padding-inline-end: 50px; }
.password-entry input::-ms-reveal { display: none; }
.password-toggle {
  display: grid;
  position: absolute;
  inset-block: 0;
  inset-inline-end: 2px;
  width: 44px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #cfc4e6;
  cursor: pointer;
}
.password-toggle:is(:hover,:focus-visible) { color: white; }
.password-toggle::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-6 10-6 10 6 10 6-3.6 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.password-toggle[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 2px #120e1e;
  transform: rotate(43deg);
}
