/* Scoped to the login: keep shared Flux controls and branding intact. */
.login-password-field {
  position: relative;
}

.login-password-field #password {
  display: block;
  padding-right: 52px;
}

.login-card .login-password-toggle {
  position: absolute;
  top: 0;
  right: 2px;
  width: 44px;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--accent);
}

.login-card .login-password-toggle:hover {
  background: var(--tint);
  color: var(--accent);
}

.login-password-toggle svg {
  width: 21px;
  height: 21px;
  pointer-events: none;
}

/* Use the custom accessible control consistently in Edge as well. */
.login-password-field #password::-ms-reveal {
  display: none;
}
