/*
 * Plugin:  Dofollow Link Checker
 * File:    style.css
 * Version: 1.4
 * Covers:  1) Dofollow / Nofollow Checker  2) Domain Age Checker
 * Place inside: wp-content/plugins/dofollow-link-checker/style.css
 */

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL BASE
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════════════════
   1. DOFOLLOW / NOFOLLOW CHECKER
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  padding: 60px 20px 40px;
  text-align: center;
  color: #fff;
}

.hero-inner {
  max-width: 660px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.3;
}

.hero p,
.hero-inner > p {
  font-size: 1rem;
  color: #c7d2fe;
  margin-bottom: 24px;
}

/* ── Tool Input Box ───────────────────────────────────────────────────────── */
.tool-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
}

.tool-box input[type="text"],
#url-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 8px;
  font-size: 0.97rem;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tool-box button,
#check-btn {
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
}

.tool-box button:hover,
#check-btn:hover  { background: #ea6c0a; }
#check-btn:active { transform: scale(0.98); }
#check-btn:disabled { background: #9ca3af; cursor: not-allowed; }

/* ── Loader ───────────────────────────────────────────────────────────────── */
.loader,
.da-loader {
  margin: 16px auto 0;
  width: 36px;
  height: 36px;
  border: 4px solid #e0e7ff;
  border-top-color: #f97316;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Results Section ──────────────────────────────────────────────────────── */
#results-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px;
  width: 100%;
}

#report-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 20px;
  text-align: center;
  word-break: break-word;
}

/* ── Table Box ────────────────────────────────────────────────────────────── */
.table-box {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  width: 100%;
}

.table-box h3 {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: #fff;
  padding: 14px 16px;
  font-size: 0.97rem;
  font-weight: 700;
  margin: 0;
}

/* ── Make tables scroll on mobile instead of breaking layout ── */
.table-box .table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-box table {
  width: 100%;
  min-width: 480px;      /* forces scroll before squishing */
  border-collapse: collapse;
  font-size: 0.91rem;
}

.table-box thead th {
  background: #f3f4f6;
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  color: #374151;
  border-bottom: 1.5px solid #e5e7eb;
  white-space: nowrap;
}

.table-box tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #f3f4f6;
  color: #1f2937;
  word-break: break-word;
  max-width: 300px;
}

.table-box tbody tr:last-child td {
  border-bottom: none;
}

.table-box tbody tr:nth-child(even) {
  background: #fafafa;
}

.table-box tbody td a {
  color: #6366f1;
  text-decoration: none;
  word-break: break-all;
  font-size: 0.85rem;
}

.table-box tbody td a:hover {
  text-decoration: underline;
}

.table-box td.no-data,
.table-box td.error-msg {
  text-align: center;
  padding: 20px;
  color: #6b7280;
  font-style: italic;
  min-width: unset;
}

.table-box td.error-msg { color: #b91c1c; }

/* ── SEO Section ──────────────────────────────────────────────────────────── */
.seo-pro {
  background: #fff;
  padding: 50px 16px;
}

.seo-wrap {
  max-width: 860px;
  margin: 0 auto;
  color: #374151;
  font-size: 0.97rem;
  line-height: 1.8;
  width: 100%;
}

.seo-wrap h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 32px 0 10px;
  line-height: 1.4;
}

.seo-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 22px 0 8px;
}

.seo-wrap h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  margin: 16px 0 6px;
}

.seo-wrap ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.seo-wrap ul li { margin-bottom: 6px; }

.info-box {
  background: #f0f4ff;
  border-left: 4px solid #6366f1;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
}

/* ── Benefits Grid ────────────────────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.benefit-card {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px;
}

.benefit-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0 0 8px;
}

/* ── Steps Row ────────────────────────────────────────────────────────────── */
.steps-pro {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.step-box {
  flex: 1;
  min-width: 120px;
  background: #f97316;
  color: #fff;
  border-radius: 10px;
  padding: 14px 12px;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
}

/* ── Check List ───────────────────────────────────────────────────────────── */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li::before { content: "✅ "; }

/* ── How It Works ─────────────────────────────────────────────────────────── */
.how-pro {
  background: #f9fafb;
  padding: 50px 16px;
  text-align: center;
}

.how-pro h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 28px;
}

