/* settlement-detail-typography-1405608.css — Task #1405608
   BUG FIX: Settlement detail page typography — text too small, cramped, unreadable.

   Root cause: Inline font-sizes in the 1MB template range from 0.71rem-0.8rem (11-13px).
   Key CSS classes for claim steps, trust badges, and counters were never styled.
   This file enforces minimum readable sizes and adds missing class definitions.

   DOES NOT TOUCH: layout, colors, backgrounds, spacing, animations, or any other page.
   SCOPED TO: body.page-settlement-detail only.
*/

/* ═══════════════════════════════════════════════════════════════════════
   1. GLOBAL MINIMUM FONT SIZE — floor at 14px for body text
   Override tiny inline font-sizes (0.71rem–0.8rem) on settlement detail pages.
   ═══════════════════════════════════════════════════════════════════════ */

/* Trust items in hero strip — 0.76rem → 14px minimum */
body.page-settlement-detail .hero-trust-item {
  font-size: 0.875rem !important; /* 14px */
}

/* CTA value proposition — 0.8rem → 14px */
body.page-settlement-detail .cta-value-prop {
  font-size: 0.875rem !important; /* 14px */
  color: #4b5563 !important;
}

/* Social proof urgency strip items — .8rem → 14px */
body.page-settlement-detail .sp-cta-item {
  font-size: 0.875rem !important; /* 14px */
}

/* Hero social proof line — 0.79rem → 14px */
body.page-settlement-detail .hero-conv-social {
  font-size: 0.875rem !important; /* 14px */
}

/* ═══════════════════════════════════════════════════════════════════════
   2. TRUST BADGES — inline 0.74rem/0.71rem → 13px minimum
   The trust strip under the CTA has badges at 0.71-0.74rem (~11-12px).
   ═══════════════════════════════════════════════════════════════════════ */

/* Trust badge strip — override inline font-size:0.74rem */
body.page-settlement-detail .hero-trust-strip ~ div[style*="flex-wrap"] span[style*="font-size:0.74rem"],
body.page-settlement-detail .hero-trust-strip ~ div[style*="flex-wrap"] span[style*="font-size:0.71rem"] {
  font-size: 0.8125rem !important; /* 13px */
}

/* Broader fix: any inline font-size below 13px on settlement detail pages */
body.page-settlement-detail div[style*="font-size:0.71rem"],
body.page-settlement-detail span[style*="font-size:0.71rem"],
body.page-settlement-detail p[style*="font-size:0.71rem"] {
  font-size: 0.8125rem !important; /* 13px min */
}

body.page-settlement-detail div[style*="font-size:0.73rem"],
body.page-settlement-detail span[style*="font-size:0.73rem"],
body.page-settlement-detail p[style*="font-size:0.73rem"] {
  font-size: 0.8125rem !important; /* 13px min */
}

body.page-settlement-detail div[style*="font-size:0.74rem"],
body.page-settlement-detail span[style*="font-size:0.74rem"],
body.page-settlement-detail p[style*="font-size:0.74rem"] {
  font-size: 0.8125rem !important; /* 13px min */
}

body.page-settlement-detail div[style*="font-size:0.76rem"],
body.page-settlement-detail span[style*="font-size:0.76rem"],
body.page-settlement-detail p[style*="font-size:0.76rem"] {
  font-size: 0.8125rem !important; /* 13px min */
}

body.page-settlement-detail div[style*="font-size:0.79rem"],
body.page-settlement-detail span[style*="font-size:0.79rem"],
body.page-settlement-detail p[style*="font-size:0.79rem"] {
  font-size: 0.875rem !important; /* 14px min */
}

/* ═══════════════════════════════════════════════════════════════════════
   3. CTA BADGE — price tag inside primary CTA button
   The inline .cta-badge was set at font-size:1rem which is fine,
   but the payout text span inside the CTA is at 0.72em relative.
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .dual-cta-primary .cta-badge {
  font-size: 0.75rem !important; /* 12px — appropriate for badge inside button */
  padding: 0.15rem 0.5rem !important;
}

