.um-profile-nav {
    background-color: transparent;
    margin-bottom: 20px;
    width: 100%;
    padding: 10px 0;
}

.um-profile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.um-profile-nav li {
    flex: 1 1 auto;
    text-align: center;
    margin: 0 5px 10px;
}

.um-profile-nav a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--secondary-color);
    background-color: var(--white-color);
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.um-profile-nav li.active a,
.um-profile-nav a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

@media (max-width: 768px) {
    .um-profile-nav {
        overflow-x: visible;
    }

    .um-profile-nav ul {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .um-profile-nav li {
        flex: 0 0 calc(50% - 10px);
        margin: 0 0 10px;
    }
    
    .um-profile-nav a {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Hide scrollbar styles remain unchanged */

/* Hide scrollbar for Chrome, Safari and Opera */
.um-profile-nav::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.um-profile-nav {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* #loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 9999;
} */