/*
 * Radar chart modals of the Facets profile element (components/views/facets_item.php).
 * The chart is drawn when the modal has opened (js/chartjs_radar.js,
 * render_radar_chart_in_modal) and grows out of the centre; the container fades in.
 */
.radar-chart-modal .radar-container {
    position: relative;
    height: 380px;
}

.radar-chart-modal .radar-container.is-entering {
    animation: radar-chart-enter 0.45s ease-out both;
}

@keyframes radar-chart-enter {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .radar-chart-modal .radar-container.is-entering {
        animation: none;
    }
}
