/* ══════════════════════════════════════════════════════════════
   Cards — static/css/components/cards.css
   Card container with layout slots and style variants.
   Prefix: uc-card to avoid Bootstrap collision.
   Uses design tokens from root.css.
   ══════════════════════════════════════════════════════════════ */

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

.uc-card-body {
  padding: 20px;
}

.uc-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--neutral-200);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.uc-card-header .bi {
  color: var(--primary);
}

.uc-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ── Variants ─────────────────────────────────────────────── */

/* Accent: gold left border */
.uc-card-accent {
  border-left: 4px solid var(--accent);
}

/* Primary header: teal background, white text */
.uc-card-primary-header .uc-card-header {
  background: var(--primary);
  color: var(--white);
  border-bottom: none;
}

.uc-card-primary-header .uc-card-header .bi {
  color: var(--white);
}
