/*
 * @Author: LiJie 
 * @Date: 2019-09-19 14:59:15 
 * @Last Modified by:   LiJie 
 * @Last Modified time: 2019-09-19 14:59:15 
 */
:root {
  --robot: url(../images/robot.png) no-repeat;
  --agent:url(../images/agent.png) no-repeat;
  --client:url(../images/client.png) no-repeat;
 --clientBubble:#fff;
 --clientTheme: #237ae4;
}

* {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 14px;
  border: none;
  box-sizing: border-box;
}

li {
  list-style: none;
}

img,
video {
  object-fit: contain;
}

html,
body {
  height: 100%;
  width: 100%;
  min-width: 360px;
  /* overflow: hidden; */
  font-size: 12px;
  line-height: 12px;
  color: #585858;
}
marquee{
	height: 25px;
	line-height: 25px;
}

.preview-box {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: black;
}

.preview-box img {
  object-fit: contain;
  height: 100%;
  width: 100%;
}

.preview-box video {
  object-fit: contain;
  height: 100%;
  width: 100%;
}

.container {
  height: 100%;
  width: 100%;
  overflow: hidden;
  /* position: absolute;  */
  padding:0;
  position: relative;
}

.header {
  margin: auto;
  width: 100%;
  height: 40px;
  background-color: #237ae4;
  text-align: center;
  line-height: 40px;
  color: #fff;
  position: relative;
}

.header .back {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  margin: 15px;
  width: 10px;
  height: 10px;
  background: url("../images/zoom.png") no-repeat center;
  background-size: 100% 100%;
}

.header .close {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  margin: 15px;
  width: 10px;
  height: 10px;
  background: url("../images/close.png") no-repeat center;
  background-size: 100% 100%;
}

.header .head-title {
  position: absolute;
  top: 0;
  right: 40px;
  width: calc(100% - 80px);
  height: 40px;
  line-height: 40px;
  font-size: 1.2em;
  font-weight: bold;
}
.mobile-notice{
	background-color: #ffe0c7;
  height: 25px;
  font-family: Microsoft YaHei;
	font-size: 12px;
  opacity:0;
  pointer-events:none;
  overflow: hidden;
}
.mobile-notice .notice-tips{
  font-size: 12px;
}
.mobile-notice .notice-title{
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 50vw;
	display: inline-block;
	/* color: #ff9900; */
	font-family: 平方;
	font-size: 12px;
	padding-left: 8px;
	color: #333333 !important;
	text-decoration: none !important;
	font-weight: 400;
	height: 25px;
	line-height: 25px;
  cursor: pointer;
  vertical-align: top;
}
@keyframes noticeScrollIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes noticeScrollOut {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}
.notice-scroll-out {
  animation: noticeScrollOut 0.4s ease forwards;
}
.notice-scroll-in {
  animation: noticeScrollIn 0.4s ease forwards;
}
.mobile-notice .announce-tips-img{
	height: 14px;
	width: 15px;
	margin-left: 10px;
  position: relative;
  top: -5px;
  vertical-align: baseline;
}
.mobile-notice .notice-tips{
	line-height: 25px;
	height: 25px;
	overflow: hidden;
	display: inline-block;
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	text-decoration: none !important;
	color: #333333 !important;

	/* vertical-align: top; */
	/* position: absolute; */
}
#noticeView .notice-content{
	text-align: left;
	line-height: 23px;
	height: 100%;
}
#noticeView .notice-ttachment{
	text-align: left;
  padding: 0 15px 20px;
	line-height: 23px;
	height: 100%;
  display: none;
}
#noticePage{
	display: none;
	position: absolute;
	top: 55px;
	background-color: rgb(255, 255, 255);
	z-index: 99;
	width: 100%;
	height: auto;
}
.notice-title{
	display: none;
}
.bottom-btn-box{
	text-align: center;
	margin: 10px;
}
.notice-button{
	height: 30px;
	width: 75px;
	background-color: #458ce8;
	color: #fff;
	border-radius: 6px;
}

.main {
  width: 100%;
  height: calc(100% - 0px);
  /* overflow: hidden; */
}

.main .view {
  display: none;
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
  text-align: center;
  background-color: #F8F8F8;

}

/* .view:first-child {
	display: block;
} */

/* *********** view ************* */
.view .btn-box button {
  width: 100px;
  height: 30px;
  margin: 0 10px;
  border-radius: 15px;
  color: #fff;
  border: none;
  outline: none;
}

.view .btn-box .cencel-btn {
  background-color: #cdd0d9;
}

.view .btn-box .submit-btn {
  background-color: #458ce8;
}

/****** biz-view ******/
.biz-view .biz-form {
  position: relative;
  top: 20%;
  left: 20%;
  height: 50%;
  width: 60%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0px 4px #919296;
}

.biz-view .biz-title {
  height: 50px;
  width: 100%;
  font-size: 1.2em;
  line-height: 50px;
}

.biz-view .biz-menu {
  height: calc(100% - 120px);
  width: 100%;
  overflow-y: scroll;
}

.biz-view .biz-form .biz-box {
  padding: 0 20%;
  text-align: left;
}

.biz-view .biz-form .biz-box .biz-label {
  height: 30px;
  width: 100%;
  line-height: 30px;
  vertical-align: middle;
}

.biz-view .biz-form .biz-box input {
  vertical-align: middle;
}

.biz-view .biz-form .biz-btn-box {
  padding: 20px 0;
}

.biz-view .biz-form .biz-btn {
  width: 110px;
  height: 30px;
  color: #fff;
  border-radius: 15px;
  background-color: #458ce8;
  border: none;
  outline: none;
}

/****** chat-view ******/
.chat-view {
  /*********** 滑动模块 ***********/
  /*********** 输入栏 ***********/
  /*********** 表情 工具栏 ***********/
  /******* 表情  ********/
}

.chat-view .sucker{
  width: 100%;
  padding: 6px 0px 10px 15px;
  white-space: nowrap;
  overflow: auto;
  z-index: 199;
  /* background-color: white; */
  /* background: #F8F8F8; */
  background: rgba(255, 255, 255, 0);
  /* height: 50px; */
  text-align: left;
  /* position: relative;
  top: -40px;
  left: 15px; */
  position: absolute;
  bottom: 0;
}
.chat-view .sucker li{
  padding: 0 12px;
  color: #333;
  line-height: 32px;
  border-radius: 5px;
  display: inline-block;
  margin: 0 5px;
  border: 1px solid #333;
  cursor: pointer;
  /* box-shadow: 0 0 6px #bccaca; */
}
.chat-view .chat-box {
  width: 100%;
  height: calc(100% - 130px);
  overflow: auto;
  background-color: #F8F8F8;
  position: relative;
  /* padding-bottom: 50px; */
}
.chat-view .chat-box1 {
  width: 100%;
  height: calc(100% - 255px) !important;
  overflow: hidden;
  position: relative;
  /* padding-bottom: 50px; */
}
.chat-view .chat-box2 {
  width: 100%;
  height: calc(100% - 266px) !important;
  overflow: hidden;
  position: relative;
}

.chat-view .history-box {
  z-index: 10;
  margin-top: 10px;
}

