/**
 * WHOIS araç sayfası — user/arac-whois.php
 */

.whois-result-shell {
  margin-top: 1.5rem;
  padding: 0;
  max-height: none;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  font-size: 0.9375rem;
  line-height: 1.55;
  display: none;
}
.whois-result-shell:not([hidden]) {
  display: block;
}
.whois-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 48%, #4338ca 100%);
  color: #f8fafc;
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 40px -12px rgba(67, 56, 202, 0.45);
}
.whois-hero__domain {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  word-break: break-all;
}
.whois-hero__meta {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.92;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.whois-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
}
.whois-hero__badge--age {
  background: rgba(196, 181, 253, 0.35);
  font-weight: 600;
}
.whois-hero__badge--renew {
  background: rgba(45, 212, 191, 0.3);
  font-weight: 600;
}
.whois-hero__badge--soon {
  background: rgba(251, 191, 36, 0.38);
  font-weight: 600;
}
.whois-hero__badge--urgent {
  background: rgba(252, 165, 165, 0.45);
  font-weight: 700;
}
.whois-hero__badge--expired {
  background: rgba(148, 163, 184, 0.4);
  font-weight: 600;
}
.whois-cache-note {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.whois-sec {
  margin: 1.75rem 0 0;
}
.whois-sec:first-of-type {
  margin-top: 0;
}
.whois-sec__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid #e0e7ff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.whois-sec__title::before {
  content: "";
  width: 4px;
  height: 1.1em;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}
.whois-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.whois-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.whois-stat:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.2);
}
.whois-stat__k {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin: 0 0 0.35rem;
}
.whois-stat__v {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  word-break: break-word;
}
.whois-stat__v--muted {
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
}
.whois-stat.whois-stat--age {
  border-left: 3px solid #6366f1;
  padding-left: calc(1rem - 3px);
}
.whois-stat.whois-stat--renew-ok {
  border-left: 3px solid #14b8a6;
  padding-left: calc(1rem - 3px);
}
.whois-stat.whois-stat--renew-soon {
  border-left: 3px solid #f59e0b;
  padding-left: calc(1rem - 3px);
}
.whois-stat.whois-stat--renew-urgent {
  border-left: 3px solid #ef4444;
  padding-left: calc(1rem - 3px);
}
.whois-stat.whois-stat--renew-expired {
  border-left: 3px solid #94a3b8;
  padding-left: calc(1rem - 3px);
}
.whois-table-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.whois-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.whois-table th {
  text-align: left;
  padding: 0.65rem 1rem;
  width: 38%;
  max-width: 220px;
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
.whois-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  vertical-align: top;
}
.whois-table tr:last-child th,
.whois-table tr:last-child td {
  border-bottom: none;
}
.whois-ns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.whois-ns li {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  color: #334155;
}
.whois-status {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.whois-status li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-family: ui-monospace, monospace;
  color: #1e293b;
}
.whois-status-desc {
  display: block;
  font-family: inherit;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.whois-role-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6366f1;
  margin: 1rem 0 0.5rem;
}
.whois-role-title:first-child {
  margin-top: 0;
}
.whois-extra-count {
  font-weight: 600;
  color: #64748b;
}
.whois-extra-details {
  margin-top: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}
.whois-extra-details > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: #334155;
  padding: 0.85rem 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}
.whois-extra-details > summary::-webkit-details-marker {
  display: none;
}
.whois-extra-details > summary::before {
  content: "";
  width: 4px;
  height: 1.1em;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  flex-shrink: 0;
}
.whois-extra-details[open] > summary {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.whois-extra-details .whois-table-panel {
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.whois-extra-details .whois-table-panel .whois-table th {
  background: #f1f5f9;
}
.whois-json-pre {
  margin: 0.75rem 0 0;
  padding: 1rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  word-break: normal;
  max-height: none;
}

.guven-bilgi {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #6366f1;
  background: linear-gradient(135deg, #fafafa 0%, #f1f5f9 100%);
}
.guven-bilgi p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}

.whois-faq {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.whois-faq__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.15rem;
}
.whois-faq__item {
  margin-bottom: 1.35rem;
}
.whois-faq__item:last-child {
  margin-bottom: 0;
}
.whois-faq__q {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: #1e293b;
}
.whois-faq__a {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
}
