/* Statistics Section */
.stats-section {
    margin-bottom: 30px;
}

.stats-card {
    border-left: 4px solid #059669;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    transition: all 0.3s ease;
    overflow: hidden;
}

.stats-card .card-header {
    background: linear-gradient(90deg, rgba(5, 150, 105, 0.05) 0%, rgba(5, 150, 105, 0.02) 100%);
    margin: -24px -24px 20px -24px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.stats-card .card-header h3 {
    color: #047857;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-container {
    min-height: 200px;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 20px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.stats-empty,
.stats-error {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

.stats-error {
    color: #dc2626;
    border-color: #fecaca;
    background: rgba(254, 226, 226, 0.3);
}

.stats-empty::before {
    content: "📊";
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

.stats-error::before {
    content: "⚠️";
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Chart.js responsive container */
.chart-wrapper canvas {
    max-height: 360px !important;
    border-radius: 8px;
}

/* Statistics separator */
.stats-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #059669 20%, #059669 80%, transparent 100%);
    margin: 30px 0;
    border-radius: 1px;
}

/* Dashboard sections organization */
.dashboard-main {
    margin-bottom: 30px;
}

.main-balance-section {
    margin-bottom: 40px;
}

.statistics-section {
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.transactions-section {
    margin-bottom: 30px;
}

.info-section {
    margin-bottom: 50px;
}
