:root {
  /* webchat 工具栏的颜色 */
  --webchat-toolbar-background-color: #1464E4;
  /* webchat 工具栏文字和按钮的颜色 */
  --webchat-toolbar-text-color: #FFF;
}

._toolbar_z6174_56 {
  border-bottom: 1px solid #029147;
  background-color: #04c05f;

}

/* webchat 对话框如果被遮挡，可以尝试通过 z-index、bottom、right 等设置 来调整*/
.webchat-container {
  z-index: 100;
  bottom: 10px;
  right: 10px;
}

/* webchat 的唤起按钮如果被遮挡，可以尝试通过 z-index、bottom、right 等设置 来调整*/
.webchat-bubble-tip {
  z-index: 99;
  bottom: 20px;
  right: 20px;
}

html,
body {
  margin: 0;
}

.nowrap {
  margin: 0;
  white-space: nowrap;
  /* 防止文本换行 */
  overflow: hidden;
  /* 隐藏溢出的内容 */
  text-overflow: ellipsis;
  /* 使用省略号表示文本溢出 */
}

.container {
  width: 60%;
  margin: 10% auto 0;
  background-color: #f0f0f0;
  padding: 2% 5%;
  border-radius: 10px
}

ul {
  padding-left: 20px;
}

ul li {
  line-height: 2.3
}

a {
  color: #20a53a
}

.nlux-comp-chatItem.nlux-comp-chatItem--bubblesLayout.nlux-comp-chatItem--received>.nlux-comp-message {
  line-height: 1.8;
}

.nlux-comp-chatItem-participantInfo,
.nlux-comp-chatItem-participantInfo {
  display: none !important;
}



:root {
  /* webchat 工具栏的颜色 */
  --webchat-toolbar-background-color: #1464E4;
  /* webchat 工具栏文字和按钮的颜色 */
  --webchat-toolbar-text-color: #FFF;
}

body {
  min-width: 480px;
  font-family: "Microsoft YaHei", simsun, "Helvetica Neue", Arial, Helvetica, sans-serif
}

/* webchat 对话框如果被遮挡，可以尝试通过 z-index、bottom、right 等设置来调整位置 */
.webchat-container {
  z-index: 100;
  bottom: 0px;
  right: 0px;
  /*top: 0;*/
  /*left: 0;*/
  /*display: block;*/
}

/* webchat 的唤起按钮如果被遮挡，可以尝试通过 z-index、bottom、right 等设置来调整位置 */
.webchat-bubble-tip {
  z-index: 99;
  bottom: 20px;
  right: 20px;
  padding: 8px;
  background-color: #F000000F;
  background-size: 66%;
  background-repeat: no-repeat;
  background-position: 50%;
  border: 1px solid #eeecf035;
}

.webchat-bubble-tip,
.nlux-comp-avatarPicture {
  filter: sepia(100%) saturate(5000%) hue-rotate(0deg);
  -webkit-animation: hue1 10s infinite linear;
}

.nlux-comp-chatItem.nlux-comp-chatItem--sent .nlux-comp-avatarPicture {
  filter: sepia(100%) saturate(5000%) hue-rotate(0deg);
  -webkit-animation: hue1 10s infinite linear;
}

@-webkit-keyframes hue1 {

  from {

    filter: sepia(100%) saturate(5000%) hue-rotate(0deg);

  }

  to {

    filter: sepia(100%) saturate(5000%) hue-rotate(360deg);

  }

}

.nlux-comp-chatItem.nlux-comp-chatItem--received .nlux-comp-avatarPicture {
  filter: sepia(100%) saturate(5000%) hue-rotate(180deg);
  -webkit-animation: hue2 12s infinite linear;
}

@-webkit-keyframes hue2 {

  from {

    filter: sepia(100%) saturate(5000%) hue-rotate(180deg);

  }

  to {

    filter: sepia(100%) saturate(5000%) hue-rotate(-180deg);

  }

}

