.cargobot{
	font-size:var(--p-2);
	color:var(--colorTextoClaro);
}
.chat-container {
  display: flex;
  justify-content: flex-start; /* Cambia a "flex-end" para alinearlo al lado derecho */
  padding: 10px;
  max-width: 80%;
}

.chat-bubble {
  background-color: var(--colorFondoBis);
  color: white;
  padding: 8px;
  border-radius: 20px;
  position: relative;
  max-width: 300px;
  font-size: 16px;
  line-height: 1.4;
	margin-bottom:20px;
	width:90%;
	margin-left:10%;
	font-size:12px;
	color:var(--colorTexto);
}

.chat-bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 10px; /* Cambia a "right" si está alineado a la derecha */
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: var(--colorFondoBis);
  border-bottom: 0;
  margin-right: 10px;
  margin-bottom: -10px;
}

.chat-bubble-sent {
  background-color: var(--colorPrincipal);
  color: white;
  padding: 8px;
  border-radius: 20px;
  position: relative;
  max-width: 300px;
  font-size: 16px;
  line-height: 1.4;
	margin-bottom:20px;
	width:90%;
	font-size:12px;
}

.chat-bubble-sent::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px; /* Cambia a "right" si está alineado a la derecha */
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: var(--colorPrincipal);
  border-bottom: 0;
  margin-left: 10px;
  margin-bottom: -10px;
}

.chatWindow{
	 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position:fixed;
	width:300px;
	max-width:90vw;
	height:500px;
	max-height:90vh;
	bottom:20px;
	z-index:999;
	right:20px;
	background-color:white;
	border-radius:10px;
	border:1px solid var(--borde);
}
.chatWindow_head{
padding: 7.5px;
  background-color: #F6F6F6;
  border-bottom: 1px solid var(--borde);
  border-radius: 10px 10px 0px 0px;
}
.chatWindow_head .chatWindow_avatar{
	height:40px;
	width:40px;
	border-radius:100%;
	background-color:grey;
}
.chatWindow_head .chatWindow_nombre{
	width:calc(100% - 100px);
	margin-left:20px;
}
.chatWindow_cuerpo{
padding: 7.5px;
  height: calc(100% - 100px);
  overflow: auto;
}
.chatWindow_mensaje .chatWindow_mensaje_text{
	width:calc(100% - 80px);
	  
}
.chatWindow_mensaje{
	background-color: #F6F6F6;
  border: 1px solid var(--borde);
  border-radius: 0px 0px 10px 10px;
	padding:7.5px;
}
.chatWindow_mensaje .chatWindow_mensaje_text textarea{
	width:calc(100% - 10px);
	border:1px solid var(--borde);
}
.chatWindow_mensaje .chatWindow_mensaje_btn{
	width:80px;
}
.chatWindow_mensaje_btn_int {
border-radius: 20px;
  margin-top: 0px;
  font-size: 14px;
  text-align: center;
  background-color: var(--colorInteraccion);
  padding: 5px;
    padding-top: 5px;
  width: calc(100% - 10px);
  cursor: pointer;
  height: 34px;
  padding-top: 10px
}
.chatWindow_mensaje_text textarea {
	height: 35px;
	max-height: 35px;
	min-height: 35px;
	margin-left:10px;
	width:calc(100% - 20px);
	max-width:calc(100% - 20px);
	min-width:calc(100% - 20px);
	padding:5px;
	font-family:Cuerpo;
}
.btnWhatsapp_prevMsg .chat-bubble{
	background-color:var(--colorPrincipal);
	color:white;
}
.btnWhatsapp_prevMsg .chat-bubble::after{

  border-top-color: var(--colorPrincipal);

}
.chatWindow_close{
	transform: rotate(45deg);
  font-size: 30px;	
	cursor:pointer;
}
.chatWindow_close:hover{
	color:var(--colorInteraccion);	
}

    @keyframes moveInCircle {
      0% {
        width:10px;
		  height:10px;
		    opacity: 0.2;
      }
      25% {
        width:12px;
		  height:12px;
		    opacity: 0.3;
      }
      50% {
        width:15px;
		  height:15px;
		    opacity: 0.4;
      }
      75% {
        width:12px;
		  height:12px;
		    opacity: 0.3;
      }
      100% {
        width:10px;
		  height:10px;
		    opacity: 0.2;
      }
    }

.bubleWaiting{
background-color: var(--colorPrincipal);
  margin: auto;
  border-radius: 100%;
  animation: moveInCircle 1s linear infinite;
  opacity: 0.2;
}
#onwritingAnim{
	display:flex;	
}
#onwritingAnim .bubleCobt{
		width:17px;
	height:17px;
	display:flex;
	align-items:center;
	justify-content:center;
}	
.bubleWaiting#p2{
	animation-delay: 0.3s;
}
.bubleWaiting#p3{
	animation-delay: 0.6s;
}
.namEmisor{
	font-size:0.8em;
	font-weight:bold;
}
@keyframes vibrate {
	0% { transform: translate(0, 0); }
	25% { transform: translate(-2px, 2px); }
	50% { transform: translate(2px, -2px); }
	75% { transform: translate(-2px, -2px); }
	100% { transform: translate(0, 0); }
}
.chat-bubble.widthAnim{
	 animation: vibrate 0.5s ease-in-out 3;
	right: 20px;
}
.namEmisor_head{
	display:flex;	
	align-items:center;
}
.namEmisor_head .namImgs{
	height:16px;
	width:16px;
	border-radius:100%;
	margin-right:10px;
	width:20px;
}	