CSS updates
made checks for empty inputs