{# Card Component - Reusable card macro for consistent styling #} {% macro card(title=None, subtitle=None, icon=None, class="", footer=None, highlight=False) %}
{{ subtitle }}
{% endif %}{{ label }}
{{ value }}
{% if trend and trend_label %}{{ '+' if trend > 0 else '' }}{{ trend }}% {{ trend_label }}
{% endif %}{{ description }}
{% endif %} {% if action_text and action_url %} {{ action_text }} {% endif %}{{ description }}