;
                    acc[key] = value;
                    return acc;
                }, {});

                const cookieToken = cookies._csrf;
                console.log('üìû Token from cookie:', cookieToken);

                if (cookieToken) {
                    currentCsrfToken = cookieToken;
                    document.getElementById('csrf-input').value = currentCsrfToken;
                    document.getElementById('token-result').innerHTML =
                        `<div class="success">