.chat-view .history-box .history {
  color: #A5A6A7;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.chat-view .scroll {
  position: relative;
  width: 100%;
  height: calc(100% - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #F8F8F8;
}

.chat-view .scroll .retract {
  float: left;
  display: none;
  height: 40px;
  width: 100%;
  text-align: center;
  color: #000;
}

.chat-view .system-msg,
.chat-view .robot-msg,
.chat-view .agent-msg {
  float: left;
  margin-left: 10px;
  margin-top: 10px;
  width: calc(100% - 93px);
  height: auto;
  color: black;
  text-align: left;
}

.chat-view .client-msg {
  float: right;
  margin-top: 10px;
  margin-right: 20px;
  width: calc(100% - 93px);
  height: auto;
  color: white;
  text-align: right;
}
.chat-view .system-msg .sendfaile,
.chat-view .robot-msg .sendfaile,
.chat-view .agent-msg .sendfaile,
.chat-view .system-msg .sending,
.chat-view .robot-msg .sending,
.chat-view .agent-msg .sending{
	display: none;
}
.chat-view .client-msg .sending{
	color: red;
	line-height: 60px;
}
.chat-view .client-msg .sendfaile{
	color: red;
	line-height: 60px;
	display: none;
}
.chat-view .msg-header {
  margin: 5px 0px 5px 53px;
  text-align: inherit;
  font-size: 1em;
  color: #b8b8b8;
  /* background-color: #3caf19; */
}
.chat-view .msg-header .msg-play-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  cursor: pointer;
  float: right;
}
.chat-view .robot-msg .msg-header .msg-play-icon {
  display: block!important;
}
.chat-view .system-msg .msg-header .msg-play-icon {
  display: block!important;
}
.chat-view .agent-msg .msg-header .msg-play-icon {
  display: block!important;
}
.chat-view .msg-box .msg-play-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  cursor: pointer;
  float: right;
  position: absolute;
  top: -25px;
  right: 0px;
}
.chat-view .robot-msg .msg-box .msg-play-icon {
  display: block!important;
}
.chat-view .system-msg .msg-box .msg-play-icon {
  display: block!important;
}
.chat-view .agent-msg .msg-box .msg-play-icon {
  display: block!important;
}
.chat-view .client-msg .msg-header{
	 margin: 5px 55px 5px 0px;
}
.chat-view .system-msg .system,
.chat-view .robot-msg .robot,
.chat-view .agent-msg .robot {
  background: url(../images/Robot.png) no-repeat;
  /* background: var(--robot); */
  background-size: 100% 100%;
  border-radius: 50%;
}

.chat-view .robot-msg .agent,
.chat-view .agent-msg .agent {
	background: url(../images/agent.png) no-repeat;
  background: var(--agent);
  background-size: 100% 100%;
  border-radius: 50%;
}

.chat-view .system-msg .text,
.chat-view .robot-msg .text,
.chat-view .robot-msg .list,
.chat-view .agent-msg .text,
.chat-view .agent-msg .list,
.chat-view .agent-msg .link,
.chat-view .judge-box,
.chat-view .robot-judge-box{
  background-color: #fff;
  border-radius: 5px;
}
.chat-view .judge-text-content {
  padding: 5px 0;
  line-height: 20px;
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
}
.chat-view .judge-text-tips{
  font-size: 14px;
  color: #333;
  line-height: 2.5;
  text-align: center;
  display: none;
  padding-top: 10px;
}
/* 机器人评价按钮样式 */
.robot-judge-buttons {
  margin-top: 15px;
  text-align: center;
  display: flex;
  justify-content: space-around;
}

.robot-judge-btn {
  height: 30px;
  line-height: 30px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  padding: 0 15px;
}

.robot-judge-btn.solved-btn {
  background: #237ae4;
  color: white;
  /* margin-right: 80px; */
}

.robot-judge-btn.solved-btn:hover {
  background: #1a5fb8;
}
.robot-judge-btn.solved-btn:disabled:hover {
  background: #e0e0e0;
}
.robot-judge-btn.solved-btn:active {
  transform: scale(0.98);
}

.robot-judge-btn.unsolved-btn {
  background: #237ae4;
  color: white;
}

.robot-judge-btn.unsolved-btn:hover {
  background: #1a5fb8;
}
.robot-judge-btn.unsolved-btn:disabled:hover {
  background: #e0e0e0;
}
.robot-judge-btn.unsolved-btn:active {
  transform: scale(0.98);
}

.robot-judge-btn:disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.robot-judge-btn.btn-disabled {
  background: #237ae4;
  color: white;
  /* opacity: 0.5; */
  pointer-events: none;
  cursor: not-allowed;
}

.robot-judge-btn.btn-active {
  background: #1a5fb8 !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(26, 95, 184, 0.4);
  font-weight: bold;
}

/* 第二种机器人评价样式 */
.robot-evaluate-box {
  display: none;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  max-width: 500px;
}

.evaluate-title {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}
.evaluate-tips{
  font-size: 14px;
  color: #333;
  line-height: 2.5;
  text-align: center;
  display: none;
  padding-top: 10px;
}
/* 单选按钮组 */
.evaluate-radio-group {
  display: flex;
  gap: 30px;
  margin-bottom: 15px;
}

.evaluate-radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 400;
}

.evaluate-radio-input {
  display: none;
}

.evaluate-radio-circle {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.evaluate-radio-circle.checked,
.evaluate-radio-input:checked + .evaluate-radio-circle {
  border-color: #333;
}

.evaluate-radio-circle.checked::after,
.evaluate-radio-input:checked + .evaluate-radio-circle::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #333;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.evaluate-radio-text {
  font-size: 14px;
  color: #333;
}

/* 文本框 */
.evaluate-textarea-wrapper {
  /* margin-bottom: 15px; */
}

.evaluate-textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
}

.evaluate-textarea:focus {
  outline: none;
  border-color: #237ae4;
}

.evaluate-textarea::placeholder {
  color: #999;
}

