.modal, .modal-bg, .modal-content {
    display: flex;
    position: fixed;
    visibility: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    justify-content: center;
}

.modal-bg, .modal-content {
    background-color: #202020;
    opacity: .5;
    z-index: 1;
}

.modal.open {
    visibility: visible;
}

.modal.open .modal-bg, .modal.open .modal-content {
    visibility: visible;
}

.modal-content {
    background: transparent;
    padding: 20px;
    align-self: center;
    z-index: 2;
    width: auto;
    height: auto;
    display: flex;
    position: initial;
    opacity: initial;
}

.spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(farthest-side,#ff8600 94%,#0000) top/9px 9px no-repeat,
    conic-gradient(#0000 30%,#ff8600);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 9px),#000 0);
    animation: spinner-c7wet2 1s infinite linear;
}

.modal-white-bg .modal-bg {
    background-color: #fff;
    opacity: 0.8;
}

@keyframes spinner-c7wet2 {
    100% {
        transform: rotate(1turn);
    }
}