html {
	font-size: 14px;
}
  
  body {
	background-image: url(../images/Bg_pic.png);
	background-repeat: repeat-x;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
	  'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	height: 100vh; 
	min-width: 1719px;
	overflow: hidden; 
  }
  .main_bg{
	background-image: url(../images/Mid_bg.png);
	background-repeat: no-repeat;
	background-position: center center;
	width: 100%;
	margin: 100px auto;
	max-width: 1719px;
	min-height:790px;
	clear: both;
  }
  
  .main_left{
	float: left;
	height: 700px;
	width: 21%;
	padding-top: 30px;
  }

  .main_left_logo{
	height: 200px;
	text-align: center;
  }


  .main_left_menu{
	margin-top: 10px;
	margin-bottom: 1px;
  }
  .main_left_menu ul{
	list-style-type: none;
    margin: 0;
    padding-left:9px;
    width: 352px;	   
  }
  .main_left_menu ul li{
	height: 65px;
	margin-top: 15px;
	margin-bottom: 15px;
	line-height: 52px;
	font-size: 20px;
  }
  .main_left_menu ul li a{ 
	font-size: 20px;
	text-align: center; 
	display: block;
    color: #555; 
    text-decoration: none;}
 
  .main_left_menu ul li a:hover {
	/* background-color: #f9fbff; */
    color: #0064fb;
	/* background-image: url('../images/menu_bg_h.png') no-repeat !important; */
	background-position: center;   
}

  .changeImg{
	width: 352px;
	height: 65px;
	line-height: 65px;
	cursor: pointer;
	
  }
  .iconimg1 {
	background: url('../images/message.png') no-repeat;
	background-size: 32px;
	background-position: 100px 50%;
	display: block;
	text-align: center;
  }
  .iconimg1:hover{	
	background: url('../images/message_h.png') no-repeat;
	background-size: 32px;
	background-position: 100px 50%;
  }
  .iconimg2 {
	background: url('../images/setting.png') no-repeat;
	background-size: 32px;
	background-position: 100px 50%;
	display: block;
	text-align: center;
  }
  .iconimg3 {
	background: url('../images/page3.png') no-repeat;
	background-size: 32px;
	background-position: 100px 50%;
	display: block;
	text-align: center;
	position: relative;
  }
  
  /* MCP在线状态指示器 */
  .mcp-online-indicator {
	position: absolute;
	top: 50%;
	left: 85px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #4CAF50; /* 绿色 */
	margin-top: -5px;
	display: none; /* 默认隐藏 */
  }
  
  /* 当MCP在线时显示指示器 */
  .mcp-online .mcp-online-indicator {
	display: block;
  }
  
  .iconimg3:hover{	
	background: url('../images/page3_h.png') no-repeat;	
	background-size: 32px;
	background-position: 100px 50%;
  }

  .iconimg2:hover{	
	background: url('../images/setting_h.png') no-repeat;	
	background-size: 32px;
	background-position: 100px 50%;
  }
  .changeImg:hover{	
	background: url('../images/menu_bg_h.png') no-repeat;	
	/* z-index: 10; */
  }
  
  .changeImg2{
	/* width: 352px; */
	height: 65px;
	line-height: 65px;
	cursor: pointer;
	/* background: url('../images/menu_bg_h.png') no-repeat; */
  }
  .changeImg2:hover{
	background: url('../images/menu_bg_h.png') no-repeat;
  }


  .changeImg3{
	/* width: 352px; */
	height: 65px;
	line-height: 65px;
	cursor: pointer;
	/* background: url('../images/menu_bg_h.png') no-repeat; */
  }
  .changeImg3:hover{
	background: url('../images/menu_bg_h.png') no-repeat;
  }



  
  .main_left_emoji{
	text-align: center;
	height: 280px; 
	background-image: url(../images/emoji_bg.png);
	background-repeat: no-repeat; 
	background-position: center center;
 }

  .main_right{float: right;width: 79%;height: 720px;}

.top_info{font-size: 14px; color: #617bab; line-height: 50px; text-align: left;width: 1000px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.top_info_text{font-size: 15px;font-weight: bold;}
.chatmessage{
	padding-bottom: 48px;  
    overflow-y: scroll;
    height: 480px;
	margin-bottom: 130px;
	z-index: 1;
}


 
.chat-container {
	max-width: 100%;
	margin: 20px auto;	
	padding: 20px;
  }

.message {
	display: flex;
	margin-bottom: 20px;
  }

.receiver-message {
	justify-content: flex-start;
	padding-right: 30%;
  }

.sender-message {
	justify-content: flex-end;
	padding-left: 30%;
  }

.avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	margin-right: 15px;
	margin-left: 15px;
  }

.message-content {
	flex:  0 1 auto;
  }

.message-bubble {
	background-color: #FFFFFF;
	border-radius: 6px;
	padding: 8px;
	font-size: 15px;
	color: #333;
	white-space: pre-wrap; 
	word-wrap: break-word;
  }