.how-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}

.how-card {
  flex: 1;
  min-width: 160px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 16px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #6366f1;
}

.how-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 8px 0 6px;
}

.how-card p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   2. DOMAIN AGE CHECKER
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.da-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  padding: 60px 16px;
  text-align: center;
  color: #fff;
}

.da-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.da-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.3;
}

.da-hero > p,
.da-hero-inner > p {
  font-size: 1rem;
  color: #c7d2fe;
  margin-bottom: 28px;
}

/* ── Tool Box ─────────────────────────────────────────────────────────────── */
.da-tool-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: left;
  color: #1e1b4b;
  width: 100%;
}

.da-tool-box label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #374151;
}

.da-tool-box input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 14px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.da-tool-box input[type="text"]:focus {
  border-color: #6366f1;
}

/* ── Captcha Row ──────────────────────────────────────────────────────────── */
.da-captcha-row {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.da-captcha-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  margin: 0;
}

.da-captcha-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #6366f1;
}

/* ── Check Button ─────────────────────────────────────────────────────────── */
#da-check-btn {
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.1s;
}

#da-check-btn:hover    { background: #ea6c0a; }
#da-check-btn:active   { transform: scale(0.98); }
#da-check-btn:disabled { background: #9ca3af; cursor: not-allowed; }

/* ── Error ────────────────────────────────────────────────────────────────── */
.da-error {
  margin-top: 14px;
  background: #fee2e2;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  word-break: break-word;
}

/* ── Results Table ────────────────────────────────────────────────────────── */
#da-results-section {
  max-width: 680px;
  margin: 36px auto;
  padding: 0 16px;
  width: 100%;
}

#da-results-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 16px;
}

.da-result-table-wrap {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  width: 100%;
}

.da-result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.da-result-table thead tr {
  background: #f3f4f6;
}

.da-result-table th {
  padding: 11px 16px;
  text-align: left;
  font-weight: 700;
  color: #374151;
  border-bottom: 1.5px solid #e5e7eb;
}

.da-result-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  color: #1f2937;
  word-break: break-word;
}

.da-result-table tbody tr:last-child td {
  border-bottom: none;
}

.da-result-table tbody tr:nth-child(odd) {
  background: #fafafa;
}

.da-result-table tbody tr td:first-child {
  font-weight: 600;
  color: #4b5563;
  width: 46%;
}

/* ── Domain Age SEO Content ───────────────────────────────────────────────── */
.da-seo-pro {
  background: #fff;
  padding: 50px 16px;
}

.da-seo-wrap {
  max-width: 860px;
  margin: 0 auto;
  color: #374151;
  font-size: 0.97rem;
  line-height: 1.8;
  width: 100%;
}

.da-seo-wrap h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 32px 0 10px;
  line-height: 1.4;
}

.da-seo-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 20px 0 6px;
}

.da-seo-wrap ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.da-seo-wrap ul li { margin-bottom: 6px; }

.da-demo-box {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 18px 0;
  font-size: 0.9rem;
  color: #374151;
}

.da-demo-box p { margin: 4px 0; }

.da-demo-btn {
  margin-top: 12px;
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: default;
  opacity: 0.85;
}

/* ── Blog Section ─────────────────────────────────────────────────────────── */
.blog-pro {
  background: #f9fafb;
  padding: 50px 16px;
}

.blog-pro h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 20px;
  text-align: center;
}

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.filter-btn {
  background: #e5e7eb;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #374151;
  transition: background 0.2s, color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #6366f1;
  color: #fff;
}

.blog-layout {
  display: flex;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: flex-start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.blog-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.blog-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.blog-card h4 {
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0;
}

.blog-card a { text-decoration: none; }

.blog-sidebar {
  width: 240px;
  flex-shrink: 0;
}

.blog-sidebar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 14px;
}

