fokus pada warna label perubahan input

.input-group {
    display: flex;
    flex-direction: column-reverse;
}

input:focus + label {
    color: red;
}
Elegant Echidna