/* PlusCare HMS Dashboard Specific Styles */

.chart-container-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
}

.donut-chart-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-center-stat {
  position: absolute;
  text-align: center;
  pointer-events: none;
}

.donut-center-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.donut-center-label {
  font-size: 11px;
  color: var(--text-light);
}

.legend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.legend-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.legend-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-value {
  font-weight: 700;
  color: var(--text-main);
}

.filter-pill-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-pill {
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill.active {
  background: var(--bg-subtle);
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
}
