/* Pre-React boot styles for LoadingIconFull (Transpond hosts only).
   Keep visual rules aligned with mpz-api loadingIconFull.scss mark/shine. */

.initialLoad .loadingIconFull {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 16px;
    text-align: center;
}

.initialLoad .loadingIconFull__mark {
    display: block;
    flex-shrink: 0;
    margin: 12px 0 28px;
    color: #171717;
    overflow: visible;
}

.initialLoad .loadingIconFull__band {
    transform-box: fill-box;
    transform-origin: center;
}

.initialLoad .loadingIconFull__status {
    min-height: 56px;
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #606060;
}

.initialLoad .loadingIconFull__text {
    position: relative;
    display: inline-block;
    color: #606060;
}

.initialLoad .loadingIconFull__shine {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .initialLoad .loadingIconFull__shine {
        display: block;
    }

    .initialLoad .loadingIconFull__shine::before {
        content: attr(data-text);
        position: absolute;
        inset: 0;
        color: transparent;
        background-image: linear-gradient(
            90deg,
            transparent 0%,
            transparent 40%,
            #fff 50%,
            transparent 60%,
            transparent 100%
        );
        background-size: 400% 100%;
        background-repeat: no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: loadingIconFullBoot-shimmer 2s linear infinite;
    }
}

@keyframes loadingIconFullBoot-shimmer {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: 0% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .initialLoad .loadingIconFull__band {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .initialLoad .loadingIconFull__shine {
        display: none;
    }

    .initialLoad .loadingIconFull__shine::before {
        animation: none;
    }
}
