Here are some good books:
"Shereshevsky, M - Endgame strategy". Will teach you the feeling for the endgame.
"Rosen, Bernd - Chess Endgame Training". Will teach you the endgame standards (except the fundamental mates). E.g. opposition, key squares, reserve tempi, rook activity, etc. Has three chapters about rook endgames.
archive.org/download/CHESSCollection has these two books contained.
A third book, which is big but will transform you into a rook endgame pro, is the book by Lewenfish and Smyslov. Unfortunately, this doesn't exist online as PDF. I have worked through parts of that book, and I would have easily drawn this rook endgame, starting with 33.Kd3, giving him the b2 pawn, but activating my pieces.
The raw pawn endgame was dangerous, because he had more reserve tempi. Always try to avoid raw pawn endgames, when you are not 100% sure you will draw them. After 43.g4?? the catastrophe happened (43.Ke3-f3 instead, he can not make progress), he had the opposition after 45...Kxf5 and zugzwanged you away from your d4 pawn.