.n8n-chat-widget-container {
    position: fixed;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.n8n-chat-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.n8n-chat-bubble:hover {
    transform: scale(1.1);
}

.n8n-chat-window {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 300px;
    height: 420px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.n8n-chat-window.active {
    display: flex;
}

.n8n-chat-header {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.n8n-chat-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.n8n-chat-close {
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 20px;
    color: inherit;
}

.n8n-chat-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.n8n-message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
}

.n8n-message-bot {
    align-self: flex-start;
    background: #e9e9eb;
    color: #000;
    border-bottom-left-radius: 4px;
}

.n8n-message-user {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.n8n-chat-input-area {
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.n8n-chat-input-area input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 7px 12px;
    font-size: 13px;
    outline: none;
}

.n8n-chat-input-area button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.n8n-typing-indicator {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: none;
}