:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;

  color: #2a2a2a;
  background-color: #f6f6f6;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

html,
body,
#root {
  padding: 0;
  margin: 0;
  height: 100%;
}

.ant-table-selection-col,
.ant-table-selection-column {
  width: 50px !important;
  min-width: 50px !important;
}

.chat-prompts-val {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ellipsis-line {
  display: inline-block;
  width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rowedit {
  padding: 2px 5px;

  &:hover {
    box-shadow: 0 0 2px rgba(237, 122, 60, 0.8);
    border-radius: 4px;
  }
}

.chat-add-btn {
  margin-bottom: 5px;
}

.chat-tags,
.chat-prompts-tags {
  .ant-tag {
    margin: 2px;
  }
}

.chat-table-tip {
  > span {
    line-height: 16px;
  }
}

.action-btn,
.file-path {
  cursor: pointer;
}

.chat-file-path {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  margin-bottom: 3px;
  line-height: 16px;

  > div {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  span {
    display: inline-block;
    // background-color: #d8d8d8;
    color: #4096ff;
    padding: 0 8px;
    height: 20px;
    line-height: 20px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: underline;
  }
}

.chatico {
  cursor: pointer;
}

.awesome-tips {
  .ant-tag {
    cursor: pointer;
  }
}

.editor-task {
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;

  .ant-breadcrumb-link {
    padding: 3px 5px;
    transition: all 300ms ease;
    border-radius: 4px;
    &:hover {
      color: rgba(120, 120, 90, 0.88);
      background-color: rgba(40, 40, 40, 0.06);
      cursor: pointer;
    }
  }

  .editor-btn {
    cursor: pointer;
    margin-left: 5px;
  }
}

.ant-message {
  max-width: 500px;
}
