import styled from 'styled-components/macro' export const Wrapper = styled.div` ` export const Label = styled.label` color: ${({ theme: { colors } }) => colors.text}; font-style: normal; font-weight: bold; font-size: 18px; line-height: 21px; ` export const Input = styled.input` position: absolute; z-index: -1; opacity: 0; &+${Label} { display: inline-flex; align-items: center; user-select: none; } &+${Label}::before { content: ''; display: inline-block; width: 26px; height: 26px; margin-right: 22px; background-repeat: no-repeat; background-position: center center; background-image: url(/images/radioUnchecked.svg); cursor: pointer; } &:checked+${Label}::before { background-image: url(/images/radioChecked.svg); } `