@import '../../scss/mixin';
@import '../../scss/mixin';

.content {
  flex: 1 0 calc(100% - 360px);
  display: flex;
  flex-direction: column;

  :global {
    .llm__feedback__group {
      background-color: white;
    }
  }
}

.head {
  flex: 0 0 80px;
  height: 80px;
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  border-bottom: 1px solid var(--neutral-400);
  padding: 12px;

  @include bp(md) {
    display: flex;
    padding: 18px 24px;
  }
}

.thread {
  flex: 1 0 calc(100% - 80px);
  height: calc(100% - 80px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 0 !important;
  justify-content: flex-start;

  .thread {
    flex: unset;
    padding: 24px 12px min(256px, 40dvh) 12px !important;
    height: auto;

    @include bp(md) {
      padding: 24px 96px min(256px, 40dvh) 96px !important;
    }
  }

  &>section {
    margin: 0 !important;
  }
}

.underlay {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  height: 240px;
  background: linear-gradient(transparent, var(--neutral-50), var(--neutral-50));
  pointer-events: none;
  border-right: 1px solid var(--neutral-50);
}

.bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 2;
  padding: 12px;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  @include bp(md) {
    padding: 16px 50px 16px 50px;
  }
}

.disclaimer {
  position: relative;
  width: 100%;
  left: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
