{% if chat_session and messages %}

Session Status

Time Remaining {% if time_remaining %} {{ time_remaining }} {% else %} Calculating... {% endif %}
💬 Messages {{ message_count|default:0 }}/{{ message_limit }} used
{% if time_percentage <= 20 %}
⚠️ Session expires soon!
{% endif %} {% if message_percentage >= 80 %}
⚠️ Approaching message limit!
{% endif %}
{% endif %}