.#{$lib-name}-spin {
  position: absolute;
  z-index: 999;
  margin: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba($background-color-base, 0.85);
  .spin-center-container {
    text-align: center;
    color: $primary-color;
    .loading-text {
      font-size: 16px;
      line-height: 30px;
    }
  }
  &.is-fullscreen {
    position: fixed;
  }
}

.spin-relative-parent {
  position: relative !important;
}

.spin-lock-overflow {
  overflow: hidden !important;
}

@keyframes rotating {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(1turn);
  }
}
