/* ── Website Security Checker — /tools/website-security-checker ─────────── */

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

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

.wsc-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.wsc-domain-input {
  flex: 1;
  min-width: 220px;
  font-size: 15px;
  color: #0d1f3c;
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 16px;
}
.wsc-domain-input:focus { outline: 2px solid #017bbd; outline-offset: 1px; }
.wsc-check-btn {
  background: #f05a28;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  white-space: nowrap;
}
.wsc-check-btn:hover { opacity: .9; }

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

.wsc-loading, .wsc-error {
  text-align: center;
  padding: 40px 20px;
  font-size: 15px;
  color: #475569;
}
.wsc-error {
  color: #b42318;
  background: #fee4e2;
  border: 1px solid #fecdca;
  border-radius: 10px;
}

/* Score */
.wsc-score {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 28px;
}
.wsc-score-grade {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}
.wsc-grade-A { background: #16a34a; }
.wsc-grade-B { background: #65a30d; }
.wsc-grade-C { background: #f59e0b; }
.wsc-grade-D { background: #ea580c; }
.wsc-grade-F { background: #dc2626; }
.wsc-score-domain { font-size: 18px; font-weight: 700; color: #0d1f3c; word-break: break-all; }
.wsc-score-percent { font-size: 13.5px; color: #64748b; margin-top: 2px; }

/* Check cards */
.wsc-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.wsc-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  border-radius: 10px;
  padding: 16px 18px;
}
.wsc-check--pass { border-left-color: #16a34a; }
.wsc-check--warn { border-left-color: #f59e0b; }
.wsc-check--fail { border-left-color: #dc2626; }
.wsc-check--info { border-left-color: #94a3b8; }

.wsc-check-icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; }
.wsc-check--pass .wsc-check-icon { color: #16a34a; }
.wsc-check--warn .wsc-check-icon { color: #f59e0b; }
.wsc-check--fail .wsc-check-icon { color: #dc2626; }
.wsc-check--info .wsc-check-icon { color: #94a3b8; }
.wsc-check-icon svg { width: 100%; height: 100%; }

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

/* CTA */
.wsc-cta {
  background: #eef6fc;
  border: 1px solid #c7dff0;
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 18px;
}
.wsc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.wsc-cta-title { font-size: 16px; font-weight: 700; color: #0d1f3c; margin: 0 0 6px; }
.wsc-cta-sub { font-size: 13.5px; color: #475569; margin: 0; max-width: 560px; line-height: 1.6; }
.wsc-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;
}
.wsc-cta-btn:hover { background: #0f2544; color: #fff; text-decoration: none; }

.wsc-related-note { font-size: 13px; color: #64748b; text-align: center; }
.wsc-related-note a { color: #017bbd; }

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