.statistics-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.navigation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.nav-button {
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.nav-button:hover {
    background-color: #e0e0e0;
}

.statistics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.chart-container {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.totals-table {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.totals-table table {
    width: 100%;
    border-collapse: collapse;
}

.totals-table th,
.totals-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.estimations-container {
    grid-column: 1 / -1;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.estimation-level {
    border-left: 4px solid;
    padding: 10px 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.estimation-level:nth-child(2) {
    border-left-color: #36A2EB;
}

.estimation-level:nth-child(3) {
    border-left-color: #FF6384;
}

.estimation-level.level-1 {
    border-color: #28a745;
}

.estimation-level.level-2 {
    border-color: #ffc107;
}

.estimation-level.level-3 {
    border-color: #dc3545;
}

.estimated-balance {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.calculation-details {
    font-size: 0.9em;
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 4px;
    color: #666;
}

.calculation-details p {
    margin: 0.25rem 0;
}

[data-theme="dark"] .calculation-details {
    background-color: rgba(255,255,255,0.05);
}

.stats-card {
    margin-bottom: 20px;
    border-radius: 8px;
}

.classification-chart {
    max-height: 400px;
    margin: 20px 0;
}

.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.average-label {
    font-size: 0.9em;
    color: #666;
}

.progress-bar-container {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}