.main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}
.chart-section {
    background: linear-gradient(135deg, #2863a9 0%, #5bc0eb 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    position: relative;
}
.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(91, 192, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(103, 126, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.chart-header {
    text-align: center;
    margin-bottom: 30px;
    z-index: 1;
}
.chart-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.chart-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}
.chart-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    z-index: 1;
    margin-bottom: 40px;
}
.donut-chart {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
}
.legend-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 450px;
    z-index: 1;
}
.legend-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.legend-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}
.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.legend-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 5px 0;
}
.legend-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}
.data-section {
    padding: 50px 40px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2863a9;
    margin-bottom: 10px;
}
.total-beneficiaries {
    background: linear-gradient(135deg, #2863a9 0%, #5bc0eb 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
.total-number {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}
.total-label {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}
.program-item {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    border-left: 5px solid #2863a9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.program-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left-color: #2863a9;
}
.program-name {
    font-size: 1.1rem;
    color: #2863a9;
    margin: 0;
    font-weight: 500;
}
.program-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2863a9;
    min-width: 60px;
    text-align: right;
}
.program-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2863a9 0%, #5bc0eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 1.2rem;
}
.program-content {
    display: flex;
    align-items: center;
    flex: 1;
}
@media (max-width: 992px) {
    .legend-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .chart-section {
        padding: 40px 30px;
    }
    .data-section {
        padding: 30px 20px;
    }
    .chart-title {
        font-size: 1.5rem;
    }
}