.menexa-ai-bot-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    font-family: Arial, sans-serif;
}

.menexa-ai-bot-toggle {
    width: 62px;
    height: 62px;
    border: 0;
    background: var(--menexa-ai-bot-accent, #111111);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.menexa-ai-bot-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 360px;
    max-width: calc(100vw - 24px);
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.menexa-ai-bot-panel.d-none {
    display: none;
}

.menexa-ai-bot-panel .card-header,
.menexa-ai-bot-panel .card-footer {
    padding: 14px;
    background: #f7f7f7;
}

.menexa-ai-bot-panel .card-body {
    padding: 14px;
    background: #ffffff;
}

.menexa-ai-bot-messages {
    min-height: 280px;
    max-height: 420px;
    overflow-y: auto;
}

.menexa-ai-bot-bubble {
    display: inline-block;
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.menexa-ai-bot-bubble.user {
    background: var(--menexa-ai-bot-accent, #111111);
    color: #ffffff;
}

.menexa-ai-bot-bubble.assistant {
    background: #f1f1f1;
    color: #111111;
}

.menexa-ai-bot-row.user {
    text-align: right;
}

.menexa-ai-bot-row.assistant {
    text-align: left;
}

.menexa-ai-bot-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 11px;
    background: var(--menexa-ai-bot-accent, #111111);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .menexa-ai-bot-widget {
        right: 12px;
        bottom: 12px;
    }

    .menexa-ai-bot-panel {
        width: calc(100vw - 24px);
        bottom: 72px;
    }
}
