So it's not supposed to be red to red, brown to brown?El cam is directing you.
If your idiot light isn’t working ,and it previously was, then you don’t have it hooked up correctly.
It sounds like your pigtail has the F and L pins swapped on the alternator pigtail. Look at the attachment. It appears you bought a generic pigtail for the alternator, it will require to be wired differently depending on the setup the vehicle has. I doubt the alternator is no good, but anything is possible.