body {
    margin: 0;
    padding: 0;
  }
  
  .whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
  }
  
  /* Estilos para el área del chat */
  .whatsapp-chat-container {
    position: absolute;
    right: 22.5px;
    bottom: 52.5px;
    width: 250px;
    height: 280px;
    border-radius: 5px;
    background-image: url("../images/fondo-chat1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9999;
    display: none;
  }
  
  .whatsapp-chat-container .whatsapp-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }
  
  .whatsapp-chat-container .whatsapp-chat-messages {
    height: 32.5%;
    padding: 10px;
  }
  
  .whatsapp-chat-container .whatsapp-chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 10%;
    padding: 15px;
  }
  
  .whatsapp-chat-container .whatsapp-chat-input input[type="text"] {
    width: calc(100% - 30px);
    padding: 10px;
    margin-bottom: 5px;
    font-size: 17.5px;
    border-radius: 20px;
    font-size: 15px;
  }
  .whatsapp-chat-container .whatsapp-chat-input input[type="text"]:focus {
    border-color: black;
}

  .whatsapp-chat-container .whatsapp-chat-input .whatsapp-send-button:hover {
    background-color: #00e676;
    color: #ffffff;
    transition: all 3ms;
  }
  
  .whatsapp-chat-container .whatsapp-chat-input .whatsapp-send-button {
    background-color: #ffffff;
    border: none;
    color: #00e676;
    font-size: 22.5px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 5px;
  }
  
  .whatsapp-chat-container span {
    color: #000;
    background-color: #c5e6c1;
    font-size: 15px;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    margin-top: 10px;
  }
  .whatsapp-chat-container span:first-child {
    border-top-left-radius: 0px;
    position: relative;
}
.whatsapp-chat-container span:first-child::before {
  content: "";
  position: absolute;
  top: 0px; 
  left: -10px; 
  height: 10px;
  width: 12.5px;
  background-color: #c5e6c1; 
  clip-path: polygon(0 0, 100% 0, 0% 100%);
  transform: scaleX(-1);
}
  .whatsapp-chat-container .whatsapp-close-button {
    position: absolute;
    color: #2b7d1d;
    top: 1px;
    right: 1px;
    font-size: 15px;
    border-radius: 75%;
  }
  
  .whatsapp-chat-container .whatsapp-close-button {
    transition: transform 0.3s;
  }
  
  .whatsapp-chat-container .whatsapp-close-button:hover {
    transform: rotate(180deg);
    color: #2b7d1d;
  }
  
  /* Estilos para el botón de WhatsApp */
  .whatsapp-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .whatsapp-button:before,
  .whatsapp-button:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #00e676;
    opacity: 0;
    border-radius: 50%;
    animation: onda 1.7s infinite;
  }
  
  .whatsapp-button:before {
    animation-delay: 1s;
  }
  
  .whatsapp-button:after {
    animation-delay: 1.3s;
  }
  
  .whatsapp-button img {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
  }
  
  @keyframes onda {
    0% {
      transform: translate(-50%, -50%) scale(1);
    }
    15% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(2.5);
    }
  }
  