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

.date-time-field {
  &__error-wrap {
    position: relative;
  }
}

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;
      }
    }
  }
}
