@import '../../scss/mixin';

.llm {
  & &__stream-error {
    .llm__text-body {
      @include text(display6);
    }

    &__toggle {
      @include button();
      color: var(--llm-input-accent-foreground);
      text-decoration: underline;
      margin-top: rem(0.5);

      &:hover {
        text-decoration: none;
      }

      svg {
        width: 18px;
        height: 18px;
      }
    }

    &__error {
      overflow-x: auto;

      &,
      &.llm__hint {
        margin-top: rem(2);
      }
    }
  }
}
