.btn-loading.loading {
    position: relative;
    pointer-events: none;
}

.btn-loading.loading::after {
    content: "";
    display: inline-block;
    margin-left: 0.5rem;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-spinner {
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
