body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    
}

/* Para Chrome y Safari */
::-webkit-scrollbar {
    width: 50%;
}

/* Para Internet Explorer y Edge */
body {
    scrollbar-width: thin;
}


#chatContainer {
    display: flex;
    flex-direction: column;
    height: 50vh; 
    width: 90%;
    max-width: 90%;
    margin: auto;
    overflow-x: auto;
    
}

#responsesContainer {
    flex: 1; 
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: scroll;
}


#responsesContainer .message {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 5px;
}

#responsesContainer .message .user-message {
    margin-left: auto;
    background-color: #B6E1EF;
    border-radius: 5px 5px 0 5px;
    padding: 5px;
    max-width: 80%;
    word-wrap: break-word;
}

#responsesContainer .message .bot-message {
    background-color: #ECECEC;
    border-radius: 5px 5px 5px 0;
    padding: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

#responsesContainer .message .message-content.user-message {
    margin-left: auto;
    background-color: #B6E1EF;
    border-radius: 5px 5px 0 5px;
    padding: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

#responsesContainer .message .message-content.bot-message {
    background-color: #ECECEC;
    border-radius: 5px 5px 5px 0;
    padding: 10px;
    max-width: 80%;
    word-wrap: break-word;
}


#inputContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#user_input {
    flex: 1; 
    height: 35px;
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#chatForm {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

button {
    background-color: #ccecf7;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 5px;
    height: 35px;
    width: 50px; /* Ancho del botón */
}

button:hover {
    background-color: #008CBA;
    color: white;
}

.submitButton {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0px 0px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 5px;
    height: 45px;
    background-image: url('send_icon.png');
    background-repeat: no-repeat;
    background-position: center;
}

.submitButton:hover {
    background-color: #008CBA;
    color: white;
}


/* Media query for screens larger than 768px */
@media screen and (min-width: 1068px) {
    #chatContainer {
        width: 60%;
    }
}

#waitingMessage {
    color: #4e4e4e; 
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
    opacity: 0.5;
     display: none;
}