.nlux-comp-welcomeMessage-personaName {
  background-image: -webkit-linear-gradient(45deg, #f35626, #feab3a);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  -webkit-animation: hue 6s infinite linear;
}

.nlux-comp-avatarPicture {
  background-color: transparent !important;
}

@-webkit-keyframes hue {

  from {

    -webkit-filter: hue-rotate(0deg);

  }

  to {

    -webkit-filter: hue-rotate(-360deg);

  }

}

._toolbar_z6174_56 button {
  width: 50px;
  height: 50px;
  top: 0px !important;
  right: 0 !important;
}

._refreshButton_z6174_88 {
  display: none;
}

/* ._refreshButton_z6174_88 svg {
    margin-top: 5px;
  } */
/*loading按钮*/
.nlux-comp-messageLoader {
  opacity: 0.5;
  display: flex !important;
  width: 100%;
  align-items: center;
  justify-content: center
}

.nlux-comp-messageLoader>.nlux-comp-loaderContainer {
  width: 35px !important;
}

.nlux-chatSegment>.nlux-chatSegment-loader-container>.nlux-comp-messageLoader>.nlux-comp-loaderContainer>.spinning-loader {
  width: calc(var(--nlux-chtr-ldr--wd) - 12px);
  height: calc(var(--nlux-chtr-ldr--wd) - 12px)
}

.nlux-comp-messageLoader>.nlux-comp-loaderContainer>.spinning-loader {
  display: inline-block;
  width: 35px !important;
  height: 35px !important;

  border-radius: 50%;
  aspect-ratio: 1/1;
  perspective: 1000px
}

.nlux-comp-messageLoader>.nlux-comp-loaderContainer>.spinning-loader:before,
.nlux-comp-messageLoader>.nlux-comp-loaderContainer>.spinning-loader:after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: inherit;
  height: inherit;
  content: "";
  transform: rotateX(70deg);
  animation: 1s nlux-ldr-spin linear infinite;
  border-radius: 50%
}

.nlux-comp-messageLoader>.nlux-comp-loaderContainer>.spinning-loader:after {
  transform: rotateY(70deg);
  animation-delay: .4s
}

@keyframes nlux-ldr-spin {

  0%,
  to {
    box-shadow: .2em 0 0 0 currentcolor
  }

  12% {
    box-shadow: .2em .2em 0 0 currentcolor
  }

  25% {
    box-shadow: 0 .2em 0 0 currentcolor
  }

  37% {
    box-shadow: -.2em .2em 0 0 currentcolor
  }

  50% {
    box-shadow: -.2em 0 0 0 currentcolor
  }

  62% {
    box-shadow: -.2em -.2em 0 0 currentcolor
  }

  75% {
    box-shadow: 0 -.2em 0 0 currentcolor
  }

  87% {
    box-shadow: .2em -.2em 0 0 currentcolor
  }
}


.nlux-conversationStarters-container {
  overflow-y: auto;
}

.nlux-AiChat-root.nlux-theme-nova {
  width: calc(100vw - 2px) !important;
  height: calc(100vh - 50px) !important;
}

.nlux-conversationStarters-container>.nlux-comp-conversationStarters {
  min-width: calc(100% - 52px) !important;
}

/* .webchat-container-toolbar { */
._title_z6174_21 {
  display: flex;
  font-size: 18px;
  padding-left: 8px
}

._title_z6174_21 img {
  width: 30px;
  height: 30px;
  margin: 11px 8px 0;
}

._title_z6174_21 span {
  padding-top: 1px;
}

.menuButton svg {
  margin-top: 5px;
}

/* } */


.nlux-comp-composer>button>.nlux-comp-sendIcon>.nlux-comp-sendIcon-container {
  background: var(--nlux-send-icon) !important;
}

#menu {
  position: absolute;
  z-index: 999999999;
  color: #333333;
  top: 50px;
  right: 0;
  line-height: 45px;
  text-align: center;
  padding: 0;
  min-width: 100px;
  box-shadow: -1px 1px 5px 1px #cccccc;
}

#menu div.fixed {
  position: fixed;
  background: #00000066;
  top: 49px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#menu.block {
  display: block;
}

#menu.none {
  display: none;
}

#menu ul {
  padding: 0;
  margin: 0px;
  background: #ddddffee;
}

