 #chat-container {
        position: fixed;
        bottom: 90px;
        right: 20px;
        width: 350px;
        height: 450px;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        z-index: 999;

        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(20px);
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#chatbot-bubble {
    position: fixed; /* Lo hace flotante en la pantalla */
    bottom: 20px;    /* Distancia desde abajo */
    right: 20px;     /* Distancia desde la derecha */
    width: 60px;     /* Tamaño de la burbuja */
    height: 60px;
    background-color: #005351; /* Color de tu elección */
    color: white;
    border-radius: 50%; /* Para que sea circular */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}


#boton-enviars {
  padding: 8px 15px;
  background-color: #82bc33;
  color: black;
  border: 1px;
  border-radius: 100px;
  cursor: pointer;
}





    #chat-container.open{
      opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0);
    }

    #chat-header {
    background-color: #005351;
    color: white;
    padding: 5px;
    border: 100px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

    #chat-close-button {
      cursor: pointer;
      font-size: 1.2em;
      padding: 0 5px;
    }
    #chat-messages {
        flex-grow: 1;
        padding: 10px;
        overflow-y: auto;
        background-color: #f9f9f9;
        
    }
    #chat-input-form {
        display: flex;
        padding: 10px;
        border-top: 1px solid #005351;
        color: black;
        background:rgb(218, 217, 217);
    
  
    }
    #chat-input {
        flex-grow: 1;
        padding: 8px;
        border: 1px solid #005351;
        border-radius: 10px;
        margin-right: 10px;
        background: white;
    }
    #chat-send-btn {
        padding: 8px 15px;
        background-color: #005351;
        color: red;
        border: 1px;
        border-radius: 100px;
        cursor: pointer;

    
        
    }
    .message {
        margin-bottom: 8px;
        padding: 6px 10px;
        border-radius: 6px;
        max-width: 80%;
        text-color: #ffffff;
    }
    .message.user {
        background-color: #82bc33;
        align-self: flex-end;
        margin-left: auto;
        border-radius: 20px;
        color: white;
    }
    .message.bot {
        background-color: #005351;
        align-self: flex-start;
        padding: 10px;
        margin-right: auto;
        color: white;
        border-radius: 20px;
    }

    #KISS {
      display: flex;
      justify-content: flex-start;
      align-items: flex-end;
      position: fixed;
      bottom: 70px;
      left: 20px;
      padding: 5px;
      font-size: 2em;
      color: #000000;
      margin-bottom: 0px;
    }

    .KISS-dot {
      animation: blink 1.5s infinite;
      margin:  0 3px;
      opacity: 1;
    }

    .KISS-dot:nth-child(2){
      animation-delay: 0.5s;
    }

    .KISS-dot:nth-child(3){
      animation-delay: 1s;
    }

    @keyframes blink {
      0% { opacity: 0.2; }
      50% { opacity: 1; }
      100% {opacity: 100; }
    }
    
