/**
 * File Name quality-service.css
 * Theme Name: RENZHUNLA
 * Author: renzhunla
 * Date: 2024/12/19
 * Description: 质量需求和标准众筹界面美化样式
 */

/* 质量需求列表项样式 */
.quality-demand-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.quality-demand-item:hover {
    border-left-color: #46b450;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.demand-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
}

.demand-status.published {
    background: #d4edda;
    color: #155724;
}

.demand-status.matched {
    background: #d1ecf1;
    color: #0c5460;
}

.demand-status.in_progress {
    background: #fff3cd;
    color: #856404;
}

.demand-status.completed {
    background: #d4edda;
    color: #155724;
}

.demand-status.pending {
    background: #f8d7da;
    color: #721c24;
}

/* 标准众筹项目列表项样式 */
.standard-project-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.standard-project-item:hover {
    border-left-color: #e62828;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.project-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
}

.project-status.proposal {
    background: #fff3cd;
    color: #856404;
}

.project-status.voting {
    background: #d1ecf1;
    color: #0c5460;
}

.project-status.crowdfunding {
    background: #d4edda;
    color: #155724;
}

.project-status.manufacturing {
    background: #cfe2ff;
    color: #084298;
}

.project-status.completed {
    background: #d4edda;
    color: #155724;
}

/* 进度条样式 */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #46b450 0%, #4caf50 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 筛选栏样式优化 */
.quality-demand-filters,
.standard-crowdfunding-filters {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.quality-demand-filters select,
.standard-crowdfunding-filters select {
    transition: all 0.3s ease;
}

.quality-demand-filters select:hover,
.standard-crowdfunding-filters select:hover {
    border-color: #46b450;
}

.quality-demand-filters button,
.standard-crowdfunding-filters button {
    transition: all 0.3s ease;
}

.quality-demand-filters button:hover,
.standard-crowdfunding-filters button:hover {
    background: #c9302c;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 移动端样式 */
@media (max-width: 768px) {
    .quality-demand-item,
    .standard-project-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .demand-status,
    .project-status {
        font-size: 11px;
        padding: 3px 8px;
    }
}

