/* /Components/AIChatOverlay.razor.rz.scp.css */
.ai-chat-fab[b-cjn7o8agx8] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    transition: background-color 0.2s, transform 0.2s;
}

.ai-chat-fab:hover[b-cjn7o8agx8] {
    background-color: #0b5ed7;
    transform: scale(1.05);
}

.ai-chat-window[b-cjn7o8agx8] {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 400px;
    height: 550px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-header[b-cjn7o8agx8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}

.ai-chat-close[b-cjn7o8agx8] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.ai-chat-close:hover[b-cjn7o8agx8] {
    background-color: rgba(255, 255, 255, 0.2);
}

.ai-chat-body[b-cjn7o8agx8] {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

[b-cjn7o8agx8] .ai-chat-component {
    width: 100%;
    height: 100%;
}

[b-cjn7o8agx8] .ai-chat-content > p:last-child {
    margin-bottom: 0;
}

[b-cjn7o8agx8] .ai-chat-content code {
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.9em;
}

[b-cjn7o8agx8] .ai-chat-content pre {
    background-color: #f4f4f4;
    padding: 8px 12px;
    border-radius: 6px;
    overflow-x: auto;
}

@media (max-width: 480px) {
    .ai-chat-window[b-cjn7o8agx8] {
        bottom: 0;
        right: 0;
        width: 100vw;
        height: calc(100vh - 60px);
        border-radius: 12px 12px 0 0;
    }

    .ai-chat-fab[b-cjn7o8agx8] {
        bottom: 16px;
        right: 16px;
    }
}
