.pw-requirements {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
}

.pw-requirements-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  line-height: 1.2;
  color: rgba(51, 51, 51, 0.5);
  transition: color 150ms ease;
}

.pw-requirements-icon {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}

.pw-requirements-icon::after {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 0.5px;
  width: 3px;
  height: 6px;
  border-right: 1.5px solid transparent;
  border-bottom: 1.5px solid transparent;
  transform: rotate(45deg);
}

.pw-requirements-item.is-met {
  color: #1a8f5e;
}

.pw-requirements-item.is-met .pw-requirements-icon {
  background: #1a8f5e;
  border-color: #1a8f5e;
}

.pw-requirements-item.is-met .pw-requirements-icon::after {
  border-color: #fff;
}

.pw-requirements--dark .pw-requirements-item {
  color: rgba(255, 248, 240, 0.45);
}

.pw-requirements--dark .pw-requirements-item.is-met {
  color: #6fe3ae;
}

.pw-requirements--dark .pw-requirements-item.is-met .pw-requirements-icon {
  background: #6fe3ae;
  border-color: #6fe3ae;
}

.pw-match {
  display: none;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.2;
}

.pw-match.is-visible {
  display: flex;
}

.pw-match-icon {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}

.pw-match.is-match {
  color: #1a8f5e;
}

.pw-match.is-match .pw-match-icon {
  background: #1a8f5e;
  border-color: #1a8f5e;
}

.pw-match.is-match .pw-match-icon::after {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 0.5px;
  width: 3px;
  height: 6px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

.pw-match.is-mismatch {
  color: #c0392b;
}

.pw-match.is-mismatch .pw-match-icon {
  border-color: #c0392b;
}

.pw-match.is-mismatch .pw-match-icon::before,
.pw-match.is-mismatch .pw-match-icon::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1.5px;
  width: 1.5px;
  height: 7px;
  background: #c0392b;
}

.pw-match.is-mismatch .pw-match-icon::before {
  transform: rotate(45deg);
}

.pw-match.is-mismatch .pw-match-icon::after {
  transform: rotate(-45deg);
}

.pw-match--dark.is-mismatch {
  color: #ff9d9d;
}

.pw-match--dark.is-mismatch .pw-match-icon {
  border-color: #ff9d9d;
}

.pw-match--dark.is-mismatch .pw-match-icon::before,
.pw-match--dark.is-mismatch .pw-match-icon::after {
  background: #ff9d9d;
}

.pw-match--dark.is-match {
  color: #6fe3ae;
}

.pw-match--dark.is-match .pw-match-icon {
  background: #6fe3ae;
  border-color: #6fe3ae;
}
