.pw-strength {
  margin-top: 0.5rem;
}

.pw-strength-bar {
  height: 4px;
  background: rgba(125, 211, 252, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.pw-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.pw-strength-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.pw-strength-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pw-strength-hint {
  font-size: 0.72rem;
  color: var(--muted, #8b9cb8);
  text-align: right;
}

.pw-strength--short .pw-strength-bar span {
  width: 18%;
  background: #f87171;
}

.pw-strength--short .pw-strength-label {
  color: #f87171;
}

.pw-strength--low .pw-strength-bar span {
  width: 32%;
  background: #fb923c;
}

.pw-strength--low .pw-strength-label {
  color: #fb923c;
}

.pw-strength--fair .pw-strength-bar span {
  width: 52%;
  background: #38bdf8;
}

.pw-strength--fair .pw-strength-label {
  color: #38bdf8;
}

.pw-strength--good .pw-strength-bar span {
  width: 76%;
  background: #0ea5e9;
}

.pw-strength--good .pw-strength-label {
  color: #0ea5e9;
}

.pw-strength--strong .pw-strength-bar span {
  width: 100%;
  background: #22c55e;
}

.pw-strength--strong .pw-strength-label {
  color: #22c55e;
}
