/* 分析页面样式 */
.analysis-section {
    margin: 30px 0;
}

.chart-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.chart-title {
    text-align: center;
    color: #1a5276;
    margin-bottom: 15px;
    font-weight: bold;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding: 20px;
    background: white;
    border-radius: 4px;
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 80px;
}

.bar {
    width: 50px;
    background: linear-gradient(to top, #1a5276, #2980b9);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.bar:hover {
    opacity: 0.8;
}

.bar-value {
    margin-bottom: 5px;
    font-weight: bold;
    color: #1a5276;
}

.bar-label {
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
    text-align: center;
}

.insight-box {
    background: #e8f6f3;
    border-left: 4px solid #1abc9c;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
}

.insight-box h4 {
    color: #16a085;
    margin-bottom: 10px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.data-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.data-card h4 {
    color: #1a5276;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.data-card .value {
    font-size: 2em;
    font-weight: bold;
    color: #333;
}

/* 分析列表样式 */
.analysis-list {
    margin-top: 20px;
}

.analysis-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analysis-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.analysis-item h3 {
    margin: 0 0 10px 0;
    color: #1a5276;
}

.analysis-item h3 a {
    text-decoration: none;
    color: #1a5276;
    transition: color 0.3s ease;
}

.analysis-item h3 a:hover {
    color: #3498db;
}

.analysis-date {
    color: #666;
    font-size: 14px;
    margin-left: 15px;
    font-weight: normal;
}

.analysis-summary {
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .analysis-item {
        padding: 20px;
    }
}

.data-card .change {
    font-size: 0.85em;
    margin-top: 5px;
}

.change.positive {
    color: #27ae60;
}

.change.negative {
    color: #e74c3c;
}

.region-table th {
    background: #1a5276;
    color: white;
}

.region-table tr:nth-child(even) {
    background: #f8f9fa;
}

.ranking-explanation {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.ranking-explanation h3 {
    color: #1a5276;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.ranking-explanation p {
    margin: 10px 0;
    line-height: 1.6;
}

.ranking-explanation ul {
    margin: 10px 0 10px 30px;
    line-height: 1.8;
    padding-left: 15px;
}

.ranking-explanation li {
    margin: 10px 0;
    color: #333;
    line-height: 1.6;
}

.conclusion {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #1a5276;
}

.conclusion h3 {
    color: #1a5276;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.conclusion ul {
    margin: 10px 0 10px 30px;
    line-height: 1.8;
    padding-left: 15px;
}

.conclusion li {
    margin: 10px 0;
    color: #333;
    line-height: 1.6;
}