.stats-page {
  padding: 32px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-range-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.range-pill {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1.5px solid #E8ECF0;
  background: white;
  color: #8E8EA0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.range-pill:hover {
  border-color: #002D72;
  color: #002D72;
}

.range-pill.active {
  background: #002D72;
  border-color: #002D72;
  color: white;
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon--blue {
  background: #E8F0FF;
}

.stat-icon--green {
  background: #E8F5E9;
}

.stat-icon--orange {
  background: #FFF3E0;
}

.stat-icon--red {
  background: #FFF0F0;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #1A1A2E;
}

.stat-label {
  font-size: 13px;
  color: #8E8EA0;
  font-weight: 500;
}

.stats-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.stats-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1A1A2E;
  margin: 0 0 24px;
}

.chart-no-data {
  margin-top: 16px;
  padding: 12px 16px;
  background: #FFF8E1;
  border-radius: 8px;
  border-left: 4px solid #F9A825;
}

.chart-no-data p {
  font-size: 13px;
  color: #5D4037;
  margin: 0;
}

.barchart-wrapper {
  display: flex;
  flex-direction: column;
}

.barchart-x-labels {
  display: flex;
  margin-bottom: 6px;
}

.barchart-x-label {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: #8E8EA0;
  font-weight: 500;
}

.barchart-body {
  display: flex;
  flex-direction: column;
}

.barchart-bars {
  display: flex;
  gap: 2px;
  height: 160px;
  align-items: flex-end;
}

.barchart-bar-slot {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.barchart-bar {
  width: 100%;
  background: #002D72;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  transition: height 0.3s;
}
