const resetButton = container.querySelector('.input__btn_reset');
if (elem.length === 0) {
 resetButton.setAttribute('disabled', true);
// Как задать неактивной кнопке другой цвет фона?
 [S]resetButton.style.backgroundColor.setAttribute('#f00', true)[/S]
}