extMember() {
            const members = document.querySelectorAll('.member-card');
            currentIndex = (currentIndex + 1) % members.length;
            updateSlider();
        }

        // Initialize slider
        updateSlider();

        // Kick member function
        function kickMember(username) {
            fetch('/teams/kick-member/', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                    'X-CSRFToken': '{{ c