
                            </div>
                        </div>
                    </div>
                </div>
                <!-- Team Members Section -->
                <div class="bg-white rounded-2xl shadow-lg p-8 mb-8">
                    <div class="flex justify-between items-center mb-6">
                        <h2 class="text-2xl font-bold text-gray-800">Team Members</h2>
                        {% if user.userprofile.team.admin == user %}
                            <button onclick="openA