What is the worst-case time complexity of searching for an element in a balanced binary search tree with n nodes?