etting CSRF token:', error);
                document.getElementById('token-result').innerHTML =
                    `<div class="error">‚ùå Error: ${error.message}</div>`;
            }
        }

        async function testCsrfProtection() {
            if (!currentCsrfToken) {
                document.getElementById('test-result').innerHTML =
                    `<div class="error">‚ùå Please get a CSRF token first</div>`;
                return;
            }

            try {
                c