.sender-message.message-bubble {
	font-size: 15px;
	padding: 8px;
	background-color: #008fff;
	color: #FFFFFF;
  }

.message-time {
	font-size: 12px;
	color: #999;
	margin-top: 5px;
	text-align: left;
  }

.sender-message-time {
	font-size: 12px;
	color: #999;
	margin-top: 5px;
	text-align: right;
  }

.Userchange{
	background-color: #FFFFFF;
 	height: 40px;
 	font-size: 12px;
 	border-top: 1px solid #bed1fc;
 	width: 1358px; /* 设置菜单容器的宽度，可根据实际情况调整 */
 	overflow: hidden; /* 隐藏超出容器的内容 */
 	position: relative;
}

.inputmessage{
	margin-left:290px ;
	width: 760px;
	background: #f9fbff;
	border-radius: 70px;
	height: 73px;
	box-shadow: -10px 0 15px rgba(0, 0, 0, 0.1);
	position: absolute;
	top: 675px;
	z-index: 2;
}

.inputmessage_voice{
	width: 50px;
	float: left;
	height: 73px;
	padding: 15px 5px 0 20px;
}

.inputmessage_input{
	background-color: #FFFFFF;
	width: 540px;
	float: left;
	margin-top: 15px;
	height: 45px;
}

.inputmessage_send{
	width: 50px;
	float: left;
	height: 73px;
	padding: 15px 5px 0 15px;
}

.inputmessage_open{
	width: 60px;
	float: right;
	height: 73px;
	padding: 15px 5px 0 5px;
}

.text_in{
	width: 540px;
	height: 45px;
	padding: unset;
    outline: unset;
    border-style: unset;
    background-color: unset;
    resize: unset;
	font-size: 14px;
}

 .tag-container {	background-color: #FFFFFF;
	display: flex;
	
  }

 .tag {	
	background: url('../images/tabline.png') right no-repeat;
	padding: 5px 10px;
	font-size: 14px;
	cursor: pointer;
	color: #617bab;line-height: 30px;
  }

 .tag.selected {
	background-color: #f4f7ff;
	color: #0064fb;
  }
  #prevButton{background-color: #FFFFFF; border: none;
	    z-index: 1;
	    position: absolute;
	     top: 50%; 
	     transform: translateY(-50%);
	}
	
	#nextButton {background-color: #FFFFFF; border: none;
	    position: absolute;
	     top: 50%; 
	     transform: translateY(-50%);
	}
	
	#prevButton {
	    left: 0;
	}
	
	#nextButton {
	    right: 0;
	}
	
	.menu-container {
	    width: 800px; /* 设置菜单容器的宽度，可根据实际情况调整 */
	    overflow: hidden; /* 隐藏超出容器的内容 */
	    position: relative;
	}
	
	.menu li {
	    margin-right: 20px; /* 菜单项之间的间距，可调整 */
	}
	
	.menu li a {
	    text-decoration: none;
	    color: black;
	}
	
	.menu { background-color: #FFFFFF;
	    /* display: flex; */
	    white-space: nowrap; 
	    display: flex;
	    transition: transform 0.3s ease; /* 添加过渡效果，使滑动更平滑 */
	    list-style: none;
	    padding: 0 50px 0 50px;
	    margin: 0;
	    display: flex;
	    transition: transform 0.3s ease; /* 添加过渡效果，使滑动更平滑 */
	 }
	
	.adopt{border: none;background: none;}
	
	.what-time{vertical-align:top;line-height: 25px;}
	
	.answer-container {
	    border: 1px solid #ccc;
	    padding: 10px;
	    margin: 10px;
	    background-color: #f9f9f9;
	}
	
	.adopt-button {
	    display: inline-block;
	    cursor: pointer;
	    position: relative;
	}
	
	.adopt-button img {
	    width: 21px;
	    height: 21px;
	    display: block;
	}
	
	.adopt-button:hover::after {
	    content: "采纳";
	    position: absolute;
	    top: -30px;
	    left: 0;
	    background-color: #000;
	    color: #fff;
	    padding: 5px 10px;
	    border-radius: 4px;
	    font-size: 12px;
	    white-space: nowrap;
	}
.think-panel-container {
	position: fixed;
	top: 100px; /* 保证不与顶部导航栏重叠 */
	right: 120px;
	width: 250px;
	height: auto;
	padding: 10px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	z-index: 1000;
	}
	.think-panel {
	margin-top: 10px;
	padding: 10px;
	background: #f9f9f9;
	border: 1px dashed #ccc;
	border-radius: 4px;
	max-height: 620px;
	overflow-y: auto;
	white-space: pre-wrap; /* 保持原始格式 */
	}

.think-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
}

.think-panel-minimize {
  background: none;
  border: none;
  color: #617bab;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.think-panel-minimize:hover {
  color: #0064fb;
}

.think-panel-icon {
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  font-weight: bold;
  color: #ff0000;
}

.think-panel.minimized {
  height: 40px;
  overflow: hidden;
}

