.kpi-card {
  position: relative;
  border-radius: 32px;
  box-shadow: 0 20px 45px rgba(46, 60, 138, 0.08);
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  border-radius: 32px 0 0 32px;
  background-color: var(--brand-primary);
}

.kpi-card-inner {
  padding: 1.25rem 1.5rem;
}

.kpi-card--blue::before {
  /* Match secondary (Clear Filters) button blue */
  background-color: #49BEFF;
}

.kpi-card--green::before {
  background-color: var(--text-java);
}

.kpi-card--orange::before {
  background-color: #f97316;
}

.kpi-card--red::before {
  background-color: var(--brand-error);
}

.kpi-value--green {
  color: var(--text-java);
  font-size: 1.75rem;
}

.kpi-value--orange {
  color: var(--brand-primary);
  font-size: 1.75rem;
}

.kpi-value--red {
  color: var(--brand-error);
  font-size: 1.75rem;
}

.kpi-value--accent {
  /* Match secondary (Clear Filters) button / blue border */
  color: #49BEFF;
  font-size: 1.75rem;
}

.kpi-chart-container {
  position: relative;
  max-width: 300px;
  height: 100%;
}

.kpi-chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}
