/* 20260707 UI test module: generation-in-progress display only. */
.image-gen-loading {
    inset: 0 !important;
    justify-content: center;
    padding: 0;
    gap: 7px;
    background: rgba(15, 23, 42, .18);
    backdrop-filter: blur(8px) saturate(1.02);
    overflow: hidden;
    border-radius: inherit;
}

.image-gen-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, .44), rgba(15, 23, 42, .10) 44%, rgba(15, 23, 42, .18));
}

.image-gen-loading > * {
    position: relative;
    z-index: 1;
}

.image-gen-loading span {
    min-height: 30px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, .76);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(2, 6, 23, .30);
}

.image-gen-spinner {
    width: 26px;
    height: 26px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, .28);
    border-top-color: #fff;
}

.generator-node .image-preview-card .image-gen-preview-img,
.video-tech-preview .image-gen-loading img {
    filter: blur(3px) saturate(.96);
    transform: none;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.generator-node .image-preview-card .image-gen-preview-img {
    filter: none;
    opacity: 1 !important;
}

.video-tech-preview .image-gen-loading img {
    opacity: .46 !important;
}

.video-tech-preview .video-tech-input-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: rgba(15, 23, 42, .18) !important;
}

.video-tech-preview .image-gen-loading {
    inset: 0 !important;
    border-radius: inherit;
}

.generator-node .image-preview-card .image-gen-loading,
.video-tech-preview .image-gen-loading .image-gen-preview-img,
.video-tech-preview .image-gen-loading > img,
.video-tech-preview > .image-gen-preview-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
}
