.chart-wrapper{
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
}

.chart-header{
    text-align: center;
    margin-bottom: 40px;
}

.chart-heading{
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.chart-subtitle{
    font-size: 15px;
    color: #64748b;
}

.chart-divider{
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: 99px;
    margin: 0 auto 30px;
}

.chart-row{
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    padding: 0 16px;
}

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

.chart-card{
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e2e8f0;
}

.chart-topbar{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.chart-badge{
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
}

.chart-canvas-wrapper{
    position: relative;
}

.chart-canvas-wrapper.large{
    height: 320px;
}

.chart-canvas-wrapper.small{
    height: 320px;
}

/* Hover zoom effect pada chart */
.chart-canvas-wrapper canvas {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}

.chart-canvas-wrapper canvas:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.chart-card {
    transition: box-shadow 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* RESPONSIVE */
@media(max-width:768px){
    .chart-heading { font-size: 1.4rem !important; }
    .chart-subtitle { font-size: 0.9rem !important; }
    .chart-canvas-wrapper.large,
    .chart-canvas-wrapper.small { height: 220px !important; }
}
