/* Статистика */

.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 25px;
  justify-content: center;
  width: 100%;
}

.stats-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  margin-top: 12px;
  width: 100%;
}

.stat-item {
  flex: 0 1 auto;
  min-width: 180px;
  max-width: 200px;
  height: 65px;
  background-color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border-radius: 5px;
  padding: 0 8px;
}

.stat-item img {
  margin-left: 8px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.stat-text {
  display: flex;
   flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.stat-text > *  * {
  margin-top: 2px;
 }

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-value.all-time { color: #16DBCC; }
.stat-value.working-time { color: #4318FF; }
.stat-value.break-time { color: #FF82AC; }

.stat-label {
  font-size: 12px;
  color: #718EBF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 700px) {
  .stats-container {
    gap: 6px;
    padding-bottom: 12px;
  }
  
  .stats-bar {
    margin-bottom: 8px;
    margin-top: 8px;
  }
  
  .stat-item {
    min-width: 30%;
    max-width: 30%;
    height: 48px;
    padding: 0 4px;
  }
  
  .stat-item img {
    width: 20px;
    height: 20px;
    margin-left: 4px;
  }
  
  .stat-value {
    font-size: 11px;
  }
  
  .stat-label {
    font-size: 9px;
  }
 }

 @media (max-width: 400px) {
  .stat-item {
    min-width: 50%;
    max-width: 50%;
  }
}