Academic Use of Generative Artificial Intelligence Among Adolescents and University Students: Associations with Self-Esteem, Self-Efficacy, and Academic Confidence and Anxiety