/* Payout text inside CTA — 0.72em → 0.85em */
body.page-settlement-detail .dual-cta-primary span[style*="font-size:0.72em"] {
  font-size: 0.85em !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. HOW TO FILE STEPS — missing class definitions
   .sr-htf-steps, .sr-htf-step, .sr-htf-step-content were used
   but never styled. Define them with proper typography.
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .sr-htf-steps {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  margin-top: 0.75rem !important;
}

body.page-settlement-detail .sr-htf-step {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

body.page-settlement-detail .sr-htf-step-content {
  flex: 1 !important;
  min-width: 0 !important;
}

body.page-settlement-detail .sr-htf-step-content h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1.05rem !important; /* 16.8px */
  font-weight: 800 !important;
  color: #0A0A0A !important;
  margin: 0 0 0.35rem !important;
  line-height: 1.3 !important;
}

body.page-settlement-detail .sr-htf-step-content p {
  font-size: 0.9375rem !important; /* 15px */
  line-height: 1.6 !important;
  color: #374151 !important;
  margin: 0 !important;
}

body.page-settlement-detail .sr-htf-subtitle {
  font-size: 0.9375rem !important; /* 15px */
  color: #4b5563 !important;
  line-height: 1.6 !important;
  margin-bottom: 1rem !important;
}

body.page-settlement-detail .sr-htf-cta-wrap {
  margin-top: 1.25rem !important;
  text-align: center !important;
}

body.page-settlement-detail .sr-htf-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #00B37D !important;
  color: #FFFFFF !important;
  font-size: 1rem !important; /* 16px */
  font-weight: 800 !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  min-height: 48px !important;
  box-shadow: 0 4px 16px rgba(0, 179, 125, 0.3) !important;
  transition: background 0.2s, transform 0.15s !important;
}

body.page-settlement-detail .sr-htf-cta:hover {
  background: #009669 !important;
  transform: translateY(-1px) !important;
}

body.page-settlement-detail .sr-htf-trust {
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  margin-top: 0.75rem !important;
  font-size: 0.8125rem !important; /* 13px */
  color: #6B7280 !important;
  flex-wrap: wrap !important;
}

body.page-settlement-detail .sr-htf-trust span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. CLAIM COUNTER BADGE — missing definition
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .claim-counter-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  background: rgba(0, 179, 125, 0.08) !important;
  border: 1px solid rgba(0, 179, 125, 0.25) !important;
  border-radius: 100px !important;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.875rem !important; /* 14px */
  font-weight: 600 !important;
  color: #374151 !important;
  margin-bottom: 0.5rem !important;
}

body.page-settlement-detail .claim-fire {
  font-size: 1rem !important;
}

body.page-settlement-detail .claim-count-num {
  font-weight: 800 !important;
  color: #00B37D !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. FILING HELP TRUST MICRO — missing definition
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .fh-trust-micro {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.5rem 1rem !important;
  margin-top: 0.5rem !important;
  font-size: 0.8125rem !important; /* 13px */
  color: #6B7280 !important;
  font-weight: 500 !important;
}

body.page-settlement-detail .fh-trust-micro span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  white-space: nowrap !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   7. FILING HELP BUTTON — missing definition
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .fh-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: #00B37D !important;
  color: #FFFFFF !important;
  font-size: 1.05rem !important; /* 16.8px */
  font-weight: 800 !important;
  padding: 1rem 1.5rem !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  min-height: 52px !important;
  box-shadow: 0 4px 20px rgba(0, 179, 125, 0.35) !important;
  transition: background 0.2s, transform 0.15s !important;
  letter-spacing: -0.01em !important;
}

