/* Carregamento AnovaPay (estilo Apple): logo no centro, anel com gradiente
   girando em volta, brilho suave atrás. Mesmo visual no painel do cliente
   (site/painel.css), nas telas React (PageLoading) e antes do JS carregar
   (dashboard/index.html). Entra com fade curto pra não piscar em carga rápida. */
.nvb{position:fixed;inset:0;z-index:200;display:grid;place-items:center;background:#0a0a10;animation:nvbFade .35s ease .7s both}
.nvb.nvb-inline{position:relative;inset:auto;min-height:100vh;min-height:100dvh;z-index:auto}
/* Anel só com CSS (sem SVG, sem filter:blur): o Safari do iPhone desenhava
   mal o SVG com gradiente + stroke-dasharray animado e o brilho com blur. */
.nvb-ring{position:relative;width:128px;height:128px;border-radius:50%;box-shadow:inset 0 0 0 2.5px rgba(255,255,255,.07)}
.nvb-ring::before{content:"";position:absolute;inset:6px;border-radius:50%;background:radial-gradient(circle,rgba(133,1,250,.34) 0%,rgba(133,1,250,.12) 38%,rgba(133,1,250,0) 68%);animation:nvbGlow 2.4s ease-in-out infinite}
.nvb-arc{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(133,1,250,0) 0deg,rgba(133,1,250,0) 150deg,#8501fa 270deg,#b794ff 330deg,#d8c4ff 356deg,rgba(216,196,255,0) 360deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));animation:nvbSpin 1s linear infinite;will-change:transform}
.nvb-logo{position:absolute;left:50%;top:50%;width:60px;height:auto;max-width:none;transform:translate(-50%,-50%);animation:nvbIn .7s cubic-bezier(.16,1,.3,1) both,nvbBreath 2.4s ease-in-out .7s infinite}
.nvb-tx{position:absolute;left:0;right:0;top:calc(50% + 92px);margin:0;text-align:center;font:500 13px/1.4 "Inter",system-ui,sans-serif;letter-spacing:.02em;color:rgba(255,255,255,.42);animation:nvbFade .5s ease 1.4s both}
@keyframes nvbFade{from{opacity:0}to{opacity:1}}
@keyframes nvbSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes nvbIn{from{opacity:0;transform:translate(-50%,-50%) scale(.86)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes nvbBreath{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(.95)}}
@keyframes nvbGlow{0%,100%{opacity:.55;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){
  .nvb,.nvb-ring::before,.nvb-arc,.nvb-logo,.nvb-tx{animation:none!important}
}
/* Admin da SYSTEMS (classe ligada em manifest-switch.js antes do React). */
html.systems,html.systems body{background:#f6f6fa}
html.systems .nvb{background:#f6f6fa}
html.systems .nvb-ring{box-shadow:inset 0 0 0 2.5px rgba(19,19,22,.08)}
html.systems .nvb-ring::before{display:none}
html.systems .nvb-arc{background:conic-gradient(from 0deg,transparent 0deg,transparent 150deg,#131316 300deg,transparent 360deg)}
html.systems .nvb-logo{content:url("/systems/marca.webp");width:46px}
