/* Process Manager classic admin icons (self-contained, no external assets). */
.pimcore_nav_icon_process_manager {
    background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI5Ii8+PHBvbHlsaW5lIHBvaW50cz0iMTIgNyAxMiAxMiAxNSAxNSIvPjwvc3ZnPg==) center center no-repeat !important;
    background-size: 22px 22px !important;
}

.pimcore_icon_process_manager {
    background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM0YTRhNGEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI5Ii8+PHBvbHlsaW5lIHBvaW50cz0iMTIgNyAxMiAxMiAxNSAxNSIvPjwvc3ZnPg==) center center no-repeat !important;
    background-size: 16px 16px !important;
}

/* Animated spinner for the "running" status in the Process Manager history grid. */
.pimcore_process_manager_icon_running {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-top-color: #4a90e2;
    border-radius: 50%;
    animation: pimcore_process_manager_spin 0.8s linear infinite;
}

@keyframes pimcore_process_manager_spin {
    to {
        transform: rotate(360deg);
    }
}

/* Pimcore's own "stop" and "cancel" classes both resolve to cancel.svg, so abandoned
   would be indistinguishable from cancelled. Longhands on purpose: the "background"
   shorthand would reset the background-size set below. */
.pimcore_process_manager_icon_abandoned {
    background-image: url(/bundles/pimcoreadmin/img/flat-color-icons/broken_link.svg);
    background-position: center center;
    background-repeat: no-repeat;
}

.pimcore_process_manager_status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pimcore_process_manager_status_icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: none;
    /* Pimcore sets its icons with the "background" shorthand and !important, which resets
       background-size to auto. Without !important here the 24px artwork is not scaled but
       cropped to this 16px box, flattening the edges of the round icons. */
    background-size: 16px 16px !important;
}