/* 满意度评价 */
.evaluate-satisfaction {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.evaluate-satisfaction-label {
  font-size: 14px;
  color: #333;
  margin-right: 10px;
}

.evaluate-stars {
  display: flex;
  align-items: center;
  gap: 5px;
}

.evaluate-star {
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.evaluate-star:hover,
.evaluate-star.active {
  color: #ffa500;
}

.evaluate-dissatisfied {
  font-size: 14px;
  color: #666;
  margin-left: 10px;
}

/* 提交按钮 */
.evaluate-submit-wrapper {
  text-align: center;
}

.evaluate-submit-btn {
  background: #237ae4;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 40px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.evaluate-submit-btn:hover {
  background: #1a5fb8;
}

.evaluate-submit-btn:active {
  transform: scale(0.98);
}

.evaluate-submit-btn:disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .robot-evaluate-box {
    padding: 12px;
  }
  
  .evaluate-title {
    font-size: 13px;
  }
  .evaluate-tips {
    font-size: 13px;
  }
  .evaluate-radio-group {
    gap: 20px;
  }
  
  .evaluate-textarea {
    min-height: 80px;
    font-size: 13px;
  }
  
  .evaluate-star {
    font-size: 24px;
  }
  
  .evaluate-satisfaction {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .evaluate-submit-btn {
    padding: 8px 30px;
    font-size: 13px;
  }
}

/* 移动端机器人评价按钮优化 */
@media (max-width: 768px) {
  .robot-judge-buttons {
    gap: 10px;
  }
  
  .robot-judge-btn {
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    max-width: 100px;
  }

  .order-confirm-button {
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    max-width: 100px;
  }
}

.annengyy-order-box {
  display: none;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  max-width: 500px;
}

.annengyy-order-box .order-box-title {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.order-box-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

.order-confirm-button {
  height: 30px;
  line-height: 30px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  padding: 0 15px;
}

.order-confirm-button.yes-btn {
  background: #237ae4;
  color: white;
}

.order-confirm-button.yes-btn:hover {
  background: #1a5fb8;
}
.order-confirm-button.yes-btn:disabled:hover {
  background: #e0e0e0;
}
.order-confirm-button.yes-btn:active {
  transform: scale(0.98);
}

.order-confirm-button.no-btn {
  background: #237ae4;
  color: white;
}

.order-confirm-button.no-btn:hover {
  background: #1a5fb8;
}
.order-confirm-button.no-btn:disabled:hover {
  background: #e0e0e0;
}
.order-confirm-button.no-btn:active {
  transform: scale(0.98);
}

.order-confirm-button:disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.chat-view .agent-msg .link{
	padding: 10px;
	height: auto;
	min-height: 20px;
	line-height: 20px;
	font-size: 1em;
}
.chat-view .robot-msg .read,
.chat-view .agent-msg .read {
  padding-left: 5px;
}
.retract-msg{
	width: 70px;
	height: 23px;
	line-height: 23px;
	border: 1px solid #dfe0e8;
	margin: 5px;
	border-radius: 6px;
	text-align: center;
	background: #f9faff;
	user-select: none;
  color: #343434;
}
.chat-view .client-msg .client {
  background: url(../images/client.png) no-repeat;
  background: var(--client);
  background-size: 100% 100%;
  border-radius: 50%;
}

.chat-view .client-msg .text,
.chat-view .client-msg .list,
.chat-view .client-msg .fileContent {
	text-align: left;
	background-color: var(--clientBubble);
	border-radius: 5px;
	color: #343434;
	border: 1px solid var(--clientBubble);
}

.chat-view .client-msg .read {
  padding-right: 5px;
}

.chat-view .client-msg .fileContent {
  padding: 10px;
}

.chat-view .client-msg .fileContent a {
  color: #343434 !important;
}

.chat-view .avatar {
  float: inherit;
  width: 48px;
  height: 48px;
  margin-top: 5px;
}

.chat-view .msg-box {
  float: inherit;
  margin: 5px;
  min-width: 30px;
  max-width: calc(100% - 60px);
  height: auto;
  text-align: inherit;
  position: relative;
}

.chat-view .msg-box video {
  background-color: #000;
}

.chat-view .msg-box a:link {
  color: #458ce8;
  font-size: 16px;
}

.chat-view .msg-box a:visited {
  color: #c0c4c9;
}

.chat-view .msg-box a:hover {
  color: #458ce8;
}

.chat-view .msg-box a:active {
  color: #458ce8;
}

.chat-view .list .list-title {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5em;
  background: linear-gradient(to bottom,#237ae4, #4a9ff5);
  background-size: 100% 100%;
  color: white;
  border-radius: 6px 6px 0px 0px;
}

.chat-view .list .list-title span{
  float: right;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.5em;
  margin-left: 40px;
  margin-right: 10px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.chat-view .list .list-title span img{
  height: 1em;
  width: 1em;
  margin-right: 5px;
  vertical-align: middle;
}

/* 横向滚动分类按钮容器 */
.chat-view .list .category-wrapper {
  position: relative;
  width: 100%;
  background-color: #fff;
  padding-left: 40px;
  padding-right: 40px;

}

/* 滚动箭头 */
.chat-view .list .scroll-arrow {
  position: absolute;
  top: 0px;
  bottom: 10px;
  width: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: all 0.3s ease;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.chat-view .list .scroll-arrow img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.chat-view .list .scroll-arrow:hover {
  /* background-color: rgba(240, 240, 240, 0.95); */
}

.chat-view .list .scroll-arrow-left {
  left: 0;
  padding-left: 10px;
  border-radius: 0 4px 4px 0;
}

.chat-view .list .scroll-arrow-right {
  right: 0;
  padding-right: 10px;
  border-radius: 4px 0 0 4px;
}

/* 手机端隐藏箭头 */
@media (max-width: 600px) {
  .chat-view .list .scroll-arrow {
    display: none;
  }
    /* 横向滚动分类按钮容器 */
  .chat-view .list .category-wrapper {
    padding-left: 0;
    padding-right: 0;

}
}

/* 横向滚动分类按钮 */
.chat-view .list .category-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  background-color: #fff;
  padding: 0px 0 10px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* 电脑端添加左右内边距，为箭头留空间 */
@media (min-width: 769px) {
  .chat-view .list .category-scroll {
    /* padding: 0px 35px 10px; */
  }
}

/* 隐藏滚动条 */
.chat-view .list .category-scroll::-webkit-scrollbar {
  display: none;
}

.chat-view .list .category-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chat-view .list .category-list {
  display: flex;
  flex-wrap: nowrap;
  padding: 0 10px;
  margin: 0;
  width: max-content;
}

.chat-view .list .category-item {
  flex: 0 0 auto;
  padding: 5px 16px;
  margin: 0 5px;
  /* background-color: #f0f0f0; */
  border: 1px solid #666;
  border-radius: 5px;
  color: #333;
  font-size: 14px;
  line-height: 1.2em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  list-style: none;
}

.chat-view .list .category-item:hover {
  background-color: #e8f4ff;
  border-color: #237ae4;
}

.chat-view .list .category-item.active {
  /* background-color: #237ae4; */
  border-color: #237ae4;
  color: #237ae4;
}

/* 纵向问题列表 */
.chat-view .question-list {
  padding: 10px 15px;
  margin: 0;
  background-color: #fff;
  list-style: none;
  min-height: 100px;
  display: none;
}

.chat-view  .question-item {
  padding: 8px 5px;
  color: #237ae4;
  font-size: 14px;
  line-height: 1.5em;
  cursor: pointer;
  /* border-bottom: 1px solid #f0f0f0; */
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal;
  transition: color 0.2s ease;
  list-style: none;
}

.chat-view .list .question-item:last-child {
  border-bottom: none;
}

.chat-view .list .question-item:hover {
  color: #1a5fb4;
}

.chat-view .list ul {
  padding: 10px;
  min-width: 60%;
}

.chat-view ul.question-list li {
  font-size: 14px;
  line-height: 2em;
  color: #237ae4;
  color: var(--clientTheme);
  word-wrap: break-word;
  word-break: break-all;
  list-style-type: disc;
  list-style-position: inside;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-view .service-tip {
  line-height: 15px;
  padding: 5px;
  display: none;
}
/* .chat-view .list ul li:after {
  content: "";
  position: absolute;
  left: 16px;
  right: 10px;
  bottom: 0;
  height: 1px;
  border-bottom: 1px solid #458ce8;
} */

.chat-view .text {
  display: none;
  padding: 10px;
  height: auto;
  min-height: 20px;
  line-height: 20px;
  font-size: 1em;
  border-radius: 5px;
}

.chat-view .text-content {
  padding: 5px 0;
  line-height: 20px;
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
  font-size: 14px; /*原来是16px*/
}
.chat-view .rich-text{
	display: none;
	padding: 18px 10px 10px 10px;
	max-width: 100%;
	height: auto;
	min-height: 20px;
	line-height: 20px;
	font-size: 1em;
	border-radius: 5px;
	/* min-width: 380px; */
	width: 100%;
	background: #fff;
}
.mobile-history-list .rich-text{
	padding: 18px 10px 10px 10px;
	max-width: 100%;
	height: auto;
	min-height: 20px;
	line-height: 20px;
	font-size: 1em;
	border-radius: 5px;
	/* min-width: 380px; */
	width: 100%;
	background: #fff;
}
.rich-text .rich-box{
	display: inline-block;
	box-sizing: border-box;
}
.rich-text .description-box{
	/* width: 55%; */
}
.description-box .rich-desc{
	line-height: 24px;
  font-size: 18px;
  white-space: pre-wrap;
}
.rich-text .img-box{
  width: 100%; 
}

.img-box .rich-title{
	font-weight: 500;
  padding: 10px 0;
  font-size: 16px;
}

.img-box .rich-title .rich-a {
  text-decoration: none;
}

.rich-text .img-box:has(img:only-child) img {
  width: 100%;
  height: auto; /* 保持图片宽高比，避免变形 */
}
.rich-text .img-box:not(:has(img:only-child)) img {
    width: 230px;
    height: auto;
}
.rich-text .img-box img{
  min-width: 20px;
	max-width: 100%;
	height: auto;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* LTC imgmsg机器人消息查看 */
.rich-text .img-box.robot-rich-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.robot-rich-message .robot-rich-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 16px;
}

.robot-rich-message .robot-rich-item:last-child {
  margin-bottom: 0;
}

.robot-rich-message .robot-rich-text {
  width: 100%;
  margin-bottom: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.7;
}

.robot-rich-message .robot-rich-text:last-child {
  margin-bottom: 0;
}

.rich-text .img-box.robot-rich-message img.robot-rich-image {
  display: block;
  width: 50%;
  max-width: 50%;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}
.chat-view .text-content table,
.chat-view .text-content table tr th,
.chat-view .text-content table tr td {
  height: 30px;
  text-align: center;
  border: 1px solid #000;
}

.chat-view .text .emoji {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.solved-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  margin-top: 10px;
}
.solved-container::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background-color: #e0e0e0;
}
.ai-tips {
  border-top: 1px solid #bfbfbf; 
  color:#bfbfbf;
  margin-left: -10px; 
  margin-right: -10px;
  padding: 10px 15px 0;
  text-align: left;
}
.chat-view .msg-box .solved-box{
  display: none;
  text-align: center;
}
.chat-view .solved-box .solved,
.chat-view .solved-box .unsolved {
  display: inline-block;
  width: 90px;
  height: 30px;
  margin: 5px;
  text-align: left;
  border-radius: 5px;
  outline: none;
}

.chat-view .solved-box .solved,
.chat-view .solved-box .unsolved {
  color: #bfbfbf;
  /* background-color: #f3f3f5; */
  cursor: pointer;
}
.chat-view .solved-box .disabled {
    /* opacity: 0.5; */
    pointer-events: none;
}
.chat-view .judge-box{
	padding: 10px;
	display: none;
	min-width: 305px;
}
.judge-box .judge-title{
	text-align: center;
	margin: 10px;
}
.judge-box .bottom{
	text-align: center;
}
.judge-box .sbm-btn{
	height: 28px;
	width: 68px;
	background-color: #458ce8;
	color: #fff;
	line-height: 28px;
	border-radius: 5px;
	text-align: center;
	margin: 10px auto 0px;
	
}
.chat-view .robot-judge-box {
  display: none;
  padding: 10px;
  height: auto;
  min-height: 20px;
  line-height: 20px;
  font-size: 1em;
  border-radius: 5px;
  width: 600px;
  max-width: 100%;
}
.chat-view .solved-box .processed {
  color: white;
  background-color: #237ae4;
}

.chat-view .solved-box .solved-text {
  float: left;
  width: 60px;
  height: 30px;
  text-align: center;
  line-height: 28px;
}

.chat-view .solved-box .solved-icon {
  float: left;
  margin: 5px;
  width: 20px;
  height: 20px;
}

.chat-view .solved-box .solved .solved-icon {
  background: url("../images/good3.png") no-repeat center;
  background-size: 100% 100%;
}

.solved-box .solved.processed .solved-icon {
  background: url("../images/good.png") no-repeat center;
  background-size: 100% 100%
}

.chat-view .solved-box .unsolved .solved-icon {
  background: url("../images/bad3.png") no-repeat center;
  background-size: 100% 100%;
}

.solved-box .unsolved.processed .solved-icon {
  background: url("../images/white.png") no-repeat center;
  background-size: 100% 100%
}


.chat-view .imgZoom {
  display: none;
  min-width: 20px;
  max-width: 160px;
  height: auto;
}

.chat-view .voice {
  display: none;
  max-width: 250px;
  height: 40px;
  min-height: 30px;
}

.chat-view .video {
  display: none;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  min-height: 30px;
  min-width: 200px;
  max-width: 251px;
}

.chat-view .read {
  display: none; 
  height: 20px;
  line-height: 20px;
  color: #A5A6A7;
}

.chat-view .slider {
  display: none;
  width: 100%;
  height: 40px;
  text-align: left;
  background-color: #f1f2f3;
}

.chat-view .slider ul {
  height: 100%;
  width: 100%;
  padding: 5px;
  white-space: nowrap;
  overflow-x: scroll;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}

.chat-view .slider ul::-webkit-scrollbar {
  display: none;
}

.chat-view .slider ul li:first-child {
  padding: 0 10px;
}

.chat-view .slider ul li {
  display: inline-block;
  margin: 0 5px;
  height: 30px;
  padding: 0 10px;
  color: #79797a;
  border-radius: 20px;
  line-height: 30px;
  background: #f7f7f7;
  box-shadow: 0 0 5px #cecece;
  cursor: pointer;
}

.chat-view .input-bar {
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-top: 1px solid #e4e7eb;
  border-bottom: 1px solid #cccccc;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 199;
  display: flex;
  background-color: #E4E7EB;
}

#container .chat-view .input-bar-mb{
	position: absolute;
	bottom: 181px;
}
#inputBar #M-emojiIcon,
#inputBar #moreIcon,
#inputBar #sendIcon,
#inputBar #history-chat-mobile {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  line-height: 56px;
  color: #8F8F91;
}
#inputBar #M-emojiIcon{
	margin-left: 5px;
}
.chat-view .emoji-icon .icon,.chat-view .more-icon .icon, .chat-view .send-icon .icon{
	font-size: 26px;
}
.robot-input-locked #textInput {
  background-color: #f5f7fa;
  cursor: not-allowed;
}
.robot-input-locked #sendText,
.robot-input-locked #sendIcon {
  opacity: 0.5;
  cursor: not-allowed;
}
.chat-view #inputBar .icon-liuyanlishi{
	font-size: 26px;
}
.chat-view .more-icon {
  float: right;
  background-size: 100% 100%;
}

