/* ONE shared loading-button pattern (website). Same class name and behaviour as the dashboard (.ab-busy): centered spinner in the same button, label kept (hidden) so width/height never change. */
.ab-busy{position:relative!important;color:transparent!important;text-shadow:none!important;cursor:progress}
.ab-busy>*,.ab-busy svg,.ab-busy img{visibility:hidden!important}
.ab-busy::after{content:"";position:absolute;inset:0;margin:auto;width:1.15em;height:1.15em;max-width:60%;max-height:60%;box-sizing:border-box;border:2px solid var(--ab-spin,currentColor);border-inline-end-color:transparent;border-radius:50%;animation:ab-spin .7s linear infinite}
@keyframes ab-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ab-busy::after{animation:none;border-style:dotted;border-inline-end-color:var(--ab-spin,currentColor)}}
.ab-error{display:inline-block;margin-inline-start:10px;vertical-align:middle;color:#b91c1c;font-size:.875rem;line-height:1.3;max-width:28em}
html[data-skin="midnight"] .ab-error,html[data-skin="ink"] .ab-error,html[data-skin="navy"] .ab-error,html[data-mode="dark"] .ab-error,html.dark .ab-error{color:#fca5a5}
