Selective leaching of rare earth elements from bauxite residue (red mud), using a functionalized hydrophobic ionic liquid