/* DNS Lookup Tool — tool-specific styles */

/* Score badge */
.score-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius, 6px);
  font-size: 1rem;
  font-weight: 700;
}
.score-good { background: #dcfce7; color: #166534; }
.score-warn { background: #fef9c3; color: #92400e; }
.score-bad  { background: #fee2e2; color: #991b1b; }

/* Checks table */
.checks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.checks-table th,
.checks-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: top;
}
.checks-table th {
  font-weight: 600;
  background: var(--surface-2, #f9fafb);
}
.dns-records-cell { max-width: 420px; }

/* Status chips inside table */
.status-ok    { color: #166534; font-weight: 600; }
.status-warn  { color: #92400e; font-weight: 600; }
.status-error { color: #991b1b; font-weight: 600; }
.status-info  { color: var(--text-2, #64748b); }

/* DNS record type badges */
.dns-type-badge {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #e0e7ff;
  color: #3730a3;
  letter-spacing: 0.04em;
}
.dns-type-mx   { background: #fce7f3; color: #9d174d; }
.dns-type-txt  { background: #fef3c7; color: #92400e; }
.dns-type-ns   { background: #d1fae5; color: #065f46; }
.dns-type-soa  { background: #e0f2fe; color: #0369a1; }
.dns-type-cname { background: #f3e8ff; color: #6b21a8; }
.dns-type-aaaa { background: #fee2e2; color: #991b1b; }
