/* ── FXRK Checkout Banners – Frontend ── */
#fxrk-cb-banners-output {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fxrk-cb-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #0d1f1a 0%, #0a1a16 100%);
    border: 1px solid rgba(0, 255, 160, 0.18);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,255,160,.06);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s ease, transform .3s ease;
}
.fxrk-cb-banner.visible {
    opacity: 1;
    transform: translateY(0);
}
.fxrk-cb-banner::before {
    content: '';
    position: absolute;
    left: -30px; top: -30px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(0,255,140,.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Left side: lightning image + badge side by side ── */
.fxrk-cb-banner-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Lightning bolt image */
.fxrk-cb-bolt-img {
    width: 72px;
    height: 88px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    margin-right: -8px; /* slight overlap with badge */
}

/* ── Discount badge (CSS-rendered, matches the SVG design) ── */
.fxrk-cb-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: radial-gradient(ellipse at 50% 40%, #0d2a1c, #061410);
    border: 1.5px solid rgba(0, 232, 122, 0.45);
    border-radius: 12px;
    padding: 10px 16px 10px 14px;
    box-shadow:
        0 0 0 1px rgba(0,255,128,.08) inset,
        0 0 18px rgba(0,232,122,.15);
    min-width: 90px;
}

/* Corner dots */
.fxrk-cb-badge::before,
.fxrk-cb-badge::after {
    content: '';
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(0, 232, 122, 0.55);
}
.fxrk-cb-badge::before { top: 6px; left: 8px; }
.fxrk-cb-badge::after  { bottom: 6px; right: 8px; }

/* The big number */
.fxrk-cb-badge-number {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1;
}

/* % and OFF stacked */
.fxrk-cb-badge-suffix {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 2px;
}
.fxrk-cb-badge-pct {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    line-height: 0.6;
}
.fxrk-cb-badge-off {
    font-size: 12px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 2px;
    line-height: 0.7;
    margin-top: 4px;
}

/* ── Text side ── */
.fxrk-cb-banner-text {
    flex: 1;
    min-width: 0;
}
.fxrk-cb-banner-title {
    font-size: 15px;
    font-weight: 700;
    color: #e8f8f0;
    margin: 0 0 4px;
    line-height: 1.3;
}
.fxrk-cb-banner-desc {
    font-size: 13px;
    color: rgba(220,245,235,0.72);
    margin: 0;
    line-height: 1.5;
}

/* Fallback icon when no image uploaded */
.fxrk-cb-banner-no-img {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(0,255,140,.12);
    border: 1px solid rgba(0,255,140,.25);
    display: flex; align-items: center; justify-content: center;
}
.fxrk-cb-banner-no-img svg { width: 24px; height: 24px; }

.fxrk-cb-banner.fxrk-cb-hidden { display: none !important; }

@media (max-width: 480px) {
    .fxrk-cb-banner { flex-wrap: wrap; padding: 12px 14px; gap: 10px; }
    .fxrk-cb-badge-number { font-size: 34px; }
}
