.svgbuilder-svg {
    height:100%;
    max-width:100%;
}

/* styling of the tooltip display */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#svgchart-tooltip {
    display: none;
    position: absolute;
    top: -60px;
    z-index: 1;
    background: #1F1F1F;
    padding: 8px;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    animation: fadeIn 0.5s;
}

#svgchart-tooltip-legend {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 4px;
    vertical-align: middle;
}

#svgchart-tooltip-label {
    display: inline-block;
    vertical-align: middle;
}


@keyframes highlight {
    0% {
        filter: brightness(100%);
    }

    100% {
        filter: brightness(130%);
    }
}

@keyframes easebrandcolor {
    0% {
        fill: var(--bs-color);
    }

    100% {
        fill: var(--brand-color);
    }
}


.svgchart-wrapper {
}

.svgchart-legend-item,
.svgchart-bar,
.svgchart-line-node,
.svgchart-pie-segment,
.svgchart-doughnut-segment,
.svgchart-funnel-segment,
.svgchart-doughnut-series-value {
    cursor: pointer;
}

    .svgchart-legend-item:hover,
    .svgchart-bar:hover,
    .svgchart-line-node:hover,
    .svgchart-pie-segment:hover,
    .svgchart-doughnut-segment:hover,
    .svgchart-funnel-segment:hover {
        animation: 0.3s ease-in highlight;
        filter: brightness(130%);
    }

    .svgchart-doughnut-series-value:hover > text {
        animation: 0.2s ease-in easebrandcolor;
        fill: var(--brand-color);
    }
