       </button>
                    </div>
                </div>
            </div>
        </div>

        <script>
            const logDetailsModal = document.getElementById('logModal');
            if (logDetailsModal) {
                logDetailsModal.addEventListener('show.bs.modal', event => {
                    const triggerButton = event.relatedTarget;
                    const logDetailsContent = triggerButton.getAttribute('data-bs-content');
                    const modalBody = logDetailsModa