.chat-view .send-icon {
  float: right;
  display: none;
  background-size: 100% 100%;
  color: #458ce8;
}

.chat-view .input-box {
  float: left;
  height: 35px;
  width: calc(100% - 80px);
  color: #acacac;
  flex: 1;
  margin-top: 6px;
}

.chat-view .input-box input.text-input {
  display: block;
  width: calc(100% - 10px);
  height: 100%;
  line-height: 35px;
  margin-left: 10px;
  text-indent: 3px;
  border-radius: 6px;
}

.chat-view .input-box input.text-input:focus {
	outline: none!important;
	/* background-color: transparent; */
}
::-webkit-input-placeholder{/*Webkit browsers*/
    color:#CCCCCC;
	font-family: 'Microsoft YaHei;';
	font-size: 14px;
}
:-moz-placeholder{/*Mozilla Firefox 4 to 8*/
    color:#CCCCCC;
	font-family: 'Microsoft YaHei;';
	font-size: 14px;
}
::moz-placeholder{/*Mozilla Firefox 19+*/
   color:#CCCCCC;
   font-family: 'Microsoft YaHei;';
   font-size: 14px;
}
:-ms-input-placeholder{/*Internet Explorer 10+*/
     color:#CCCCCC;
	 font-family: 'Microsoft YaHei;';
	 font-size: 14px;
}
.chat-view .tools-view,
.chat-view .emoji-view {
  width: 100vw;
  height: 180px;
  background: #E4E7EB;
  vertical-align: middle;
}
.chat-view .emoji-view-pc {
  position: absolute;
  bottom: 196px;
  z-index: 200;
}
.chat-view .emoji-view-mb{
	position: absolute;
	bottom: 0px;
}
.chat-view .tools-view ul {
  width: 100%;
  height: 100%;
  text-align: center;
}
.chat-view .tools-view ul li {
  float: left;
  width: 25%;
  height: 50%;
  padding: 15px;
}
.chat-view .tools-view .tools-icon {
  display: block;
  margin: 0 auto;
  width: 60px;
  height: 60px;
  text-align: center;
}
.tool-icon-title{
	font-size: 9px;
	display: inline-block;
	margin-top: 2px;
	text-align: center;
}
.chat-view .tools-view .file-input {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.chat-view .tools-view #imageIcon {
  background: url("../images/tools/image.png") no-repeat;
  background-size: 100% 100%;
}

