        .legend {
            display: flex;
            justify-content: center;
            gap: 1.8rem;
            margin-top: 0.8rem;
        }
        .legend-color {
            width: 18px;
            height: 18px;
            display: inline-block;
            border-radius: 4px;
            margin-right: 6px;
        }
        .canvas-pie {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.05);
            max-width: 100%;
            height: auto;
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .badge-tax {
            background: #2c6e9e10;
            color: var(--primary-color);
            font-weight: 500;
        }
        footer a {
            text-decoration: none;
        }