/* sitewide-polish-1344930.css — Task #1344930
   P2: 3 sitewide polish fixes:
   1. Nav tagline + announce bar font sizes under 16px minimum
   2. ~200-300px whitespace gap between ticker and main content
   3. Blank pill button on "Pick up where you left off" banner

   Loaded LAST in layout-head.ejs to override all prior CSS.
   All rules use !important for cascade safety.

   Design rules:
   - Body text minimum 16px
   - White backgrounds on standard pages
   - All CTA buttons must have visible, readable text
   - No empty visual containers
*/

/* ═══════════════════════════════════════════════════════════════════════
   1. NAV TAGLINE — was 0.62rem (9.9px), below 16px minimum
   Fix: Remove on all viewports — it's decorative text that doesn't
   fit cleanly at 16px inside the nav bar.
   ═══════════════════════════════════════════════════════════════════════ */
.nav-logo-tagline {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   2. ANNOUNCE BAR (Daily Drop Countdown) — was 0.8125rem (13px)
   Fix: Increase to 16px minimum body text
   ═══════════════════════════════════════════════════════════════════════ */
.announce-bar,
#announceBar,
.announce-bar-inner,
.announce-bar-msg,
.announce-bar-cta {
  font-size: 1rem !important;
}
/* Mono timer inside announce bar can stay slightly smaller for readability */
.announce-bar-msg [style*="font-family:ui-monospace"] {
  font-size: 1rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   3. REFERRAL EARN BAR — was 13px inline
   Fix: Override inline font-size to 16px
   ═══════════════════════════════════════════════════════════════════════ */
#sr-referral-earn-bar {
  font-size: 1rem !important;
}
#sr-referral-earn-bar a {
  font-size: 1rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. FOMO TICKER — was 13px
   Fix: Increase to 16px minimum
   ═══════════════════════════════════════════════════════════════════════ */
#fomo-ticker {
  font-size: 1rem !important;
}
.fomo-ticker-msg {
  font-size: 1rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. WHITESPACE GAP — .sr-hero had 100px top padding creating visible
   gap between header/ticker area and content. Body already has 108px
   padding-top for fixed header.
   Fix: Reduce hero top padding to tight spacing.
   ═══════════════════════════════════════════════════════════════════════ */
.sr-hero {
  padding-top: 2rem !important;
}
@media (max-width: 640px) {
  .sr-hero {
    padding-top: 1.25rem !important;
  }
}

/* Also reduce padding on non-hero pages that use .dir-hero or similar */
.dir-hero {
  padding-top: 1.5rem !important;
}

/* Trust badge bar — ensure it's compact, no extra whitespace */
.sr-gtb {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. BLANK PILL BUTTON — "Pick up where you left off" recovery banner
   The #sr-recovery-cta has background:#fff which is a white pill.
   Ensure the text is ALWAYS visible with proper contrast.
   ═══════════════════════════════════════════════════════════════════════ */

/* Recovery banner CTA — force visible text on white pill */
#sr-recovery-cta {
  background: #ffffff !important;
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  min-width: 100px !important;
  text-align: center !important;
  display: inline-block !important;
}

/* Recovery banner text — ensure readable */
#sr-recovery-banner-text {
  font-size: 1rem !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#sr-recovery-banner-text strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   7. RETURNING VISITOR BANNER — rvb-cta starts empty, populated by JS
   Ensure fallback styling so it's never an invisible pill
   ═══════════════════════════════════════════════════════════════════════ */
.rvb-cta {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2563eb !important;
  border-color: #2563eb !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.35rem 0.85rem !important;
  min-width: 80px !important;
  text-align: center !important;
}
.rvb-cta:hover {
  background: #1d4ed8 !important;
}

/* Also ensure banner itself uses light mode safe colors */
#returningVisitorBanner {
  background: linear-gradient(90deg, #1e40af, #2563eb, #1e40af) !important;
}
.rvb-msg {
  font-size: 1rem !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.rvb-dismiss {
  color: rgba(255, 255, 255, 0.7) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   8. RESUME BANNER — #srResumeBanner CTA
   Ensure the "File Now" button is always visible
   ═══════════════════════════════════════════════════════════════════════ */
#srResumeBtn {
  background: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-block !important;
  min-width: 80px !important;
  text-align: center !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   9. MOBILE 375px RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Announce bar — keep 16px but allow wrapping */
  .announce-bar,
  #announceBar {
    height: auto !important;
    min-height: 40px !important;
    padding: 6px 40px 6px 12px !important;
  }
  .announce-bar-inner {
    flex-wrap: wrap !important;
  }

  /* Fomo ticker — 16px on mobile too */
  #fomo-ticker {
    min-height: 36px !important;
  }
  .fomo-ticker-msg {
    padding: 0 1.5rem !important;
  }

  /* Recovery banner CTA — slightly smaller padding on mobile */
  #sr-recovery-cta {
    padding: 6px 14px !important;
    font-size: 1rem !important;
  }

  /* Returning visitor banner — maintain 16px minimum for WCAG */
  .rvb-msg {
    font-size: 1rem !important;
  }
  .rvb-cta {
    font-size: 1rem !important;
  }

  /* Referral bar — wrap at 375px */
  #sr-referral-earn-bar {
    flex-wrap: wrap !important;
    min-height: auto !important;
    padding: 8px 40px 8px 12px !important;
  }
}

/* At extreme mobile — maintain 16px minimum for WCAG compliance.
   NOTE: 0.9rem (~14.4px) was below the 16px body text minimum. Fixed to 1rem. */
@media (max-width: 375px) {
  .announce-bar-msg,
  .announce-bar-cta {
    font-size: 1rem !important;
  }
}
