Completed detail pg function & styling