@mixin input-validation-state($colorName) {
   &,
   .env-form-element__help,
   .env-select__item__remove {
      color: css-var('element-#{$colorName}-background-color');
   }

   .env-form-input,
   .env-checkbox__fake,
   .env-form-radio__fake,
   .env-select__input {
      border-color: css-var(
         'element-#{$colorName}-background-color'
      ) !important;
   }

   .env-select__item {
      background-color: css-var(
         'element-#{$colorName}-background-color'
      ) !important;
   }

   .env-select__item,
   .env-select__item__remove {
      color: css-var('element-#{$colorName}-font-color');
   }
}

@mixin disabled($grayscale: true) {
   @if ($grayscale) {
      filter: opacity(0.5) grayscale(100%);
   } @else {
      filter: opacity(0.5);
   }
}

@mixin placeholder() {
   &::-webkit-input-placeholder {
      /* Chrome/Opera/Safari */
      @content;
   }
   &::-moz-placeholder {
      /* Firefox 19+ */
      @content;
   }
   &:-ms-input-placeholder {
      /* IE 10+ */
      @content;
   }
   &:-moz-placeholder {
      /* Firefox 18- */
      @content;
   }
}

@mixin input-validation-state($colorName) {
   &,
   .env-form-element__help,
   .env-select__item__remove {
      color: css-var('element-#{$colorName}-background-color');
   }

   .env-form-input,
   .env-checkbox__fake,
   .env-form-radio__fake,
   .env-select__input {
      border-color: css-var(
         'element-#{$colorName}-background-color'
      ) !important;
   }

   .env-select__item {
      background-color: css-var(
         'element-#{$colorName}-background-color'
      ) !important;
   }

   .env-select__item,
   .env-select__item__remove {
      color: css-var('element-#{$colorName}-font-color');
   }
}

@mixin disabled($grayscale: true) {
   @if ($grayscale) {
      filter: opacity(0.5) grayscale(100%);
   } @else {
      filter: opacity(0.5);
   }
}

@mixin placeholder() {
   &::-webkit-input-placeholder {
      /* Chrome/Opera/Safari */
      @content;
   }
   &::-moz-placeholder {
      /* Firefox 19+ */
      @content;
   }
   &:-ms-input-placeholder {
      /* IE 10+ */
      @content;
   }
}

Remove old moz-prefix for Firefox <=50
Remove old moz-prefix for Firefox <=50
