#wltTool {
  font-family: var(--fonts--body);
  --wlt-dark: #0f172a;
  --wlt-accent: #006aff;
  --wlt-red: #ef4444;
  --wlt-green: #16a34a;
  --wlt-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

#wltTool.tool-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--berry-black-60-opacity10);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(10, 5, 35, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#wltTool [hidden] {
  display: none !important;
}

#wltTool *,
#wltTool *::before,
#wltTool *::after {
  box-sizing: border-box;
}

/* ─── Input grid ─────────────────────────────────────────── */
#wltTool .wlt-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  align-items: end;
}

@media (max-width: 860px) {
  #wltTool .wlt-grid {
    grid-template-columns: 1fr;
  }
}

#wltTool label {
  display: block;
  font-weight: 700;
  color: var(--berry-black-60);
  margin: 0 0 8px;
}

#wltTool input[type='text'] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--berry-black-60-opacity33);
  background: var(--white);
  padding: 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.45;
  color: var(--berry-black-60);
}

#wltTool input[type='text']:focus {
  border-color: rgba(0, 106, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 106, 255, 0.12);
}

/* ─── Actions ────────────────────────────────────────────── */
#wltTool .wlt-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-self: end;
}

@media (max-width: 860px) {
  #wltTool .wlt-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  #wltTool .wlt-actions {
    width: 100%;
    gap: 8px;
  }
  #wltTool .tool-btn,
  #wltTool .btn-ghost {
    height: 48px;
    padding: 0 18px;
    flex: 1;
    justify-content: center;
  }
}

/* ─── Hint text ──────────────────────────────────────────── */
#wltTool .wlt-hint {
  margin: 10px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}

#wltTool .wlt-hint code {
  font-family: inherit;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
  color: #475569;
}

/* ─── Spinner ────────────────────────────────────────────── */
#wltTool .wlt-spinner-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #94a3b8;
  font-size: 14px;
}

#wltTool .wlt-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid #e2e8f0;
  border-top-color: var(--wlt-accent);
  border-radius: 50%;
  animation: wltSpin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes wltSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── Alert ──────────────────────────────────────────────── */
#wltTool .wlt-alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

#wltTool .wlt-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* ─── Result card ────────────────────────────────────────── */
#wltTool .wlt-result-card {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(10, 5, 35, 0.12);
  box-shadow: 0 18px 40px rgba(10, 5, 35, 0.1);
  position: relative;
  background: #ffffff;
}

/* Solid accent stripe (no gradients) */
#wltTool .wlt-result-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 6px;
  background: #22c5c5;
}

/* Top row */
#wltTool .wlt-result-top {
  padding: 20px 24px 8px;
}

#wltTool .wlt-result-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#wltTool .wlt-result-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wlt-dark);
}

#wltTool .wlt-result-icon svg {
  width: 20px;
  height: 20px;
}

#wltTool .wlt-result-domain {
  font-size: 16px;
  font-weight: 700;
  color: var(--wlt-dark);
  word-break: break-word;
}

/* Main stat area */
#wltTool .wlt-result-main {
  padding: 22px 24px 30px;
  text-align: left;
}

#wltTool .wlt-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  color: #006aff;
  margin-bottom: 14px;
}

#wltTool .wlt-stat-value {
  font-size: 56px;
  font-weight: 700;
  color: var(--wlt-dark);
  line-height: 1.2;
  letter-spacing: -0.03em;
  word-break: break-word;
}

/* WHOIS details grid */
#wltTool .wlt-details {
  margin: 0 auto 0;
  max-width: 980px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Section titles inside the details grid */
#wltTool .wlt-details-title {
  grid-column: 1 / -1;
  margin-top: 14px;
  margin-bottom: -4px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

#wltTool .wlt-details-title:first-child {
  margin-top: 0;
}

@media (max-width: 860px) {
  #wltTool .wlt-details {
    grid-template-columns: 1fr;
  }
}

#wltTool .wlt-detail {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  padding: 14px 14px;
  min-width: 0;
}

#wltTool .wlt-detail--full {
  grid-column: 1 / -1;
}

#wltTool .wlt-detail-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
}

#wltTool .wlt-detail-value {
  font-size: 14px;
  color: var(--wlt-dark);
  line-height: 1.5;
  word-break: break-word;
}

#wltTool .wlt-detail-value--mono {
  font-family: inherit;
}

#wltTool .wlt-detail-value--list {
  font-family: inherit;
  white-space: pre-wrap;
}

/* Nameservers table */
#wltTool .wlt-ns-table-wrap {
  margin-top: 6px;
  overflow-x: auto;
}

#wltTool .wlt-ns-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
}

#wltTool .wlt-ns-table thead th {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
}

#wltTool .wlt-ns-table tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--wlt-dark);
  vertical-align: top;
}

#wltTool .wlt-ns-table tbody tr:last-child td {
  border-bottom: 0;
}

#wltTool .wlt-ns-table tbody td:last-child {
  word-break: break-word;
}

/* Raw RDAP JSON block */
#wltTool .wlt-raw {
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 10px 12px;
}

#wltTool .wlt-raw summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--wlt-accent);
}

#wltTool .wlt-raw-pre {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.55;
  color: var(--wlt-dark);
  max-height: 360px;
  overflow: auto;
  white-space: pre;
}

