@charset "UTF-8";
html,body{
	height: 100%;
    line-height: 1;
}
body {
    touch-action: none;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
*, :after, :before {
    box-sizing: border-box;
}
a, a:HOVER, a:ACTIVE, a:AFTER, a:VISITED, a:FOCUS {
    text-decoration: none;
}
.ai-doctor.homepage{	
    z-index: 2;
    position: relative;
    overflow: auto;
    width: 100%;
    height: 100%;
}
.ai-doctor .container{	
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
}
.ai-doctor .record-box{	 
    width: 100%;
    overflow: auto;
    flex-grow: 1;
    flex-shrink: 1;
    position: relative;
}
.ai-doctor .input-box{	 
    display: block;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 12px 0;
    z-index: 1;
    background-color: #fff;
    position: relative;
    padding: 0 0 12px;
}
.logo{	
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%; 
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: rgb(60, 60, 67);
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #e2e2e3;
}
.logo-text{
    display: flex;
    align-items: center; 
    height: 12px;
    top: 8px; 
    padding: 16px;
    padding-left: 10px;
    border-radius: 12px; 
}
.logo .bg{	
    width: 30px;
    height: 30px;
    margin-left: 15px;
	background: url("/dist/default/images/ai-doctor.png") no-repeat;
    background-size: contain;
}
.record-items-box{
	height: 100%;
	width: 100%;
	overflow-y: auto;
    padding-bottom: 96px;
}
.record-items{	
    margin: auto;
    width: 856px;
    max-width: calc(100% - 48px); 
}
.hhitem{	
    display: flex;
    margin: 16px 0;
    position: relative;
}
.hhitem.human{
    flex-direction: row-reverse;
}
.hhitem .icon{	
    width: 32px;
    height: 32px;
    top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
    border-radius: 8px;
}
.hhitem.ai .icon{
	background: url("/dist/default/images/ai-doctor.png") no-repeat;	
    background-size: cover;
    margin-right: 12px; 
}
.hhitem.human .icon{
	background: url("/dist/default/images/ai-user.png") no-repeat;	
    background-size: cover;
    margin-left: 12px; 
}
.hhitem .cont{
    display: flex;
    position: relative;
    flex-wrap: wrap;
    flex-grow: 1;
    max-width: calc(100% - 44px);
    --loading-size: 20px;
    --failed-button-size: 20px; 
}
.hhitem.human .cont{
    justify-content: flex-end;
}
.hhitem .cont .text-base{	
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 28px;
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
    max-width: calc(100% - 44px);
}

.hhitem.ai .cont .text-base{
	background-color: rgb(247, 247, 247);
    color: rgb(60, 60, 67, 100%);
}
.hhitem.human .cont .text-base{
	background-color: rgba(0, 122, 255, 0.12);
    color: rgb(60, 60, 67);
    white-space: pre-wrap;
}
.hhitem .cont .text-base .text{
	min-height: 28px;
}
.hhitem .cont .text-base .text .t{
    white-space: pre-wrap;
}
.hhitem .cont .text-base .text strong{	
    font-weight: 700;
}
.input-box .inner-box{	
    width: 856px;
    padding: 0;
    padding-left: 36px;
    padding-right: 52px;
    margin: auto;
}
.editor-container{
	padding: 16px 20px 16px 20px;
    display: flex;
    cursor: text;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 28px;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgb(226, 226, 227); 
    background-color: #fff;
}
.editor-container:hover {
    box-shadow: inset 0 0 0 2px rgb(0, 122, 255);
}

.chat-input{
	background-color: rgba(0, 0, 0, 0);
    display: block;
    font-size: inherit;
    line-height: inherit;
    resize: none;
    padding: 0;
    border: none;
    font-family: inherit;
    width: 100%;
    overflow: auto;
    margin: 0;
    max-height: 336px;
    white-space: pre-wrap;
    color: rgb(60, 60, 67); 
    height: 28px;
}
.chat-input::-moz-placeholder {
    color: rgb(60, 60, 67, 30%);
}
.chat-input::placeholder {
    color: rgb(60, 60, 67, 30%);
}
.chat-input:focus {
    outline: none
}
.sendbox{	
    white-space: nowrap;
    cursor: pointer;  
    height: 32px;
    bottom: 12px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px 0 14px;
    margin: -4px 0 -4px 8px;
}
.sendbox .sendbtn{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;	
}
.sendbox .sendbtn .send-text{
    color: white;
    font-size: 16px;
    margin-right: 4px;	
}
.sendbox .sendbtn  .icon{
	background: url("/dist/default/images/up.png") no-repeat;
	background-size: cover;
	width: 20px;
	height: 20px;
} 
.sendbox .sending{
    visibility: hidden;
    height: 0;
}
.sendbox.sending .sending{
    visibility: visible;
}
.sendbox.sending .send{ 
    visibility: hidden;
    height: 0;
}
.sending-icon,.sending svg{
	width: 20px;
	height: 20px;
    animation: ds-loading .6s infinite linear;
    fill: #fff;
}
@keyframes ds-loading {
    0% {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}
.chat-bot-input button {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    color: #fff;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.loading-spinner {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #d9edf7;
    border-top-color: transparent;
    animation: spin 1s infinite linear;
}
.aipage{
	display: flex;
    width: 100%;
    height: 100%;
}
.eb_sidebar{
	width: 280px;
    height: 100%;
    background: rgb(247, 247, 247);
    display: flex;
    flex-direction: column;
}
.summ-records{
    flex: 1;
    height: 100%;
    overflow-y: auto;
    padding: 5;
}
.summ-item{
    display: flex;
    padding: 5px 15px;
    cursor: pointer;
}
.summ-text{
    word-break: break-all;
    overflow: hidden;
    cursor: pointer;
    flex: 1;
    max-height: 1.5rem;
}
.summ-item:hover,.summ-item.active {	
    background: rgba(116, 116, 116, 6%);
}
.new-session-box{
	position: absolute;
    padding: 0;
    top: -46px;
    width: 100%;
}
.cont-session{
    display: flex;
    justify-content: center;
    padding-bottom: 12px;
    position: relative;
}
.new-session{
	background-color: rgb(255, 255, 255);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    line-height: 1;
    color: rgb(60, 60, 67);
    box-shadow: inset 0 0 0 1px #e2e2e3;
    border-radius: 1e3px;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    margin-right: 8px;
    white-space: nowrap;
    box-sizing: border-box; 
}
.icon-session{
	background: url("/dist/default/images/session.png") no-repeat;
	background-size: cover;
	width: 20px;
	height: 20px;
    margin-right: 6px;
}
.summ-item .delete{	
	background: url("/dist/default/images/delete.png") no-repeat;
	background-size: cover;
	width: 20px;
	height: 20px;
    margin-right: 6px;
    display: none;
}
.summ-item.active .delete{
	display: block;
}
