#chat {
  overflow-y: auto;
  position: relative;
  height: 100%;
  width: 100%;
  padding: 23px 10px 15px 10px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  /* suaviza no mobile */
}

#chat::-webkit-scrollbar {
  display: none;
}



.envio {
  width: 100%;
  display: flex;
  gap: 8px;
}


.box-send-message {
  display: flex;
  gap: 8px;
  width: 100%;
  height: auto;
  position: absolute;
  padding: 0 10px 25px 10px;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 11;
}


.msg {
  max-width: calc(100dvw - 100px);
  padding: 5px 40px 8px 12px;
  border-radius: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.350);
}


.msg-box {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}









.nome-user {
  display: flex;
  flex-direction: column;
  position: absolute;
  font-size: 0.77em;
  white-space: nowrap !important;
  font-weight: 600;
}

.nome-user.env {
  right: 0;
  color: #22af74;
  margin-top: -16px;
  margin-right: 34px;
}

.nome-user.rec {
  left: 0;
  color: rgba(255, 255, 255, 0.6);
  margin-top: -16px;
  margin-left: 34px;
}


















.profile-picture {
  width: 24px;
  height: 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50% !important;
  pointer-events: none;
}

.enviada.profile-picture {
  position: absolute;
  top: 0;
  margin-top: 0;
  right: 0;
}

.enviada {
  display: flex;
  flex-direction: row;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  margin-bottom: 1.5px;
  margin-top: 0;
  position: relative;
}

.enviada p {
  /*    background: linear-gradient(90deg,
       rgb(0, 132, 255), rgb(0, 81, 255)); */
  background: linear-gradient(90deg,
      #131318);
  /* #37f1a3, rgba(0, 81, 255, 0.8)); */
  /*    border-top: 1px solid rgba(255, 255, 255, 0.250);
   border-left: 1px solid rgba(255, 255, 255, 0.250); */
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85em;
  text-align: left;
  font-weight: 500;
  display: flex;
  justify-content: center;
  border-radius: 7px 2px 4px 7px;
  align-items: center;
  margin-right: 31px;
  position: relative;
  z-index: 2;
}


.recebida {
  display: flex;
  flex-direction: row;
  align-self: flex-start;
  border-top-left-radius: 3px;
  margin-bottom: 1.5px;
  margin-top: 0;
  position: relative;
}

.recebida p {
  background: linear-gradient(90deg, #131318);
  /*  backdrop-filter: blur(10px) saturate(1.2) brightness(1.2); */
  /*    border-top: 1px solid rgba(255, 255, 255, 0.2);
   border-right: 1px solid rgba(255, 255, 255, 0.2); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.050);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85em;
  border-radius: 2px 7px 7px 8px;
  text-align: left;
  margin-left: 6px;
  z-index: 2;
}


.input-chat {
  width: 100%;
  padding: 12px;
  padding-right: 65px;
  font-size: 16px;
  border-radius: 20px;
  border: none;
  background-color: #0d0d11;
  border: 1px solid rgba(214, 214, 214, 0.040);
}

.input-chat:focus {
  outline: none;
  box-shadow: none;
}

.input-chat::placeholder {
  color: rgba(255, 255, 255, 0.450);
  font-size: 0.85em;
}


.btn-sendMessage {
  width: 33px;
  height: 33px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  position: absolute;
  top: 55%;
  left: 100%;
  transform: translate(-152%, -100%);
  justify-content: center;
  align-items: center;
  background: #272931 !important;
  border: none;
  border-radius: 10px;
  border-radius: 50%;
  transition: background 0.4s cubic-bezier(1, 1, 0, 1);
}

.icon-enviar {
  margin-top: 5px;
  color: #0000006b;
  font-size: 0.8em;
  transition: color 0.55s cubic-bezier(1, 1, 0, 1);
}

.btn-sendMessage.typing {
  background: #37f1a3 !important;
}

.icon-enviar.typing {
  color: #001E2B !important;
}






.message-time {
  color: rgba(110, 110, 110, 0.4);
  position: absolute;
  font-size: 0.8em;
  top: 100%;
  z-index: 1;
  right: 0%;
  transform: translate(-17%, -100%);
  overflow-wrap: normal !important;
  word-break: normal !important;
}







.fundoChatFrente {
  display: flex;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 75%;
  background-size: cover;
  background-color: #00000000;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
}

.fundoChatFrente .effects {
  top: 100%;
  display: none;
}

.fundoChatVerso {
  width: 100%;
  height: 100%;
  background-color: #000000;
  /* background-image: url(/img/fundoChat.png); */
  background-size: contain;
  background-position: center;
  background-repeat: repeat-x;
  opacity: 1;
  box-shadow: inset 0 200px 200px 20px #000000;
  z-index: 2;
}







/* .msg-box.recebida.msg-fullscreen {
  position: absolute !important;
  top: 30px !important;
  left: 10px !important;
  margin: 0 !important;
  max-width: 180px !important;
  pointer-events: none;
  z-index: 999999999;
  opacity: 0;
  animation: opacity-msg-fullscreen 4.5s ease-in-out;
}

@keyframes opacity-msg-fullscreen {
  0% {
    opacity: 0;
  }

  15%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
} */










.chat-in-player {
  overflow-y: auto;
  display: none;
  flex-direction: column !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;

  background-color: rgb(0, 0, 0);
  position: absolute !important;
  width: 30%;
  padding: 5px;
  height: 100% !important;
  z-index: 99999999999999;
  top: 0;
  right: 0;
}




.box-chat-player {
  overflow-y: auto;
  display: flex !important;
  flex-direction: column !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  height: calc(100% - 39px);
}








/* .chat-in-player .msg-box {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  flex-basis: auto !important;
  clear: both !important;
} */


.chat-in-player .profile-picture {
  width: 20px;
  height: 20px;
}

.chat-in-player .msg {
  padding: 6px 32px 6px 6px;
}

.chat-in-player .enviada p,
.chat-in-player .recebida p {
  font-size: 1em;
  border-radius: 6px 2px 5px 6px;
  margin-right: 25px;
}


.chat-in-player .nome-user.env {
  font-size: 0.9em;
  margin-top: -10px;
  margin-right: 26px;
}

.chat-in-player .nome-user.rec {
  font-size: 0.9em;
  margin-top: -10px;
  margin-left: 26px;
}


.chat-in-player .message-time {
  color: rgba(110, 110, 110, 0.7);
  margin-top: -2px;
  font-size: 0.85em;
}


.chat-in-player .box-send-message {
  display: flex;
  gap: 8px;
  width: 100%;
  height: auto;
  position: absolute;
  padding: 0 6px 5px 6px;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 11;
}




.chat-in-player .input-chat {
  padding: 8px;
}


.chat-in-player .btn-sendMessage {
  width: 26px;
  height: 26px;
  top: 75%;
  left: 100%;
  transform: translate(-149%, -100%);
  justify-content: center;
  align-items: center;
}

.chat-in-player .icon-enviar {
  font-size: 1em;
}

.chat-in-player .input-chat::placeholder {
  color: rgba(255, 255, 255, 0.450);
  font-size: 0.72em;
}