/**
 * announcement-banner.css — BarrelBridge platform announcement banner
 * Owns: banner styles, layout, responsive behavior
 * Does NOT own: banner visibility logic, page-specific injection points
 *
 * Include: <link rel="stylesheet" href="/js/announcement-banner.css">
 */

/* ── ANNOUNCEMENT BANNER ──────────────────────────────────── */
#announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999; /* above nav (nav is z-index 100-200) */
  background: #0A1628; /* dark navy matching BarrelBridge theme */
  border-bottom: 1px solid rgba(212, 149, 42, 0.25);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

#announcement-banner .banner-text {
  font-size: 0.8rem;
  color: #c8c5be;
  line-height: 1.4;
  max-width: 680px;
}

#announcement-banner .banner-text strong {
  color: #e8e6e1;
  font-weight: 600;
}

#announcement-banner .banner-text .sub-text {
  color: #8a8d96;
  display: block;
  margin-top: 0.1rem;
}

#announcement-banner .banner-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #0A1628;
  background: #d4952a;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

#announcement-banner .banner-btn:hover {
  background: #e8b04a;
}

/* Offset body content so banner doesn't cover anything */
body.has-announcement-banner {
  padding-top: 40px; /* ~banner height */
}

/* ── VERIFICATION-INFO PAGE SPECIFIC ──────────────────────── */
.verification-info-page {
  background: var(--bg-primary, #0a0c10);
  color: var(--text-primary, #e8e6e1);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.verification-info-page body {
  margin: 0;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 700px) {
  #announcement-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }

  #announcement-banner .banner-text {
    font-size: 0.78rem;
  }

  #announcement-banner .banner-btn {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  body.has-announcement-banner {
    padding-top: 80px; /* taller banner on mobile */
  }
}