/* AI Chat Widget — right-side drawer override (Rostero.Web only) */

.ai-widget-panel {
    /* beat the inline right/bottom set by AiChatWidget.razor */
    right: 0 !important;
    bottom: 0 !important;
    top: 65px !important;
    left: auto;
    width: 420px;
    height: 100vh;
    max-height: 92vh;
    border-radius: 0;
    border-left: 1px solid var(--ai-widget-border);
    border-top: none;
    border-bottom: none;
    border-right: none;
    animation: ai-drawer-slide-in 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ai-drawer-slide-in {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .ai-widget-panel {
        width: 100vw;
    }
}

.ai-widget-trigger {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
}

    .ai-widget-trigger span {
        font-size: 18px;
    }

.ai-widget-trigger--open {
    display: none;
}


.ai-widget-trigger {
    z-index: 2147483000 !important;
}

.ai-widget-panel {
    z-index: 2147483001 !important;
}