.chat-view .tools-view #audioIcon {
  background: url("../images/tools/audio1.png") no-repeat;
  background-size: 100% 100%;
}

.chat-view .tools-view #videoIcon {
  background: url("../images/tools/video1.png") no-repeat;
  background-size: 100% 100%;
}

.chat-view .tools-view #fileIcon {
  background: url("../images/tools/file.png") no-repeat;
  background-size: 100% 100%;
}

.chat-view .tools-view #webrtcIcon {
  background: url("../images/tools/video.png") no-repeat center;
  background-size: 100% 100%;
}

.chat-view .tools-view #joint {
  background: url("../images/tools/joint.png") no-repeat center;
  background-size: 100% 100%;
}

.chat-view .tools-view #lmsgIcon {
  background: url("../images/tools/more5.png") no-repeat center;
  background-size: 100% 100%;
}

.chat-view .tools-view #evalIcon {
  background: url("../images/tools/more6.png") no-repeat center;
  background-size: 100% 100%;
}

.chat-view .emoji-view .emoji-box {
  margin: 10px 0;
  width: 100vw;
  height: 160px;
}

.chat-view .emoji-view .emoji-list {
  float: left;
  width: 100%;
  height: 80%;
  overflow: auto;
}

.chat-view .emoji-view .emoji-list li {
  float: left;
  margin: auto;
  /* width: 10%; */
  /* margin-bottom: 5px; */
  text-align: center;
  cursor: pointer;
}

.chat-view .emoji-view .emoji-list li img {
  width: 30px;
  padding: 5px;
}

.chat-view .emoji-view .emoji-list li img:hover {
  border: 1px solid #ccc;
}

.unicode_fontfamily{
	font-size: 20px;
	line-height: 25px;
	font-family: Noto Color Emoji,Apple Color Emoji,Segoe UI Emoji,Times,Symbola,Aegyptus,Code2000,Code2001,Code2002,Musica,serif,LastResort;
	
}

.crv .chat-box {
  width: 100%;
  height: calc(100% - 80px);
  overflow: hidden;
}

.crv .chat-box1 {
  width: 100%;
  height: calc(100% - 260px);
  overflow: hidden;
}

.crv .chat-box2 {
  width: 100%;
  height: calc(100% - 260px);
  overflow: hidden;
}

/****** eval-view ******/
.eval-view{
	padding-top: 50px;
}
.eval-view .eval-title {
  margin: 50px 0 30px 0;
  font-size: 1.5em;
}
.star{
	display: none;
}
.star-box {
  width: 300px;
  margin: auto;
  text-align: center;
}
.starWords{
	display: inline-block;
	height: 40px;
	line-height: 40px;
	overflow: hidden;
}
.star-box ul {
	 width: 70%;
	 height: 40px;
	 text-align: center;
	 display: inline-block;
	 overflow: hidden;
}

.star-box ul li {
  float: left;
  margin: 5px;
  list-style: none;
  width: 32px;
  height: 32px;
  background: url(../images/judge/star.png) no-repeat;
}

.star-box ul li.light {
  background-position: 0 -35px;
}

.eval-view .eavl-text-box {
  /* display: none; */
  padding: 20px 10%;
}

.eval-view .eavl-text-box textarea ,#judege textarea{
  padding: 5px;
  height: 80px;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D0e2e2;
  outline: none;
}

.eval-view .solution-box {
  margin: 30px 0;
}

.eval-view .solution-box button {
  margin: 0 15px;
  width: 100px;
  height: 30px;
  border-radius: 15px;
  color: #484848;
  border: 1px solid #458ce8;
  outline: none;
}

.eval-view .solution-box .selected {
  color: #fff;
  background-color: #458ce8;
}

/****** lmsg-view ******/
.lmsg-view{
	background-color: #FFFFFF;
}
.lmsg-view .lmsg-title {
  padding: 50px 10% 20px;
  width: 100%;
  line-height: 15px;
  text-align: left;
}

.lmsg-view .lmsg-form {
  padding: 0px 10%;
  width: 100%;
}

.lmsg-view .lmsg-form .input-group {
  margin: 20px 0;
  width: 100%;
  text-align: left;
}

.lmsg-view .lmsg-form .input-group input {
  padding: 0 5px;
  height: 30px;
  width: calc(100% - 50px);
  border: 1px solid #D0e2e2;
}

.lmsg-view .lmsg-form .point {
  color: #f76e4e;
  font-weight: bolder;
  width: 10px;
  height: 100%;
}

