@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
* {
  font-family: "PT Sans", sans-serif;
}
.chtMsg.rec .usrMsg .msgTxt{
  display: none;
}
body {
  position: relative;
  display: block;
  /* flex-direction: column;
  justify-content: space-between; */
  height: 100vh;
  overflow: hidden;
  background-color: #f6f6f6;
}
body::-webkit-scrollbar,
#cht::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.tt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 165px;
  background: #ffffff;
  box-shadow: 0px 1px 1px #dcdcdc;
}
.tt-header span:first-child:not(.wrp span:first-child) {
  width: 102.83px;
  height: 30px;
  background-size: cover;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_logo.png);
  background-position: center;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 361px;
  width: 100%;
  height: 46px;
  padding: 9px 16px;
  background: #f2f1f2;
  border-radius: 40px;
}
.search::after {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translate(0, -50%);
  content: "";
  display: inline-block;
  width: 37px;
  height: 28px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: -9px -17px;
  border-left: 1px solid #d9d9d9;
}
.search input {
  width: 80%;
  height: 100%;
  background-color: inherit;
  border: none;
  outline: none;
}
.search input::placeholder {
  font-weight: 400;
  font-size: 16px;
  line-height: 128.91%;
  color: #757574;
}
.wrp {
  display: flex;
  align-items: center;
}
.wrp span {
  display: inline-block;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  cursor: pointer;
}
.wrp span:first-child {
  width: 137px;
  height: 36px;
  margin-right: 24px;
  padding: 6px 18px;
  font-weight: 600;
  font-size: 16px;
  line-height: 128.91%;
  color: #161922;
  text-align: right;
  background-position: -10px -50px;
  border-left: 1px solid #d9d9d9;
  border: 1px solid #e3e3e4;
  border-radius: 2px;
  background-repeat: no-repeat;
}
.wrp span:nth-child(2) {
  position: relative;
  width: 28px;
  height: 24px;
  margin-right: 20px;
  background-position: -19px -103px;
}
.wrp span:nth-child(2) span {
  display: none;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 0px);
  width: 103px;
  height: 37px;
  padding: 8px 15px;
  font-weight: 700;
  font-size: 16px;
  line-height: 128.91%;
  color: #ffffff;
  background: rgba(97, 97, 97, 0.9);
  border-radius: 6px;
  z-index: 1;
}
.wrp span:nth-child(2) span::before {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translate(-50%, 0px);
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border: 0 solid transparent;
  border-right-width: 8px;
  border-left-width: 8px;
  border-bottom: 8px solid rgba(97, 97, 97, 0.9);
}

.wrp span:nth-child(2):hover .wrp span:nth-child(2) span {
  display: block;
}
.wrp span:nth-child(3) {
  width: 25px;
  height: 24px;
  margin-right: 25px;
  background-position: -23px -146px;
}
.wrp span:last-child {
  width: 32px;
  height: 32px;
  background-position: -19px -187px;
}

