/* styles.css */
body {
    --cor-fundo: #333;
    --cor-fundo2: #424040;
    --cor-texto: #f5f5f5;
}

body.light-mode {
    --cor-fundo: #f5f5f5;
    --cor-fundo2: #ebe5e5;
    --cor-texto: #333;
}



#chat-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    height: 400px;
    border: 1px solid var(--cor-texto);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

#chat-header {
    background-color: var(--cor-fundo);
    color: white;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

#chat-box {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: var(--cor-texto);
}

#chat-messages {
    display: flex;
    background-color: var(--cor-texto);
    flex-direction: column;
}

.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    max-width: 80%;
}

.message.user {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}

.message.bot {
    background-color: #e1e1e1;
    color: black;
    align-self: flex-start;
}

#chat-input-container {
    display: flex;
    padding: 10px;
    background-color: #f1f1f1;
    border-top: 1px solid #ccc;
}

#chat-input {
    flex: 1;
    padding: 8px;
    color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

#send-button {
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#send-button:hover {
    background-color: #0056b3;
}

#btnChat {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    transition: 0.5s;
}

#chat-container {
    display: none; /* Inicialmente escondido */
}
#btnChat {
    display: block; /* Inicialmente visível */
}