* {
  margin: 0;
  padding: 0;
}
body,
html {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  color: #0d2042;
}
body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial, PingFang SC-Light, Microsoft YaHei;
}
a {
  text-decoration: none;
}
input {
  background-color: transparent;
  border: 0;
}
button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}
button:active {
  opacity: 0.6;
}
.theme-bg {
  background: #f5f7fb;
}
.theme-color {
  color: #0072ff;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-1 {
  flex: 1;
}
.justify-start {
  display: flex;
  justify-content: flex-start;
}
.justify-center {
  display: flex;
  justify-content: center;
}
.justify-end {
  display: flex;
  justify-content: flex-end;
}
.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}
.justify-around {
  display: flex;
  justify-content: space-around;
}
.justify-between {
  display: flex;
  justify-content: space-between;
}
.align-start {
  display: flex;
  align-items: flex-start;
}
.align-center {
  display: flex;
  align-items: center;
}
.align-end {
  display: flex;
  align-items: flex-end;
}
ul,
li {
  list-style: none;
}
.container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.left-aside {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-right: 1px solid #eee;
  color: #333;
  text-align: center;
  box-sizing: border-box;
  height: 100vh;
  width: 80px !important;
  padding: 16px 10px;
}
.left-aside .logo {
  width: 60px;
  height: 66px;
  background: url(../images/logo.svg) 100% 100% no-repeat;
}
.left-aside .subjects {
  flex: 1;
  margin-top: 27px;
  overflow: hidden;
  overflow-y: auto;
}

.left-aside .subjects .subject.active,
.left-aside .subjects .subject:hover {
  background: #f2f4f6;
  border-radius: 6px;
}

.left-aside .subjects .subject {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
}

.left-aside .subjects .subject .subject-icon {
  width: 34px;
  height: 24px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.left-aside .subjects .subject .subject-icon-01 {
  width: 34px;
  height: 34px;
}

.left-aside .subjects .subject.active .subject-text {
  color: #131212;
  font-weight: 600;
}

.left-aside .subjects .subject .subject-text {
  color: #4f5866;
  text-align: center;
  font-family: PingFang SC;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 12px;
}

.left-aside .extra {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-message {
  width: 32px;
  height: 32px;
  background: url(../images/icon/icon_message.svg) 100% 100% no-repeat;
  cursor: pointer;
  margin-top: 15px;
}

.icon-panda {
  width: 32px;
  height: 32px;
  background: url(../images/icon/icon_panda_mini.svg) 100% 100% no-repeat;
  cursor: pointer;
  margin-top: 35px;
}

.icon-trash {
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_trash.svg) 100% 100% no-repeat;
  background-size: contain;
  cursor: pointer;
}

.icon-trash:hover {
  background: url(../images/icon/icon_trash_hover.svg) 100% 100% no-repeat;
  background-size: contain;
}
.icon-upload {
  width: 32px;
  height: 32px;
  background: url(../images/icon/icon_upload_file_btn_hover.svg) 100% 100% no-repeat;
  cursor: pointer;
  opacity: .8;
  margin-right: 12px;
}
.icon-upload:hover {
  opacity: 1;
}
.icon-edit {
  width: 24px;
  height: 24px;
  background: url(../images/icon/icon_edit.png) 100% 100% no-repeat;
  cursor: pointer;
  background-size: contain;
}
.icon-edit:hover {
  background: url(../images/icon/icon_edit_hover.png) 100% 100% no-repeat;
  background-size: contain;
}

.icon-thumbs-up {
  width: 20px;
  height: 20px;
  background: url(../images/icon/icon_thumb_up.svg) 100% 100% no-repeat;
  cursor: pointer;
}
.icon-thumbs-up:hover {
  background: url(../images/icon/icon_thumb_up_done.svg) 100% 100% no-repeat;
}
.icon-thumbs-up.active {
  background: url(../images/icon/icon_thumb_up_done.svg) 100% 100% no-repeat;
}

.icon-thumbs-down {
  width: 20px;
  height: 20px;
  background: url(../images/icon/icon_thumb_down.svg) 100% 100% no-repeat;
  cursor: pointer;
}
.icon-thumbs-down:hover {
  background: url(../images/icon/icon_thumb_down_done.svg) 100% 100% no-repeat;
}
.icon-thumbs-down.active {
  background: url(../images/icon/icon_thumb_down_done.svg) 100% 100% no-repeat;
}

.icon-copy {
  width: 20px;
  height: 20px;
  background: url(../images/icon/icon_copy.svg) 100% 100% no-repeat;
  cursor: pointer;
}

.icon-share-line {
  width: 20px;
  height: 20px;
  background: url(../images/icon/icon_share_line.png) 100% 100% no-repeat;
  cursor: pointer;
  background-size: contain;
}

.icon-thumbs-up-new {
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_thumb_up_new.svg) 100% 100% no-repeat;
  cursor: pointer;
}
.icon-thumbs-up-new:hover {
  background: url(../images/icon/icon_thumb_up_done_new.svg) 100% 100% no-repeat;
}
.icon-thumbs-up-new.active {
  background: url(../images/icon/icon_thumb_up_done_new.svg) 100% 100% no-repeat;
}

