Double border style refactoring