body.page-settlement-detail .fh-btn:hover {
  background: #009669 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(0, 179, 125, 0.45) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   8. PRICES AND AMOUNTS — must be prominent, not tiny
   Override any element containing $ amounts that's rendered too small.
   ═══════════════════════════════════════════════════════════════════════ */

/* Sidebar price — ensure visible */
body.page-settlement-detail .sidebar-price-main {
  font-size: 1.5rem !important; /* 24px — price is a key decision point */
  font-weight: 900 !important;
  color: #00B37D !important;
}

body.page-settlement-detail .sidebar-price-sub {
  font-size: 0.8125rem !important; /* 13px */
  color: #6B7280 !important;
  display: block !important;
  margin-top: 0.15rem !important;
}

/* Filing price in CTA buttons */
body.page-settlement-detail .filing-cta-link {
  font-size: 1rem !important; /* 16px minimum */
  font-weight: 700 !important;
}

/* Detail filing clarification text */
body.page-settlement-detail .detail-filing-clarification {
  font-size: 0.875rem !important; /* 14px */
  color: #6B7280 !important;
  line-height: 1.5 !important;
}

/* Price anchor text — "A lawyer charges $200–500/hr" */
body.page-settlement-detail .sr-price-anchor {
  font-size: 0.875rem !important; /* 14px */
  color: #374151 !important;
  line-height: 1.5 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   9. SOCIAL PROOF TICKER ON SETTLEMENT DETAIL — amounts must be readable
   The ticker .sp-cta-item uses .8rem. Override fund amounts.
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .sp-cta-item strong {
  font-size: 0.9375rem !important; /* 15px — amounts should pop */
  font-weight: 800 !important;
  color: #111827 !important;
}

body.page-settlement-detail .sp-cta-fund strong {
  color: #00B37D !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   10. TRUST CARDS GRID — card title/text size enforcement
   .sr-trust-card-title was at font-size:1rem (OK) but some inline
   styles override it. .sr-trust-card-text was at 1rem too (OK).
   Enforce minimums.
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .sr-trust-card-title {
  font-size: 0.875rem !important; /* 14px minimum */
  font-weight: 800 !important;
  color: #0A1628 !important;
  line-height: 1.3 !important;
}

body.page-settlement-detail .sr-trust-card-text {
  font-size: 0.8125rem !important; /* 13px minimum */
  color: #374151 !important;
  line-height: 1.55 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   11. DEADLINE DISPLAY — filing deadline date should not overflow
   Long date strings like "September 30, 2026" can wrap badly on mobile.
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .card-deadline {
  font-size: 0.75rem !important; /* 12px — badges are intentionally small */
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 240px !important;
}

/* Sidebar urgency countdown — readable */
body.page-settlement-detail .sidebar-urgency-countdown {
  font-size: 0.875rem !important; /* 14px */
}

/* ═══════════════════════════════════════════════════════════════════════
   12. PAYOUT DISCLAIMER — too small by default
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .sr-payout-disclaimer {
  font-size: 0.75rem !important; /* 12px — it's a legal disclaimer, small is OK */
  line-height: 1.4 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   13. URGENCY FORFEIT TEXT — 0.79rem → 14px
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail div[style*="border-radius:10px"] > p[style*="font-size:0.79rem"] {
  font-size: 0.875rem !important; /* 14px */
}

/* ═══════════════════════════════════════════════════════════════════════
   14. PROOF-REQUIRED NOTE — 0.71rem → 13px
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail div[style*="font-size:0.71rem"][style*="color:#6b7280"] {
  font-size: 0.8125rem !important; /* 13px */
}

/* ═══════════════════════════════════════════════════════════════════════
   15. LIVE DOT ANIMATION
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .live-dot {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  background: #00B37D !important;
  border-radius: 50% !important;
  margin-right: 4px !important;
  vertical-align: middle !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   16. PAYOUT PROOF SECTION — readable
   ═══════════════════════════════════════════════════════════════════════ */

body.page-settlement-detail .detail-payout-proof {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  background: #F0FDF4 !important;
  border: 1px solid #86efac !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  margin-bottom: 0.75rem !important;
}

body.page-settlement-detail .detail-payout-proof-icon {
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

body.page-settlement-detail .detail-payout-proof-text {
  font-size: 0.875rem !important; /* 14px */
  color: #374151 !important;
  line-height: 1.5 !important;
  font-style: italic !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   17. MOBILE OVERRIDES (375px)
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  /* Claim steps on mobile */
  body.page-settlement-detail .sr-htf-step {
    gap: 0.75rem !important;
  }

  body.page-settlement-detail .sr-htf-step-content h3 {
    font-size: 1rem !important; /* 16px */
  }

  body.page-settlement-detail .sr-htf-step-content p {
    font-size: 0.875rem !important; /* 14px */
  }

  /* Social proof strip on mobile — override .77rem */
  body.page-settlement-detail .sp-cta-item {
    font-size: 0.8125rem !important; /* 13px min even on mobile */
  }

  /* Trust items on mobile */
  body.page-settlement-detail .hero-trust-item {
    font-size: 0.8125rem !important; /* 13px */
  }

  /* CTA value prop on mobile */
  body.page-settlement-detail .cta-value-prop {
    font-size: 0.8125rem !important; /* 13px */
  }

  /* Filing help trust micro on mobile */
  body.page-settlement-detail .fh-trust-micro {
    font-size: 0.75rem !important; /* 12px — tighter on mobile */
    gap: 0.35rem 0.75rem !important;
  }

  /* Sidebar price on mobile */
  body.page-settlement-detail .sidebar-price-main {
    font-size: 1.35rem !important; /* 21.6px */
  }

  /* Deadline badge on mobile */
  body.page-settlement-detail .card-deadline {
    max-width: 200px !important;
  }
}
