.fwt_openai_container
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap-reverse;
  flex-flow: row wrap;
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #fff;
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.06),0 2px 5px 0 rgba(0,0,0,0.2);
}
/* 0.06 */
 
 
.fwt_openai_container .leftSide
{
  position: relative;
  flex: 0%;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,0.2);
  overflow: hidden;
}
.fwt_openai_container .rightSide
{
  position: relative;
  flex: 100%;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
  background: #e5ddd5;
}
.fwt_openai_container .rightSide::before
{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

.chat_header
{
  position: relative;
  height: 60px;
  background: #ededed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.cover 
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatlist
{
  position: relative;
  height: calc(100% - 110px);
  overflow-y: auto;
}
.chatlist .block 
{
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  padding: 15px 15px;
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,.06);
  cursor: pointer;
}
.chatlist .block.active 
{
  background: #ebebeb;
}
.chatlist .block:hover
{
  background: #f5f5f5
}


.chatlist .block .imgbx
{
  position: relative;
  min-width: 45px;
  height: 45px;
  overflow: hidden;
  border-radius: 50%;
  margin-right: 10px;
}
.chatlist .block .details
{
  position: relative;
  width: 100%;
}
.chatlist .block .details .listHead
{
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.chatlist .block .details .listHead h4 
{
  font-size: 1.1em;
  font-weight: 600;
  color: #111;
}
.chatlist .block .details .listHead .time
{
  font-size: 0.75em;
  color: #555;
}
.chatlist .block .details p 
{
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  font-size: 0.9em;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}
.chatlist .block.active .details .listHead .time,
.chatlist .block.active .details p 
{
  color: #111;
}
 
 
.chatlist .block.unread .details .listHead .time
{
  color: #06d755;
}
.chatlist .block.unread .details p 
{
  color: #111;
  font-weight: 600;
}

.chat_message_p
{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat_message_p b
{
  background: #06d755;
  color: #fff;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  font-size: 0.75em;
  justify-content: center;
  align-items: center;
}
.imgText
{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.imgText h4
{
  font-weight: 600;
  font-size: 1.02em;
  margin-left: 15px;
  line-height: 1.2em;
}
.imgText h4 span 
{
  font-size: 0.8em;
  color: #555;
  font-weight: 400;
}
 
 
.chatBox
{
  display: flex;
  flex-direction: column;
  flex-grow: 2;
  position: relative;
  padding: 50px;
  overflow-x: hidden;
  overflow-y: scroll;
}

.chat_message
{
  position: relative;
  display: flex;
  width: 100%;
  margin: 5px 0;
}
.chat_message p 
{
  position: relative;
  right: 0;
  max-width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9em;
  background: #dcf8c6;
}
.chat_message p:first-child:before
{
  content: '';
  position: absolute;
  top: 0;
  right: -12px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg,#dcf8c6 0%,#dcf8c6 50%,transparent 50%,transparent 100%);
}
.chat_message p span 
{
  display: block;
  margin-top: 5px;
  font-size: 0.85em;
  opacity: 0.5;
}
 
 
.chat_message.my_message
{
  justify-content: flex-start;
}
 
 
.chat_message.frnd_message
{
  justify-content: flex-start;
}

.chat_message.frnd_message p 
{
  text-align: left;
  background: #fff;
}

.chat_message.frnd_message p:first-child:before
{
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  width: 24px;
  height: 24px;
  background: linear-gradient(225deg,#fff 0%,#fff 50%,transparent 50%,transparent 100%);
}


 
#fwt_openai_prompt
{
  position: relative;
  padding: 5px;
  height: 300px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

#chat-input
{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0px;
  padding: 10px 10px;
  border: 3px;
  outline: 3px;
  font-size: 1em;
  flex-grow: 2;
}

.fwt_openai_hidden {
  display: none;
}

 
/* scrollbar */
 
 
::-webkit-scrollbar {
  width: 5px;
}
 
 
/* Track */
::-webkit-scrollbar-track {
  background: transparent; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #bbb; 
}