/* Meta strip (TLD + Status) */
#wltTool .wlt-result-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

#wltTool .wlt-meta-item {
  padding: 16px 18px;
}

#wltTool .wlt-meta-item + .wlt-meta-item {
  border-left: 1px solid #e2e8f0;
}

#wltTool .wlt-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
}

#wltTool .wlt-meta-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--wlt-dark);
  line-height: 1.2;
  word-break: break-word;
}

#wltTool .wlt-meta-value--status.is-active {
  color: var(--wlt-green);
}

#wltTool .wlt-meta-value--status.is-inactive {
  color: var(--wlt-red);
}

@media (max-width: 480px) {
  #wltTool .wlt-stat-value {
    font-size: 34px;
  }
  #wltTool .wlt-meta-value {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  #wltTool .wlt-result-meta {
    grid-template-columns: 1fr;
  }
  #wltTool .wlt-meta-item + .wlt-meta-item {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
  }
}

/* ─── Buttons ────────────────────────────────────────────── */
#wltTool #wltBtnCheck {
  background: #22c5c5;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 0 26px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

#wltTool #wltBtnCheck:hover {
  background: #18b0b0;
}

#wltTool #wltBtnCheck:active {
  background: #13999a;
}

#wltTool #wltBtnCheck:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#wltTool #wltBtnCheck .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

#wltTool #wltBtnCheck .icon svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  display: block;
}

/* Matches Domain Age Checker tool */
#wltTool #wltBtnClear {
  background: #f47b6b;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 0 22px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  cursor: pointer;
  transition: background 0.18s ease;
  white-space: nowrap;
}

#wltTool #wltBtnClear:hover {
  background: #e8604e;
}

#wltTool #wltBtnClear:active {
  background: #d44e3c;
}

#wltTool #wltBtnClear:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ─── Content card (matches Domain Age Checker) ──────────── */
#wltContent.content-card {
  margin-top: 100px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#wltContent.content-card h2 {
  margin: 0 0 12px 0;
  color: black;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

#wltContent.content-card h3 {
  margin: 18px 0 8px;
  color: black;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

#wltContent.content-card p {
  margin: 0 0 12px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

#wltContent.content-card ol,
#wltContent.content-card ul {
  margin: 0 0 12px;
  padding-left: 26px;
  list-style-position: outside;
  color: black;
  line-height: 1.55;
}

#wltContent.content-card ul {
  list-style: disc;
}

#wltContent.content-card ol {
  list-style: decimal;
}

#wltContent.content-card li {
  margin: 0 0 8px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  display: list-item;
  padding-left: 6px;
}

/* ─── FAQ (matches Domain Age Checker) ───────────────────── */
#wltContent .serp-faq.FaqSection .FaqTitle h2 {
  margin-bottom: 30px;
}

#wltContent .serp-faq.first-faq-block .accordian-wrapper {
  background: linear-gradient(138deg, #fff0 0%, #fff0 100%);
  padding: 0.15rem;
  border-radius: 15px;
  position: relative;
}

#wltContent .serp-faq.first-faq-block .faq-boxes {
  background-color: #fff;
  backdrop-filter: blur(10px);
  padding: 0;
  border-radius: 15px;
  border: 2px solid #a200ff38;
}

#wltContent .serp-faq.first-faq-block .faq-boxes.active {
  background-color: #fbf4ff;
  border: 2px solid #a200ff;
}

#wltContent .serp-faq .accordion-body {
  padding: 0 15px 18px 22px;
  font-size: 20px;
  font-weight: 400;
  color: #000;
}

#wltContent .serp-faq .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 15px 18px 22px;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff0;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}

#wltContent .serp-faq .accordion-button h3 {
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
  color: #000;
}

#wltContent .serp-faq .accordion-button:not(.collapsed) {
  color: #212529;
  background-color: #fff0;
  transition: 0.2s ease-in all;
  padding-bottom: 12px;
  border: 0;
  box-shadow: none;
}

#wltContent .serp-faq .accordion-button:focus {
  z-index: 3;
  border-color: #cecbdc;
  outline: 0;
  box-shadow: 0 0 0 0.25rem #fff0;
}

#wltContent .serp-faq.first-faq-block .accordion-item {
  background-color: #fff0;
  border: 0 solid rgb(0 0 0 / 0.125);
  margin-bottom: 20px;
}

#wltContent .serp-faq.first-faq-block .accordion-body p {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  margin-bottom: 0;
  padding-right: 11%;
  line-height: 26px;
}

#wltContent .serp-faq.first-faq-block .accordion-button::after {
  margin-left: auto;
  content: '+';
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  align-self: center;
  margin-right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #4a2574;
}

#wltContent .serp-faq.first-faq-block .accordion-button:not(.collapsed)::after {
  content: '–';
  transform: none;
}

#wltContent .serp-faq .accordion-collapse {
  display: none;
}

#wltContent .serp-faq .accordion-collapse.show {
  display: block;
}

@media (max-width: 480px) {
  #wltContent .serp-faq.first-faq-block .faq-boxes {
    padding-right: 18px;
  }
}

/* Remove the global container bottom gap for this tool page */
.main > .container {
  margin-bottom: 0;
}
}
