/* ── Firewall Advisory Tracker — /tools/firewall-advisory-tracker ────────── */

.fw-wrap { color: #0d1f3c; }

/* Hero */
.fw-hero {
  background: #0f2544;
  padding: 56px 24px 40px;
  text-align: center;
}
.fw-hero-inner { max-width: 640px; margin: 0 auto; }
.fw-hero-icon { margin-bottom: 14px; }
.fw-hero-icon svg { width: 52px; height: 52px; }
.fw-hero-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
}
.fw-hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin: 0;
}

/* Body */
.fw-outer { max-width: 1080px; margin: 0 auto; padding: 40px 24px 80px; }

.fw-loading, .fw-error {
  text-align: center;
  padding: 40px 20px;
  font-size: 15px;
  color: #475569;
}
.fw-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
}

.fw-vendor-errors {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fw-vendor-error-item {
  font-size: 13px;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 14px;
}

/* Stat cards */
.fw-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.fw-stat {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 18px 18px 16px;
}
.fw-stat-val { font-size: 28px; font-weight: 800; color: #0d1f3c; line-height: 1.1; }
.fw-stat-label { font-size: 12.5px; color: #64748b; margin-top: 6px; font-weight: 600; }
.fw-stat--critical .fw-stat-val { color: #b42318; }
.fw-stat--critical { border-color: #fecdca; background: #fef3f2; }
.fw-stat--high .fw-stat-val { color: #b45309; }
.fw-stat--high { border-color: #fde68a; background: #fffbeb; }

/* Severity bars */
.fw-severity-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  background: #fff;
}
.fw-sev-row { display: grid; grid-template-columns: 100px 1fr 40px; align-items: center; gap: 12px; font-size: 13px; }
.fw-sev-name { font-weight: 700; color: #334155; }
.fw-sev-track { background: #f1f5f9; border-radius: 6px; height: 10px; overflow: hidden; }
.fw-sev-fill { height: 100%; border-radius: 6px; }
.fw-sev-fill--critical { background: #dc2626; }
.fw-sev-fill--high { background: #f59e0b; }
.fw-sev-fill--medium { background: #3b82f6; }
.fw-sev-fill--low { background: #64748b; }
.fw-sev-fill--informational { background: #94a3b8; }
.fw-sev-fill--unknown { background: #cbd5e1; }
.fw-sev-count { text-align: right; font-weight: 700; color: #0d1f3c; }

/* Table controls */
.fw-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d1f3c;
  margin: 0 0 14px;
}
.fw-table-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.fw-search {
  flex: 1 1 220px;
  font-size: 13.5px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.fw-filter {
  font-size: 13.5px;
  padding: 9px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

/* Table */
.fw-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.fw-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.fw-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  background: #f8fafc;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.fw-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.fw-table tbody tr:last-child td { border-bottom: none; }
.fw-table tbody tr:hover { background: #f8fafc; }
.fw-table a { color: #017bbd; font-weight: 700; text-decoration: none; }
.fw-table a:hover { text-decoration: underline; }
.fw-cell-title { max-width: 360px; color: #334155; }
.fw-cell-cve { color: #64748b; font-size: 12.5px; max-width: 200px; white-space: nowrap; }

.fw-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.fw-badge--critical { background: #fee4e2; color: #b42318; }
.fw-badge--high { background: #fef0c7; color: #b45309; }
.fw-badge--medium { background: #dbeafe; color: #1d4ed8; }
.fw-badge--low { background: #f1f5f9; color: #475569; }
.fw-badge--informational { background: #f1f5f9; color: #64748b; }
.fw-badge--unknown { background: #f1f5f9; color: #94a3b8; }

.fw-vendor-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.fw-vendor-badge--fortinet { background: #fee4e2; color: #a4160a; }
.fw-vendor-badge--paloalto { background: #fef0c7; color: #93370d; }
.fw-vendor-badge--cisco { background: #dbeafe; color: #1849a9; }

.fw-table-count { font-size: 12.5px; color: #64748b; margin-top: 10px; }

/* Footnote + CTA */
.fw-footnote {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.7;
  margin: 26px 0 32px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}
.fw-footnote a { color: #017bbd; text-decoration: none; }
.fw-footnote a:hover { text-decoration: underline; }

.fw-cta {
  background: #eef6fc;
  border: 1px solid #c7dff0;
  border-radius: 14px;
  padding: 22px 26px;
}
.fw-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.fw-cta-title { font-size: 16px; font-weight: 700; color: #0d1f3c; margin: 0 0 6px; }
.fw-cta-sub { font-size: 13.5px; color: #475569; margin: 0; max-width: 560px; line-height: 1.6; }
.fw-cta-btn {
  flex-shrink: 0;
  background: #017bbd;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.fw-cta-btn:hover { background: #0f2544; color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 640px) {
  .fw-hero { padding: 40px 18px 32px; }
  .fw-outer { padding: 28px 16px 56px; }
  .fw-sev-row { grid-template-columns: 84px 1fr 32px; }
  .fw-cta-inner { flex-direction: column; align-items: flex-start; }
  .fw-cta-btn { width: 100%; text-align: center; }
}