header {
  /* height: 80px; */
  display: none;
  align-items: center;
  padding: 16px 31px 16px 16px;
  background-color: inherit;
  border-bottom: none;
}
header span.icons.i-arrow-back:first-child {
  width: 21px;
  height: 21px;
  left: 21px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: -25px -235px;
}
header span:nth-child(2) {
  display: flex;
}
header .hdrImg {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 0 0 36px;
  border: 1px solid #00a2c9;
}
header .hdrImg::after {
  position: absolute;
  top: -3px;
  right: 0;
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #72c166;
  border: 2px solid #ffffff;
  border-radius: 50%;
}
header #hdrId div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 11px;
}
header .model-name {
  position: relative;
  width: 115px;
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
header span.icons.i-info:last-child {
  width: 32px;
  height: 32px;
  right: 31px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: -17px -389px;
}
header span.icons.i-info:last-child::before {
  position: absolute;
  top: 0;
  right: 25px;
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 22px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: -17px -355px;
}
main {
  display: flex;
  padding: 16px 165px 8px;
  height: inherit;
  overflow: hidden;
}

.chts-list {
  max-width: 360px;
  width: 100%;
  height: 100%;
  margin-right: 16px;
  padding: 0px;
  background: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.chts-list .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 17px;
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  color: #161922;
}
.chts-list .top span:last-child {
  width: 27px;
  height: 27px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: -22px -272px;
}
.cht-item {
  display: flex;
  align-items: flex-start;
  padding: 8px 31px 8px 24px;
}
.cht-item:nth-child(2) {
  background: #f1f0f1;
}
.model-pic {
  width: 56px;
  height: 56px;
  margin-right: 11px;
}
.cht-item:last-child .model-pic {
  background-image: url(https://assets.topsrcs.com/profiles_chat/123/usr_img.png);
}

.cht-item .msg-box .name {
  display: inline-block;
  margin-bottom: 3px;
  font-weight: 700;
  font-size: 16px;
  line-height: 128.91%;
  color: #161922;
}
.cht-item .msg-box .msg {
  display: flex;
  align-items: baseline;
}
.cht-item .msg-box .msg .msgTxt,
.cht-item .msg-box .msg .date {
  font-weight: 400;
  font-size: 16px;
  line-height: 128.91%;
  color: #4f4e57;
}
.cht-item .msg-box .msg .msgTxt {
  max-width: 158px;
  margin-right: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cht {
  position: relative;
  padding: 0px 16px 103px 16px;
  background-color: #ffffff;
  border-radius: 16px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.08));
}
.date {
  margin-bottom: 20px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 128.91%;
  color: #9d9d9d;
}
#cht #hdrId {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  padding: 16px 0px;
  background: #ffffff;
  border-bottom: 1px solid #d7d7da;
}
#cht #hdrId .model-pic {
  width: 46px;
  height: 46px;
  margin: 0 11px 0 0;
}
#cht #hdrId div {
  display: flex;
  flex-direction: column;
}
#cht #hdrId div .model-name {
  margin-bottom: 3px;
}
.chtMsg {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 0;
  overflow: initial;
}
.chtMsg:not(:first-child) {
  padding: 0;
}
.chtMsg .usrImg.model-pic {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  margin-right: 8px;
  float: initial;
}
.chtMsg .usrMsg {
  padding: 0;
  float: initial;
  border: none;
  border-radius: 0;
  margin-left: 0;
  /* border: 1px solid #d7d7da; */
  background-color: #ffffff;
    border-radius: 20px;
    padding: 6px 12px;
}
.chtMsg.dots .usrMsg .msgTxt {
  display: none;
}
.chtMsg .usrMsg .msgTxt {
  display: flex;
  flex-direction: column-reverse;
  font-weight: 400;
  font-size: 14px;
  line-height: 128.91%;
  color: #161922;
  background: transparent;
  
  border-radius: 8px;
}
.chtMsg .usrMsg .msgTxt .time {
  display: none;
}
.chtMsg .usrMsg .chat-img {
  width: 181px;
  height: 321px;
  border-radius: 8px;
}
.chtMsg .chat-img.img-one.imgLdg {
  border-radius: 50%;
}
.chtMsg .usrMsg.right {
  position: relative;
  /* margin-top: 21px; */
  margin-left: auto;
  margin-right: 40px;
  background-color: #00a2c9;
}
.chtMsg .usrMsg.right::after {
  position: absolute;
  top: 0;
  right: -40px;
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: -19px -186px;
  background-color: #efefe2;
  border-radius: 50%;
  overflow: hidden;
}
.chtMsg .usrMsg.right .msgTxt {
  max-width: 270px;
  background-color: inherit;
  color: #fff
}
/* ----- REPLY MESSAGE ----- */
.replyMsgContent .user {
  display: none;
}
.replyMsgContent .model-answer {
  display: flex;
  margin-right: 4px;
  margin-bottom: 4px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 128.91%;
  color: #161922;
}
.replyMsgContent .model-answer .model-name {
  margin-right: 4px;
}
.replyMsgContent .replyMsg {
  padding-left: 4px;
  border-left: 2px solid #F1F1F2;
}
.replyMsgContent .replyMsg .rmsg {
  padding: 9px 12px;
  font-weight: 400;
  font-size: 12px;
  line-height: 128.91%;
  color: #161922;
  background-color: #F6F6F6;
  border-radius: 8px;
}
.txtLn {
  position: absolute;
  bottom: 8px;
  right: 165px;
  width: calc(100% - 705px);
  height: fit-content;
  padding: 13px 19px 12px 19px;
  border: none;
  margin: 0;
  border-radius: 0;
  background-color: #ffffff;
  border-radius: 0px 0px 8px 8px;
  border-top: 1px solid #d7d7da;
}
.txtLn label {
  display: none;
}
.txtLn input {
  width: calc(100% - 58px);
  padding: 8px 16px;
  background-color: #f1f2f2;
  border-radius: 8px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: 100% -304px;
  background-repeat: no-repeat;
  opacity: 1;
}
.txtLn input::placeholder {
  font-weight: 400;
  font-size: 16px;
  line-height: 128.91%;
  color: #5c5c5c;
}
.icons.i-send {
  right: 32px;
  width: 36px;
  height: 36px;
  background-size: 70.5px;
  background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
  background-position: -16px -422px;
  background-color: #c2c2c2;
  border-radius: 30px;
  filter: none;
}