.trending-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}

.trending-item:last-child { border-bottom: none; }

.trending-item a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
}

.trending-item img {
  width: 52px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   3. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet: 768px ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Hero */
  .hero { padding: 40px 16px 30px; }
  .hero h1 { font-size: 1.7rem; }
  .da-hero { padding: 40px 16px; }
  .da-hero h1 { font-size: 1.7rem; }

  /* Results */
  #results-section { margin: 28px auto; }
  #da-results-section { margin: 28px auto; }

  /* Benefits grid 2 columns */
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* How grid wrap */
  .how-grid { gap: 12px; }
  .how-card { min-width: 140px; padding: 20px 14px; }

  /* Blog layout stack */
  .blog-layout { flex-direction: column; gap: 20px; }
  .blog-sidebar { width: 100%; }
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ── Mobile: 480px ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* ── Hero ── */
  .hero { padding: 32px 14px 24px; }
  .hero h1 { font-size: 1.4rem; }
  .hero p, .hero-inner > p { font-size: 0.92rem; }

  .da-hero { padding: 32px 14px; }
  .da-hero h1 { font-size: 1.4rem; }
  .da-hero > p, .da-hero-inner > p { font-size: 0.92rem; }

  /* ── Dofollow tool box stacks ── */
  .tool-box {
    flex-direction: column;
    gap: 8px;
  }
  .tool-box input[type="text"],
  #url-input,
  .tool-box button,
  #check-btn {
    width: 100%;
    min-width: unset;
  }

  /* ── Domain age tool box ── */
  .da-tool-box { padding: 18px 14px; }
  .da-tool-box input[type="text"] { font-size: 0.9rem; padding: 10px 12px; }

  /* ── Results section ── */
  #results-section { padding: 0 10px; }
  #report-title { font-size: 1.1rem; }

  /* ── Dofollow table: card layout on mobile ── */
  /* Instead of horizontal scroll, flip to card-style rows */
  .table-box table,
  .table-box thead,
  .table-box tbody,
  .table-box th,
  .table-box td,
  .table-box tr {
    display: block;
    width: 100%;
  }

  .table-box thead { display: none; } /* hide header row on mobile */

  .table-box tbody tr {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    padding: 4px 0;
  }

  .table-box tbody td {
    padding: 8px 14px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
    max-width: 100%;
    position: relative;
    padding-left: 38%;
  }

  .table-box tbody td:last-child {
    border-bottom: none;
  }

  /* Data labels as pseudo-elements */
  .table-box tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 8px;
    font-weight: 700;
    color: #374151;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: 34%;
  }

  /* ── Domain age table stays normal (only 2 cols, fits fine) ── */
  #da-results-section { padding: 0 10px; }
  .da-result-table th,
  .da-result-table td { padding: 10px 12px; font-size: 0.85rem; }

  /* ── Steps ── */
  .steps-pro { flex-direction: column; gap: 8px; }
  .step-box { min-width: unset; width: 100%; }

  /* ── Benefits ── */
  .benefits-grid { grid-template-columns: 1fr; gap: 10px; }

  /* ── How grid ── */
  .how-grid { flex-direction: column; gap: 10px; }
  .how-card { min-width: unset; width: 100%; padding: 18px 16px; }
  .how-pro { padding: 36px 14px; }
  .how-pro h2 { font-size: 1.3rem; }

  /* ── SEO sections ── */
  .seo-pro { padding: 36px 14px; }
  .seo-wrap h2, .da-seo-wrap h2 { font-size: 1.15rem; }
  .seo-wrap h3, .da-seo-wrap h3 { font-size: 0.98rem; }
  .da-seo-pro { padding: 36px 14px; }

  /* ── Blog ── */
  .blog-pro { padding: 36px 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-filters { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 0.82rem; }

  .trending-item a { gap: 8px; }
  .trending-item img { width: 44px; height: 36px; }
}

