 'inline-flex items-center gap-2 px-3 py-1 bg-gray-100 rounded-full text-sm';
                userDiv.dataset.username = username;
                userDiv.innerHTML = `
                    <span class="text-gray-700">${username}</span>
                    <button type="button" onclick="removeUser(this)" class="text-gray-500 hover:text-gray-700">
                        <i class="fas fa-times"></i>
                    </button>`;
                selectedUsersContainer.appendChild(userDiv);
            }

   