l.querySelector('.modal-body');
                    modalBody.innerHTML = `<div class="log-details">${logDetailsContent}</div>`;
                });
            }
        </script>
        {% else %}
        <div class="text-center py-5">
            <i class="bi bi-journal-x fs-1 text-muted mb-3"></i>
            <h5>{% trans %}No logs found{% endtrans %}</h5>
            <p class="text-muted mb-0">{% trans %}Try different search criteria or check back later{% endtrans %}</p>
        </div>
        {% endi