/* 思考过程样式 - 浅色风格 */

.intent-analyzing-indicator {
    margin: 16px 0;
    animation: fadeIn 0.3s ease-in;
}

.thinking-process {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0e7ff 100%);
    border: 1px solid #d0dfff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(51, 112, 255, 0.08);
    max-width: 600px;
}

.thinking-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.thinking-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.thinking-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.thinking-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.thinking-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thinking-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.thinking-step.pending {
    opacity: 0.5;
}

.thinking-step.active {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(51, 112, 255, 0.12);
}

.thinking-step.completed {
    opacity: 0.8;
    background: #f7f8fa;
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e0e7ff;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.step-dot {
    width: 8px;
    height: 8px;
    background: #c9cdd4;
    border-radius: 50%;
}

.step-check {
    width: 20px;
    height: 20px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    animation: checkPop 0.3s ease-out;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .thinking-process {
        padding: 16px;
        max-width: 100%;
    }
    
    .thinking-header {
        margin-bottom: 16px;
    }
    
    .thinking-title {
        font-size: 14px;
    }
    
    .thinking-steps {
        gap: 10px;
    }
    
    .thinking-step {
        padding: 10px;
    }
    
    .step-title {
        font-size: 13px;
    }
    
    .step-desc {
        font-size: 11px;
    }
}

