.chat {
  -webkit-box-shadow: 0px 2px 8px 2px var(--chat-sombra);
          box-shadow: 0px 2px 8px 2px var(--chat-sombra);
  bottom: 110px;
  border-radius: 0.625rem;
  -webkit-clip-path: circle(0% at 100% 100%);
          clip-path: circle(0% at 100% 100%);
  position: fixed;
  right: 30px;
  -webkit-transition: -webkit-clip-path 0.5s ease-in-out;
  transition: -webkit-clip-path 0.5s ease-in-out;
  transition: clip-path 0.5s ease-in-out;
  transition: clip-path 0.5s ease-in-out, -webkit-clip-path 0.5s ease-in-out;
  width: var(--chat-ancho);
}

.chat.open {
  -webkit-clip-path: circle(150% at 100% 100%);
          clip-path: circle(150% at 100% 100%);
}

.chat-cabecera {
  background-color: var(--chat-cabecera);
  border-radius: 0.625rem 0.625rem 0 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1.25rem;
  width: 100%;
}

.chat-cabecera-avatar {
  border-radius: 50%;
  position: relative;
  width: var(--chat-avatar-ancho);
}

.chat-cabecera-avatar img {
  border-radius: 50%;
  width: var(--chat-avatar-ancho);
}

.chat-cabecera-avatar:before {
  background-color: var(--chat-cabecera-activo);
  bottom: 15px;
  border-radius: 50%;
  content: '';
  height: 10px;
  position: absolute;
  right: 0;
  width: 10px;
}

.chat-cabecera-texto {
  color: var(--chat-cabecera-texto);
  margin: 0 0 0 0.625rem;
}

.chat-cabecera-texto-nombre {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.25rem;
}

.chat-cabecera-texto-estado {
  font-size: 0.85rem;
  font-weight: normal;
  line-height: 1rem;
}

.chat-cuerpo {
  background: transparent url(https://www.urp.edu.pe/img/thumbnails/zc/4/src/44905/n/cuerpo-bg.png) center no-repeat;
}

.chat-cuerpo-dentro {
  padding: 1.25rem;
  background-color: var(--chat-cuerpo-fondo);
}

.chat-cuerpo-dialogo {
  background-color: var(--chat-cuerpo-dialogo);
  border-radius: 0.625rem;
  display: inline-block;
  padding: 1rem 1rem 0.25rem 1rem;
  position: relative;
}

.chat-cuerpo-dialogo:before {
  border-left: 15px solid transparent;
  border-top-left-radius: 5px;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--chat-cuerpo-dialogo);
  border-bottom-left-radius: 5px;
  content: '';
  height: 0;
  left: -10px;
  top: 0;
  position: absolute;
  width: 0;
}

.chat-cuerpo-dialogo-nombre {
  color: var(--chat-cuerpo-dialogo-nombre);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0 0 0.25rem;
}

.chat-cuerpo-dialogo-saludo {
  font-weight: normal;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.chat-cuerpo-dialogo-saludo p {
  margin: 0 0 0.25rem;
}

.chat-cuerpo-dialogo-hora {
  color: var(--chat-cuerpo-hora);
  text-align: right;
  font-weight: normal;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.chat-pie {
  border-radius: 0 0 0.625rem 0.625rem;
  background-color: var(--chat-pie);
  padding: 1rem;
}

.chat-pie-boton {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--chat-boton);
  border-radius: 1.25rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: var(--chat-boton-texto);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 0.875rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  line-height: 1.25rem;
  outline: none;
  padding: 0.5rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.chat-pie-boton:hover {
  text-decoration: none;
}

.chat-pie-boton i {
  margin-right: 0.625rem;
}

.burbuja {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--burbuja-color);
  border-radius: 50%;
  bottom: 30px;
  -webkit-box-shadow: 0px 2px 8px 2px var(--burbuja-sombra), 0px -2px 8px 2px var(--burbuja-sombra);
          box-shadow: 0px 2px 8px 2px var(--burbuja-sombra), 0px -2px 8px 2px var(--burbuja-sombra);
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: var(--burbuja-ancho);
  position: fixed;
  right: 30px;
  width: var(--burbuja-ancho);
}

.burbuja:after {
  background-color: var(--burbuja-inactivo);
  border-radius: 50%;
  content: '';
  height: 0.625rem;
  position: absolute;
  right: 0.625rem;
  top: 0;
  width: 0.625rem;
}

.burbuja-icono {
  width: var(--burbuja-icono-ancho);
  color: var(--burbuja-whastapp);
}