@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
* {
  font-family: "Roboto", sans-serif;
}
body {
  position: relative;
  display: block;
  /* flex-direction: column;
  justify-content: space-between; */
  height: 100vh;
  background-color: #efe6dd;
  background-image: url(wa_bg.png);
  overflow: hidden;
}
body::-webkit-scrollbar,
#cht::-webkit-scrollbar,
main.mnCnt::-webkit-scrollbar {
  width: 0;
  height: 0;
}
header,
main {
  background: #1d1e24;
}
header {
  height: 72px;
  padding: 8px 44px;
  background-color: #f0f2f5;
  border: none;
}
header span.icons.i-arrow-back:first-child {
  width: 18px;
  height: 18px;
  left: 44px;
  background-size: 63.5px;
  background-image: url(wa_icons.png);
  background-position: -24px -20px;
}
header span.icons.i-info:last-child {
  width: 26.66px;
  height: 26.66px;
  right: 44px;
  background-size: 63.5px;
  background-image: url(wa_icons.png);
  background-position: -9px -89px;
}
header span.icons.i-info:last-child::before {
  position: absolute;
  right: 26px;
  content: "";
  display: inline-block;
  width: 26.66px;
  height: 26.66px;
  background-size: 63.5px;
  background-image: url(wa_icons.png);
  background-position: -16px -53px;
}

header span:nth-child(2) {
  display: flex;
}
header .hdrImg {
  width: 48px;
  height: 48px;
  margin: 0 0 0 36px;
}
header #hdrId div:last-child {
  margin-left: 12px;
}
header .model-name {
  position: relative;
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
}
header .model-name::after {
  position: absolute;
  left: 0;
  bottom: -25px;
  content: "Online";
  font-weight: 400;
  font-size: 16px;
  line-height: 128.91%;
  color: #697680;
}

main.mnCnt {
  overflow: scroll;
  background-image: inherit;
  background-color: inherit;
  height: -webkit-fill-available;
}
#cht {
  padding: 20px 40px 0;
  overflow: scroll;
  z-index: 1;
}
.date {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 4px 8px;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  color: #576568;
  background: #f7f7f5;
  box-shadow: 0px 1px 1px #ded5cc;
  border-radius: 8px;
}
.chtMsg {
  display: flex;
  margin-bottom: 8px;
  padding: 0;
}
.chtMsg:not(:first-child) {
  padding: 0;
}
.chtMsg .usrImg.model-pic {
  display: none;
}
.chtMsg .usrMsg {
  position: relative;
  padding: 0;
  float: initial;
  border: none;
}
.chtMsg .usrMsg::before {
  position: absolute;
  top: 0;
  left: -7px;
  content: "";
  width: 14px;
  height: 10px;
  background-size: 63.5px;
  background-image: url(wa_icons.png);
  background-position: -24px -129px;
}
.chtMsg .chat-img.img-one.imgLdg {
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255);
  border-top-color: rgba(97, 184, 250, 0.5);
  border-bottom-color: rgba(71, 155, 243, 0.5);
}
.chtMsg .usrMsg .msgTxt {
  display: flex;
  flex-direction: column-reverse;
  padding: 6px 12px;
  background-color: #ffffff;
  border-radius: 0px 8px 8px 8px;
}
.chtMsg .time {
  align-self: flex-end;
  font-weight: 400;
  line-height: 128.91%;
  color: #808080;
}
.chtMsg .usrMsg .chat-img {
  width: 208px;
  height: 300px;
  border-radius: 0px 8px 8px 8px;
  border: 6px solid #ffffff;
}
.chtMsg .usrMsg.right {
  margin-left: auto;
  margin-right: 10px;
}
.chtMsg .usrMsg.right::before {
  display: none;
}
.chtMsg .usrMsg.right::after {
  position: absolute;
  top: 0;
  right: -7px;
  content: "";
  display: inline-block;
  width: 14px;
  height: 10px;
  background-size: 63.5px;
  background-image: url(wa_icons.png);
  background-position: -25px -158px;
}
.chtMsg .usrMsg.right .msgTxt {
  border-radius: 16px 4px 16px 16px;
  background-color: #e7ffdb;
}
.chtMsg .usrMsg.right .time::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 12px;
  margin-left: 3px;
  background-size: 60px;
  background-image: url(wa_icons.png);
  background-position: -21px -172px;
}

