.ds-form-notice {
  color: var(--ds-color-london-5);
  display: inline-flex;
  font-family: var(--ds-type-system-sans-lining);
  font-size: var(--ds-type-scale-0);
  font-weight: 500;
  line-height: var(--ds-type-leading-lower);
  &::before {
    background-image: url('eds://common/static/images/icons/error-outline.svg');
    background-repeat: no-repeat;
    background-size: 1.25rem;
    content: '';
    flex-shrink: 0;
    height: 1.25rem;
    margin: 0 0.375rem 0 0;
    width: 1.25rem;
  }
}

.ds-form-notice--inverse {
  color: var(--ds-color-london-100);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  &::before {
    background-image: url('eds://common/static/images/icons/error-outline--inverse.svg');
  }
}

.ds-form-input + .ds-form-notice,
.ds-form-field-combined-input + .ds-form-notice,
.ds-form-field-number + .ds-form-notice,
.ds-form-field-date + .ds-form-notice {
  margin: 0.375rem 0 0 0;
}
