Optimized styles for flexbox