 event
      if (form) {
        triggerActionOnForm(form, "submit");
      }
    });
  });

  const resetDesktopFilters = document.getElementById('reset-desktop-filters');
  if (resetDesktopFilters) {
    resetDesktopFilters.addEventListener('click', () => resetForm('desktop-jobs-form'));
  }

  const resetMobileFilters = document.getElementById('reset-mobile-filters');
  if (resetMobileFilters) {
    resetMobileFilters.addEventListener('click', () => resetForm('mobile-jobs-form'));
  }

  // Embed buttons