#drdcTool {
  --drdc-dark:   #0f172a;
  --drdc-accent: #006aff;
  --drdc-red:    #ef4444;
  --drdc-green:  #16a34a;
  --drdc-mono:   ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

#drdcTool.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);
}

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

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

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

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

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

#drdcTool 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 .15s ease, box-shadow .15s ease;
  line-height: 1.45;
  color: var(--berry-black-60);
}

#drdcTool 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 ────────────────────────────────────────────── */
#drdcTool .drdc-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-self: end;
}

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

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

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

#drdcTool .drdc-hint code {
  font-family: var(--drdc-mono);
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
  color: #475569;
}

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

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

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

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

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

/* ─── Result card ────────────────────────────────────────── */
#drdcTool .drdc-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.10);
  position: relative;
  background: #ffffff;
}

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

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

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

#drdcTool .drdc-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(--drdc-dark);
}

#drdcTool .drdc-result-icon svg {
  width: 20px;
  height: 20px;
}

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

/* Main date area */
#drdcTool .drdc-result-main {
  padding: 22px 24px 30px;
  text-align: center;
}

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

#drdcTool .drdc-stat-value {
  font-size: 56px;
  font-weight: 700;
  color: var(--drdc-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

#drdcTool .drdc-meta-item {
  padding: 16px 18px;
}

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

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

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

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

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

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

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

/* ─── Buttons ────────────────────────────────────────────── */
#drdcTool #drdcBtnCheck {
  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 .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
#drdcTool #drdcBtnCheck:hover  { background: #18b0b0; }
#drdcTool #drdcBtnCheck:active { background: #13999a; }
#drdcTool #drdcBtnCheck:disabled { opacity: .65; cursor: not-allowed; }

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

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

#drdcTool #drdcBtnClear {
  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 .18s ease;
  white-space: nowrap;
}
#drdcTool #drdcBtnClear:hover  { background: #e8604e; }
#drdcTool #drdcBtnClear:active { background: #d44e3c; }
#drdcTool #drdcBtnClear:disabled { opacity: .65; cursor: not-allowed; }

/* ─── Content card (matches SERP preview tool) ───────────── */
#drdcContent.content-card {
  margin-top: 100px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#drdcContent.content-card h2 {
  margin: 0 0 12px 0;
  color: black;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}
#drdcContent.content-card h3 {
  margin: 18px 0 8px;
  color: black;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}
#drdcContent.content-card p {
  margin: 0 0 12px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}
#drdcContent.content-card ol,
#drdcContent.content-card ul {
  margin: 0 0 12px;
  padding-left: 26px;
  list-style-position: outside;
  color: black;
  line-height: 1.55;
}
#drdcContent.content-card ul { list-style: disc; }
#drdcContent.content-card ol { list-style: decimal; }
#drdcContent.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 SERP preview tool) ───────────────────── */
#drdcContent .serp-faq.FaqSection .FaqTitle h2 { margin-bottom: 30px; }

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

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

#drdcContent .serp-faq.first-faq-block .faq-boxes.active {
  background-color: #FBF4FF;
  border: 2px solid #A200FF;
}

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

#drdcContent .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 .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

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

#drdcContent .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;
}

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

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

#drdcContent .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;
}

#drdcContent .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;
}

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

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

@media (max-width: 480px) {
  #drdcContent .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;
        }