.lmsg-view .lmsg-form .text-desc {
  margin: 10px 0;
}

.lmsg-view .lmsg-form .lmsgText {
  padding: 5px;
  height: 80px;
  width: calc(100% - 13px);
  border-radius: 3px;
  border: 1px solid #D0e2e2;
}
#online-lmsg{
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: #FFFFFF;
	position: absolute;
	top: 40px;
	bottom: 0px;
	display: none;
}
/* ********* preview-image *********** */
.preview-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 200;
}

.preview-image img {
  width: 100%;
  height: 100%;
}

/* ********* EAlert *********** */
.alert-view {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 1.2em;
  text-align: center;
  background-color: rgba(138, 136, 136, 0.6);
  z-index: 100000000;
}

#noticeView .alert-box ,#alertView .alert-box{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: auto;
  min-width: 200px;
  min-height: 150px;
  max-width: 400px;
  max-height: 310px;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 10px;
}
#InfoBox .alert-box{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 464px;
	/* height: 354px; */
	background: #FFFFFF;
	box-shadow: 0px 0px 6px 0px #E0E0E1;
	border-radius: 5px;
	transform: translate(-50%, -60%);
}
.alert-view .alert-title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 1.5em;
  font-weight: bold;
  /* background-color: #458ce8; */
  background-color: var(--clientTheme);
  color: #fff;
}

.alert-view .alert-msg {
  width: 100%;
  padding: 15px 10px;
  height: auto;
  min-height: 80px;
  max-height: 200px;
  border-top:1px solid #E4E7EB;
 
}
#noticeView .alert-msg{
  overflow-y: scroll;
}
#alertInfo{
	 border-top:1px solid #E4E7EB;
	 padding: 15px 10px;
}
.alert-view .alert-btn-box {
	width: 100%;
    height: 58px;
    line-height: 58px;
}

.alert-view .alert-btn-box>div {
  /* float: left; */
  display: none;
  height: 50px;
  width: 48%;
  line-height: 50px;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
 /* color: #458ce8; */
  color: var(--clientTheme);
}
.alert-view .alert-btn-box .inbtn{
	display: inline-block;
	
}
.alert-view .alert-btn-box .canclebtn{
	border-left: 1px solid #dce4e4;
}
.alert-view .alert-btn-box .alert-cencel-btn {
  display: none;
  border-left: 1px solid #dce4e4;
}
#noticeView .alert-title-info {
   width: 100%;
   height: 45px;
   line-height: 45px;
   font-size: 18px;
   font-weight: bold;
   color: #458ce8;
   text-align: center;
}
#InfoBox .alert-title-info{
	width: 100%;
	height: 59px;
	line-height: 59px;
	font-size: 14px;
	font-family: Microsoft YaHei;
	font-weight: 400;
	color: #585858;
	text-align: left;
	margin-left: 35px;
}
#alertInfo .alertInput{
	height: 32px;
	width: 210px;
	border: 1px solid #d8d8d8;
	margin: 10px;
	box-sizing: border-box;
	text-indent: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 0 0 1000px white inset;
}
#alertInfo .alertInput:focus{
	outline: none; 
}	
.inline-div{
	display: inline-block;
	width: 40%;
}
.input-radio-div{
	width: 210px;
	margin-top: 10px;
	margin-left: 15px;
}
.readfont{
	color: #ff3939;
}
#readTips{
	display: none;
}
#noticeView .alert-btn-box .inbtn{
	background-color: #237ae4; 
	color: #fff;
	border-radius: 6px;
	width: 110px;
	height: 39px;
	line-height: 39px;
	font-size: 15px
}
#InfoBox .alert-btn-box .inbtn{
	color: #fff;
	line-height: 32px;
	font-size: 14px;
	width: 90px;
	height: 32px;
	background: #237ae4;
	background: var(--clientTheme);
	/* background: #237AE4; */
	border-radius: 5px;
}
#InfoBox #alertInfo{
	height: calc(100% - 120px);
	border-bottom: none;
	width: 85%;
	margin: auto;
}

#consultationTips {
  display: none;
  width: 100%;
  text-align: center;
  font-size: 14px;
  position: absolute;
  left: 0;
  bottom: 5px;
}

#consultationTips span{
  color: #237ae4;
  border: 1px solid #237ae4;
	border-radius: 5px;
  margin: 0 10px;
  padding: 0 5px;
}

.msg-bottom {
  width: 100%;
  width: 97%;
  height: 195px;
  background-color: #FFFFFF;
  border-radius: 12px;
  position: relative;
  margin: auto;
  border-radius: 8px;
  overflow: hidden;

}

.msg-bottom .chat-tools {
  height: 25px;	
  padding-left: 10px;
  background-color: #FFFFFF;
}

.msg-bottom .chat-tools ul li {
  float: left;
  width: 30px;
  height: 20px;
  margin-top: 5px;
  cursor: pointer;
}
.msg-bottom .chat-tools ul li label{
  font-weight: 400;
}
.msg-bottom .msg-send-box {
    /* height: 100%; */
    height: 160px;
}

.msg-send-box .input {
  width: calc(100% - 8px);
  font-size: 15px;
  line-height: 1.5em;
  height: 100%;
  border: none;
  outline: none;
  padding: 3px 6px;
  box-sizing: border-box;
  resize: none;
}

.msg-send-box .input.has-image-preview {
  padding-bottom: 96px;
}

/* 手机端输入框有图片预览时的padding */
@media (max-width: 768px) {
  .msg-send-box .input.has-image-preview {
    padding-bottom: 70px;
  }
}

.msg-bottom .btnbox {
  position: absolute;
  right: 20px;
  bottom: 12px;
}

.msg-bottom .btnbox button {
  width: 95px !important;
  height: 30px !important;
  margin: 0 !important;
  outline: none;
  background: #237ae4; 
  background:var(--clientTheme);
  color: #fff;
  border-radius: 6px;
}

/* 图片预览区域样式 */
.image-preview-area {
  display: none;
  position: absolute;
  bottom: 0px;
  left: 10px;
  z-index: 10;
}

.preview-container {
  position: relative;
  display: inline-block;
}

.preview-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid #237ae4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  padding: 0;
  outline: none;
}

.remove-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* 手机端图片预览区域优化 */
@media (max-width: 768px) {
  .image-preview-area {
    left: 5px;
    bottom: 2px;
  }
  
  .preview-thumb {
    width: 60px;
    height: 60px;
    border-width: 1px;
  }
  
  .remove-btn {
    width: 18px;
    height: 18px;
    top: 2px;
    right: 2px;
    font-size: 12px;
  }
  
  /* 移动端专用图片预览区域 */
  .image-preview-area-mobile {
    display: none;
    position: absolute;
    bottom: 5px;
    left: 17px;
    z-index: 10;
  }
  
  .preview-thumb-mobile {
    width: 25px;
    height: 25px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #237ae4;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .remove-btn-mobile {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 0;
    outline: none;
  }
  
  .input-box .inputmb.has-image-preview {
    padding-left: 60px;
  }
}

.input-box .inputmb::placeholder {
  color: transparent;
}

