/* Rotate only the original loading icon, never the overlay or its text.
   Explicit keyframes avoid depending on the plugin's document-ready injection. */
@keyframes stc-overlay-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
html body .loadingoverlay .loadingoverlay_element.stc-loading-spinner {
    transform-origin: 50% 50%;
    animation: stc-overlay-spin 1.2s linear infinite !important;
    animation-play-state: running !important;
}
@media (prefers-reduced-motion: reduce) {
    html body .loadingoverlay .loadingoverlay_element.stc-loading-spinner {
        animation-duration: 3s !important;
    }
}
@media print {
    html body .loadingoverlay { display: none !important; }
}