.loader {
  position: fixed;
  top: calc(100vh / 2 - 75px);
  left: calc(100vw / 2 - 75px);
  z-index: var(--sl-z-index-toast);
  width: 120px; /* the size */
  padding: 15px; /* the border thickness */
  background: var(--sl-color-primary-500); /* the color */

  aspect-ratio: 1;
  border-radius: 50%;
  --_m: conic-gradient(#0000, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  box-sizing: border-box;
  animation: load 1s linear infinite;
}

@keyframes load {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