@keyframes placeholderScroll {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(0); }
  80%  { transform: translateX(var(--scroll-distance, -50%)); }
  100% { transform: translateX(var(--scroll-distance, -50%)); }
}

.inputmb-placeholder {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 16px);
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
  color: #CCCCCC;
  font-size: 12px;
  white-space: nowrap;
}

.inputmb-placeholder span {
  display: inline-block;
  animation: placeholderScroll 6s ease-in-out infinite alternate;
}

.inputmb-placeholder.hidden {
  display: none;
}

.msg-bottom .chat-tools ul li input {
  display: none;
}

.resource-content {
  position: relative;
  padding: 10px;
  border-radius: 6px;
  background: #999999;
  display: none;
}
.resource-box {
  padding: 10px;
  border-radius: 6px;
  background: #999999;
}
.resource-content .turnTextBtn{
  display: none;
  color: red;
  position: absolute;
  top: 35px;
  right: -50px;
}
.resource-content .turnText{
  display: none;
  margin-top: 10px;
  color: #000;
  background: #999999;
  border-radius: 6px;
  padding: 5px;
  line-height: 20px;
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
  text-align: left;
}

.agent-msg .resource-content {
  float: left;
}

.client-msg .resource-content {
  float: right;
}

.erCode-container {
  position: absolute;
  bottom: 110px;
  width: 140px;
  left: 220px;
  box-shadow: 0px 0px 4px #919296;
  cursor: pointer;
  z-index: 999;
  background-color: #fff;
}

.erCode-container .item {
  height: 25px;
  line-height: 25px;
  text-align: center;
}

.erCode-container .item.selected {
  background: #3AB2B3;
  color: #fff;
}

.qrcode-content {
  position: absolute;
  bottom: 110px;
  left: 220px;
  height: 110px;
  width: 110px;
  display: none;
  box-shadow: 0px 0px 4px #8c909d;
  padding: 5px;
  background: #fff;
  z-index: 999;
}
.toast{
	position: absolute;
	margin: auto;
	width: 135px;
	left: 0px;
	right: 0px;
	top: 45%;
	background-color: #ccc;
	padding: 3px;
	border-radius: 5px;
	text-align: center;
	display: none;
}
#seatInfo{
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  background: #FFFFFF;
  box-shadow: 0px 0px 6px 0px #e0e0e1;
  border-radius: 5px;
  transform: translate(-50%, -60%);
  padding: 10px;
}

#seatInfo .title {
  padding: 15px 0;
  border-bottom: 1px solid #e4e5e7;
}
#seatInfo .title span{
  font-size: 20px;
  color: #3167af;

}
#seatInfo .title img{
  float: right;
  width: 20px;
}

#seatInfo .seatContent{
  width: 70%;
  margin: 10px auto;
  font-size: 18px;
}
#seatInfo .star-box{
  position: absolute;
  left: 142px;
}
#seatInfo .seatContent p{
  font-size: 18px;
  line-height: 36px;
  position: relative;
}
#seatInfo .seatContent i{
  font-style: normal;
}
#seatInfo .seatContent p span{
  line-height: 36px;
  position: absolute;
  left: 80px;
}

.copy-ImgMask{
  position : fixed;
	top : 0;
	left : 0;
	width : 100%;
	height : 100%;
	background-color : rgba(0, 0, 0, 0.5); 
	z-Index : 999; 
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.copy-ImgMask .copy-ImgBox{
  position: relative;
  width: 80%;
  height: 60%;
  max-width: 680px;
  background-color: #fff;
  border-radius: 10px;
}
.copy-ImgBox .title{
  width: 100%;
  height: 50px;
  background-color: #237ae4;
  color: #fff;
  font-size: 18px;
  line-height: 50px;
  padding: 0 20px;
}
.copy-ImgBox .title span{
  float: right;
  font-size: 18px;
  line-height: 50px;
  padding: 0 10px;
  cursor: pointer;
}
.copy-ImgBox .img-Box{
  width: 100%;
  height: calc(100% - 50px);;
  display: flex;
  justify-content: center;
  align-items: center;
}
.copy-ImgBox .img-Box img{
  max-width: 80%;
  max-height: 80%;
}
.copy-ImgBox button{
  padding: 10px 20px;
  background-color: #237ae4;
  color: #fff;
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-radius: 5px;
}

@media (max-width: 450px) {

  .webrtc-view {
    height: 30%;
    top: 40px;
  }

  .main.mobil-main {
    margin-top: calc(30% + 40px);
    height: calc(70% - 40px);
  }

  .chat-view .judge-box{
	  width: 305px;
  }
  .chat-view .avatar {
    float: inherit;
    width: 30px;
    height: 30px;
    margin-top: 5px;
  }
  .chat-view .msg-box {
	  max-width: calc(100% - 40px);
  }
  .chat-view .msg-header {
      margin: 5px 0px 5px 35px;
  }
  .chat-view .client-msg .msg-header {
       margin: 5px 36px 5px 0px;
   }
  #InfoBox .alert-box{
	  width: 400px;
  }
}

.maskModal {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  display: none;
}

#voiceChatBox{
  width: 320px;
  /* height: 140px; */
  background-color: #fff;
  position: absolute;
  bottom: 10px;
  left: 280px;
	border: 1px solid #e4e5e7;
  border-radius: 5px;
  padding: 5px;
  text-align: left;
}
#voiceChatBox .title{
  padding: 5px;
	border-bottom: 1px solid #e4e5e7;
}
#voiceChatBox .title span{
  font-size: 16px;
}
#voiceChatBox .title img{
  float: right;
  width: 16px;
}

#voiceChatBox .sendBox{
  text-align: center;
  background: url(../images/rtc/mute_0.png) no-repeat center;
}
#voiceChatBox .sendBox button,
#seatInfo button{
  width: 120px !important;
  height: 30px !important;
  margin: 0 !important;
  outline: none;
  background: #3167af;
  color: #fff;
  border-radius: 6px;
}


.link_a{
	text-decoration: none;
	color: #79797a;
}
.label-a{
	padding: 5px;
	border: 1px solid #458ce8;
	border-radius: 3px;
	margin: 10px;
	display: inline-block;
	color: #458ce8;

}
.yellow{
	background-color: #f8c244;
}
/* 上传文件进度条 */
#progressbar1{
	width: 94%;
	position: relative;
	bottom: 12px;
}
.proggress{
	width: 93%;
	display: inline-block;
}
.percentCount{
	display: inline-block;
}
	
/* 禁止复制css */
/* *{
   -webkit-touch-callout: all;
   -webkit-user-select: all;
   -moz-user-select: all;
   -ms-user-select: all;
   user-select: all;
} */
/* 允许复制 */
/* input {
    -webkit-user-select:all; 
}  */

  /* 定义滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: rgba(240, 240, 240, 1);
}
 
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 0px rgba(240, 240, 240, .5);
  border-radius: 10px;
  background-color: rgba(240, 240, 240, .5);
}
/*定义滑块 内阴影+圆角*/	
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 0px rgba(240, 240, 240, .5);
  background-color: rgba(240, 240, 240, .5);
}
/*兼容ie11,ie10*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .chat-view .list .list-title,#InfoBox .alert-btn-box .inbtn,.msg-bottom .btnbox button {
      background-color: #237ae4;
    }
	.chat-view .list ul li{
		color: #237ae4;
	}
	.chat-view .system-msg .system, .chat-view .robot-msg .robot, .chat-view .agent-msg .robot{
		background: url(../images/Robot.png) no-repeat;
	}
	.chat-view .agent-msg .agent{
		background: url(../images/agent.png) no-repeat;
	}
	.chat-view .client-msg .client{
		background: url(../images/client.png) no-repeat;
	}
}

/* 文件列表项样式 */
.file-list-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 10px;
  background-color: #fff;
  transition: background-color 0.2s;
}

