/**
 * AI思考过程可视化样式 (纯文本版)
 * 用于展示AI推荐气味时的思考过程的样式
 * 版本: 1.0.0
 */

/* AI思考过程容器 */
#ai-thinking-process {
    background-color: rgba(10, 25, 47, 0.95);
    border-radius: 8px;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    margin: 20px 0;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

/* 思考文本区域 */
.thinking-text {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #64ffda rgba(100, 255, 218, 0.1);
}

.thinking-text::-webkit-scrollbar {
    width: 4px;
}

.thinking-text::-webkit-scrollbar-track {
    background: rgba(100, 255, 218, 0.1);
}

.thinking-text::-webkit-scrollbar-thumb {
    background-color: #64ffda;
    border-radius: 10px;
}

/* 思考行样式 */
.thought-line {
    color: #bbbbbb;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.5;
    word-break: break-word;
    position: relative;
    padding-left: 15px;
}

.thought-line::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #64ffda;
}

.thought-line.thinking-final {
    color: #64ffda;
    font-weight: bold;
}

/* 当前阶段信息 */
.current-stage {
    padding-top: 10px;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
    display: flex;
    align-items: center;
}

.stage-name {
    color: #ffffff;
    font-size: 14px;
    margin-right: 10px;
}

.stage-progress {
    flex: 1;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.stage-progress-bar {
    height: 100%;
    background-color: #64ffda;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease-in-out;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #ai-thinking-process {
        padding: 10px;
    }
    
    .thinking-text {
        max-height: 150px;
    }
}

/* AI思考过程可视化CSS */
.ai-thinking-process {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* 思考步骤样式 */
.thinking-step {
    margin-bottom: 8px;
    padding-left: 3px;
    position: relative;
}

/* 思考步骤前的箭头符号 */
.thinking-step::before {
    content: ">";
    color: #0056b3;
    font-weight: bold;
    margin-right: 8px;
}

/* 进度条容器 */
.thinking-progress-container {
    margin: 10px 0;
    background: #e9ecef;
    border-radius: 3px;
    height: 8px;
    overflow: hidden;
}

/* 进度条 */
.thinking-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    width: 0;
    transition: width 0.3s;
}

/* 阶段指示器 */
.thinking-phase {
    font-weight: bold;
    color: #495057;
    margin: 15px 0 10px 0;
}

/* 强调文本 */
.highlight {
    color: #0d6efd;
    font-weight: 500;
}

/* 完成指示 */
.thinking-complete {
    color: #198754;
    font-weight: bold;
    margin-top: 10px;
}

/* 简单加载容器 */
.simple-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* 加载动画 */
.simple-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0d6efd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* 加载消息 */
.simple-loading-message {
    font-size: 16px;
    color: #495057;
    margin-bottom: 15px;
}

/* 旋转动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 