/* Image Compressor — inline indicator */
.imgc-compressing {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    background: #0073aa;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    animation: imgc-pulse 1.2s ease-in-out infinite;
}

@keyframes imgc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Full-screen overlay shown during Media Library compression */
.imgc-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgc-overlay-box {
    background: #fff;
    border-radius: 8px;
    padding: 32px 48px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.imgc-overlay-box p {
    margin: 12px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #1d2327;
}

.imgc-overlay-box .imgc-sub {
    font-size: 13px;
    font-weight: 400;
    color: #646970;
}

.imgc-spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    border: 4px solid #dcdcde;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: imgc-spin 0.8s linear infinite;
}

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