/* ═══════════════════════════════════════════════════════════════════════════════
   SETTLEMENT PAGES MISSING STYLES — Task #1008540
   Root cause: .scp-* classes (settlement category page) were never defined.
   .dir-cat-* navigation classes were also missing definitions.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════════
   1. CATEGORY NAVIGATION — Shared across settlement pages
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Directory Category Nav (settlements-index) ── */
.dir-cat-nav {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px clamp(1rem, 4vw, 2rem);
}

.dir-cat-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dir-cat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.dir-cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 2px 0;
}

.dir-cat-pills::-webkit-scrollbar { display: none; }

.dir-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.dir-cat-pill:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.dir-cat-pill.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
}

/* ── Directory Card Wrappers ── */
.dir-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.dir-card-wrap {
  min-height: 0;
}

.dir-card-expired {
  opacity: 0.55;
}

.dir-card-highvalue .dir-card {
  border-color: #bfdbfe;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}


/* ══════════════════════════════════════════════════════════════════════════════
   2. SETTLEMENT CATEGORY PAGE — .scp-* classes
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Hero Section ── */
.scp-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #ffffff;
  padding: 48px clamp(1rem, 4vw, 2rem) 40px;
}

.scp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.scp-breadcrumb {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.scp-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.scp-breadcrumb a:hover {
  color: #93c5fd;
}

.scp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.scp-h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scp-intro {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 24px;
}

/* ── Hero Stats ── */
.scp-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.scp-stats > div {
  display: flex;
  flex-direction: column;
}

.scp-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.scp-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ── CTA Strip ── */
.scp-cta-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.scp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: background 0.15s, transform 0.15s;
}

.scp-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.scp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.scp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Dark Belt (trust bar) ── */
.scp-dark-belt {
  background: #0c1628;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  padding: 10px clamp(1rem, 4vw, 2rem);
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
}

/* ── Content Area ── */
.scp-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px clamp(1rem, 4vw, 2rem) 64px;
}

/* ── Category Navigation ── */
.scp-cat-nav {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px clamp(1rem, 4vw, 2rem);
}

.scp-cat-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scp-cat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.scp-cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 2px 0;
}

.scp-cat-pills::-webkit-scrollbar { display: none; }

.scp-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.scp-cat-pill:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.scp-cat-pill.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
}

.scp-cat-pill span {
  font-size: 0.9rem;
}

/* ── Section Header ── */
.scp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.scp-section-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.scp-section-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── Card Grid ── */
.scp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 1024px) { .scp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .scp-grid { grid-template-columns: 1fr; } }

/* ── Settlement Card ── */
.scp-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.scp-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
}

/* Card Top — category + badges */
.scp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.scp-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
}

.scp-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.scp-badge-noproof {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.scp-badge-urgent {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #93c5fd;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.scp-badge-warning {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Company Name */
.scp-card-company {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 4px;
}

/* Title */
.scp-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats Row */
.scp-card-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  flex: 1;
}

.scp-dual-payout {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.scp-stat-item {
  font-size: 0.82rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 4px;
}

.scp-payout {
  font-weight: 600;
  color: #111827;
}

.scp-fund {
  color: #6b7280;
}

/* Deadline color coding */
.scp-deadline-ok {
  color: #059669;
}

.scp-deadline-warn {
  color: #d97706;
  font-weight: 600;
}

.scp-deadline-urgent {
  color: #1d4ed8;
  font-weight: 700;
}

/* CTA */
.scp-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

/* ── Payout Disclaimer ── */
.scp-payout-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 8px 0 0;
}

/* ── Empty State ── */
.scp-empty {
  text-align: center;
  padding: 48px 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.scp-empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}

.scp-empty-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.55;
}

/* ── Email Section ── */
.scp-email-section {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}

.scp-email-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
}

.scp-email-sub {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0 0 20px;
}

.scp-email-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.scp-email-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

.scp-email-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.scp-email-btn {
  padding: 12px 24px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.scp-email-btn:hover {
  background: #1d4ed8;
}

.scp-email-success {
  display: none;
  color: #059669;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 12px;
}

.scp-email-privacy {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 8px;
}

/* ── SEO Block ── */
.scp-seo {
  padding: 48px clamp(1rem, 4vw, 2rem);
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.scp-seo-inner {
  max-width: 860px;
  margin: 0 auto;
}

.scp-seo-inner h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px;
}

.scp-seo-inner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 24px 0 8px;
}

.scp-seo-inner p {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 12px;
}

/* ── FAQ (Category Page) ── */
.scp-faq {
  margin-top: 32px;
}

.scp-faq-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 16px;
}

.scp-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.scp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  background: #ffffff;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
}

.scp-faq-q:hover {
  background: #f9fafb;
}

.scp-faq-icon {
  font-size: 1rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.scp-faq-item.open .scp-faq-icon {
  transform: rotate(180deg);
}

.scp-faq-a {
  display: none;
  padding: 0 18px 14px;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

.scp-faq-item.open .scp-faq-a {
  display: block;
}

/* ── Related Categories ── */
.scp-related {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.scp-related-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
}

.scp-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scp-related-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.scp-related-link:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dir-cat-nav,
  .scp-cat-nav {
    top: 56px;
  }
}

@media (max-width: 768px) {
  .scp-hero {
    padding: 32px clamp(1rem, 4vw, 2rem) 28px;
  }
  .scp-stats {
    gap: 20px;
  }
  .scp-cta-strip {
    flex-direction: column;
  }
  .scp-btn-primary,
  .scp-btn-secondary {
    justify-content: center;
  }
  .scp-email-form {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .dir-cat-nav,
  .scp-cat-nav {
    top: 48px;
  }
}
