/* Estilos gerais do body */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100dvh; /* altura dinâmica visível da tela */
    overflow: hidden; /* impede rolagem vertical */
}

/* Caixa do chatbot */
.chatbox {
    width: 100%;
    max-width: 600px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Título do chatbot */
h2 {
    text-align: center;
    margin: 0 0 5px 0;
}

/* Área de chat */
#chat {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    display: flex;
    flex-direction: column-reverse;
}

/* Mensagens do bot */
.bot-message {
    background-color: #e0e0e0;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Estilo das imagens dentro das mensagens */
.bot-message img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
    align-self: flex-start;
    order: -1;
}

/* Formulário de busca */
form {
    display: flex;
    justify-content: center;
}

/* Estilo do campo de texto */
input {
    padding: 10px;
    width: 70%;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Estilo do botão de envio */
button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Efeito ao passar o mouse sobre o botão */
button:hover {
    background-color: #0056b3;
}
