* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.dashboard-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2c3e50;
}
.dashboard-header p {
    color: #7f8c8d;
    font-size: 16px;
}
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}
.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.card-header h2 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
}
.card-body {
    padding: 20px;
}
.card-body-compact {
    padding: 10px 20px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
.metric-card {
    padding: 15px;
    border-radius: 6px;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.metric-card.blue {
    background-color: #3498db;
}
.metric-card.green {
    background-color: #2ecc71;
}
.metric-card.orange {
    background-color: #f39c12;
}
.metric-card.purple {
    background-color: #9b59b6;
}
.metric-card.red {
    background-color: #e74c3c;
}
.metric-label {
    font-size: 14px;
    opacity: 0.8;
}
.metric-value {
    font-size: 24px;
    font-weight: bold;
    margin: 5px 0;
}
.metric-context {
    font-size: 12px;
    opacity: 0.7;
    margin-top: auto;
}
.chart-container {
    height: 300px;
    position: relative;
}
.extreme-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.extreme-card {
    padding: 15px;
    border-radius: 6px;
}
.extreme-card.positive {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
}
.extreme-card.negative {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
}
.extreme-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #2c3e50;
}
.extreme-card p {
    font-size: 14px;
    margin: 5px 0;
    color: #7f8c8d;
}
.extreme-card .highlight {
    font-weight: bold;
}
.summary-list {
    margin: 15px 0;
}
.summary-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    list-style-type: none;
}
.summary-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}
.summary-list strong {
    color: #2c3e50;
}
.correlation-value {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}
.correlation-value.negative {
    color: #e74c3c;
}
.correlation-label {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
}
.recommendation {
    background-color: #fffaec;
    border-left: 4px solid #f1c40f;
    padding: 15px;
    margin-top: 15px;
    border-radius: 4px;
}
.recommendation h3 {
    color: #d35400;
    margin-bottom: 10px;
}
.recommendation p {
    font-size: 14px;
}
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}
.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}