/* ── Password Strength Checker — /tools/password-strength-checker ───────── */

.psc-wrap { color: #0d1f3c; }

/* Hero */
.psc-hero {
  background: #0f2544;
  padding: 56px 24px 44px;
  text-align: center;
}
.psc-hero-inner { max-width: 620px; margin: 0 auto; }
.psc-hero-icon { margin-bottom: 14px; }
.psc-hero-icon svg { width: 52px; height: 52px; }
.psc-hero-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
}
.psc-hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin: 0 0 26px;
}

.psc-form { max-width: 480px; margin: 0 auto; }
.psc-input-wrap {
  position: relative;
  margin-bottom: 10px;
}
.psc-password-input {
  width: 100%;
  font-size: 15px;
  color: #0d1f3c;
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 46px 13px 16px;
  box-sizing: border-box;
}
.psc-password-input:focus { outline: 2px solid #017bbd; outline-offset: 1px; }
.psc-toggle-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 38px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.psc-toggle-btn svg { width: 20px; height: 20px; }
.psc-toggle-btn.is-visible { color: #017bbd; }

.psc-check-btn {
  width: 100%;
  background: #f05a28;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
}
.psc-check-btn:hover { opacity: .9; }

/* Body */
.psc-outer { max-width: 680px; margin: 0 auto; padding: 40px 24px 80px; }

/* Strength meter */
.psc-meter-wrap { margin-bottom: 28px; }
.psc-meter-track {
  height: 10px;
  border-radius: 5px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 10px;
}
.psc-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 5px;
  background: #dc2626;
  transition: width .25s ease, background-color .25s ease;
}
.psc-meter-label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.psc-meter-label.psc-lvl-0, .psc-meter-label.psc-lvl-1 { color: #dc2626; }
.psc-meter-label.psc-lvl-2 { color: #ea580c; }
.psc-meter-label.psc-lvl-3 { color: #f59e0b; }
.psc-meter-label.psc-lvl-4 { color: #65a30d; }
.psc-meter-label.psc-lvl-5 { color: #16a34a; }

.psc-meter-fill.psc-lvl-0, .psc-meter-fill.psc-lvl-1 { background: #dc2626; }
.psc-meter-fill.psc-lvl-2 { background: #ea580c; }
.psc-meter-fill.psc-lvl-3 { background: #f59e0b; }
.psc-meter-fill.psc-lvl-4 { background: #65a30d; }
.psc-meter-fill.psc-lvl-5 { background: #16a34a; }

.psc-meter-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.psc-meter-notes li {
  font-size: 13.5px;
  color: #475569;
  padding-left: 20px;
  position: relative;
}
.psc-meter-notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}
.psc-meter-notes li.psc-note-bad::before { background: #dc2626; }
.psc-meter-notes li.psc-note-good::before { background: #16a34a; }

/* Breach result */
.psc-loading, .psc-error {
  text-align: center;
  padding: 24px 20px;
  font-size: 15px;
  color: #475569;
}

.psc-breach-result {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.psc-breach-result--pass { border-left-color: #16a34a; background: #f0fdf4; }
.psc-breach-result--fail { border-left-color: #dc2626; background: #fef2f2; }
.psc-breach-result--error { border-left-color: #94a3b8; background: #f8fafc; }

.psc-breach-icon { flex-shrink: 0; width: 26px; height: 26px; margin-top: 1px; }
.psc-breach-result--pass .psc-breach-icon { color: #16a34a; }
.psc-breach-result--fail .psc-breach-icon { color: #dc2626; }
.psc-breach-result--error .psc-breach-icon { color: #94a3b8; }
.psc-breach-icon svg { width: 100%; height: 100%; }

.psc-breach-title { font-size: 15px; font-weight: 700; color: #0d1f3c; margin-bottom: 3px; }
.psc-breach-message { font-size: 13.5px; color: #475569; line-height: 1.6; }

/* CTA (matches other tools' CTA block for visual consistency) */
.psc-cta {
  background: #eef6fc;
  border: 1px solid #c7dff0;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 20px;
}
.psc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.psc-cta-title { font-size: 16px; font-weight: 700; color: #0d1f3c; margin: 0 0 6px; }
.psc-cta-sub { font-size: 13.5px; color: #475569; margin: 0; max-width: 560px; line-height: 1.6; }
.psc-cta-btn {
  flex-shrink: 0;
  background: #017bbd;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.psc-cta-btn:hover { background: #0f2544; color: #fff; text-decoration: none; }

.psc-privacy-note {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
}
.psc-privacy-note a { color: #017bbd; }

/* Responsive */
@media (max-width: 640px) {
  .psc-hero { padding: 40px 18px 32px; }
  .psc-outer { padding: 28px 16px 56px; }
  .psc-cta-inner { flex-direction: column; align-items: flex-start; }
  .psc-cta-btn { width: 100%; text-align: center; }
}
