/* ══════════════════════════════════════════════════════════════
   Stat Cards — static/css/components/stats.css
   Dashboard metric cards with icon, value, and label.
   Prefix: uc-stat.
   Uses design tokens from root.css.
   ══════════════════════════════════════════════════════════════ */

.uc-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
}

.uc-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

/* ── Icon color variants ─────────────────────────────────── */
.uc-stat-icon-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.uc-stat-icon-accent {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.uc-stat-icon-info {
  background: var(--info-light);
  color: var(--info-text);
}

.uc-stat-icon-error {
  background: var(--error-light);
  color: var(--error);
}

.uc-stat-icon-success {
  background: var(--success-light);
  color: var(--success);
}

/* ── Value & label ───────────────────────────────────────── */
.uc-stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--neutral-900);
}

.uc-stat-label {
  font-size: 14px;
  color: var(--neutral-600);
}
