#ai-chatbot-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

#ai-chatbot-bubble-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #32A81A !important;
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    overflow: hidden;
    position: relative;
}

#ai-chatbot-bubble-btn img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 0;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: none;
}

#ai-chatbot-bubble-btn svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    pointer-events: none;
}

#ai-chatbot-bubble-btn.has-custom-icon svg {
    display: none;
}

#ai-chatbot-bubble-btn:hover {
    background: #278013;
}

#ai-chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.ai-chatbot-hidden {
    display: none !important;
}

#ai-chatbot-header {
    background: #007bff;
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ai-chatbot-header h3 {
    margin: 0;
    font-size: 16px;
}

#ai-chatbot-minimize {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

#ai-chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message.user {
    margin-left: auto;
    background: #007bff;
    color: white;
    padding: 10px;
    border-radius: 15px 15px 0 15px;
}

.message.bot {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 15px 15px 15px 0;
}

#ai-chatbot-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#ai-chatbot-message {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    height: 40px;
}

#ai-chatbot-send {
    background: #007bff;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
}

#ai-chatbot-send:hover {
    background: #0056b3;
}

/* Estado minimizado */
#ai-chatbot-container.minimized {
    height: 60px;
}

#ai-chatbot-container.minimized #ai-chatbot-messages,
#ai-chatbot-container.minimized #ai-chatbot-input {
    display: none;
} 