.txtLn {
  position: relative;
  width: 100%;
  height: fit-content;
  margin: 0;
  padding: 8px 40px 8px 100px;
  background-color: #f0f2f5;
  border: none;
  border-radius: 0;
  bottom: initial;
}
.txtLn::before,
.txtLn::after {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translate(0, -50%);
  display: inline-block;
  content: "";
  width: 20px;
  height: 20px;
  background-size: 63.5px;
  background-image: url(wa_icons.png);
  background-position: -21px -213px;
  cursor: pointer;
}
.txtLn::after {
  left: 68px;
  background-position: -21px -255px;
}
.txtLn label {
  display: none;
}
.txtLn input {
  position: relative;
  width: 100%;
  height: 56px;
  padding: 10px 60px 10px 12px;
  float: initial;
  border: none;
  background-color: #ffffff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #7b7f9a;
  opacity: 1;
  z-index: 2;
}
.txtLn .icons.i-send {
  display: none;
  top: 50%;
  right: 40px;
  width: 33px;
  height: 32px;
  background-size: 63.5px;
  background-image: url(wa_icons.png);
  background-position: -12px -291px;
  border-radius: 8px;
  filter: none;
  z-index: 2;
}
.txtLn.active input {
  width: calc(100% - 50px);
}
.txtLn.active .icons.i-send {
  display: block;
}
#overlay {
  z-index: 2;
}
/* POP-UP */
.lstHook {
  max-width: 328px;
  width: 100%;
  padding: 20px 24px;
  border-radius: 0;
}
.lstHook.init-pop .model-pic {
  width: 56px !important;
  height: 56px !important;
  margin: 0;
  margin-right: 12px;
  float: left;
}
.lstHook i {
  margin-left: 68px;
  font-size: 20px;
  text-align: left;
}
.lstHook .flex {
  margin-top: 29px;
  justify-content: flex-end;
}
.flex div.btn-pop {
  width: fit-content !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 128.91%;
  text-transform: uppercase;
}
.init-pop .flex div.btn-pop {
  color: #008069;
  background-color: transparent;
}
.init-pop .flex div.btn-decline {
  margin-right: 24px !important;
  opacity: 0.5;
}
.lstHook .pop{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.lstHook .pop p {
  font-weight: 500;
  font-size: 18px !important;
  line-height: 150%;
  color: #131b20;
  text-align: left !important;
}
.lstHook .pop a.mainlink {
  color: #008069;
  background: transparent;
  margin-top: 29px;
  padding: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 128.91%;
  text-transform: uppercase;
  border-radius: 0;
  text-align: right !important;
}



@media screen and (max-width: 1024px) {
  @media screen and (max-width: 600px) {
    header {
      padding: 8px 20px;
    }
    header span.icons.i-arrow-back:first-child {
      left: 20px;
    }
    header span.icons.i-info:last-child {
      right: 20px;
    }
    #cht {
      padding: 20px 20px 0;
    }
    .txtLn {
      padding: 8px 20px 8px 75px;
    }
    .txtLn::before {
      left: 20px;
    }
    .txtLn::after {
      left: 48px;
    }
    .txtLn input {
      padding: 10px 40px 10px 12px;
    }

    .txtLn .icons.i-send {
      right: 25px;
    }
    .lstHook {
      max-width: 285px;
    }
    .pop.wa {
      text-align: left;
    }
  }
}

.model-pic {
    background-image: url('avatar.jpg')
}

.img-one {
    background-image: url('img_2.jpg')
}

.img-two {
    background-image: url('img_3.jpg')
}

    .rot-blocker {
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        background-color: rgb(0 0 0 / 90%);
        color: #fff;
        z-index: 12;
        text-align: center;
    }

    .rot-animation {
        background-image: url(rotate2.svg);
        background-size: contain;
        background-position: center;
        height: 100px;
        width: 100px;
        margin: 0 auto 14px;
        background-repeat: no-repeat;
        animation: phoneRot 2s forwards infinite ease-in-out;
    }

    .rot-wrap {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: auto;
    }

    .rot-text {
        font-size: 28px;
        margin-bottom: 28px;
        color: #fff;
    }

    .rot-btn {
        background-color: #fff;
        color: #000;
        width: 100%;
        border-radius: 14px;
        padding: 14px 0;
        font-size: 24px;
        max-width: 200px;
        margin: 0 auto;
        cursor: pointer;
    }

    @keyframes phoneRot {
        0% {
            transform: rotate(0deg);
        }
        20%{
            transform: rotate(0deg);
        }
        50% {
            transform: rotate(90deg);
        }
        100% {
            transform: rotate(90deg);
        }
    }