@use "@tencentcloud/uikit-base-component-react/dist/styles/theme/util" as *;

.SearchLoading {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  @include theme() {
    color: get(text-color-secondary);
  }

  &::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: SearchLoading-spin 0.8s linear infinite;
  }
}

@keyframes SearchLoading-spin {
  to {
    transform: rotate(360deg);
  }
}