Figuring out ATX Power Supply max output
There are two 12V outputs on that supply, each rated at 21A.
The run is probably not short enough to change the ampacity of the wire much, however it will reduce the voltage drop (which is often the limiting factor). 21A may or may not be too much current for AWG 18 depending on the environment and the temperature rating of the insulation.