/* CMC Lazy Loader — ERM-style skeleton placeholder
 * Self-contained copy of the ERM skeleton styles so the placeholder
 * renders correctly even if the ERM plugin is inactive.
 */

.cmc-lazy-widget {
    width: 100%;
}

/* Screener wrapper */
.cmc-forex-screener {
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
}

/* ── ERM-style skeleton ───────────────────────────────────── */
.erm-lazy-skel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 32px 20px;
    gap: 20px;
    direction: ltr;
}

.erm-lazy-skel__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.erm-lazy-skel__logo {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 4px;
    opacity: 0.65;
    font-family: inherit;
    line-height: 1;
}

.erm-lazy-skel__eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.erm-lazy-skel__eq i {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: #3b82f6;
    font-style: normal;
    transform-origin: bottom;
    animation: erm-eq-bounce 0.9s ease-in-out infinite;
}

.erm-lazy-skel__eq i:nth-child(1) { height: 8px;  animation-delay: 0s;     }
.erm-lazy-skel__eq i:nth-child(2) { height: 16px; animation-delay: 0.12s;  }
.erm-lazy-skel__eq i:nth-child(3) { height: 22px; animation-delay: 0.24s;  }
.erm-lazy-skel__eq i:nth-child(4) { height: 14px; animation-delay: 0.36s;  }
.erm-lazy-skel__eq i:nth-child(5) { height: 10px; animation-delay: 0.48s;  }

@keyframes erm-eq-bounce {
    0%, 100% { transform: scaleY(0.35); opacity: 0.45; }
    50%      { transform: scaleY(1);    opacity: 1;    }
}

.erm-lazy-skel__body {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.erm-lazy-skel__hd,
.erm-lazy-skel__row {
    border-radius: 5px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: erm-shimmer 1.5s linear infinite;
}

.erm-lazy-skel__hd               { height: 13px; width: 55%; }
.erm-lazy-skel__row               { height: 10px; }
.erm-lazy-skel__row:nth-child(2)  { width: 92%; }
.erm-lazy-skel__row:nth-child(3)  { width: 78%; }
.erm-lazy-skel__row:nth-child(4)  { width: 86%; }
.erm-lazy-skel__row:nth-child(5)  { width: 68%; }
.erm-lazy-skel__row:nth-child(6)  { width: 82%; }

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