.file-list-item:hover {
  background-color: #f5f5f5;
}

.file-icon {
  width: 40px;
  height: 40px;
  margin-left: 15px;
  flex-shrink: 0;
}

.file-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.file-info {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  padding-right: 10px;
}

.file-name {
  font-size: 14px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
}

.file-size {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* 图片预览弹窗特殊定位 */
#imagePreviewModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100000000;
  padding-bottom: 60px;
}

#imagePreviewModal .alert-box {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin-bottom: 0;
  background-color: #FFFFFF;
}

/* 聊天记录弹窗样式 */
#chatHistoryModal {
  display: flex;
  align-items: center;
  justify-content: center;
}
#chatHistoryModal ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #f5f5f5;
}
#chatHistoryModal ::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #f5f5f5;
}
#chatHistoryModal ::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #c1c1c1;
}
#chatHistoryModal  ::-webkit-scrollbar-thumb:hover {
  background-color: #a1a1a1;
}
#chatHistoryModal {
  /* 火狐兼容 */
  * {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f5f5f5;
  }
}
#chatHistoryModal .alert-box {
  position: relative;
  transform: none;
  top: auto;
  left: auto;
}

/* ==================== 聊天记录复用主聊天样式 ==================== */
/* historyList 和 mobileHistoryList 已添加 chat-view 类，
   克隆的 #msgTemplate 节点自动继承 .chat-view 下的所有样式。 */

#historyList.chat-view > div,
#mobileHistoryList.chat-view > div {
  clear: both;
  overflow: hidden;
}

/* 聊天记录分页样式 */
#historyPagination .pagination-btn:hover {
  background: #f0f0f0;
}

#historyPagination .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
}

#historyPagination .pagination-btn:active:not(:disabled) {
  background: #e0e0e0;
}

/* ==================== 移动端聊天记录页面样式 ==================== */
.mobile-history-page {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #f5f5f5;
	z-index: 10000;
	display: flex;
	flex-direction: column;
}

/* 顶部导航栏 */
.mobile-history-header {
	height: 50px;
	background: linear-gradient(to right, #4a9ff5, #237ae4);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	color: white;
	flex-shrink: 0;
}

.mobile-history-back,
.mobile-history-more {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mobile-history-title {
	font-size: 18px;
	font-weight: bold;
	flex: 1;
	text-align: center;
}

/* 搜索栏 */
.mobile-history-search {
	background: white;
	padding: 10px 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid #e5e5e5;
	flex-shrink: 0;
}

.mobile-search-box {
	flex: 1;
	display: flex;
	align-items: center;
	background: #f5f5f5;
	border-radius: 20px;
	padding: 8px 15px;
	gap: 8px;
	position: relative;
}

.mobile-search-input {
	flex: 1;
	border: none;
	background: transparent;
	outline: none;
	font-size: 14px;
	color: #333;
	padding-right: 30px;
}

.mobile-search-input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.mobile-search-input::placeholder {
	color: #999;
}

.mobile-search-icon {
	position: absolute;
	right: 15px;
	width: 18px;
	height: 18px;
	opacity: 0.6;
	cursor: pointer;
}

.mobile-search-icon:active {
	opacity: 0.8;
}

.mobile-filter-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #237ae4;
	font-size: 14px;
	cursor: pointer;
	padding: 5px 10px;
	white-space: nowrap;
}

.mobile-filter-btn.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.mobile-filter-icon {
	width: 18px;
	height: 18px;
}

/* 筛选面板 */
.mobile-filter-panel {
	background: white;
	padding: 15px;
	border-bottom: 1px solid #e5e5e5;
	flex-shrink: 0;
}

.mobile-filter-item {
	margin-bottom: 15px;
}

.mobile-filter-item label {
	display: block;
	color: #666;
	font-size: 14px;
	margin-bottom: 8px;
}

.mobile-filter-input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.mobile-filter-actions {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.mobile-filter-reset,
.mobile-filter-confirm {
	flex: 1;
	padding: 10px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
}

.mobile-filter-reset:disabled,
.mobile-filter-confirm:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.mobile-filter-reset {
	background: #f5f5f5;
	color: #666;
}

.mobile-filter-confirm {
	background: #237ae4;
	color: white;
}

/* 聊天记录列表 */
.mobile-history-list {
	height: 100%;
	overflow-y: auto;
	background: #f5f5f5;
	padding: 10px;
}

.mobile-history-loading {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
}

/* 旧的 .mobile-history-item / avatar / content / message 样式已移除，
   现在 renderMobileHistoryItem 克隆 #msgTemplate，复用 .chat-view 下的主聊天样式。 */

.mobile-history-empty {
	text-align: center;
	color: #999;
	padding: 60px 20px;
	font-size: 14px;
}

/* 分页 */
.mobile-history-pagination {
	background: white;
	padding: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #e5e5e5;
	flex-shrink: 0;
}

.mobile-page-btn {
	padding: 8px 20px;
	background: #237ae4;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
}

.mobile-page-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.mobile-page-info {
	font-size: 14px;
	color: #666;
}

/* Mint UI 时间选择器样式 */
.picker-toolbar {
	display: flex;
	justify-content: space-between;
	padding: 10px 15px;
	background: #fff;
	border-bottom: 1px solid #ddd;
}

.mint-datetime-action {
	border: none;
	background: none;
	font-size: 16px;
	padding: 5px 10px;
	cursor: pointer;
}

.mint-datetime-cancel {
	color: #666;
}

.mint-datetime-confirm {
	color: #26a2ff;
}

/* 弹出框占满宽度 */
.mint-popup {
	width: 100% !important;
	max-width: 100% !important;
}

.mint-picker {
	width: 100% !important;
}
    /* 聊天等待中容器 */
.chat-loading {
  display: none;
  height: 50px;
  padding: 0 10px;
  background: #f2f2f2;
  border-radius: 12px;
  color: #999;
  font-size: 14px;
  line-height: 50px;
  width: fit-content;
}

/* 圆点样式 */
.chat-loading span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: chatLoading 1.4s infinite ease-in-out both;
  margin-left: 4px;
  vertical-align: middle;
}

/* 依次延迟，形成流动感 */
.chat-loading span:nth-child(1) { animation-delay: -0.32s; }
.chat-loading span:nth-child(2) { animation-delay: -0.16s; }
@keyframes chatLoading {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* datetimepicker 层级覆盖，确保在弹窗内可见 */
.xdsoft_datetimepicker {
  z-index: 200000000 !important;
}
