/* Message avatars */
.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.assistant-avatar {
    background-color: #1a73e8;
    color: white;
}

.user-avatar {
    background-color: #e8f0fe;
    color: #1a73e8;
}

/* Spinning animation for loading */
.spinning {
    animation: spin 2s linear infinite;
}

/* Copy button */
.copy-message {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #5f6368;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    padding: 4px;
    border-radius: 4px;
}

.message-bubble:hover .copy-message {
    opacity: 1;
}

.copy-message:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #1a73e8;
}

.copy-message.copied {
    color: #0f9d58;
}
