/**
 * 思考进度条样式
 * Thinking Progress Bar Styles
 */

/* 思考进度条容器 */
.thinking-progress-container {
    display: none;
    background: #e8f0fe;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    margin-right: auto;
    max-width: 300px;
    border: 1px solid #c2d7ff;
    box-shadow: 0 1px 4px rgba(26,115,232,0.1);
    transition: all 0.3s ease;
}

.thinking-progress-container.active {
    display: block;
    animation: fadeInUp 0.3s ease-in-out;
}

/* 思考进度条 */
.thinking-progress-bar {
    width: 100%;
    height: 3px;
    background-color: rgba(26, 115, 232, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.thinking-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1a73e8, transparent);
    animation: progressSlide 2s infinite;
}

.thinking-progress-bar.completed::before {
    left: 0;
    width: 100%;
    background: #1a73e8;
    animation: none;
}

/* 思考状态文本 */
.thinking-status {
    font-size: 13px;
    color: #1a73e8;
    font-style: italic;
    line-height: 1.4;
}

.thinking-status.thinking-completed {
    color: #4caf50;
    font-weight: 500;
}

/* 进度条动画 */
@keyframes progressSlide {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .thinking-progress-container {
        max-width: 95%;
        padding: 10px 12px;
        font-size: 14px;
    }

    .thinking-status {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .thinking-progress-container {
        max-width: 98%;
        padding: 8px 10px;
    }

    .thinking-status {
        font-size: 11px;
    }
}
