@import '../../scss/styles.scss';

@layer payload-default {
  html[data-theme='light'] {
    .date-time-field {
      &--has-error {
        .react-datepicker__input-container input {
          @include lightInputError;
        }
      }
    }
  }

  html[data-theme='dark'] {
    .date-time-field {
      &--has-error {
        .react-datepicker__input-container input {
          @include darkInputError;
        }
      }
    }
  }
}
