.modal-dark .modal-content {
    background-color: #000;
    color: #fff;
}
.modal-dark .modal-header {
    background-color: #212121;
    border-bottom: none;
    color: #fff;
}
.modal-dark .modal-header .close {
    color: #fff;
}
@media (min-width: 576px) {
    .as-threed-modal .modal-dialog{
        max-width: 1280px;
        width: 1280px;
        max-height: 80vh;
    }
}

.threed-viewport {
    position: relative;
    overflow: hidden;
    max-height: 80vh;
    height: 60vh;
}

.threed-colors-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}
.threed-colors {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 20px 0;
}
.threed-color__info {
    color: #fff9;
    font-size: 15px;
    text-align: center;
}
.threed-color__color {
    position: relative;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
}
.threed-color__color.active {
    box-shadow: rgb(233, 233, 233) 0px 0px 0px 1px;
}
.threed-color__inner {
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-position: center center;
    background-repeat: no-repeat;
}

.loading-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
}
.loading-picture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.loading-poster {
    width: 100%;
    height: 100%;
}
.loading-text {
    font-size: 15px;
    color: rgba(0, 0, 0, .8);
    text-align: center;
    width: 200px;
    margin: 16px auto 0;
}
.progress-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .2);
    z-index: 10;
    backdrop-filter: blur(12px);
}
.progress-bar {
    width: 200px;
    height: 4px;
    overflow: hidden;
    border-radius: .25rem;
    background-color: rgba(26, 26, 26, .15)
}
.progress {
    height: 100%;
    background-color: rgba(26, 26, 26, .95);
}

.modal-dark .loading-text {
    color: rgba(255, 255, 255, .8);
}
.modal-dark .progress-box {
    background-color: rgba(0, 0, 0, .5);
}
.modal-dark .progress-bar {
    background-color: rgba(255, 255, 255, .5);
}
.modal-dark .progress {
    background-color: rgba(255, 255, 255, .8);
}