.metric-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.metric-card--clickable {
  cursor: pointer;
}

.metric-card--clickable:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.metric-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.metric-card__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0;
}

.metric-card__trend {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.metric-card__trend--positive {
  color: var(--color-success);
  background-color: rgba(16, 185, 129, 0.1);
}

.metric-card__trend--negative {
  color: var(--color-danger);
  background-color: rgba(239, 68, 68, 0.1);
}

.metric-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.metric-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.metric-card__content {
  margin-top: 1rem;
}

.metric-card__skeleton {
  height: 3rem;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.metric-card--primary .metric-card__value {
  color: var(--color-primary);
}

.metric-card--success .metric-card__value {
  color: var(--color-success);
}

.metric-card--warning .metric-card__value {
  color: var(--color-warning);
}

.metric-card--danger .metric-card__value {
  color: var(--color-danger);
}

