#sintia-chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #d71b16;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

#sintia-chat-container {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 9998;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
}

/* Cabeçalho */
#sintia-chat-header {
    background-color: #d71b16;
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    align-items: center;
    gap: 8px;
}

#sintia-chat-header svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none; /* contorno apenas */
}

/* Mensagens */
#sintia-chat-messages {
    max-height: 300px;
    overflow-y: auto;
    padding: 16px;
    background-color: #f9f9f9;
    flex-grow: 1;
}

.bot-message, .user-message {
    padding: 10px 14px;
    margin: 6px 0;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.4;
    font-size: 14px;
    position: relative;
}

/* Mensagem do bot */
.bot-message {
    background: #eaeaea;
    color: #333;
    align-self: flex-start;
    padding-left: 40px; /* espaço para ícone fora */
}

/* Ícone do bot fora do bloco */
.bot-message .bot-icon {
    position: absolute;
    left: 10px;
    top: 6px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #d71b16;
}

/* Mensagem do usuário */
.user-message {
    background: #173a6b;
    color: white;
    text-align: right;
    margin-left: auto;
}

/* Formulário */
#sintia-chat-form {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    align-items: center;
}

#sintia-chat-input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    border-radius: 20px;
    font-size: 14px;
    background: #f1f1f1;
    margin-right: 8px;
    outline: none;
}

/* Botão com ícone */
#sintia-chat-submit {
    background: #d71b16;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

#sintia-chat-submit:hover {
    background: #b71612;
}

#sintia-chat-submit svg {
    width: 16px;
    height: 16px;
    stroke: white;
    fill: none;
}

/* Scrollbar personalizada */
#sintia-chat-messages::-webkit-scrollbar {
    width: 6px;
}
#sintia-chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
