/* Password show/hide toggle */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle:hover { color: rgb(var(--tint, 6 66 136)); }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgb(var(--text-2, 107 114 128)); display: flex; align-items: center;
  cursor: pointer; padding: 6px; width: auto; margin: 0;
}

/* Live password requirements checklist */
.pw-rules { list-style: none; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px;
  background: rgb(var(--soft, 232 240 250) / .55); border: 1px solid rgb(var(--line, 199 212 245) / .7); font-size: 13px; line-height: 1.7; color: rgb(var(--tint, 6 66 136)); }
.pw-rules .pw-title { font-weight: 600; margin-bottom: 2px; }
.pw-rules li[data-rule] { display: flex; align-items: flex-start; gap: 8px; color: rgb(var(--text-2, 107 114 128)); transition: color .15s; }
.pw-rules .pw-ic { flex: 0 0 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 1.5px solid #9ca3af;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1; color: #fff; }
.pw-rules li.ok { color: #15803d; font-weight: 600; }
.pw-rules li.ok .pw-ic { background: #16a34a; border-color: #16a34a; }
.pw-rules li.ok .pw-ic::after { content: "\2713"; }
@media (prefers-color-scheme: dark) { .pw-rules li.ok { color: #86e0b5; } }
