refactored styles and color variables