/* 统计页面 */
.stats-container {
    padding: 20px;
    overflow-y: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card.positive {
    border-left: 4px solid #10b981;
}

.stat-card.negative {
    border-left: 4px solid #ef4444;
}

.stat-label {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.stats-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.detail-section h3 {
    margin-bottom: 15px;
    color: #1f2937;
}

.detail-list {
    max-height: 400px;
    overflow-y: auto;
}

.detail-item {
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
    border-bottom: none;
}

/* 负面/正面评价模态框 */
#negative-evaluations-modal .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#negative-evaluations-modal .modal-content {
    background: white;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

#negative-evaluations-modal .evaluation-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    background: #fff5f5;
}

#negative-evaluations-modal .positive-card {
    background: #f0fff0;
}

.negative-evaluations-modal img,
.positive-evaluations-modal img {
    max-width: 300px;
    height: auto;
    margin: 5px 0;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.negative-evaluations-modal .answer-content,
.positive-evaluations-modal .answer-content {
    line-height: 1.6;
}

.negative-evaluations-modal .answer-content img,
.positive-evaluations-modal .answer-content img {
    margin: 10px 0;
}