/* ChatGPT 스타일 Thinking 애니메이션 */
.thinking-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    animation: fadeIn 0.3s ease;
}

.thinking-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.thinking-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--assistant-msg-bg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.thinking-text {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* 타이핑 커서 */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--text-primary);
    margin-left: 2px;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* 스트리밍 메시지 */
.streaming-content {
    line-height: 1.7;
}