/* 消息内 think 折叠样式 */
.think-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 8px;
  margin-bottom: 6px;
  background-color: #f0f4ff;
  border-radius: 4px;
  border: 1px solid #d0d8e8;
  user-select: none;
}

.think-toggle:hover {
  background-color: #e0e8ff;
}

.think-arrow {
  display: inline-block;
  font-size: 10px;
  margin-right: 6px;
  color: #617bab;
  transition: transform 0.2s ease;
}

.think-arrow.expanded {
  transform: rotate(90deg);
}

.think-label {
  font-size: 12px;
  color: #617bab;
  font-weight: 500;
}

.think-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  border: 2px solid #d0d8e8;
  border-top-color: #617bab;
  border-radius: 50%;
  animation: think-spin 0.8s linear infinite;
}

@keyframes think-spin {
  to {
    transform: rotate(360deg);
  }
}

.think-content-inline {
  background-color: #f5f7fa;
  border: 1px dashed #ccc;
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #666;
  white-space: pre-line;
  word-wrap: break-word;
  max-height: 300px;
  overflow-y: auto;
  line-height: 1.5;
}

/* 消息内 prestart 预启动工具折叠样式 */
.prestart-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 8px;
  margin-top: 8px;
  margin-bottom: 6px;
  background-color: #f0fff4;
  border-radius: 4px;
  border: 1px solid #a8e6cf;
  user-select: none;
}

.prestart-toggle:hover {
  background-color: #e0ffe8;
}

.prestart-arrow {
  display: inline-block;
  font-size: 10px;
  margin-right: 6px;
  color: #4caf50;
  transition: transform 0.2s ease;
}

.prestart-arrow.expanded {
  transform: rotate(90deg);
}

.prestart-label {
  font-size: 12px;
  color: #4caf50;
  font-weight: 500;
}

.prestart-content-inline {
  background-color: #f5fff7;
  border: 1px dashed #a8e6cf;
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #555;
  white-space: pre-line;
  word-wrap: break-word;
  max-height: 200px;
  overflow-y: auto;
  line-height: 1.5;
}

.message-text {
  word-wrap: break-word;
}

/* Markdown 样式 */
.markdown-body {
  line-height: 1.6;
  font-size: 14px;
}

.markdown-body p {
  margin: 0 0 8px 0;
}

.markdown-body p:last-child {
  margin-bottom: 0;
}

.markdown-body h1, .markdown-body h2, .markdown-body h3,
.markdown-body h4, .markdown-body h5, .markdown-body h6 {
  margin: 12px 0 8px 0;
  font-weight: 600;
  line-height: 1.4;
}

.markdown-body h1 { font-size: 1.5em; }
.markdown-body h2 { font-size: 1.3em; }
.markdown-body h3 { font-size: 1.15em; }
.markdown-body h4 { font-size: 1em; }

.markdown-body ul, .markdown-body ol {
  margin: 8px 0;
  padding-left: 20px;
}

.markdown-body li {
  margin: 4px 0;
}

.markdown-body code {
  background-color: rgba(175, 184, 193, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9em;
}

.markdown-body pre {
  background-color: #f6f8fa;
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 8px 0;
}

.markdown-body pre code {
  background-color: transparent;
  padding: 0;
  font-size: 0.85em;
  line-height: 1.5;
}

.markdown-body blockquote {
  margin: 8px 0;
  padding: 8px 12px;
  border-left: 4px solid #dfe2e5;
  color: #6a737d;
  background-color: #f6f8fa;
}

.markdown-body blockquote p {
  margin: 0;
}

.markdown-body a {
  color: #0366d6;
  text-decoration: none;
}

.markdown-body a:hover {
  text-decoration: underline;
}

.markdown-body table {
  border-collapse: collapse;
  margin: 8px 0;
  width: 100%;
}

.markdown-body th, .markdown-body td {
  border: 1px solid #dfe2e5;
  padding: 6px 12px;
  text-align: left;
}

.markdown-body th {
  background-color: #f6f8fa;
  font-weight: 600;
}

.markdown-body hr {
  border: none;
  border-top: 1px solid #dfe2e5;
  margin: 12px 0;
}

.markdown-body strong {
  font-weight: 600;
}

.markdown-body em {
  font-style: italic;
}

/* 图片缩略图样式 */
.image-thumbnail-container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin: 4px 2px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 200px;
  vertical-align: middle;
}

.image-thumbnail-container:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.message-image-thumbnail {
  display: block;
  max-width: 200px;
  max-height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.image-zoom-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 3px 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.image-thumbnail-container:hover .image-zoom-hint {
  opacity: 1;
}

.image-path-text {
  display: inline-block;
  padding: 4px 8px;
  background-color: #f0f4ff;
  border: 1px solid #d0d8e8;
  border-radius: 4px;
  font-size: 12px;
  color: #617bab;
  word-break: break-all;
}

/* prestart 内容中的图片缩略图 */
.prestart-content-inline .image-thumbnail-container {
  max-width: 150px;
}

.prestart-content-inline .message-image-thumbnail {
  max-width: 150px;
  max-height: 100px;
}