/* ============================================================
   NeoPolymarket — Activity Feed Page Styles
   File : assets/css/activity.css
   ============================================================ */

.up-page--activity {
  padding: 3rem 0;
}

.up-page__header {
  text-align: center;
  margin-bottom: 2rem;
}

.up-page__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.up-page__subtitle {
  color: rgba(232, 236, 244, 0.6);
  font-size: 1.125rem;
}

.up-filter-bar {
  display: flex;
  justify-content: center;
}

.up-filter-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem;
  border-radius: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.up-filter-tab {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: rgba(232, 236, 244, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.up-filter-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.up-filter-tab.active {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  color: #fff;
}

.up-activity-feed {
  max-width: 800px;
  margin: 0 auto;
}

.up-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.up-activity-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.up-activity-item__avatar {
  flex-shrink: 0;
}

.up-activity-item__avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.up-activity-item__content {
  flex: 1;
  min-width: 0;
}

.up-activity-item__text {
  color: #E8ECF4;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.up-activity-item__text a {
  color: #3B82F6;
  text-decoration: none;
}

.up-activity-item__text a:hover {
  text-decoration: underline;
}

.up-activity-item__text strong {
  color: #fff;
  font-weight: 600;
}

.up-activity-item__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
}

.up-activity-item__time {
  color: rgba(232, 236, 244, 0.5);
}

.up-activity-item__category {
  background: rgba(59, 130, 246, 0.15);
  color: #3B82F6;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

.up-activity-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.up-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.up-empty-state__icon {
  font-size: 4rem;
  color: rgba(232, 236, 244, 0.2);
  margin-bottom: 1rem;
}

.up-empty-state h5 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.up-empty-state p {
  color: rgba(232, 236, 244, 0.5);
}

.up-pagination .page-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(232, 236, 244, 0.7);
  padding: 0.5rem 0.875rem;
}

.up-pagination .page-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.up-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 575.98px) {
  .up-activity-item {
    padding: 1rem;
  }

  .up-activity-item__avatar img {
    width: 36px;
    height: 36px;
  }

  .up-activity-item__icon {
    display: none;
  }

  .up-filter-tabs {
    gap: 0.25rem;
  }

  .up-filter-tab {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
}
