.active\:bg-gray-50:active {
    --tw-bg-opacity: 1;
    background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
}


@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner,
.spinner:before {
    width: 30px;
    height: 30px;
    box-sizing: border-box;
}

.spinner:before {
    content: "";
    display: block;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner 0.6s linear infinite;
}

/* Animations */

.spinner-add,
.spinner-remove {
    animation-fill-mode: both;
    animation-duration: 0.4s;
}

.spinner-add {
    animation-name: spinner-add;
}

@keyframes spinner-add {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.spinner-remove {
    animation-name: spinner-remove;
}

@keyframes spinner-remove {
    to {
        transform: scale(0);
    }
}