/**
 * AI内容检测功能样式
 * 为AI内容检测界面提供专业的样式支持
 */

/* 检测评分样式 */
.detection-score {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2em;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 2px rgba(231, 76, 60, 0.1);
}

/* 检测特征标题样式 */
.detection-feature-title {
    color: #3498db;
    font-weight: bold;
    font-size: 1.1em;
    border-left: 3px solid #3498db;
    padding-left: 10px;
    margin: 15px 0 10px 0;
}

/* 检测建议标题样式 */
.detection-suggestion-title {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1em;
    border-left: 3px solid #27ae60;
    padding-left: 10px;
    margin: 15px 0 10px 0;
}

/* 检测结果容器样式 */
.detection-result-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 检测评分卡片样式 */
.detection-score-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e74c3c;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detection-score-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.2);
}

.detection-score-card .score-label {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detection-score-card .score-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #e74c3c;
    margin: 10px 0;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
}

.detection-score-card .score-description {
    font-size: 0.9em;
    color: #495057;
    margin-top: 10px;
}

/* 检测特征列表样式 */
.detection-features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.detection-features-list li {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.detection-features-list li:hover {
    border-color: #3498db;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.detection-features-list .feature-icon {
    color: #3498db;
    margin-right: 10px;
    font-size: 1.2em;
}

.detection-features-list .feature-name {
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.detection-features-list .feature-value {
    color: #6c757d;
    font-size: 0.9em;
}

/* 检测建议样式 */
.detection-suggestions {
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.detection-suggestions .suggestion-item {
    background: #fff;
    border-left: 4px solid #27ae60;
    padding: 15px;
    margin: 10px 0;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.1);
}

.detection-suggestions .suggestion-title {
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 8px;
}

.detection-suggestions .suggestion-content {
    color: #495057;
    line-height: 1.6;
}

/* 检测方法选择器样式 */
.detection-method-selector {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    transition: border-color 0.3s ease;
}

.detection-method-selector:hover {
    border-color: #3498db;
}

.detection-method-selector .method-option {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.detection-method-selector .method-option:hover {
    background-color: #f8f9fa;
}

.detection-method-selector .method-option.selected {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
}

.detection-method-selector .method-icon {
    color: #3498db;
    margin-right: 10px;
    font-size: 1.2em;
}

/* 分析特征选择器样式 */
.analysis-features-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.analysis-features-selector .feature-checkbox {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analysis-features-selector .feature-checkbox:hover {
    border-color: #3498db;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.analysis-features-selector .feature-checkbox.checked {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.analysis-features-selector .feature-checkbox input[type="checkbox"] {
    margin-right: 8px;
}

/* 检测进度指示器样式 */
.detection-progress {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    color: white;
    text-align: center;
}

.detection-progress .progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 8px;
    margin: 15px 0;
    overflow: hidden;
}

.detection-progress .progress-fill {
    background: linear-gradient(90deg, #fff, #f0f0f0);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
    animation: progress-animation 2s ease-in-out infinite;
}

@keyframes progress-animation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* 检测结果统计样式 */
.detection-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.detection-stats .stat-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detection-stats .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detection-stats .stat-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.detection-stats .stat-label {
    font-size: 0.9em;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 检测结果可视化样式 */
.detection-visualization {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.detection-visualization .chart-container {
    height: 300px;
    margin: 15px 0;
    position: relative;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detection-score-card .score-value {
        font-size: 2em;
    }
    
    .analysis-features-selector {
        grid-template-columns: 1fr;
    }
    
    .detection-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detection-features-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detection-features-list .feature-icon {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .detection-stats {
        grid-template-columns: 1fr;
    }
    
    .detection-score-card {
        padding: 15px;
    }
    
    .detection-score-card .score-value {
        font-size: 1.8em;
    }
}

/* 暗色主题支持 */
@media (prefers-color-scheme: dark) {
    .detection-result-container {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .detection-score-card {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border-color: #e74c3c;
        color: #e2e8f0;
    }
    
    .detection-features-list li {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .detection-features-list li:hover {
        border-color: #3498db;
        background: #3a4a5c;
    }
    
    .detection-suggestions {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .detection-suggestions .suggestion-item {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .detection-method-selector {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .detection-method-selector .method-option:hover {
        background-color: #3a4a5c;
    }
    
    .detection-method-selector .method-option.selected {
        background-color: #2c5282;
        border-color: #3182ce;
    }
    
    .analysis-features-selector .feature-checkbox {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .analysis-features-selector .feature-checkbox:hover {
        border-color: #3498db;
        background: #3a4a5c;
    }
    
    .analysis-features-selector .feature-checkbox.checked {
        background-color: #2c5282;
        border-color: #3182ce;
    }
    
    .detection-stats .stat-card {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .detection-stats .stat-value {
        color: #e2e8f0;
    }
    
    .detection-visualization {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
} 