@-webkit-keyframes spinAround {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
@keyframes spinAround {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.spinner {
    display: block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0.25rem solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    -webkit-animation: spinAround 500ms infinite linear;
    animation: spinAround 500ms infinite linear;
    will-change: transform;
}

.spinner-sm {
    width: 22px;
    height: 22px;
    border-width: 0.16rem;
}

.spinner-dark {
    display: block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0.25rem solid rgba(0, 0, 0, 0.3); /* Darker border */
    border-top-color: #000; /* Dark top color */
    -webkit-animation: spinAround 500ms infinite linear;
    animation: spinAround 500ms infinite linear;
    will-change: transform;
}

.spinner-dark-sm {
    width: 22px;
    height: 22px;
    border-width: 0.16rem;
}

.spinner-absolute {
    position: absolute;
    left: 44%;
    top: 44%;
}

.spinner-primary {
    margin: 10px auto 0 auto;
    display: block;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    border: 0.2rem solid var(--bs-primary-light);
    border-top-color: var(--bs-primary);
    -webkit-animation: spinAround 500ms infinite linear;
    animation: spinAround 500ms infinite linear;
    will-change: transform;
}

.loader {
    width: 60px;
    height: 60px;
    box-shadow: rgb(10 19 49 / 8%) 0px 4px 10px 0px;
    border-radius: 10px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.spinner-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: rgba(220, 225, 231, .4);
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

.spinner-card {
    margin: auto;
    width: 48px;
    height: 48px;
    z-index: var(--bs-backdrop-zindex);
    box-shadow: 0 0 20px 0 rgba(0,0,0,.1);
    background-color: var(--bs-white);
    border-radius: 50%;
}

.spinner-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: rgba(0, 0, 0, 0.3);
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

.spinner-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: .8rem;
    background-color: rgba(0, 0, 0, 0.6);
}

.spinner {
    display: block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0.25rem solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    -webkit-animation: spinAround 500ms infinite linear;
    animation: spinAround 500ms infinite linear;
    will-change: transform;
}

.spinner-sm {
    width: 24px;
    height: 24px;
    border-width: 0.2rem;
}

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

.spinner-on-progress {
    padding: .8rem;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    border: 0;
    border-radius: 1rem;
    background-color: rgba(0, 0, 0, .8);
    box-shadow: 0 0 10px 2px rgba(0,0,0,.1);
    z-index: 20;
}