%}
                    </div>
                </div>
                <!-- SendGrid API Status -->
                <div class="bg-white rounded-lg shadow-sm p-6 border border-[#e74c3c]">
                    <h3 class="text-xl font-semibold mb-4">SendGrid API</h3>
                    <div class="flex items-center">
                        <div class="w-3 h-3 rounded-full mr-3 {% if status.sendgrid == None %}bg-gray-400{% elif status.sendgrid %}bg-green-500{% else %}bg-red-500{% endif %}">
                    