.ewp-csi-placeholder {
    position: relative;
    min-height: 40px;
    overflow: hidden;
}

.ewp-csi-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: ewp-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes ewp-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ewp-csi-shimmer {
        animation: none;
        background: #f0f0f0;
    }
}

@media (prefers-color-scheme: dark) {
    .ewp-csi-shimmer {
        background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
        background-size: 200% 100%;
    }
}
