                    </div>
                                    </div>
                                    <h2 class="text-lg font-bold text-gray-900 truncate">{{ ip.ip_address }}</h2>
                                    <span class="truncate px-2.5 py-0.5 rounded-full text-xs font-medium {% if ip.activity_type == 'malicious' %}bg-red-100 text-[#e74c3c]{% else %}bg-green-100 text-green-800{% endif %}">
                                        {{ ip.activity_type|capfirst }}
                                   