body {
  background: #f5f7fb;
}


.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.stats-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 0.75rem;
}

.section-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.stats-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f9fafb;
}

.stats-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1f2937;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-card-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
}

.stats-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  min-height: 2.64rem;
  display: flex;
  align-items: flex-start;
}

.col-xl-2-4 {
  flex: 0 0 auto;
  width: 20%;
}

.chart-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.9rem;
}

.chart-title {
  margin: 0 0 0.7rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.chart-wrap {
  position: relative;
  width: 100%;
}

.bar-wrap {
  height: 360px;
}

.cancha-wrap {
  height: 320px;
}

.chart-empty {
  color: #6b7280;
  font-weight: 600;
  text-align: center;
  padding: 1rem 0;
}

#statsNoData {
  font-size: 1.05rem;
}

.heatmap-table thead th,
.heatmap-table tbody td {
  font-size: 0.88rem;
}

.heatmap-label {
  font-weight: 600;
}

.heatmap-cell {
  text-align: center;
  font-weight: 700;
  border-radius: 6px;
}

@media (max-width: 1200px) {
  .col-xl-2-4 {
    width: 33.3333%;
  }
}

@media (max-width: 992px) {
  .col-xl-2-4 {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .col-xl-2-4 {
    width: 100%;
  }

  .stats-card-value {
    font-size: 1rem;
    min-height: 2.4rem;
  }
}
