Add page layouts and improve error styling