/* Galaxitec Chatbot Styles */
#galaxitec-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#galaxitec-chatbot-toggle {
    background-color: #0d1b2a; /* Navy del tema */
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

#galaxitec-chatbot-toggle:hover {
    transform: scale(1.05);
}

#galaxitec-chatbot-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

#galaxitec-chatbot-window.is-active {
    display: flex;
}

#galaxitec-chatbot-header {
    background-color: #0d1b2a;
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

#galaxitec-chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

#galaxitec-chatbot-messages {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    background-color: #f8fafc; /* Cream/light gray */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

.chatbot-msg.bot {
    background-color: #e2e8f0;
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chatbot-msg.user {
    background-color: #0d1b2a;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

#galaxitec-chatbot-options {
    padding: 12px 16px 16px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
}

.chatbot-option-btn {
    background-color: transparent;
    border: 1px solid #0d1b2a;
    color: #0d1b2a;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

.chatbot-option-btn:hover {
    background-color: #0d1b2a;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
