;

            // Add "active" class to the clicked member
            const activeCard = document.getElementById('member-' + username);
            activeCard.classList.add('active');

            // Only show the "Kick" button if the current user is not the admin
            if (username !== '{{ user.userprofile.team.admin.username }}') {
                const kickButton = document.getElementById('kick-' + username);
                if (kickButton) {
                    kickButton.style.display = 'inline'