.Biblio-ExceptionList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.Biblio-ExceptionList__Item {
  position: relative;
  padding-left: rem(24px);
  color: color('ink', 'lighter');

  + .Biblio-ExceptionList__Item {
    margin-top: spacing(extra-tight);
  }
}

.Biblio-ExceptionList__Icon {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: rem(20px);
  height: rem(20px);
  margin-right: spacing(extra-tight);

  @include recolor-icon(color('ink', 'lightest'));

  .Biblio-ExceptionList--statusWarning & {
    @include recolor-icon(color('yellow', 'dark'));
  }

  .Biblio-ExceptionList--statusCritical & {
    @include recolor-icon(color('red', 'dark'));
  }
}

.Biblio-ExceptionList__Bullet {
  width: rem(6px);
  height: rem(6px);
  border-radius: 100%;
  background-color: color('ink', 'lightest');

  .Biblio-ExceptionList--statusWarning & {
    background-color: color('yellow', 'dark');
  }

  .Biblio-ExceptionList--statusCritical & {
    background-color: color('red', 'dark');
  }
}

.Biblio-ExceptionList__Title {
  + .Biblio-ExceptionList__Description::before {
    content: '–';
    margin: 0 spacing(extra-tight);
  }

  .Biblio-ExceptionList--statusWarning &,
  .Biblio-ExceptionList--statusCritical & {
    font-weight: 500;
  }

  .Biblio-ExceptionList--statusWarning & {
    color: color('yellow', 'dark');
  }

  .Biblio-ExceptionList--statusCritical & {
    color: color('red', 'dark');
  }
}
