.pw-strength {
  margin-top: 10px;
}

.pw-bar-track {
  height: 4px;
  border-radius: 2px;
  background: var(--gray-100);
  overflow: hidden;
}

.pw-bar {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width .3s, background .3s;
}

.pw-bar.s1 {
  width: 25%;
  background: var(--red-500);
}

.pw-bar.s2 {
  width: 50%;
  background: var(--amber-500);
}

.pw-bar.s3 {
  width: 75%;
  background: var(--blue-400);
}

.pw-bar.s4 {
  width: 100%;
  background: var(--green-500);
}

.pw-reqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  margin-top: 10px;
}

.pw-req {
  font-size: 0.76rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.pw-req.met {
  color: var(--green-500);
}

.pw-req .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-200);
  flex-shrink: 0;
  transition: background .2s;
}

.pw-req.met .dot {
  background: var(--green-500);
}

@media (max-width: 400px) {
  .pw-reqs {
    grid-template-columns: 1fr;
  }
}