/* ============================================
   Activity Feed Styles
   Использует .gc-card как базу (см. cards.css)
   ============================================ */

/* Post structure */
.activity-post {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar */
.activity-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.activity-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-content-main);
    background: var(--bg-content-secondary);
}

.activity-avatar.profile-trigger {
    cursor: pointer;
}

.activity-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-link);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid var(--bg-content-main);
}

/* Post info */
.activity-post-info {
    flex-grow: 1;
    min-width: 0;
}

.activity-post-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--font-primary);
    line-height: 1.3;
}

.activity-post-name .profile-trigger {
    cursor: pointer;
}

.activity-post-time {
    font-size: 12px;
    color: var(--font-secondary);
    margin-top: 2px;
}

.activity-post-content {
    font-size: 14px;
    color: var(--font-secondary);
}

/* Event icon */
.activity-event-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(var(--accent-link-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-event-icon i {
    font-size: 20px;
    color: var(--accent-link);
}

/* Event info */
.activity-event-info {
    flex-grow: 1;
    min-width: 0;
}

.activity-event-meta {
    font-size: 13px;
    color: var(--font-secondary);
}

.activity-event-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--font-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty state */
.activity-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--font-secondary);
}

.activity-empty i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 16px;
}

.activity-empty p {
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .activity-event-icon {
        width: 36px;
        height: 36px;
    }
}

