/* ============================================================================
   ERROR-DASHBOARD.CSS — extracted from components.css
   Single-owner rules for this module. Loaded eagerly right after
   components.css so the cascade order is unchanged.
   ============================================================================ */

/* ============================================================================
   Error Dashboard — CSS bar chart
   ============================================================================ */

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  height: 100px;
  padding: var(--sp-2) 0 var(--sp-1);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-5);
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: var(--sp-1);
  height: 100%;
}

.bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.bar {
  width: 100%;
  background: var(--press-red);
  opacity: 0.7;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  min-height: 2px;
  transition: opacity var(--t-fast);
}

.bar:hover { opacity: 1; }

.bar-label {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ============================================================================
   Error Dashboard — severity badges
   ============================================================================ */

.severity-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.6;
}

.severity-badge-critical {
  background: rgb(220 38 38 / 10%);
  color: var(--danger);
  border: 1px solid rgb(220 38 38 / 30%);
}

.severity-badge-warning {
  background: rgb(217 119 6 / 10%);
  color: var(--warning);
  border: 1px solid rgb(217 119 6 / 30%);
}

.severity-badge-info {
  background: var(--cyan-light);
  color: var(--cyan);
  border: 1px solid rgb(8 145 178 / 30%);
}

