/**
 * CSS Base per il Chatbot
 */

#chatbot-widget {
    width: 320px;
    height: 460px;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background: #fff;
}

#chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    border-bottom: 1px solid #ccc;
}

.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
}

.message.user {
    background: #007bff;
    color: white;
    text-align: right;
}

.message.bot {
    background: #f1f1f1;
    color: #333;
}

#chatbot-typing {
    padding: 10px;
    font-style: italic;
    color: #666;
}

#chatbot-form {
    display: flex;
    padding: 10px;
}

#chatbot-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

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

#chatbot-send:disabled {
    background: #ccc;
    cursor: not-allowed;
}