/* 质疑列表页面样式 */
.question-list-page {
    background-color: #f8f9fa;
}

.question-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.question-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.question-header {
    margin-bottom: 12px;
}

.question-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.title-link {
    color: #333;
    text-decoration: none;
}

.title-link:hover {
    color: #007bff;
}

.question-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.meta-type, .meta-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.question-info {
    margin-bottom: 12px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-label {
    font-weight: 500;
    color: #666;
    font-size: 13px;
}

.info-value {
    color: #333;
    font-size: 13px;
}

.bidding-link {
    color: #007bff;
    text-decoration: none;
}

.bidding-link:hover {
    text-decoration: underline;
}

.question-preview {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #e9ecef;
}

.preview-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.question-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

.answer-indicator {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.has-answer {
    background: #d4edda;
    color: #155724;
}

.no-answer {
    background: #fff3cd;
    color: #856404;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.view-count {
    font-size: 12px;
}

.urgent-badge {
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* 侧边栏样式 */
.years-list, .types-list, .status-list, .companies-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.year-item, .type-item, .status-item, .company-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.year-item:hover, .type-item:hover, .status-item:hover, .company-item:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.year-item.active, .type-item.active, .status-item.active, .company-item.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.status-item.status-submitted { border-left: 3px solid #6c757d; }
.status-item.status-under_review { border-left: 3px solid #17a2b8; }
.status-item.status-answered { border-left: 3px solid #28a745; }
.status-item.status-closed { border-left: 3px solid #343a40; }

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.empty-description {
    color: #666;
    margin-bottom: 20px;
}

.empty-action {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

.empty-action:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .question-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .question-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-left, .footer-right {
        width: 100%;
        justify-content: space-between;
    }
}