.mwai-reply-actions:has(.mwai-ab-button) {
    position: relative !important;
    top: unset !important;
    right: unset !important;
    margin-top: 7px;
    gap: 4px;
    background: unset !important;
    box-shadow: unset !important;
}
.mwai-hidden:has(.mwai-ab-button) {
    opacity: 1 !important;
}
.mwai-ab-button, .mwai-copy-button {
    fill: var(--mwai-fontColor);
    padding: 5px 8px;
    width: 36px !important;
    height: 36px !important;
    background: var(--mwai-backgroundPrimaryColor);
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mwai-ab-button:hover, .mwai-copy-button:hover {
    filter: brightness(1.2) !important;
}
.mwai-messages-theme .mwai-ab-button:hover, .mwai-messages-theme .mwai-copy-button:hover, .mwai-timeless-theme .mwai-ab-button:hover, .mwai-timeless-theme .mwai-copy-button:hover {
    fill: #fafafa !important;
    background: linear-gradient(130deg, #272fdc 0%, #09a9f8 100%) !important;
}
/* Add ellipsis after full conversation buttons */
.mwai-full-conversation-button::after {
    content: "…";
    font-size: 10px;
    margin-left: 2px;
    opacity: 0.7;
}

.mwai-timeless-theme .mwai-global-buttons-container, .mwai-messages-theme .mwai-global-buttons-container {
    --mwai-borderColor: rgba(0, 0, 0, 0.15);
}
/* Global buttons container styling */
.mwai-global-buttons-container {
    padding: 10px;
    border-top: 1px solid var(--mwai-borderColor, #444);
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    background: var(--mwai-backgroundSecondaryColor);
}