input, span { background-color : red }
input:not(:checked), input:not(:checked) + span { background-color : lime}