.robotai img {
    position: fixed;
    right: 5px;
    bottom: 30px !important;
    width: 150px;
    animation: lineV 5s infinite;
    cursor: pointer;
}

.ai-button{
    display: flex;
    flex-direction: row;
    gap: 10px; 
    justify-content: center;  
}


.bot-option {
    background-color: rgb(59, 137, 255);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    width: fit-content;
    cursor: pointer;
}

.ai-button button{
    margin-top: 10px;
    background-color: rgb(59, 137, 255);
    width: 150px;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
}


#modalai {
    display: none;
    flex-direction: column; 
    position: fixed;
    right: 30px;
    bottom: 150px;
    width: 500px;
    height: 500px;
    background: #f2f4f8;
    border-radius: 5px;
    z-index: 999;
}

@media (max-width: 600px) {

    .robotai img {
        right: 5px;
        bottom: 5px !important;
        width: 100px;
    }

    .header-ai {
        justify-content: left !important;
    }

    .header-ai h2 {
        font-size: 20px;
        margin-left: 3rem;
    }

    #modalai {
        width: 350px;
        height: 400px;
        right: 20px;
    }

    .ai-button button {
        font-size: 12px;
        width: 100px;
        padding: 5px;
    }
  }

 #puntos-animation{
 display: none;
 }


.header-ai {
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(59, 137, 255);
    padding: 10px;
    position: relative;
}

.header-ai h2 {
    font-family: 'Roboto', sans-serif;
    color: white;
    font-size: 20px;
    text-align: center;
}

#restart-modalai{
    position: absolute;
    right: 60px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}



#close-modalai{
    position: absolute;
    right: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}


#chat-messages {
    flex: 1;                   
    overflow-y: auto;         
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;                 
}


.persona-message  {
    font-family: 'Lato', sans-serif;
    background-color: rgb(59, 137, 255);
    color: white;
    padding: 8px;
    margin: 4px 0;
    border-radius: 5px;
    max-width: 80%;
    align-self: flex-end; 
   
}

.bot-message {
    font-family: 'Open Sans', sans-serif;
    background: white;
    color: black;
    padding: 8px;
    margin: 4px 0;
    border-radius: 5px;
    max-width: 80%;
    align-self: flex-start; 
}


#sendData {
    display: flex;
    gap: 5px;
    padding: 10px;
    border-top: 1px solid gray;
}


#modalai input {
    flex: 1;
    border: none;
    border-radius: 5px;
    padding: 10px;
    height: 50px;
}


#submitAi {
    cursor: pointer;
    width: 80px;
    background-color: rgb(59, 137, 255);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#submitAi img {
    width: 20px;
    height: 20px;
}


@keyframes lineV {
    0% {
        bottom: 5px;
    }
    50% {
        bottom: 20px;
    }
    100% {
        bottom: 5px;
    }
}


#modalai p {
    margin-top: 5px;
    max-width: 70%;
    padding: 10px;
    border-radius: 5px;
}


#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}
