.lncu-3mf-loader-block {
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    border-radius: 1rem;
    background: transparent;
    overflow: hidden;
}

.lncu-3mf-loader-block.is-active {
    background: #2e4760;
    pointer-events: auto;
}

.lncu-3mf-loader-block.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4rem;
    height: 4rem;
    margin-top: -2rem;
    margin-left: -2rem;
    border: 0.5rem solid white;
    border-bottom-color: var(--bricks-color-akzent-100);
    border-radius: 50%;
    display: block;
    animation: lncu-3d-spinner 1s linear infinite;
}

@keyframes lncu-3d-spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lncu-3mf-loader-block canvas {
    opacity: 0;
    visibility: hidden;
}

.lncu-3mf-loader-block.is-active canvas {
    opacity: 1;
    visibility: visible;
}

.lncu-3mf-start-button,
.lncu-3mf-close-button {
    position: absolute;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
}

.lncu-3mf-start-button {
    display: flex;
    top: 0;
    right: 0;
    padding: 0.5rem;
    color: white;
    background-color: transparent;
}

.lncu-3mf-start-button svg {
    height: 3.5rem;
}

.lncu-3mf-close-button {
    display: none;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    height: 3rem;
    aspect-ratio: 1;
    background-color: transparent;
    border-radius: 1rem;
    color: white;
}

.lncu-3mf-loader-block.is-active .lncu-3mf-start-button {
    display: none;
}

.lncu-3mf-loader-block.is-active .lncu-3mf-close-button {
    display: flex;
}

@media print {
    .lncu-3mf-start-button, .lncu-3mf-close-button {
        display: none;
    }
}