/* vc-spinner.css - [30.11.2026, operator: "spinners in page still the old round type - use the vcost 4 points design"] ONE home for the house
   loading picture (four dots orange / amber / blue / green on one orbit). Loaded by _Layout on every page, last; _PrintLayout and
   _MobileLayout load it too.
   [01.12.2026, operator: "review app spinner usage - 4 point is general ... remove the others"] the ONLY loading indicator of the app:
   Bootstrap rings / grow dots, Font Awesome spin icons and the page-own rings are gone from the markup. A new loader needs no CSS of its own:
     <span class="vc-dots"></span>                 any size (default 2rem; set width / height for another)
     <span class="vc-dots vc-dots-sm"></span>      small, inline in a button, chip or text line (1em)
     <span class="vc-spin">wird geladen …</span>   the dots in front of a loading text
   Progress bars (Pace, determinate bars, the 2 px tab bar of section-divider.css) are not spinners and stay. */
@keyframes vcDtTurn { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.78); } 100% { transform: rotate(360deg) scale(1); } }

/* default box (zero specificity: any page rule that sizes a loader wins) */
:where(.vc-dots) { display: inline-block; width: 2rem; height: 2rem; vertical-align: middle; }
.vc-dots.vc-dots-sm { width: 1em; height: 1em; min-width: 10px; min-height: 10px; vertical-align: -.15em; }

/* [21.11.2026] the dots in front of a loading text: <span class="vc-spin">…</span>, and the automatic variant (vc-loading-spin.js), where the
   element keeps its own display, colour and weight */
.vc-spin { display: inline-flex; align-items: center; gap: 10px; color: #64748b; font-weight: 600; }
.vc-spin::before { content: ""; flex: 0 0 auto; width: 15px; height: 15px; }
body.dark-skin .vc-spin { color: rgba(226,232,240,.7); }
.vc-spin-auto::before { content: ""; display: inline-block; vertical-align: middle; width: 15px; height: 15px; margin: 0 10px 0 2px; }
/* a loader that already stands before the text (vc-dots, then the text) keeps the text without dots of its own */
.vc-dots ~ .vc-spin-auto::before { content: none !important; display: none !important; }

/* THE picture: four background dots placed in percent of the box, so it fits a 10 px chip and a 56 px loader card alike. The pseudo
   elements below are busy states drawn by CSS alone (a button / chip / chart slot while it loads) - they cannot carry a class. */
.vc-dots,
.vc-spin::before, .vc-spin-auto::before,
.ctr-chart-slot.is-loading::before,
.prj-chart-slot.is-loading::before,
.diff-export-pdf.is-busy::after, .diff-export-excel.is-busy::after, .diff-export-sbq.is-busy::after,
.cl-kgtab.is-loading::after,
.filter-loading::after,
.expand-inline.is-busy::after,
.invoice-modern-table .table-toggle-button.tt-busy::after,
.diff-modern .table-toggle-button.tt-busy::after,
.inv-filter-row label.is-busy::after,
.flt-chip.is-busy::after,
.ibn-nl-save.is-busy::after,
.tbl-peek-bar.is-busy::after, .tbl-peek-head.is-busy::after,
.vc-win-reload.is-busy svg {
    border: 0 !important; border-radius: 0 !important; -webkit-mask: none !important; mask: none !important; box-shadow: none !important;
    background:
        radial-gradient(circle closest-side, #ea5b2a 92%, transparent 100%) 50% 0 / 30% 30% no-repeat,
        radial-gradient(circle closest-side, #d6a93f 92%, transparent 100%) 100% 50% / 30% 30% no-repeat,
        radial-gradient(circle closest-side, #4a88be 92%, transparent 100%) 50% 100% / 30% 30% no-repeat,
        radial-gradient(circle closest-side, #4f9e80 92%, transparent 100%) 0 50% / 30% 30% no-repeat !important;
    color: transparent !important;
    animation: vcDtTurn 1.5s cubic-bezier(.55,.1,.45,.9) infinite !important;
}
.vc-dots::before { content: none !important; }   /* an <i> that still carries an icon font class shows no glyph */
@media (prefers-reduced-motion: reduce) {
    .vc-dots, .vc-spin::before, .vc-spin-auto::before, .ctr-chart-slot.is-loading::before, .prj-chart-slot.is-loading::before, .diff-export-pdf.is-busy::after, .diff-export-excel.is-busy::after, .diff-export-sbq.is-busy::after, .cl-kgtab.is-loading::after, .filter-loading::after, .expand-inline.is-busy::after, .invoice-modern-table .table-toggle-button.tt-busy::after, .diff-modern .table-toggle-button.tt-busy::after, .inv-filter-row label.is-busy::after, .flt-chip.is-busy::after, .ibn-nl-save.is-busy::after, .tbl-peek-bar.is-busy::after, .tbl-peek-head.is-busy::after, .vc-win-reload.is-busy svg { animation-duration: 3s !important; }
}

:is(.plc-kpi .bar, .plm-kpi .bar, .rr-kpis .bar, .rrx-meter, .invoice-slider-panel-content .vcs-track,
    .so-plz-bar, .bs-ov-meter) {
    position: relative !important; height: 8px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    overflow: visible !important; background: linear-gradient(rgba(40,55,80,.14), rgba(40,55,80,.14)) left center / 100% 1px no-repeat !important; }
body.dark-skin :is(.plc-kpi .bar, .plm-kpi .bar, .rr-kpis .bar, .rrx-meter, .invoice-slider-panel-content .vcs-track,
    .so-plz-bar, .bs-ov-meter) {
    background-image: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) !important; }
:is(.plc-kpi .bar, .plm-kpi .bar, .rr-kpis .bar, .rrx-meter, .invoice-slider-panel-content .vcs-track,
    .so-plz-bar, .bs-ov-meter) > * {
    position: absolute !important; left: 0 !important; top: 3px !important; bottom: auto !important; height: 2px !important; max-width: 100%;
    margin: 0 !important; min-width: 0 !important; border-radius: 0 !important; box-shadow: none !important; opacity: 1 !important; }
:is(.plc-kpi .bar, .plm-kpi .bar, .rr-kpis .bar, .rrx-meter, .invoice-slider-panel-content .vcs-track,
    .so-plz-bar, .bs-ov-meter) > *::after {
    content: ""; position: absolute; right: 0; top: -3px; height: 8px; width: min(1.5px, 100%); background: inherit; }
