
html, body {
  touch-action: manipulation;
}

body {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  overflow: hidden;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #ffffff;
}

.chatbody{
  background-color: #111727;
}

.header {
  height: 68px;
  background-image: linear-gradient( 112.1deg,  rgba(32,38,57,1) 11.4%, rgba(63,76,119,1) 70.2% );
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: left;
  font-size: 16px;
  border: 3px solid #202938;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header-text {
  margin-left: 10px;
  font-size: 14px;
  flex-grow: 1;
}

.ai0800 {
  font-size: 18px;
}

.smartai {
  font-size: 12px;
}


.header-avatar {
  margin-left: 10px;
  font-size: 14px;
}

.avatarTextTop {
  font-size: 14px;
  font-weight:600;
}

.avatarTextBottom {
  font-size: 12px;
}

.container {
  display: grid;
  grid-template-rows: 68px 1fr 60px;
  height: 100vh;
  width: 100%;
}

.chat-window {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 11px;
  box-sizing: border-box;
  position: relative;
}

.input-container {
  min-height: 20px;
  height:60px;
  background-color: #111727;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-top: 3px solid #202938;
}


.footer-container {
  min-height: 10px;
  background-color: #111727;
  display: flex;
  align-items: center;
}


#Send_mail {
  font-size:36px;
  font-weight:200;
  color:#BDB6A0;
  margin-right:10px;
  cursor: pointer;
}

#chat-box {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#messages::-webkit-scrollbar {
  width: 2px;
}

#messages::-webkit-scrollbar-track {
  background: transparent;
}

#messages::-webkit-scrollbar-thumb {
  background: #c0c0c0;
}

#messages::-webkit-scrollbar-thumb:hover {
  background: #f39f18;
}

/*  textarea  */
.textarea-container {
  width:100%;
  min-height: 36px;
  max-height: 66px;
  border: 1px solid #c0c0c0;
  padding: 0 10px;
  margin-right: 5px;
  border-radius: 8px; 
}

/* Simplebar */
.simplebar-scrollbar:before {
  background-color: orange;
}

#message-input {
  width: 100%;
  height: 100%;
  border: none;
  resize: none;
  outline: none;
  background-color: #111727;
  color: #BDB6A0;
  font-weight:600;
  font-size:15px;
  overflow-y: hidden;
}


#FastQ1 {
	background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
	margin: 5px;
	padding: 5px 20px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 2px #eee;
	border-radius: 10px;
	display: block;
}

#FastQ2 {
	background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
	margin: 5px;
	padding: 5px 20px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 2px #eee;
	border-radius: 10px;
	display: block;
}

#FastQ3 {
	background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
	margin: 5px;
	padding: 5px 20px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 2px #eee;
	border-radius: 10px;
	display: block;
}

#ListMenu {
	background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
	margin: 5px;
	padding: 8px 10px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 2px #eee;
	border-radius: 10px;
	display: block;
}
       
#SendMSG {
	background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
	margin: 2px;
	min-width:40px;
	padding: 8px 8px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 2px #eee;
	border-radius: 10px;
	display: block;
}

#SendMSG:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
	text-decoration: none;
  }                  


.CSRMail-link {
  background-image: linear-gradient(to right, #a73737 0%, #7a2828  51%, #a73737  100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 35px;
  line-height: 50px;
  cursor: pointer;
}

.CRTxtMail-link {
  background-image: linear-gradient(to right, #a73737 0%, #7a2828  51%, #a73737  100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 30px;
  cursor: pointer;
}

.Store-link {
  background-image: linear-gradient(to right, #a73737 0%, #7a2828  51%, #a73737  100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 35px;
  line-height: 50px;
  cursor: pointer;
}

.Food-link {
  background-image: linear-gradient(to right, #a73737 0%, #7a2828  51%, #a73737  100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 35px;
  line-height: 50px;
  cursor: pointer;
}

.thumbs-link {
  background-image: linear-gradient(to right, #a73737 0%, #7a2828  51%, #a73737  100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 8px;
  line-height: 20px;
  cursor: pointer;
  margin-top: 8px;
}

.Check-link {
  background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 8px;
  line-height: 20px;
}


.chat-window::-webkit-scrollbar {
  width: 0;
  background-color: transparent;
}

.message {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.message-left .avatar-container,
.message-right .avatar-container {
  align-self: left;
  display: flex;
  align-items: center;
  justify-content: left;
  color: #ffffff;
}

.message-left .avatar-container{
  align-self: left;
}

.message-right .avatar-container {
  align-self: right;
}

.message-content {
  display: flex;
  flex-direction: column;
  min-width: 90%;
}

.message-right .message-content {
  align-items: flex-end;
}

.message-left {
  align-items: flex-start;
}

.message-right {
  align-items: flex-end;
}

.Flexcard {
  /* padding: 10px; */
  margin: 0 10px;
}

.message-text {
  background-color: #f39f18;
  color: #111727;
  border-radius: 10px;
  padding: 10px;
  margin: 0 10px;
  max-width: 85%;
  word-break: break-word;
  min-width: 75%;
  font-weight:400;
  font-size:16px;
/*   
  border: 1px solid #000000; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
*/  
}

.message-text p {
  color: #3e3e3e;
  font-weight:600;
  font-size:15px;
}

.Card-Type1 {
  margin: 0 10px;
  font-size:13px;
}

.avatarTitle {
  margin-left:9px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.avatarRight {
  margin-right: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.avataruser {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.avatargpt {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.message-right .message-text {
  background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
  color: #BDB6A0; 
}

.message-left .message-text {
  background-image: linear-gradient(120deg, #FFBC09 0%, #E8AB0C 100%);
  color: #000000;
}

.message-timeLeft {
  float: left;
  margin-right: 10px;
  color: #400000;
  font-size: 11px;
}

.message-timeRight {
  float: right;
  margin-right: 10px;
  color: #BDB6A0;
  font-size: 0.7em;
}

.container {
  height: calc(var(--vh, 1vh) * 100);
}


.MenuBox1Container {
  flex: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.MenuBox1 {  
  width: 75px;
  height: 75px;
  border-radius: 10%;
  margin-top: 5px;
}

.Menu-container {
  position: absolute;
  bottom: 60px;
  height: 90px;
  width:100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #FFBC09;  
  border-top: 3px solid #202938;
}

.thisID {
  color: #f39f18;
}

#username_ask {
  border: 2px solid #fbd38d;
  color: black;
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  outline: none;
}
#username_ask:focus {
  box-shadow: 0 0 5px #fbd38d;
}

#user_tel_ask {
  border: 2px solid #fbd38d;
  color: black;
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  outline: none;
}
#user_tel_ask:focus {
  box-shadow: 0 0 5px #fbd38d;
}

#user_email_ask {
  border: 2px solid #fbd38d;
  color: black;
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  outline: none;
}
#user_email_ask:focus {
  box-shadow: 0 0 5px #fbd38d;
}

#user_qtype_ask {
  border: 2px solid #fbd38d;
  color: black;
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  outline: none;
}
#user_qtype_ask:focus {
  box-shadow: 0 0 5px #fbd38d;
}

#user_memo_ask {
  border: 2px solid #fbd38d;
  color: black;
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  outline: none;
}
#user_memo_ask:focus {
  box-shadow: 0 0 5px #fbd38d;
}