body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #0052cc;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
}

.subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 5px;
}

.chart-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.chart-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #172b4d;
    font-weight: 500;
}

.chart-description {
    margin-bottom: 20px;
    color: #5e6c84;
    line-height: 1.6;
}

.insights {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.insights h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #172b4d;
    font-weight: 500;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.insight-card {
    background-color: #f4f5f7;
    border-radius: 6px;
    padding: 15px;
    border-left: 4px solid #0052cc;
}

.insight-card h3 {
    margin-top: 0;
    font-size: 16px;
    color: #172b4d;
}

.insight-card p {
    margin-bottom: 0;
    color: #5e6c84;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dfe1e6;
}

.data-table th {
    background-color: #f4f5f7;
    color: #172b4d;
    font-weight: 500;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.data-table td {
    color: #5e6c84;
}

.data-table td.highlight {
    font-weight: 500;
    color: #172b4d;
}

.data-table td.positive {
    color: #36b37e;
    font-weight: 500;
}

.data-table td.negative {
    color: #ff5630;
    font-weight: 500;
}

.monthly-breakdown {
    margin-top: 40px;
}

.monthly-breakdown h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #172b4d;
}

.monthly-breakdown .chart-container {
    margin-bottom: 40px;
}

.monthly-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .monthly-charts {
        grid-template-columns: 1fr;
    }
}

footer {
    background-color: #172b4d;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
}

.legend-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 8px;
}

.chart-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.chart-option {
    padding: 8px 15px;
    background-color: #f4f5f7;
    border: 1px solid #dfe1e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.chart-option:hover {
    background-color: #ebecf0;
}

.chart-option.active {
    background-color: #0052cc;
    color: white;
    border-color: #0052cc;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-options {
        flex-wrap: wrap;
    }
}