.password-field {
  position: relative;
  display: block;
  width: 100%;
  max-width: 32rem;
}

.login-form .password-field {
  max-width: none;
}

.password-field input {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding-right: 2.6rem;
}

.password-toggle {
  position: absolute;
  right: 0.28rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: #0f172a;
  background: #f1f5f9;
}

.password-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
