.grow:has(> a[href*="magicaidocs.liquid-themes.com"]) {
    display: none !important;
}

.lqd-alert:has(a[href*="magicaidocs.liquid-themes.com"]) {
    display: none !important;
}
.sort {
    cursor: pointer;
    border: none;
    background: transparent;
    font-weight: 600;
}

.sort.asc::after {
    content: " ▲";
}

.sort.desc::after {
    content: " ▼";
}
#workbook_textarea .tox .tox-sidebar-wrap {
    border: 1px solid #ebebeb;
    margin-top: 10px;
    border-radius: 10px;
}
.min-h-\[41px\] {
    min-height: 41px;
}

.lqd-ext-chatbot-history-messages-wrap {
    .lqd-ext-chatbot-history-messages {
        height: calc(100dvh - 77px) !important;

        @media screen and (max-width: 575px) {
            height: calc(100dvh - 170px) !important;
        }
    }
}
.lqd-price-table .lqd-modal.lqd-modal-default.relative {
    position: unset !important;
}
/* .custom-purple: purple-900 background + white text, overrides other rules */
.custom-purple {
    background-color: #320580 !important; /* Tailwind purple-900 */
    color: #ffffff !important;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

/* hover / focus */
.custom-purple:hover,
.custom-purple:focus {
    background-color: #000000 !important; /* black on hover */
    color: #ffffff !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

/* keyboard-visible focus (better accessibility) */
.custom-purple:focus-visible {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); /* subtle focus ring */
}

/* optional disabled state */
.custom-purple[disabled],
.custom-purple.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}
