d}" th:text="${user.username}"
                  th:data-team="${user.team != null ? user.team.name : ''}"
                  th:data-team-id="${user.team != null ? user.team.id : ''}">
                  Username
                </option>
              </select>
            </div>

            <!-- Warning message for users being moved between teams -->
            <div id="teamChangeWarning" class="alert alert-warning mt-3" style="display: none;">
              <span class="material-symbols-rounded">warning