/* VeSpin — VE's loading indicator, ONE copy for everything that shows it: planner (root
 * layout links this file; markup in components/VeSpin.tsx) and Planner Studio (aiops/penpot
 * deploy/theme/planner-studio.js loads /planner-ve-spin.css from planner while Studio starts).
 * Public on purpose (middleware skips planner*): plain CSS, no data.
 * A straight port of antd's default
 * <Spin> dots that VE shows while data loads; same as sirius-android-pos VeSpin.kt. Four dots
 * on the corners of a square, VE blue (#2f54eb, App.tsx colorPrimary), each scale(0.75); each
 * dot's opacity runs 0.3 → 1 over 1s alternate, staggered 0 / .4 / .8 / 1.2s clockwise from top
 * left (antSpinMove); the square turns once every 1.2s (antRotate). Sizes = antd's: large 32/14,
 * default 20/9, small 14/6. Still for people who turn animations off. */
.ve-spin { --ve-spin-box: 32px; --ve-spin-dot: 14px; position: relative; display: inline-block; width: var(--ve-spin-box); height: var(--ve-spin-box); animation: ve-spin-rotate 1.2s linear infinite; }
.ve-spin.ve-spin-default { --ve-spin-box: 20px; --ve-spin-dot: 9px; }
.ve-spin.ve-spin-small { --ve-spin-box: 14px; --ve-spin-dot: 6px; }
.ve-spin > i { position: absolute; width: var(--ve-spin-dot); height: var(--ve-spin-dot); border-radius: 50%; background: #2f54eb; transform: scale(0.75); opacity: 0.3; animation: ve-spin-move 1s linear infinite alternate; }
.ve-spin > i:nth-child(1) { top: 0; left: 0; }
.ve-spin > i:nth-child(2) { top: 0; right: 0; animation-delay: 0.4s; }
.ve-spin > i:nth-child(3) { right: 0; bottom: 0; animation-delay: 0.8s; }
.ve-spin > i:nth-child(4) { bottom: 0; left: 0; animation-delay: 1.2s; }
@keyframes ve-spin-move { to { opacity: 1; } }
@keyframes ve-spin-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ve-spin, .ve-spin > i { animation: none; } .ve-spin > i { opacity: 0.8; } }
