                  <button type="submit"
                                    class="flex items-center gap-2 px-6 py-3 bg-yellow-500 text-white rounded-lg hover:bg-yellow-600 transition-colors duration-300">
                                <i class="fas fa-sign-out-alt"></i>
                                Leave Team
                            </button>
                        </form>
                    </div>
                </div>
            {% else %}
                {% if join_requests %}
             