Catalyzes the phosphorylation of riboflavin (vitamin B2) to form flavin-mononucleotide (FMN). ATP + riboflavin = ADP + FMN + H(+) Zinc or magnesium. Cofactor biosynthesis; FMN biosynthesis; FMN from riboflavin (ATP route): step 1/1. Monomer.