/* ============================================
   NUMBER DETAIL PAGE - SPECIFIC STYLES
   Extends ds-assets/styles.css
   ============================================ */

/* Collapse ad slots that Google marks as unfilled or that are truly empty */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.nd-hero-ad:empty,
.nd-between-ad:empty,
.nd-inarticle-ad:empty,
.nd-sidebar-ad:empty { display: none !important; }

/* BREADCRUMB */
.nd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
  margin-bottom: 18px;
  justify-content: center;
}
.nd-breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.nd-breadcrumb a:hover { color: #fff; }
.nd-breadcrumb-sep { opacity: 0.45; font-size: 11px; }
.nd-breadcrumb-current { color: rgba(255,255,255,0.95); }

/* ============================================
   NUMBER DISPLAY - HERO
   ============================================ */
.nd-number-display {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 12px 0 8px;
}
.nd-number-display a {
  color: #fff;
  text-decoration: none;
}
.nd-number-display a:hover { opacity: 0.9; }

.nd-caller-name {
  font-size: 20px;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Safety Badge */
.nd-safety {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 18px;
}
.nd-safety.danger  { background: rgba(239,68,68,0.28); border-color: rgba(239,68,68,0.4); }
.nd-safety.warning { background: rgba(245,158,11,0.28); border-color: rgba(245,158,11,0.4); }
.nd-safety.safe    { background: rgba(22,163,74,0.28); border-color: rgba(22,163,74,0.4); }
.nd-safety.unknown { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.2); }
@keyframes nd-breathe {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 3px rgba(255,255,255,0.2); }
  50%       { transform: scale(1.5); box-shadow: 0 0 0 5px rgba(255,255,255,0.08); }
}
.nd-safety-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
  flex-shrink: 0;
  animation: nd-breathe 2s ease-in-out infinite;
}

/* Vote Row */
.nd-vote-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.nd-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nd-vote-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }

/* Hero Action Buttons */
.nd-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.nd-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nd-action-btn.call {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 4px 18px rgba(22,163,74,0.35);
}
.nd-action-btn.call:hover { background: #15803d; transform: translateY(-1px); }
.nd-action-btn.whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
}
.nd-action-btn.whatsapp:hover { background: #22c55e; transform: translateY(-1px); }
.nd-action-btn.report-btn {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nd-action-btn.report-btn:hover { background: rgba(255,255,255,0.25); }

/* Hero Ad */
.nd-hero-ad {
  margin: 20px auto 0;
  max-width: 728px;
}

/* Number detail hero has more content than other pages — allow it to grow */
.nd-hero {
  max-height: none;
}

/* ============================================
   LAYOUT: INFO + SIDEBAR
   ============================================ */
.nd-info-section {
  background: #fff;
  padding: 72px 18px;
}
.nd-info-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* Main Info Card */
.nd-info-main-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.nd-info-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.nd-info-card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(129,58,236,0.10);
  color: #813aec;
  flex-shrink: 0;
}
.nd-info-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}
.nd-info-card-sub {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 2px;
}

/* Detail Rows */
.nd-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15,23,42,0.07);
}
.nd-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.nd-detail-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  min-width: 130px;
  flex-shrink: 0;
  padding-top: 1px;
}
.nd-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  flex: 1;
  line-height: 1.5;
}
.nd-format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nd-format-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(129,58,236,0.07);
  color: #813aec;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  border: 1px solid rgba(129,58,236,0.14);
  letter-spacing: 0.3px;
}