/* POP-UP */
.lstHook.init-pop {
  min-width: 310px;
  max-width: 310px;
  padding: 32px;
  border-radius: 8px 8px 0 0;
}
.lstHook.init-pop .model-pic {
  margin: 0 auto 8px;
  float: unset;
}
.lstHook i {
  font-weight: 400;
  font-size: 24px;
  line-height: 140%;
  text-align: center;
  color: #161922;
}
.init-pop .flex {
  position: absolute;
  left: 0;
  bottom: -83px;
  padding: 16px 32px;
  background-color: #ffffff;
  border-top: 1px solid #c2c2c2;
  border-radius: 0 0 8px 8px;
}
.flex div.btn-pop {
  margin: 0 !important;
  padding: 12px !important;
  font-weight: 600;
  font-size: 20px;
  line-height: 128.91%;
  border-radius: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.init-pop .flex div.btn-pop {
  color: #ffffff;
  background-color: #161922;
  border: 1px solid #e3e3e4;
}
.init-pop .flex div.btn-decline {
  color: #161922;
  background-color: transparent;
  border: 1px solid #e3e3e4;
}
.lstHook {
  padding: 0;
  border-radius: 8px;
}
.pop.tt2 p {
  padding: 48px 32px;
  border-bottom: 1px solid #c2c2c2;
}
.lstHook a {
  margin-top: 0;
  padding: 16px 0;
  color: #008069;
  background-color: #ffffff;
}
.imgLdg {
  border-top-color: rgb(194 194 194) !important;
  border-bottom-color: rgb(194 194 194) !important;
}
@media screen and (min-width: 1025px) and (max-width: 1438px) {
  .tt-header {
    padding: 12px 80px;
  }
  main {
    padding: 16px 80px 8px;
  }
  .txtLn {
    right: 80px;
    width: calc(100% - 535px);
  }
}
@media screen and (max-width: 1024px) {
  .tt-header,
  .chts-list,
  .chtMsg .usrMsg.right::after,
  #cht #hdrId {
    display: none;
  }
  header {
    display: flex;
  }
  main {
    padding: 0;
  }
  #cht {
    padding: 32px;
    background-color: #f6f6f6;
    border-radius: 0;
  }

  .chtMsg .usrMsg .msgTxt {
    position: relative;
    border: none;
  }
  .chtMsg .usrMsg.right {
    margin-right: 0;
    
  }
  .chtMsg .usrMsg .msgTxt::after,
  .chtMsg .usrMsg.right .msgTxt::after {
    position: absolute;
    left: -15px;
    bottom: -6px !important;
    bottom: 0;
    content: "";
    display: inline-block;
    width: 14px;
    height: 10px;
    background-size: 70.5px;
    background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
    background-position: -28px -471px;
  }
  .chtMsg .usrMsg.right .msgTxt {
    color: #ffffff;
    border-radius: 20px;
  }
  .chtMsg .usrMsg.right .msgTxt::after {
    left: unset;
    right: -11px;
    background-position: -28px -500px;
  }
  .txtLn {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 77px;
    background-color: #f6f6f6;
    border-radius: 0;
  }
  .txtLn input {
    position: relative;
    background-color: #ffffff;
    border-radius: 24px 24px 4px 24px;
  }
  .txtLn::after {
    position: absolute;
    right: 70px;
    bottom: 9px;
    content: "";
    display: inline-block;
    width: 14px;
    height: 10px;
    background-size: 70.5px;
    background-image: url(https://assets.topsrcs.com/media/icons/tiktok_icons.png);
    background-position: -28px -534px;
  }
}
