   projectClasses = classNamesInput.value;
                renderClassTags(classSearch.value); // Re-render with current filter
            });
            classTags.appendChild(tag);
        });
    }

    // Search filter for class tags
    classSearch.addEventListener('input', () => {
        renderClassTags(classSearch.value);
    });

    // Update project classes on input
    classNamesInput.addEventListener('input', () => {
        projectClasses = classNamesInput.value;
        renderClassTags(class