.er-password-field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.er-password-label {
  color: var(--er-ink-2, var(--text, #15312b));
  font-size: .9rem;
  font-weight: 700;
}

.er-password-control {
  position: relative;
  min-width: 0;
}

.er-password-control > input {
  width: 100%;
  min-height: 44px;
  padding-right: 9rem !important;
}

.er-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 32px;
  max-width: 8.25rem;
  padding: 5px 8px;
  transform: translateY(-50%);
  border: 1px solid var(--er-line, var(--border, #dbe8e3));
  border-radius: 8px;
  background: #fff;
  color: var(--er-green-700, var(--green2, #087a55));
  font: inherit;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
}

.er-password-toggle:hover {
  border-color: var(--er-green-500, var(--green, #1db982));
  background: #f2fbf7;
}

.er-password-toggle:focus-visible {
  outline: 3px solid rgba(29, 185, 130, .28);
  outline-offset: 2px;
}

.er-password-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
  margin: 2px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--er-line, var(--border, #dbe8e3));
  border-radius: 10px;
  background: #f8fbfa;
  list-style: none;
}

.er-password-requirements li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 0 5px;
  align-items: center;
  min-width: 0;
  color: var(--er-muted, var(--muted, #687b76));
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.3;
}

.er-password-requirements li > span:first-child {
  grid-row: 1 / span 2;
  color: #81918c;
  font-weight: 900;
}

.er-password-requirements li small {
  color: inherit;
  font-size: .67rem;
  font-weight: 500;
}

.er-password-requirements li[data-state="met"] {
  color: #087a55;
}

.er-password-requirements li[data-state="unmet"] {
  color: #8a3c32;
}

.er-password-help,
.er-password-confirmation-status {
  color: var(--er-muted, var(--muted, #687b76));
  font-size: .78rem !important;
  font-weight: 500;
  line-height: 1.45;
}

.er-password-confirmation-status[data-state="met"] {
  color: #087a55;
}

.er-password-confirmation-status[data-state="unmet"] {
  color: #b42318;
}

@media (max-width: 440px) {
  .er-password-control > input {
    padding-right: 8.25rem !important;
  }

  .er-password-toggle {
    max-width: 7.5rem;
    font-size: .68rem;
  }

  .er-password-requirements {
    grid-template-columns: 1fr;
  }
}
