/* =============================================================
   ProAlert Docs — custom stylesheet for user guide pages
   Loaded alongside Bootstrap 5.3.2
   ============================================================= */

:root {
  --proalert-green:      #37ca37;
  --proalert-green-dark: #2aaa2a;
  --proalert-red:        #dc3545;
  --bst-charcoal:        #212529;
  --bst-charcoal-light:  #495057;
  --bst-silver:          #adb5bd;
  --proalert-dark:       #0d1117;
}

/* ===== HERO ===== */
.hero {
  padding: 3rem 0;
}
.hero-proalert {
  background: linear-gradient(135deg, #0d1117 0%, #1a2332 100%);
  color: #fff;
}
.hero-proalert .lead {
  opacity: 0.85;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
  position: sticky;
  top: 20px;
}
.toc .card-header {
  background: #0d1117;
  color: #fff;
  font-weight: 600;
}
.toc .card-body {
  padding: 0.5rem 0;
}
.toc a {
  display: block;
  padding: 0.4rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.87rem;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.toc a:hover {
  color: var(--proalert-green-dark);
  background: #f7f7f6;
  border-left-color: var(--proalert-green);
}

/* ===== SECTION HEADER ===== */
.section-header {
  border-left: 4px solid var(--proalert-green);
  padding-left: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #0d1117;
}

/* ===== CARD HEADER VARIANTS ===== */
.card-header-proalert {
  background: #0d1117;
  color: #fff;
}
.card-header-bst {
  background: #1a2332;
  color: #fff;
}
.card-header-edgesense {
  background: #0f3460;
  color: #fff;
}

/* ===== CALLOUT BOXES ===== */
.callout {
  border-left: 4px solid;
  border-radius: 0.375rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #f8f9fa;
}
.callout-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.callout-info    { border-color: #0dcaf0; }
.callout-info    .callout-title { color: #055160; }
.callout-warning { border-color: #ffc107; }
.callout-warning .callout-title { color: #664d03; }
.callout-success { border-color: var(--proalert-green); }
.callout-success .callout-title { color: var(--proalert-green-dark); }
.callout-danger  { border-color: #dc3545; }
.callout-danger  .callout-title { color: #842029; }

/* ===== TABLES ===== */
.table-proalert thead th {
  background: #0d1117;
  color: #fff;
  font-weight: 600;
}

/* ===== STEP NUMBERS ===== */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background: #0d1117;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-right: 1rem;
}
.step-number-green {
  background: var(--proalert-green);
  color: #fff;
}

/* ===== FOOTER ===== */
.footer-proalert {
  background: #0d1117;
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
}
.footer-proalert a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-proalert a:hover {
  color: #fff;
}
.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}
.company-info {
  font-size: 0.8rem;
}

/* ===== BADGES ===== */
.badge-proalert-green {
  background: var(--proalert-green);
  color: #fff;
}
.badge-proalert-yellow {
  background: #ffc107;
  color: #212529;
}
