.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

form > .password-wrap {
  margin-bottom: 1rem;
}

.password-wrap input {
  width: 100%;
  padding-right: 2.75rem;
  margin-bottom: 0;
}

.password-toggle {
  position: absolute;
  right: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted, #8b9cb3);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--accent, #3d8bfd);
  background: rgba(255, 255, 255, 0.04);
}

.password-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.password-toggle .icon-hide {
  display: none;
}

.password-toggle.visible .icon-show {
  display: none;
}

.password-toggle.visible .icon-hide {
  display: block;
}

.password-field {
  margin-bottom: 1rem;
}

.password-field label {
  display: block;
}

.password-field .password-wrap input {
  margin-bottom: 0;
}
