               {% for member in team_members %}
                                    <div class="member-card flex-shrink-0 w-48 bg-gray-50 rounded-xl p-4 text-center transform transition-all duration-300 hover:shadow-lg {% if member.username == user.userprofile.team.admin.username %}border-2 border-[#e74c3c]{% endif %}"
                                         id="member-{{ member.username }}">
                                        <div class="relative inline-block">
                                       