/* ── Very small: 360px ────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .hero h1, .da-hero h1 { font-size: 1.2rem; }
  .table-box tbody td { padding-left: 44%; }
  .table-box tbody td::before { width: 40%; font-size: 0.72rem; }
  #da-check-btn, #check-btn { font-size: 0.92rem; padding: 11px 18px; }
}






/* ============================================================
   Broken Links Checker
   ============================================================ */

/* ── Hero Section ─────────────────────────────────────────── */
.bl-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  padding: 60px 20px 50px;
  text-align: center;
  color: #fff;
}

.bl-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.bl-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.2;
}

.bl-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 30px;
}

/* ── Tool Input Box ───────────────────────────────────────── */
.bl-tool-box {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

#bl-url-input {
  flex: 1;
  min-width: 260px;
  padding: 14px 18px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  outline: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  color: #1a1a2e;
}

#bl-check-btn {
  padding: 14px 28px;
  background: #e94560;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

#bl-check-btn:hover  { background: #c73652; }
#bl-check-btn:active { transform: scale(0.97); }
#bl-check-btn:disabled {
  background: #888;
  cursor: not-allowed;
}

/* ── Content Wrapper ──────────────────────────────────────── */
.bl-content-wrap {
  max-width: 1080px;
  margin: 36px auto;
  padding: 0 20px 60px;
}

/* ── Loader ───────────────────────────────────────────────── */
.bl-loader-wrap {
  text-align: center;
  padding: 30px 0 10px;
}

.bl-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #e2e8f0;
  border-top-color: #e94560;
  border-radius: 50%;
  animation: bl-spin 0.8s linear infinite;
  margin: 0 auto 14px;
}

@keyframes bl-spin {
  to { transform: rotate(360deg); }
}

#bl-progress-text {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 12px;
}

.bl-progress-track {
  background: #e2e8f0;
  border-radius: 20px;
  height: 22px;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
}

.bl-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e94560, #f97316);
  border-radius: 20px;
  width: 0%;
  transition: width 0.3s ease;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 22px;
  min-width: 30px;
}

/* ── Stats Cards ──────────────────────────────────────────── */
.bl-stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 30px 0 24px;
}

.bl-stat-card {
  flex: 1;
  min-width: 130px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 4px solid #ccc;
}

.bl-stat-total   { border-top-color: #667eea; }
.bl-stat-working { border-top-color: #38a169; }
.bl-stat-broken  { border-top-color: #e53e3e; }
.bl-stat-redirect { border-top-color: #d69e2e; }

.bl-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
}

.bl-stat-label {
  display: block;
  font-size: 0.82rem;
  color: #718096;
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Results Table ────────────────────────────────────────── */
.bl-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
}

#bl-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

#bl-results-table thead tr {
  background: #1a1a2e;
  color: #fff;
}

#bl-results-table th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#bl-results-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  vertical-align: middle;
  word-break: break-all;
}

#bl-results-table tbody tr:last-child td {
  border-bottom: none;
}

#bl-results-table tbody tr:hover {
  background: #f8faff;
}

#bl-results-table a {
  color: #0f3460;
  text-decoration: none;
  font-size: 0.85rem;
}

#bl-results-table a:hover {
  text-decoration: underline;
  color: #e94560;
}

/* ── Status Badges ────────────────────────────────────────── */
.bl-code,
.bl-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.bl-status-working  { background: #c6f6d5; color: #276749; }
.bl-status-broken   { background: #fed7d7; color: #9b2c2c; }
.bl-status-redirect { background: #fefcbf; color: #7b6008; }
.bl-status-warning  { background: #feebc8; color: #9c4221; }
.bl-status-error    { background: #e2e8f0; color: #4a5568; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .bl-hero h1       { font-size: 1.7rem; }
  .bl-tool-box      { flex-direction: column; }
  #bl-url-input,
  #bl-check-btn     { width: 100%; }
  .bl-stats-row     { gap: 10px; }
  .bl-stat-card     { min-width: calc(50% - 10px); }
}