/* 1. Главный контейнер */
.activity-timeline-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 15px;
  background: #fcfcfc; /* Легкий фон для контраста с белыми карточками */
}

/* 2. Сетка статистики (верхние плитки) */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 5px;
}

/* 3. Разделитель дат */
.date-divider {
  display: flex;
  align-items: center;
  margin: 30px 0 15px;
}

.date-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  margin-left: 15px;
}

.date-text {
  font-weight: 700;
  color: #4a5568;
  font-size: 0.9rem;
  background: #3182ce; /* Делаем дату заметнее */
  color: white;
  padding: 2px 12px;
  border-radius: 20px;
}

/* 4. КАРТОЧКА АКТИВНОСТИ */
.activity-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  padding: 20px; /* Добавили воздух внутри */
  border-radius: 16px;
  border: 1px solid #f0f4f8;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease-in-out;
}



/* Аватар */
.avatar-container {
  flex-shrink: 0;
}

.avatar-container img, 
.activity-icon-fallback {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px; /* Сделаем чуть квадратными со скруглением, как в iOS */
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Контент */
.activity-content {
  flex: 1;
  min-width: 0;
}

.activity-text {
  font-size: 1rem;
  color: #2d3748;
  line-height: 1.5;
  margin-bottom: 6px;
}

.activity-text strong {
  color: #3182ce;
  font-weight: 700;
}

.activity-time {
  font-size: 0.8rem;
  color: #a0aec0;
  font-style: italic;
}

/* Превью удаленных или текущих объектов */
.activity-preview {
  margin-top: 12px;
  padding: 10px 15px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #cbd5e0;
  font-size: 0.9rem;
  color: #718096;
  display: inline-block;
}
