I'm doing a figure in tikz with different layers on top of each other and the last layer requires me to rotate the rectangle 90 degrees. My problem is how do I make the text left-aligned? The align option doesn't change anything, it's still centred.
\documentclass[a4paper,11pt]{article}
\usepackage{tikz}
\usetikzlibrary[positioning]
\usetikzlibrary{patterns, arrows.meta, shapes.geometric, calc, shadows}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\tikzstyle{up}=[align=left, draw, rectangle, minimum height=.8cm, minimum width=5cm, fill=red!20,anchor=north west, rotate=90]
\node[up] (rewiring) {Rewiring};
\end{tikzpicture}
\end{figure}
\end{document}
