</span>
                      </span>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>

            <!-- Empty state for when there are no team members -->
            <div th:if="${teamUsers.empty}" class="data-empty">
              <span class="material-symbols-rounded data-empty-icon">person_off</span>
              <p class="data-empty-text" th:text="#{team.noMembers}">This team has no members yet.</p>
              <button data-bs-togg