document.addEventListener('DOMContentLoaded', () => {
    const forms = document.querySelectorAll('.foodord-setup-wizard__form, .foodord-setup-wizard__skip');

    forms.forEach(form => {
        form.addEventListener('submit', () => {
            const submitBtn = form.querySelector('button[type="submit"]');
            if (submitBtn) {
                submitBtn.classList.add('is-loading');
            }
        });
    });
});
