/* LLM Chat Launcher Widget Styles */
.note-context-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.note-context-chat-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
}

.chat-message {
    display: flex;
    margin-bottom: 15px;
    max-width: 85%;
}

.chat-message.user-message {
    margin-inline-start: auto;
}

.chat-message.assistant-message {
    margin-inline-end: auto;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 8px;
}

.user-message .message-avatar {
    background-color: var(--primary-color);
    color: white;
}

.assistant-message .message-avatar {
    background-color: var(--secondary-color);
    color: white;
}

.message-content {
    background-color: var(--more-accented-background-color);
    border-radius: 12px;
    padding: 10px 15px;
    max-width: calc(100% - 40px);
}

.user-message .message-content {
    background-color: var(--accented-background-color);
}

.message-content pre {
    background-color: var(--code-background-color);
    border-radius: 5px;
    padding: 10px;
    overflow-x: auto;
    max-width: 100%;
}

.message-content code {
    background-color: var(--code-background-color);
    padding: 2px 4px;
    border-radius: 3px;
}

.loading-indicator {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: var(--muted-text-color);
}

.sources-container {
    background-color: var(--accented-background-color);
    border-top: 1px solid var(--main-border-color);
    padding: 8px;
}

.sources-list {
    font-size: 0.9em;
}

.source-item {
    padding: 4px 0;
}

.source-link {
    color: var(--link-color);
    text-decoration: none;
}

.source-link:hover {
    text-decoration: underline;
}

.note-context-chat-form {
    display: flex;
    background-color: var(--main-background-color);
    border-top: 1px solid var(--main-border-color);
    padding: 10px;
}

.note-context-chat-input {
    resize: vertical;
    min-height: 44px;
    max-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chat-message {
        max-width: 95%;
    }
} 