/* One loading language for the whole system (panel, public site, scoring and desk pages).
   .spin      ring spinner in the current text colour (inherits from a button, a dark display, …)
   .spin--lg  the larger one used inside .loading
   .loading   centred "busy" block: spinner + short text (replaces bare "در حال بارگذاری…" text)
   Loaders keep moving, a little calmer, when the device asks for reduced motion: a frozen loader
   reads as "stuck" (decorative motion is still switched off elsewhere). */
.spin { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.2em; border: .16em solid currentColor;
  border-inline-end-color: transparent; border-radius: 50%; animation: kl-spin .7s linear infinite; }
.spin--lg { width: 30px; height: 30px; border-width: 3px; }
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 16px;
  text-align: center; font-size: 14px; color: inherit; opacity: .8; }
.loading .spin { color: var(--kl-color, currentColor); }
.loading--row { flex-direction: row; padding: 10px 0; gap: 10px; }
td > .loading { padding: 18px 10px; }
@keyframes kl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spin { animation-duration: 1.1s !important; animation-iteration-count: infinite !important; }
}
