.password-control {
  position: relative;
  width: 100%;
}

#emailField input,
.password-control input {
  direction: ltr;
  text-align: left;
}

.password-control input {
  width: 100%;
  padding-right: 56px;
  padding-left: 12px;
}

.password-toggle {
  position: absolute;
  inset-block-start: 4px;
  right: 4px;
  left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3bd;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 180ms ease, background-color 180ms ease;
}

.password-toggle:hover {
  color: #fff;
  background: rgba(118, 87, 255, .16);
}

.password-toggle:active {
  background: rgba(118, 87, 255, .25);
}

.password-toggle[aria-pressed="true"] {
  color: #b8aaff;
  background: rgba(118, 87, 255, .12);
}

.password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.password-toggle [hidden] {
  display: none;
}

.password-toggle:focus-visible {
  outline: 3px solid rgba(159, 137, 255, .65);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .password-toggle {
    transition: none;
  }
}
