.password-field {
  position: relative;
  display: block;
  width: 100%;
}

.password-field input {
  padding-right: 58px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(94, 132, 255, .2);
  border-color: rgba(94, 132, 255, .42);
  outline: none;
}

.password-toggle.is-visible {
  background: rgba(94, 132, 255, .24);
  border-color: rgba(94, 132, 255, .55);
}

@media (max-width: 650px) {
  .password-toggle {
    right: 9px;
    width: 40px;
    height: 40px;
  }
}