#menu ul li {
  list-style: none;
  border-bottom: 1px solid #ccc;
  line-height: 45px;
  padding: 0 5px;
  cursor: pointer;
}


#confirmBox {
  border-radius: 6px;
  line-height: 1.6;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px 38px;
  border: 1px solid #ccc;
  text-align: center;
  z-index: 99999;
  white-space: nowrap;
}

#confirmBox div {
  padding-top: 15px;
}

#confirmBox div button {
  margin: 0 12px;
  padding: 3px 9px;

}


.clearThisButton {
  position: absolute;
  bottom: 76px;
  right: 11px;
  width: 50px;
  height: 50px;
  border: 0px solid #999;
  background: #ddd;
  border-radius: 50%;
  font-size: 50px;
  line-height: 50px;
  box-shadow: 1px 1px 8px 1px #000000dd;
  opacity: 0.6;
}

.clearThisButton:active {
  bottom: 75px;
  right: 10px;
  background: #aaa;

}

.nlux-comp-chatItem {
  margin-bottom: 0.8em;
}

.nlux-comp-chatItem>.nlux-comp-message {
  border-radius: 0.3em !important;
}

/* 商品或服务卡 */

.xsx-card {
  font-size: 14px;
  margin: -10px -15px;
  font-family: Inter, sans-serif, sans-serif;
  background: #F4F4F5;
  position: relative;
  border-radius: 0.5em;
  overflow: hidden;
  padding-bottom: 3.4em;
}

.xsx-card>div:first-child {
  padding: 0.8em 0.8em 0.8em 1em;
  color: #555555;
  line-height: 1.8em;
  font-weight: bold;
}


.xsx-card a {
  text-decoration: none;
  color: #555555;
}

.xsx-card ul {
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px dashed #aaa;
  padding-bottom: 0.8em !important;
  min-height: 6.2em;

}

.xsx-card ul dl {
  width: 5em;
  height: 5em;
  float: left;
  padding: 1em !important;
}

.xsx-card ul dl img {
  width: 5em;
  height: 5em;
}

.xsx-card ul ol {
  padding: 0 !important;
  margin: 0 !important;
  color: #555555;
  line-height: 1.38em;
  padding: 0.8em 0.6em 0 0 !important;
}

.xsx-card ul ol p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xsx-card ul ol p:first-child {
  font-weight: 400;
  font-size: 1.1em;
  padding-bottom: 0.7em;
  color: black;
}

.xsx-card ul ol p:nth-child(2) {
  font-size: 1.3em;
  color: orangered;
  padding-bottom: 0.35em;
}

.xsx-card ul ol p:nth-child(2) span {
  font-size: 0.8em;
}

.xsx-card ul ol p:nth-child(2) del {
  font-size: 0.8em;
  color: #999999;
  padding-left: 0.6em;
}

.xsx-card a.Q {

  float: right;
  line-height: 2.5em;
  margin-top: -3.6em;
  margin-right: 1em;
  background: orangered;
  width: 2.5em;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 1px 1px 2px 1px #00000033;
  color: white;
  text-align: center;
  position: absolute;
  right: 0;
}

.xsx-card>div:not(:first-of-type):not(:last-of-type) {
  display: none;
}

.xsx-card>div:last-of-type:not(:first-of-type) {
  border-top: 1px dashed #aaa;
  padding: 0.8em 0.8em 0.8em 1em;
  color: #555555;
  line-height: 1.8em;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.xsx-card .loading {
  -webkit-animation: hue 3s infinite linear;
  animation: hue 3s infinite linear;
  text-align: center;
  background-image: -webkit-linear-gradient(45deg, #f35626, #feab3a);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: normal !important;
}
.xsx-card>div.finish{
  position: inherit !important;
  margin-bottom: -3.4em !important;
}
.nlux-comp-message {
  line-height: 1.8em;
}

.nlux-comp-message hr {
  border: none;
  border-bottom: 1px dashed #aaa;
  margin: 0.3em -1em !important;
}

.nlux-comp-welcomeMessage>.nlux-comp-welcomeMessage-text {
  line-height: 1.8;
}