.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Стили для секций дашборда */
.dashboard-overview,
.dashboard-charts,
.dashboard-controls {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dashboard-overview h2,
.dashboard-charts h2,
.dashboard-controls h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

/* Стили для статистики */
.stats {
  display: flex;
  justify-content: space-around; /* Равномерно */
  align-items: center;
  flex-wrap: wrap; /* Перенос */
}

.stat-item {
  text-align: center;
  margin-bottom: 20px;
  width: 30%; /* Ширина, изменять? */
}

.stat-item h3 {
  font-size: 18px;
  color: #555;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 20px;
  font-weight: bold;
  color: #007bff; /* Цвет выделения цифр */
}


/* Стили для графиков (dashboard-charts) */
.dashboard-charts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.chart-container {
  width: 48%; /* Ширина, изменять? */
  margin-bottom: 20px;
}

.chart-container h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

/* Стили для управления */
.dashboard-controls p {
  font-size: 16px;
  color: #666;
}

/* Адаптивные стили (медиа-запросы) */
@media (max-width: 768px) {
  .stats {
      flex-direction: column; /* Вертикальное расположение*/
      align-items: stretch; /* Растянуть элементы по ширине */
  }

  .stat-item {
      width: 100%; /* Занять всю ширину смартфоны */
  }

  .dashboard-charts {
      flex-direction: column; /* Вертикальное расположение графиков */
  }

  .chart-container {
      width: 100%;
  }
}