.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;
}

.lqd-navbar-inner {
    margin-right: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
}
.iqbot-share { position: relative; }
.iqbot-share-submenu {
  position: absolute;
  top: 0;
  min-width: 160px;
  z-index: 50;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.iqbot-share-submenu.is-right { left: 100%; margin-left: 4px; }
.iqbot-share-submenu.is-left  { right: 100%; margin-right: 4px; }
.height-full-half {
    height: calc(100% - -10px);
    
    @media screen and (max-width: 767px) {
        height: calc(100% - 50px);
    }
}
.max-h-94vh {
    max-height: 93vh !important;
}
.customAIBotContainer div#lqd-ext-chatbot-wrap {
    position: absolute;
    bottom: 70px;
    z-index: 85 !important;
}
.chatbot-header-index {
    z-index: 99 !important;
}

.verticalIqbotBar .vertical-wrap {
    display: flex;
    gap: 5px;
    height: 100vh;
    flex-direction: row;

    @media screen and (max-width: 767px) { 
        flex-direction: column;
    }
}

.verticalIqbotBar .vertical-wrap .vertical-bar {
    min-width: auto;
    overflow: hidden;
}

.verticalIqbotBar .vertical-wrap .vertical-bar-wrap {
    width: 100%;
}

.verticalIqbotBar .vertical-wrap .vertical-sidebtn {
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.verticalIqbotBar .vertical-wrap .height-full-half {
    height: calc(100% - -40px);
}

.IqbotBar {
    z-index: 99999 !important;
}

.MinimizeIqbotBar {
    z-index: 999999 !important;
}

.lqd-chatbot-edit-window.preview-is-maximized {
    left: 0 !important; 
}