/* Safety Score in card */
.nd-safety-score-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.nd-score-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  overflow: hidden;
}
.nd-score-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}
.nd-score-fill.danger  { background: #ef4444; }
.nd-score-fill.warning { background: #f59e0b; }
.nd-score-fill.safe    { background: #16a34a; }
.nd-score-fill.unknown { background: #9ca3af; }
.nd-score-label {
  font-size: 12px;
  font-weight: 700;
  min-width: 50px;
  text-align: right;
}
.nd-score-label.danger  { color: #ef4444; }
.nd-score-label.warning { color: #f59e0b; }
.nd-score-label.safe    { color: #16a34a; }
.nd-score-label.unknown { color: #9ca3af; }

/* SIDEBAR */
.nd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nd-sidebar-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.nd-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}
.nd-quick-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.nd-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(15,23,42,0.09);
  background: #fafafa;
  transition: all 0.2s ease;
}
.nd-quick-link:hover {
  background: rgba(129,58,236,0.06);
  border-color: rgba(129,58,236,0.2);
  color: #813aec;
}
.nd-quick-link-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nd-quick-link-icon.fb     { background: rgba(24,119,242,0.12); color: #1877f2; }
.nd-quick-link-icon.map    { background: rgba(234,67,53,0.12);  color: #ea4335; }
.nd-quick-link-icon.wa     { background: rgba(37,211,102,0.12); color: #25d366; }
.nd-quick-link-icon.report { background: rgba(239,68,68,0.10);  color: #ef4444; }

/* Sidebar ad */
.nd-sidebar-ad {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.nd-comments-section {
  background: #fbfbfc;
  padding: 72px 18px;
}
.nd-comments-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.nd-comments-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.nd-comment-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.09);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 0 rgba(2,6,23,0.04);
  margin-bottom: 12px;
  transition: all 0.22s ease;
}
.nd-comment-card:hover {
  box-shadow: 0 10px 28px rgba(2,6,23,0.10);
  transform: translateY(-2px);
  border-color: rgba(129,58,236,0.18);
}
.nd-comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.nd-commenter-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #813aec, #df28e2);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.nd-commenter-info { min-width: 0; }
.nd-commenter-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.nd-comment-time {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}
.nd-call-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1px;
  margin-left: auto;
}
.nd-call-type-badge.scam     { background: rgba(239,68,68,0.10); color: #ef4444; border: 1px solid rgba(239,68,68,0.25); }
.nd-call-type-badge.spam, .nd-call-type-badge.unwanted { background: rgba(245,158,11,0.12); color: #d97706; border: 1px solid rgba(245,158,11,0.28); }
.nd-call-type-badge.tele, .nd-call-type-badge.telemarketer { background: rgba(14,165,233,0.12); color: #0ea5e9; border: 1px solid rgba(14,165,233,0.28); }
.nd-call-type-badge.safe     { background: rgba(22,163,74,0.10); color: #16a34a; border: 1px solid rgba(22,163,74,0.25); }
.nd-call-type-badge.other, .nd-call-type-badge.unknown { background: rgba(107,114,128,0.10); color: #6b7280; border: 1px solid rgba(107,114,128,0.2); }
.nd-comment-location {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  margin-left: 4px;
}
.nd-comment-text {
  color: #374151;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* No reports */
.nd-no-reports {
  text-align: center;
  padding: 56px 24px;
  background: #fff;
  border-radius: 14px;
  border: 2px dashed rgba(15,23,42,0.12);
  color: #6b7280;
}
.nd-no-reports-icon {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(129,58,236,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #813aec;
  margin: 0 auto 18px;
}
.nd-no-reports h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #374151; }
.nd-no-reports p  { font-size: 14px; line-height: 1.65; max-width: 440px; margin: 0 auto; }

/* Section ad slot */
.nd-between-ad {
  margin: 16px 0;
  text-align: center;
  padding: 4px;
}

/* ============================================
   SIMILAR NUMBERS SECTION
   ============================================ */
.nd-similar-section {
  background: #fff;
  padding: 64px 18px;
}
.nd-similar-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.nd-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.nd-similar-num {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid rgba(15,23,42,0.09);
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.3px;
}
.nd-similar-num:hover {
  background: rgba(129,58,236,0.06);
  border-color: rgba(129,58,236,0.22);
  color: #813aec;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(129,58,236,0.12);
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */
.nd-seo-section {
  background: #fbfbfc;
  padding: 72px 18px;
}
.nd-seo-inner {
  max-width: 860px;
  margin: 0 auto;
}
.nd-seo-h2 {
  font-size: 21px;
  font-weight: 700;
  color: #111827;
  margin: 32px 0 10px;
}
.nd-seo-h2:first-child { margin-top: 0; }
.nd-seo-p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.78;
  margin-bottom: 14px;
}
.nd-seo-p a {
  color: #813aec;
  font-weight: 600;
  text-decoration: none;
}
.nd-seo-p a:hover { text-decoration: underline; }
.nd-inarticle-ad { margin: 28px 0; text-align: center; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .nd-info-inner { grid-template-columns: 1fr; }
  .nd-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }
  .nd-sidebar-ad { min-height: 0; }
}

@media (max-width: 768px) {
  .nd-number-display { font-size: 38px; letter-spacing: -0.8px; }
  .nd-caller-name    { font-size: 17px; }
  .nd-info-section,
  .nd-comments-section,
  .nd-similar-section,
  .nd-seo-section    { padding: 52px 14px; }
  .nd-similar-grid   { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .nd-detail-label   { min-width: 100px; }
  .nd-comments-head  { flex-direction: column; }
}

@media (max-width: 480px) {
  .nd-number-display  { font-size: 30px; letter-spacing: -0.4px; }
  .nd-action-btn      { padding: 10px 16px; font-size: 13px; }
  .nd-vote-btn        { padding: 9px 16px; font-size: 14px; }
  .nd-info-main-card  { padding: 20px 16px; }
  .nd-comment-card    { padding: 16px 14px; }
  .nd-sidebar         { grid-template-columns: 1fr; }
  .nd-similar-grid    { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
