/* WHOIS Checker — results (aligned with SEO / speed tools) */

.whois-results-wrap {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  background: #eef1f6;
  padding: 1.5rem 0 2rem;
}

.whois-results-wrap .container.whois-results-page {
  max-width: 920px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

#whois-results-container {
  --whois-pass: #10b981;
  --whois-warn: #f59e0b;
  --whois-muted: #64748b;
  --whois-border: #e2e8f0;
  color: #0f172a;
}

.whois-report-shell {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.whois-report-hero {
  background: linear-gradient(135deg, #1a0b3d 0%, #2d1b69 48%, #3b2290 100%);
  padding: 1.35rem 1.5rem 1.25rem;
  text-align: center;
  color: #fff;
}

.whois-report-hero-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.whois-report-hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: none;
}

.whois-report-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.whois-report-hero-domain {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9 !important;
  word-break: break-all;
}

.whois-status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.whois-status-badge.registered {
  background: rgba(16, 185, 129, 0.25);
  color: #d1fae5;
}

.whois-status-badge.available {
  background: rgba(59, 130, 246, 0.3);
  color: #dbeafe;
}

.whois-status-badge.error {
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
}

.whois-source-badge {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.35rem;
}

.whois-report-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--whois-border);
}

@media (min-width: 576px) {
  .whois-report-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.whois-stat-item {
  text-align: center;
  padding: 0.85rem 0.5rem;
  background: #f8fafc;
  border: 1px solid var(--whois-border);
  border-radius: 10px;
}

.whois-stat-lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--whois-muted);
  margin-bottom: 0.2rem;
}

.whois-stat-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.whois-stat-val.warn {
  color: var(--whois-warn);
}

.whois-report-body {
  padding: 0 1.25rem 1.5rem;
}

@media (min-width: 576px) {
  .whois-report-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.whois-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--whois-border);
}

.whois-tab-btn {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: var(--whois-muted);
  padding: 0.65rem 1rem;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.whois-tab-btn.active {
  color: #2d1b69;
  border-bottom-color: #7c3aed;
}

.whois-tab-panel {
  display: none;
}

.whois-tab-panel.active {
  display: block;
}

.whois-dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .whois-dl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.whois-dl-row {
  background: #f8fafc;
  border: 1px solid var(--whois-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.whois-dl-row.full {
  grid-column: 1 / -1;
}

.whois-dl-row dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--whois-muted);
  margin-bottom: 0.25rem;
}

.whois-dl-row dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}

.whois-dl-row dd a {
  color: #2563eb;
}

.whois-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.whois-status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: #ede9fe;
  color: #5b21b6;
}

.whois-ns-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.whois-ns-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--whois-border);
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
}

.whois-ns-list li:last-child {
  border-bottom: none;
}

.whois-contact-card {
  border: 1px solid var(--whois-border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.whois-contact-head {
  background: #f1f5f9;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
}

.whois-contact-body {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

.whois-privacy-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #92400e;
  margin-bottom: 1rem;
}

.whois-raw-pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-x: auto;
  max-height: 420px;
  white-space: pre-wrap;
  word-break: break-word;
}

.whois-available-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.whois-available-card h3 {
  color: #059669;
  margin-bottom: 0.75rem;
}

.whois-register-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #eb2b63, #8b5cf6);
  color: #fff !important;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}

.whois-error-card {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #b91c1c;
}

.whois-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.whois-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--whois-border);
  background: #fff;
  color: #334155;
  cursor: pointer;
}
