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

.pw-field > input {
  width: 100%;
  padding-right: 2.85rem;
  box-sizing: border-box;
}

.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5c6b82;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.pw-toggle:hover,
.pw-toggle:focus-visible {
  color: #072f73;
  background: rgba(7, 47, 115, 0.08);
  outline: none;
}

.pw-toggle.is-visible {
  color: #072f73;
}

.pw-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.gate-card .pw-toggle,
.admin-gate .pw-toggle {
  color: #66758a;
}

.gate-card .pw-toggle:hover,
.gate-card .pw-toggle:focus-visible,
.admin-gate .pw-toggle:hover,
.admin-gate .pw-toggle:focus-visible,
.gate-card .pw-toggle.is-visible,
.admin-gate .pw-toggle.is-visible {
  color: #072f73;
  background: rgba(7, 47, 115, 0.08);
}
