/* 247alerts.net — Bootstrap 5.3 brand override */
:root {
  --bs-primary:          #ff6b35;
  --bs-primary-rgb:      255, 107, 53;
  --bs-body-bg:          #0a0e1a;
  --bs-body-color:       #c9d1d9;
  --bs-border-color:     #1e2d40;
  --bs-card-bg:          #111827;
  --bs-card-border-color:#1e2d40;
  --bs-link-color:       #ff6b35;
  --bs-link-hover-color: #ff8c5a;
  --bs-secondary-bg:     #111827;
  --bs-tertiary-bg:      #0d1117;
  --bs-code-color:       #58a6ff;
}
body { background: #0a0e1a; }
.text-accent  { color: #ff6b35; }
.bg-surface   { background: #111827 !important; }
.bg-deeper    { background: #0d1117 !important; }
.btn-primary  { background: #ff6b35; border-color: #ff6b35; color: #fff; }
.btn-primary:hover { background: #e05a28; border-color: #e05a28; }
.btn-outline-accent { border: 1px solid #ff6b35; color: #ff6b35; background: transparent; }
.btn-outline-accent:hover { background: rgba(255,107,53,.12); color: #ff8c5a; }

/* navbar */
.navbar-brand span { color: #ff6b35; }

/* severity badges */
.badge-sev-CRITICAL { background: #dc2626 !important; color: #fff; }
.badge-sev-HIGH     { background: #f97316 !important; color: #fff; }
.badge-sev-MEDIUM   { background: #eab308 !important; color: #000; }
.badge-sev-LOW      { background: #22c55e !important; color: #000; }
.badge-cvss         { background: #6366f1 !important; color: #fff; }

code.cve-id { background: #1e2d40; color: #58a6ff; padding: 2px 6px; border-radius: 4px; font-size: .82rem; }

/* hero */
.hero-section { background: linear-gradient(135deg, #0a0e1a 0%, #111827 60%, #0a0e1a 100%); padding: 5rem 0 4rem; }
.hero-logo-full { width: 25%; height: auto; display: block; margin: 0 auto; border-radius: 8px; }
.hero-badge { display: inline-block; background: rgba(255,107,53,.15); color: #ff6b35; border: 1px solid rgba(255,107,53,.3); padding: 4px 14px; border-radius: 20px; font-size: .8rem; letter-spacing: .07em; margin-bottom: 1.5rem; }
.hero-section h1 { font-size: clamp(2rem,5vw,3.25rem); font-weight: 700; line-height: 1.15; }

/* recent-card links */
.recent-card { display: block; background: #111827; border: 1px solid #1e2d40; border-radius: 10px; padding: 1rem 1.25rem; text-decoration: none; color: inherit; transition: border-color .2s; }
.recent-card:hover { border-color: rgba(255,107,53,.4); color: inherit; }
.recent-title { color: #e6edf3; font-weight: 600; font-size: .95rem; margin: .4rem 0 .25rem; }
.recent-date  { color: #8b949e; font-size: .8rem; }

/* alert cards */
.alert-card { background: #111827; border: 1px solid #1e2d40; border-radius: 10px; padding: 1.5rem 1.75rem; margin-bottom: 1.5rem; transition: border-color .2s, box-shadow .2s; }
.alert-card:hover { border-color: rgba(255,107,53,.35); box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.alert-card-title a { color: #e6edf3; text-decoration: none; font-size: 1.1rem; font-weight: 600; }
.alert-card-title a:hover { color: #ff6b35; }
.alert-card-summary { color: #8b949e; font-size: .9rem; margin-top: .5rem; }
.alert-date { color: #8b949e; font-size: .82rem; }
.read-more { color: #ff6b35; font-size: .85rem; text-decoration: none; }
.read-more:hover { text-decoration: underline; color: #ff8c5a; }

/* subscribe nudge */
.subscribe-nudge { background: linear-gradient(135deg,#1a1030 0%,#101828 100%); border: 1px solid rgba(255,107,53,.25); border-radius: 10px; padding: 2rem 2.5rem; margin-top: 3rem; }

/* form */
.form-card { background: #111827; border: 1px solid #1e2d40; border-radius: 12px; padding: 2rem 2.25rem; }
.form-hint     { color: #6b7280; font-size: .82rem; font-weight: 400; }
.form-required { color: #f97316; }
.form-note     { color: #6b7280; font-size: .8rem; margin-top: .75rem; text-align: center; }

/* severity radio row */
.sev-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .35rem; }
.sev-opt { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.sev-opt input { display: none; }
.sev-badge { display: inline-block; padding: 5px 14px; border-radius: 5px; font-size: .8rem; font-weight: 600; border: 2px solid transparent; transition: box-shadow .15s; }
.sev-opt input:checked + .sev-badge { box-shadow: 0 0 0 2px #fff; }
.sev-CRITICAL { background: #dc2626; color: #fff; }
.sev-HIGH     { background: #f97316; color: #fff; }
.sev-MEDIUM   { background: #eab308; color: #000; }
.sev-ALL      { background: #6b7280; color: #fff; }

/* vendor grid */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem; margin-top: .35rem; }
.vendor-opt  { display: flex; align-items: center; gap: .5rem; background: #0a0e1a; border: 1px solid #1e2d40; padding: .45rem .75rem; border-radius: 6px; cursor: pointer; font-size: .85rem; margin: 0; }
.vendor-opt:has(input:checked) { border-color: #ff6b35; background: rgba(255,107,53,.08); }

/* features */
.feature-icon { font-size: 1.75rem; margin-bottom: .75rem; }

/* article */
.article-title   { font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; margin-top: 1rem; }
.article-summary { color: #8b949e; font-size: 1rem; }
.article-text p  { color: #c9d1d9; line-height: 1.75; }
.article-tags    { margin-top: 1.25rem; }
.tag { display: inline-block; background: #1e2d40; color: #8b949e; padding: 3px 10px; border-radius: 4px; font-size: .8rem; margin-right: .4rem; }

/* page header */
.page-header { background: #0d1117; border-bottom: 1px solid #1e2d40; padding: 2rem 0 1.5rem; }
.page-meta a { color: #ff6b35; }
.back-link { color: #ff6b35; text-decoration: none; font-size: .9rem; }
.back-link:hover { text-decoration: underline; }

/* success / unsubscribe */
.success-icon  { font-size: 2.5rem; color: #22c55e; margin-bottom: .75rem; }
.success-email { color: #8b949e; font-size: .9rem; }

/* rss info bar */
.rss-info-bar { background: #111827; border: 1px solid #1e2d40; border-left: 4px solid #ff6b35; border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* prose page */
.prose-updated { color: #8b949e; font-size: .85rem; display: block; margin-bottom: 1.5rem; }
.prose-compliance-note { background: #1e2d40; border-left: 3px solid #ff6b35; padding: 1rem 1.25rem; border-radius: 0 6px 6px 0; font-size: .88rem; }

/* pagination */
.pagination-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2rem 0; }
.page-info { color: #8b949e; font-size: .9rem; }

/* empty state */
.empty-state { text-align: center; padding: 3rem; color: #8b949e; }

/* privacy carousel */
.privacy-carousel { padding: 0 2rem; }
.privacy-carousel .carousel-control-prev,
.privacy-carousel .carousel-control-next { width: 2rem; background: rgba(255,107,53,.15); border-radius: 6px; }
.privacy-carousel .carousel-control-prev { left: -2rem; }
.privacy-carousel .carousel-control-next { right: -2rem; }
