
html{			
	scrollbar-width: thin;
}
* {
  scrollbar-width: thin;
}
 
/* 滚动条整体的样式 */
::-webkit-scrollbar {
  width: 2px;
}

/* 滚动条整体的样式 */
::-webkit-scrollbar-button {
  width: 2px;
  height: 15px;
}
 
/* 滚动条的轨道 */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #fff;
}
 
/* 滚动条的滑块 */
::-webkit-scrollbar-thumb {
  /*background-color: lightgrey;
  border-radius: 6px;
  /*border: 3px solid lightgrey;*/
}
 
/* 滑块悬停效果 */
::-webkit-scrollbar-thumb:hover {
  background-color: grey;
  border-color: grey;
}

body {
	font-family: 'Arial', sans-serif;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#chat-container_out {
	width: 100%;
	/*max-width: 800px;
	margin-top: 1.5vh;*/
	margin-top: 10px;
	background-color: #fff;
	/*max-height: calc(100vh - 400px);;
	min-height: calc(100vh - 400px);//336px;*/
	height: calc(100vh - 180px);
	/*margin: 0px auto;*/
	border-radius: 0 0 10px 10px;
	/*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
	overflow: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 10px 0px;
	border: solid 1px #ddd;
	/*border-top: none;*/
}

#chat_container_out2 {
	padding: 0px;
	margin: 0px;
	width: 100%;
	/*border: solid 1px red;*/
}

#chat-container {
	/*margin-left: calc(15vw);
	width: 70%;*/
	/*max-width: 800px;
	margin-top: 1.5vh;*/
	background-color: #fff;
	/*border-radius: 12px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	overflow: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;*/
	padding: 5px 0px;
}


.message {
	margin: 0px 0;
	/*overflow-wrap: break-word;*/
	font-size: 1rem;
	padding: 15px 10px;
	border-radius: 8px;
	max-width: 98%;
}

.user {
	text-align: right;
	/*align-self: flex-end;*/
}

.user_photo{
	display: inline-block;
	/*background-image: url('/static/img/user.png');
	background-color: #f3f3f3;*/
	/*background-size: cover;  背景图片覆盖整个容器 */
	background-repeat: no-repeat; /* 背景图片不重复 */
	background-position: center; /* 背景图片居中 */
	width: 40px;
	height: 40px;
	/*border-radius: 80px;
	border: solid 1px red;*/
	margin-left: 8px;
	margin-top: 2px;
	float: right;

	img{
		width: 40px;
		height: 40px;
	}
}

.user-message {
	display: inline-block;
	text-align: left;
	align-self: flex-end;
	/*background-color: #4CAF50;*/
	/*background-color: #8C6A55;*/
	background-color: #2196F3;
	color: #fff;
	max-width: calc(100% - 50px);
}

.bot {
	text-align: left;
	align-self: flex-start;
	padding-left: 0px;
}

.bot_photo{
	/*background-image: url('/static/img/favicon.png');
	background-color: #f3f3f3;
	/*background-size: cover;  背景图片覆盖整个容器 */
	background-repeat: no-repeat; /* 背景图片不重复 */
	background-position: center; /* 背景图片居中 */
	width: 50px;
	height: 50px;
	/*border-radius: 30px;
	border: solid 1px #f3f3f3;*/
	margin-right: 0px;
	float:left;
	
	img{
		width: 40px;
		height: 40px;
	}
}

.bot-message {
	display: inline-block;
	text-align: left;
	background-color: #fcfcfc;
	border:solid 1px #ddd;
	color: #333;
	/*white-space: pre-wrap;*/ /*回答时造成多个空行*/
	/*max-width: calc(100% - 60px);*/
	max-width: calc(100% - 50px);
	
	white-space: auto;
	ol {
		/*white-space: nowrap !important; */
		padding-left: 20px;
		li {
			line-height: normal; /* 或者设置为具体的数值，如 20px */
			margin-left: 0px;
			/*white-space: nowrap !important;*/
		}
	}
	ul {
		/*white-space: nowrap !important;*/
		padding-left: 20px;
		li {
			line-height: normal; /* 或者设置为具体的数值，如 20px */
			margin-left: 0px;
			/*white-space: nowrap !important;*/
		}
	}
	h1 {
		font-size: 18px;
		font-weight: 700;
		line-height: 1.5;
	}
	h2 {
		font-size: 18px;
		font-weight: 700;
		line-height: 1.5;
	}
	h3 {
		font-size: 16px;
		font-weight: 700;
		line-height: 1.5;
	}
}

.kChart {
	width: 100%;
	height: 400px;
	border: solid 1px #f3f3f3;
}

#input-container {
	/*width: 85%;*/
	width: 100%;
	max-width: 800px;
	margin-top: 0 auto;
	/* Increased margin */
	background-color: #f0f0f0;
	padding: 10px;
	border-top: 1px solid #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	bottom: 3vh;
	/* Decreased bottom position */
	border-radius: 12px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#user-input {
	/*flex: 1;
	padding: 8px;
	margin-right: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;*/
}

#send-button {
	padding: 8px;
	border: none;
	/*background-color: #4CAF50;
	color: #fff;
	cursor: pointer;
	border-radius: 4px;*/
	font-size: 16px;
}

#logo {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 9999;
}

.suggestions{
	display:block;
	width:100%;font-size:1rem;line-height:1.5;
	border-color:#80bdff;
	outline:0;box-shadow:0 0 0 .1rem rgba(0,123,255,.25); border-top: 0px; border-radius:0px
}
.chat_suggestions{
	position:absolute;bottom:70px;z-index:99999;
	display:block;
	text-align:left;width:100%;font-size:1rem;
	border-color:#80bdff;
	outline:0;
	background-color: #FFFFFF;
	box-shadow: 0 -1px .1rem  rgba(0,123,255,.25),
		1px 0 .1rem  rgba(0,123,255,.25),
		0 0,
		-1px 0 .1rem rgba(0,123,255,.25); 
	border-bottom: 0px; 
	border-radius:0px;
}

.chat_session_header{
	cursor: pointer;
	border-radius:8px;
	
}

.chat_session_header:hover {
	background-color: #eee;
	/*color: #fff;*/
}
.chat-menu{
	background-color: #f3f3f3;
	cursor:pointer;
}
.chat-menu:hover{
	background-color: #fff;
}
