/* Show/hide control for the password value being typed (never a stored hash). */
.da-pw-field {
  position: relative;
  display: block;
  width: 100%;
}

.da-pw-field > input {
  width: 100%;
  padding-inline-end: 2.75rem !important;
  box-sizing: border-box;
}

.da-pw-toggle {
  position: absolute;
  inset-inline-end: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
}

.da-pw-toggle:hover {
  color: #ea580c;
  background: rgba(249, 115, 22, 0.08);
}

.da-pw-toggle:focus {
  outline: none;
}

.da-pw-toggle:focus-visible {
  color: #ea580c;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.28);
}

.da-pw-toggle .da-pw-icon {
  display: block;
}

.da-pw-toggle .da-pw-icon--hide,
.da-pw-field.is-visible .da-pw-icon--show {
  display: none;
}

.da-pw-field.is-visible .da-pw-icon--hide {
  display: block;
}

.da-ua-field .da-pw-field > input[type="text"],
.da-ua-field .da-pw-field > input[type="password"] {
  height: 2.75rem;
}

.da-ua-pw-hint {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
}

.lp-form .da-pw-field > input,
.lp-field .da-pw-field > input,
.auth-modal__form .da-pw-field > input,
.membership-modal__field .da-pw-field > input,
.auth-form .da-pw-field > input {
  direction: ltr;
  text-align: left;
}
