/* ── DNSBL Spam Blacklist Checker ───────────────────────────────────── */
.tool-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.tool-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.tool-desc {
  color: var(--muted2);
  font-size: 14px;
  margin-bottom: 24px;
}

.spam-form .form-row {
  display: flex;
  gap: 10px;
}
.input-wrap--host { flex: 1; }
.spam-form .input {
  width: 100%;
  height: 44px;
  padding: 12px 16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--mono);
  transition: border-color .2s, box-shadow .2s;
}
.spam-form .input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,138,248,.3);
}
.spam-form .btn-primary {
  min-height: 44px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s, filter .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.spam-form .btn-primary:hover { transform: scale(1.02); filter: brightness(1.1); }
.spam-form .btn-primary:active { transform: scale(0.98); }
.spam-form .btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: none; }

}

to   { opacity: 1; transform: translateY(0); }
}

/* Error */
.spam-error {
  color: var(--red);
  font-size: 14px;
  margin-top: 16px;
  animation: fadeInUp .3s var(--ease-out);
}

/* Results */
#spamResults {
  animation: fadeInUp .4s var(--ease-out);
}

/* Summary card */
.spam-summary {
  margin-top: 16px;
}
.spam-summary .card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.2);
}
.spam-summary-ip {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--cyan);
  flex: 1;
  min-width: 120px;
}
.spam-summary-stats {
  display: flex;
  align-items: center;
  gap: 14px;
}
.spam-stat {
  text-align: center;
}
.spam-stat-num {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.spam-stat-num--listed { color: var(--red); }
.spam-stat-num--clean { color: var(--green); }
.spam-stat-num--neutral { color: var(--muted2); }
.spam-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 3px;
}
.spam-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.spam-status-badge {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.spam-status-badge--clean {
  background: rgba(52,211,153,.12);
  color: var(--green);
}
.spam-status-badge--listed {
  background: rgba(248,113,113,.12);
  color: var(--red);
}

/* Results table card */
.spam-table-card {
  margin-top: 12px;
}
.spam-table-card .card {
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.2);
}
.spam-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.spam-table th {
  text-align: left;
  padding: 10px 16px;
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.spam-table td {
  padding: 10px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.spam-table tr:last-child td { border-bottom: none; }
.spam-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.spam-table tr:hover td { background: rgba(255,255,255,.04); }

.spam-zone {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted2);
}
.spam-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.spam-badge--listed {
  background: rgba(248,113,113,.12);
  color: var(--red);
}
.spam-badge--clean {
  background: rgba(52,211,153,.1);
  color: var(--green);
}
.spam-delist-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s;
}
.spam-delist-link:hover { opacity: 1; text-decoration: underline; }

/* Responsive */
@media (max-width: 600px) {
  .spam-form .form-row { flex-direction: column; }
  .spam-form .btn-primary { width: 100%; justify-content: center; }
  .spam-form .input { width: 100%; }
  .spam-summary .card { gap: 14px; }
  .spam-table th:nth-child(3),
  .spam-table td:nth-child(3) { display: none; }
  .spam-table { font-size: 12px; }
  .spam-table th, .spam-table td { padding: 8px 10px; }
}
