#bc-chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: inherit;
}

#bc-chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--bc-chat-accent, #e94560);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    cursor: pointer;
}

#bc-chatbot-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 32px);
    height: 460px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#bc-chatbot-header {
    background: var(--bc-chat-primary, #1a1a2e);
    color: #fff;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bc-chatbot-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

#bc-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f8f9fa;
}

.bc-chat-msg {
    margin-bottom: 10px;
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.bc-chat-msg.bot {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.bc-chat-msg.user {
    background: var(--bc-chat-accent, #e94560);
    color: #fff;
    margin-left: auto;
}

.bc-chat-product {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #ddd;
    font-size: 12px;
}

#bc-chatbot-form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #eee;
}

#bc-chatbot-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 10px;
}

#bc-chatbot-form button {
    border: none;
    background: var(--bc-chat-primary, #1a1a2e);
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

@media (max-width: 480px) {
    #bc-chatbot-panel {
        width: calc(100vw - 32px);
        height: 70vh;
    }
}
