        <div class="header">
            <div class="error-type badge-error">{{ error_type }}</div>
            <h1>{{ title }}</h1>
            <div class="message-box">
                <strong>Message principal:</strong><br>
                {{ message }}
            </div>
            {% if stack_trace and stack_trace | length > 0 %}
            <div class="message-box" style="margin-top: 1rem; border-color: #ffa94d;">
                <strong>⚠️ Cause racine:</strong><br>
                {{ stack_trace | first | get(key="message") }}
            </div>
            {% endif %}
            {% if details %}
            <div class="message-box" style="margin-top: 1rem; border-color: #4c6ef5;">
                <strong>Détails supplémentaires:</strong><br>
                {{ details }}
            </div>
            {% endif %}
            <div class="timestamp">🕐 {{ timestamp }}</div>
            <div class="info-card info-card-status">
            <div class="label">Code de statut</div>
            <div class="value">
                <span class="badge badge-error">{{ status_code }}</span>
            </div>
        </div>
