 || 'searxng'}</span>
        </div>
        <div class="config-item">
            <span class="config-label">Search Iterations</span>
            <span class="config-value">${config.iterations || '8'}</span>
        </div>
    `;
}

function setupEventListeners() {
    // Dataset selection
    document.querySelectorAll('.dataset-option').forEach(option => {
        option.addEventListener('click', function(e) {
            if (!e.target.matches('input')) {
                this.classList.toggle('selected');