 
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 0.8rem;
            flex-wrap: wrap;
        }
        .legend-color {
            width: 18px;
            height: 18px;
            display: inline-block;
            border-radius: 4px;
            margin-right: 6px;
        }
      .canvas-chart {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            display: block;
        }
        .badge-custom {
            background: var(--primary-color);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 30px;
            font-size: 0.75rem;
        }
        .footer a {
            color: #cddcec;
            text-decoration: none;
        }
        @media (max-width: 768px) {
            }
        .legend-note {
            font-size: 0.75rem;
            color: #6c757d;
            margin-top: 0.5rem;
            text-align: center;
        }