.icon-thumbs-down-new {
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_thumb_down_new.svg) 100% 100% no-repeat;
  cursor: pointer;
}
.icon-thumbs-down-new:hover {
  background: url(../images/icon/icon_thumb_down_done_new.svg) 100% 100% no-repeat;
}
.icon-thumbs-down-new.active {
  background: url(../images/icon/icon_thumb_down_done_new.svg) 100% 100% no-repeat;
}

.icon-copy-pc {
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_copy_pc.svg) 100% 100% no-repeat;
  cursor: pointer;
}

.icon-copy-md {
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_copy_md.svg) 100% 100% no-repeat;
  cursor: pointer;
}

.icon-share-pc {
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_share_pc.svg) 100% 100% no-repeat;
  cursor: pointer;
}

.icon_regenerate_new {
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_regenerate_new.svg) 100% 100% no-repeat;
  cursor: pointer;
}

.panda-tooltip .head,
.panda-tooltip {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panda-tooltip {
  box-sizing: border-box;
  padding: 24px 12px 12px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #cce9ff, #fff 40%, #fff);
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .06);
}

.panda-tooltip .actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panda-tooltip .head .head-icon {
  width: 64px;
  height: 64px;
  background: url(../images/icon/icon_panda.svg) 100% 100% no-repeat;
}

.panda-tooltip .head .head-text {
  color: #1a2029;
  font-family: PingFang SC;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 25px;
  margin-top: 24px;
}

