#webbitflow-chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--webbitflow-chat-primary);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: transform 0.3s ease;
} 

#webbitflow-chat-bubble:hover { transform: scale(1.05); }
#webbitflow-chat-bubble span { font-size: 28px; color: var(--webbitflow-chat-text); }

#webbitflow-chat-window {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 370px;
    max-width: 90%;
    height: 500px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.webbitflow-chat-header {
    background-color: var(--webbitflow-chat-primary);
    color: var(--webbitflow-chat-text);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.webbitflow-chat-header-info { display: flex; align-items: center; gap: 8px; }
.webbitflow-chat-header-status { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; }
.webbitflow-chat-title { font-size: 15px; }
#webbitflow-chat-close { background: none; border: none; color: inherit; font-size: 16px; cursor: pointer; opacity: 0.8; }
#webbitflow-chat-close:hover { opacity: 1; }

.webbitflow-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.webbitflow-message { display: flex; width: 100%; }
.webbitflow-msg-bubble { max-width: 75%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; word-break: break-word; }

.webbitflow-msg-bot { justify-content: flex-start; }
.webbitflow-msg-bot .webbitflow-msg-bubble { background: #e9ecef; color: #212529; border-bottom-left-radius: 2px; }
.webbitflow-msg-user { justify-content: flex-end; }
.webbitflow-msg-user .webbitflow-msg-bubble { background-color: var(--webbitflow-chat-primary); color: var(--webbitflow-chat-text); border-bottom-right-radius: 2px; }

.webbitflow-chat-input-area { display: flex; border-top: 1px solid #dee2e6; background: #fff; padding: 10px; gap: 8px; }
#webbitflow-chat-input { color: #212529; flex: 1; border: 1px solid #ced4da; padding: 8px 12px; border-radius: 20px; font-size: 14px; outline: none; }
#webbitflow-chat-input:focus { border-color: var(--webbitflow-chat-primary); }
#webbitflow-chat-send { background-color: var(--webbitflow-chat-primary); color: var(--webbitflow-chat-text); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.webbitflow-chat-footer-disclaimer { font-size: 10px; color: #6c757d; text-align: center; padding: 6px 10px; background: #fff; border-top: 1px solid #f1f3f5; line-height: 1.2; }