body.woocommerce-account .woocommerce form .password-input > input,
body.woocommerce-account .woocommerce form .ion-password-input > input {
  padding-right: 3.5rem !important;
}

body.woocommerce-account .woocommerce form .ion-password-input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
}

body.woocommerce-account .woocommerce form .password-input > button.ion-password-toggle,
body.woocommerce-account .woocommerce form .ion-password-input > button.ion-password-toggle {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  color: #222;
  cursor: pointer;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  margin: 0;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  z-index: 2;
}

body.woocommerce-account .woocommerce form .password-input > button.ion-password-toggle::after,
body.woocommerce-account .woocommerce form .ion-password-input > button.ion-password-toggle::after {
  content: "\e010";
  font-family: WooCommerce;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  margin: 0;
  speak: never;
  text-decoration: none;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

body.woocommerce-account .woocommerce form .password-input > button.ion-password-toggle:hover,
body.woocommerce-account .woocommerce form .ion-password-input > button.ion-password-toggle:hover {
  background-color: #f0f0f0;
  color: #111;
}

body.woocommerce-account .woocommerce form .password-input > button.ion-password-toggle:focus,
body.woocommerce-account .woocommerce form .password-input > button.ion-password-toggle:focus-visible,
body.woocommerce-account .woocommerce form .ion-password-input > button.ion-password-toggle:focus,
body.woocommerce-account .woocommerce form .ion-password-input > button.ion-password-toggle:focus-visible {
  background-color: #fff;
  box-shadow: none;
  outline: 3px solid #005fcc !important;
  outline-offset: 2px;
}

