:host { display: block; width: 100%; }
:host(.overlaid) { display: block; width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; }
.spinner-container { width: 100%; height: 100%; display: flex; align-items: center; position: relative; }
:host(.overlaid) .spinner-container::before { content: ""; position: absolute; inset: 0px; background: var(--libfds-spinner-overlay-background-color, var(--fds-on-surface-hi)); opacity: 0.6; }
:host(.overlay-alternate-surface) .spinner-container::before { background: var(--libfds-spinner-overlay-alternate-surface-background-color, var(--fds-alternate-surface)); }
:host(.overlay-alternate-surface-variant) .spinner-container::before { background: var(   --libfds-spinner-overlay-alternate-surface-variant-background-color,   var(--fds-alternate-surface-variant)  ); }
:host(.overlay-background) .spinner-container::before { background: var(--fds-spinner-overlay-background-background-color, var(--fds-surface-variant)); }
:host(.overlay-surface-variant) .spinner-container::before { background: var(--libfds-spinner-overlay-surface-variant-background-color, var(--fds-surface-variant)); }
:host(.overlay-surface) .spinner-container::before { background: var(--libfds-spinner-overlay-surface-background-color, var(--fds-surface)); }
.spinner { margin: 0px auto; border-radius: 50%; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: ; border-bottom-color: ; border-left-color: ; border-top: 7px solid var(--libfds-spinner-border-top-color, var(--fds-primary)); animation: 1.2s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s infinite normal none running rotating; }
.spinner-size-tiny { width: 15px; height: 15px; border-width: 3px; }
.spinner-size-small { width: 30px; height: 30px; border-width: 5px; }
.spinner-size-medium { width: 70px; height: 70px; border-width: 7px; }
.spinner-size-large { width: 100px; height: 100px; border-width: 9px; }
@keyframes rotating { 
  100% { transform: rotate(360deg); }
}