op.counter }}"
                                onclick="toggleExpand('ip-{{ forloop.counter }}')">
                            <div class="flex items-center justify-between">
                                <div class="flex items-center space-x-3 truncate">
                                    <div class="flex-shrink-0 truncate">
                                        <div class="w-3 h-3 rounded-full {% if ip.activity_type == 'malicious' %}bg-[#e74c3c]{% else %}bg-green-500{% endif %}">
                    