.btn-loading {
    position: relative;
    color: transparent !important;

    &:after {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        height: 16px;
        width: 16px;
        border: 2px solid #ffffff;
        border-radius: 100%;
        border-right-color: transparent;
        border-top-color: transparent;
        animation: spinAround 600ms infinite linear;
    }

    &.btn-default:after {
        border: 2px solid #0068e1;
        border-right-color: transparent;
        border-top-color: transparent;
    }
}

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

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