/* ── Abuse Checker (AbuseIPDB) ─────────────────────────────────── */
.abuse-form .form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.abuse-form .input-wrap {
  flex: 1;
  min-width: 200px;
}
.abuse-form .input { width: 100%; }

.abuse-results { margin-top: 20px; }

/* Score gauge */
.abuse-score-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.abuse-gauge {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.abuse-gauge__circle {
  transform: rotate(-90deg);
}
.abuse-gauge__bg { fill: none; stroke: var(--surface2, #242436); stroke-width: 8; }
.abuse-gauge__fill { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.abuse-gauge__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.abuse-gauge__score { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1; }
.abuse-gauge__pct { font-size: 10px; color: var(--muted); }
.abuse-score-info { flex: 1; min-width: 180px; }
.abuse-score-info h3 { font-size: 16px; margin: 0 0 6px; }
.abuse-risk {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.abuse-risk--low    { background: rgba(52,211,153,.15); color: #34d399; }
.abuse-risk--medium { background: rgba(251,191,36,.15);  color: #fbbf24; }
.abuse-risk--high   { background: rgba(248,113,113,.15); color: #f87171; }

/* Detail grid */
.abuse-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.abuse-detail-item {
  background: var(--surface2, #1e1e30);
  border: 1px solid var(--border2, #2d2d45);
  border-radius: 8px;
  padding: 12px 16px;
}
.abuse-detail-item__label {
  font-size: 11px;
  color: var(--muted, #64748b);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.abuse-detail-item__value {
  font-size: 14px;
  color: var(--text, #e2e8f0);
  font-weight: 500;
  word-break: break-all;
}
.abuse-detail-item__value--clean { color: #34d399; }
.abuse-detail-item__value--warn  { color: #f87171; }

/* Status banners */
.abuse-banner {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.abuse-banner--clean { background: rgba(52,211,153,.1); color: #34d399; border: 1px solid rgba(52,211,153,.2); }
.abuse-banner--warn  { background: rgba(248,113,113,.1); color: #f87171; border: 1px solid rgba(248,113,113,.2); }
.abuse-banner--info  { background: rgba(91,138,248,.08); color: #5b8af8; border: 1px solid rgba(91,138,248,.2); }
.abuse-banner--error { background: rgba(248,113,113,.08); color: #f87171; border: 1px solid rgba(248,113,113,.15); }

.abuse-external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--accent, #5b8af8);
  font-size: 13px;
  text-decoration: none;
}
.abuse-external-link:hover { text-decoration: underline; }
