/* Fonte e background geral */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7;
}

/* Container principal do chatbot */
#mcp-chatbot-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    height: 500px;
    position: relative;
}

/* Área do histórico de mensagens */
#mcp-chatbot-history {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Área de entrada de mensagem em linha */
#mcp-chatbot-input-area {
    display: flex;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    padding: 10px 15px;
    background: #fafafa;
}

/* Textarea de entrada */
#mcp-chatbot-input {
    flex: 1;
    margin-right: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    resize: none;
}

/* Contêiner dos botões */
#mcp-chatbot-buttons {
    display: flex;
    align-items: center;
}

/* Botões para voz, enviar e toggle de áudio */
#mcp-chatbot-voice,
#mcp-chatbot-send,
#mcp-chatbot-audio-toggle {
    background: #fff;
    border: 1px solid #ccc;
    margin-right: 10px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mcp-chatbot-voice:hover,
#mcp-chatbot-send:hover,
#mcp-chatbot-audio-toggle:hover {
    background: #f0f0f0;
}

/* Estilo dos ícones: usando currentColor */
#mcp-chatbot-voice svg,
#mcp-chatbot-send svg,
#mcp-chatbot-audio-toggle svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    fill: #000;
}

/* Botão de parar a síntese */
#mcp-chatbot-stop {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    z-index: 1000;
}

#mcp-chatbot-stop:hover {
    background: #f0f0f0;
}

/* Mensagens do usuário */
.mcp-user-message {
    max-width: 80%;
    margin: 10px 0;
    align-self: flex-end;
    background-color: #ffffff;
    color: #f17904;
    padding: 10px 15px;
    border-radius: 16px;
    line-height: 1.4;
    text-align: right;
}

/* Mensagens do bot com avatar */
.mcp-bot-message {
    display: flex;
    align-items: flex-start;
    max-width: 80%;
    margin: 10px 0;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 16px;
    line-height: 1.4;
}

.mcp-bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.mcp-bot-text {
    flex: 1;
    color: #333;
}