.panda-tooltip .actions .action {
  box-sizing: border-box;
  width: 202px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.panda-tooltip .actions .action .action-icon {
  width: 20px;
  height: 20px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.panda-tooltip .actions .action .action-text {
  color: #1a2029;
  font-family: PingFang SC;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
}

.panda-tooltip .actions .action:hover {
  border-radius: 8px;
  background: #f2f4f6;
}


.tooltip {
  position: fixed;
  z-index: 9999;
  display: none;
  background: #ffffff url(../images/icon/icon_warning.png) no-repeat 10px center;
  background-size: 16px 16px;
  border-radius: 6px;
  padding: 10px 16px;
  padding-left: 30px;
  font-size: 14px;
  top: 12px;
  left: 50%;
  color: #0d2042;
  transform: translateX(-50%);
  box-shadow: 0px 0px 5px 0px rgba(0, 78, 175, 0.1);
}
.tooltip-success {
  position: fixed;
  z-index: 9999;
  display: none;
  background: #ffffff url(../images/icon/icon_sucess_blue.png) no-repeat 10px center;
  background-size: 16px 16px;
  border-radius: 6px;
  padding: 10px 16px;
  padding-left: 30px;
  font-size: 14px;
  top: 12px;
  left: 50%;
  box-shadow: 0px 0px 5px 0px rgba(0, 78, 175, 0.1);
  transform: translateX(-50%);
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #fff;
  width: 62.5%;
  padding: 24px;
  padding-bottom: 0px;
  box-sizing: border-box;
  border: 1px solid #888;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
}
.modal-content .modal-close {
  width: 18px;
  height: 18px;
  background: url(../images/icon/icon_close.png) no-repeat center center;
  background-size: 100% 100%;
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 999;
  cursor: pointer;
}
.modal-content .modal-title {
  font-size: 18px;
  font-weight: 600;
}
.modal-content .modal-body {
  margin-top: 24px;
}
.modal-content .modal-footer {
  border-top: 1px solid #e6e9ef;
  padding: 16px 0;
  margin-top: 42px;
}
.modal-content .tab-item {
  width: 102px;
  height: 44px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e6e9ef;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.modal-content .tab-item.active {
  color: #0072ff;
  border: 1px solid #0072ff;
  background-color: #ebf1ff;
}
.modal-content .tab-item.active .icon-book {
  background: url(../images/icon/icon_book_blue.png) no-repeat center center;
  background-size: 100% 100%;
}
.modal-content .tab-item.active .icon-url {
  background: url(../images/icon/icon_url_blue.png) no-repeat center center;
  background-size: 100% 100%;
}
.modal-content .tab-item .icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.modal-content .tab-item .icon-book {
  background: url(../images/icon/icon_book.png) no-repeat center center;
  background-size: 100% 100%;
}
.modal-content .tab-item .icon-url {
  background: url(../images/icon/icon_url.png) no-repeat center center;
  background-size: 100% 100%;
}
.common-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 10px 10px;
  border-radius: 5px;
  white-space: normal;
  transition: visibility 0s, opacity 0.3s ease-in-out;
  max-width: 300px;
  z-index: 1000;
  font-size: 14px;
}
.common-tooltip::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

/* 根据位置调整三角形 */
.common-tooltip[data-position="top"]::before {
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0 5px;
  border-color: #333 transparent transparent transparent;
}

.common-tooltip[data-position="bottom"]::before {
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #333 transparent;
}

.common-tooltip[data-position="left"]::before {
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent #333;
}

.common-tooltip[data-position="right"]::before {
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-color: transparent #333 transparent transparent;
}
.tooltip-trigger {
  position: relative;
  cursor: pointer;
}
.common-tooltip-active {
  visibility: visible;
  opacity: 1;
}
.data-tooltip-html {
  display: none;
}

.popper-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  white-space: normal;
  transition: visibility 0s, opacity 0.3s ease-in-out;
  z-index: 1000;
  font-size: 14px;
  display: none;
}

.popper-trigger {
  position: relative;
  cursor: pointer;
}

.popper-content-active {
  visibility: visible;
  opacity: 1;
  display: block;
}

.infinite-scroll {
  width: 100%;
  height: 100%;
  position: relative;
}

.infinite-scroll .infinite-container {
  overflow-y: auto;
  height: 100%;
  width: 100%;
}
.infinite-scroll .infinite-container  {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.infinite-scroll .infinite-container::-webkit-scrollbar {
  display: none;
}

.infinite-scroll .infinite-container .infinite-item {

}

.infinite-scroll .loading {
  text-align: center;
  padding: 10px 0;
  display: none;
  width: 100%;
  font-size: 12px;
  color: #aaa;
  position: absolute;
  bottom: 0;
  left: 0;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.tab-nav button.active {
  background-color: #ccc;
}

.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #9f9f9f;
  --_m:
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

.toast {
  position: fixed;
  padding: 15px;
  border-radius: 5px;
  color: white;
  font-family: Arial, sans-serif;
  z-index: 1000;
  display: none;
}

.toast.info {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.toast.success {
  background-color: #2ecc71;
}

.toast.error {
  background-color: #e74c3c;
}

.toast.warning {
  background-color: #f1c40f;
}

.toast.bottom-right {
  bottom: 20px;
  right: 20px;
}

.toast.bottom-left {
  bottom: 20px;
  left: 20px;
}

.toast.top-right {
  top: 20px;
  right: 20px;
}

.toast.top-left {
  top: 20px;
  left: 20px;
}

.hide {
  display: none;
}
