.doc-bg {
    background:#212225;
    color:#fff;
}

.header {
    width: auto;
    padding: 1rem;
}

.suggestion {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.25s;
    background: rgba(255, 255, 255, 0.05);
}

.suggestion:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.ai-icon {
    width: 64px;
    height: 64px;
}

#userAvatars {
    display: flex;
    flex-direction: row-reverse;
}

#userAvatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #171717;
    margin-left: -8px;
    transition: transform 0.2s ease;
}

#userAvatars img:hover {
    transform: translateY(-2px);
    z-index: 2;
}

.inline-ai {
    opacity: 0.9;
    transition: 0.25s;
}

.inline-ai:hover {
    opacity: 1;
}

/* Floating Panel styles */
.floating-panel {
    position: fixed;
    width: 350px;
    height: 700px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-out;
}

[data-bs-theme="dark"] {

    .floating-panel {
        background-color: var(--bs-dark);
    }
}


.floating-panel.minimized {
    height: auto;
}

.floating-panel.minimized .floating-panel-body {
    display: none;
}

.floating-panel-header {
    cursor: move;
    user-select: none;
}


#minimizeCopilot:hover, #closeCopilot:hover {
    opacity: 0.7;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating-panel {
    animation: fadeIn 0.2s ease-out;
}

/* Popover styles */
#copilotPopover {
    width: 400px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

#copilotPopover .offcanvas-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#copilotPopover .btn-close {
    filter: invert(1);
}

#copilotPopover .header {
    width: auto;
    padding: 1rem;
}

#copilotPopover wy-copilot {
    --wy-chat-bg: transparent;
} 