#ai-assistant {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -6px 0 25px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    transition: right .35s ease;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

#ai-assistant.open {
    right: 0;
}

/* Header like Wix */
.ai-header {
    height: 60px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 600;
}

.ai-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-header img {
    height: 28px;
}

#ai-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding-right: 0px;
}

/* Body where chatbot lives */
.ai-body {
    flex: 1;
    overflow: auto;
    padding: 10px;
    background: #F1F2F4;
}

/* Make chatbot stretch */
.ai-body .mwai-chatbot {
    height: 100%;
}

/* Toggle button */
#ai-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #1F2A44;
    color: #fff;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
    z-index: 999999;
}

.ai-body .mwai-body {
    height: calc(100vh - 60px) !important;
}

.mwai-trigger.mwai-open-button {
    display: none;
}

/* Hide AI Engine download button */
#ai-assistant .mwai-download,
#ai-assistant .mwai-copy-button~.mwai-download,
#ai-assistant [class*="download"] {
    display: none !important;
}

/* Remove bullet point from bold-only header lines in AI replies */
#ai-assistant .mwai-reply ul li:has(> strong:only-child) {
    list-style: none;
    margin-left: -20px;
}

/* Add spacing around the hr green divider */
#ai-assistant .mwai-reply hr {
    margin: 14px 0;
}

/* ── Quick action cards: right caret ───────────────────────────── */
.mwai-shortcuts button.hl-action::after {
    font-family: 'bb-icons';
    /* BuddyBoss icon font */
    content: '\f105';
    /* angle-right / chevron-right */
    font-size: 16px;
    font-weight: 400;
    color: #9aa0aa;
    margin-left: auto;
    flex-shrink: 0;
    line-height: 1;
    content: '\e827';
}

/* Nudge the icon slightly left so it aligns closer to the card edge */
.hl-action .mwai-icon {
    margin-left: -4px;
}