.dor-config-wrapper {
    width: 100vw;
    height: var(--dor-config-height, 100vh);
    min-height: 420px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    background: #fff;
}

.dor-config-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.dor-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    color: #1f2937;
    transition: opacity 300ms ease;
}

.dor-loader p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.dor-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #d1d5db;
    border-top-color: #111827;
    border-radius: 50%;
    animation: dor-spin 0.9s linear infinite;
}

.dor-config-wrapper.dor-loaded .dor-loader {
    opacity: 0;
    pointer-events: none;
}

@keyframes dor-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .dor-config-wrapper {
        min-height: 360px;
    }

    .dor-loader p {
        font-size: 13px;
    }
}
