// (C) 2021-2025 GoodData Corporation
.gd-loading-spinner {
    svg {
        animation: spin 1s infinite steps(12);
    }

    &.small {
        &,
        svg {
            width: 16px;
            height: 16px;
        }
    }

    &.large {
        &,
        svg {
            width: 32px;
            height: 32px;
        }
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
