A 36-year-old woman is evaluated for fever and right flank pain of 1 day's duration and dysuria of 3 days' duration. Medical history is unremarkable, and she takes no medications.

On physical examination, temperature is 38.9 °C (102.0 °F), blood pressure is 100/70 mm Hg, pulse rate is 100/min, and respiration rate is 16/min. Right costovertebral angle tenderness is noted. The remainder of the examination is noncontributory.

Urinalysis is positive for leukocyte esterase and nitrites, with a leukocyte count greater than 10/hpf and with many bacteria present. Urine culture is pending.

Which of the following is the most appropriate empiric therapy?