/* =========================================================
   VisuoSight Step 5.2.2.1 — Live Admin Slides Compatibility
   Works whether Step 5.2 uses static preview images or Step 5.2.1
   carousels.
========================================================= */

.vs-live-carousel-shell{
    overflow:hidden;
    width:100%;
    min-width:0;
    margin:0;
    border:1px solid #d4dfed;
    border-radius:19px;
    background:#fff;
    box-shadow:0 22px 56px rgba(20,45,84,.10);
}

.vs-live-carousel-toolbar{
    min-height:45px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:10px;
    padding:0 12px;
    border-bottom:1px solid #e2e9f2;
    color:#43536a;
    background:#fbfdff;
    font-size:8px;
    font-weight:850;
}

.vs-live-window-dots{
    display:flex;
    gap:4px;
}

.vs-live-window-dots i{
    width:6px;
    height:6px;
    border-radius:999px;
    background:#c8d2df;
}
.vs-live-window-dots i:nth-child(1){background:#ef7d78}
.vs-live-window-dots i:nth-child(2){background:#e3bc56}
.vs-live-window-dots i:nth-child(3){background:#55b97d}

.vs-live-carousel-status{
    padding:4px 7px;
    border-radius:999px;
    color:#15745d;
    background:#e8f6f1;
    font-size:7px;
    font-weight:900;
}

.vs-live-carousel{
    position:relative;
    background:#fff;
}

.vs-live-carousel-viewport{
    overflow:hidden;
    background:#f2f6fb;
}

.vs-live-carousel-track{
    display:flex;
    will-change:transform;
    transition:transform .45s ease;
}

.vs-live-slide{
    min-width:100%;
    display:flex;
    flex-direction:column;
    background:#fff;
}

.vs-live-slide img{
    width:100%;
    height:auto;
    display:block;
    object-fit:contain;
    background:#edf3fa;
}

.vs-live-slide-caption{
    padding:11px 12px 12px;
    border-top:1px solid #e3eaf3;
    background:#fbfdff;
}

.vs-live-slide-caption strong{
    display:block;
    color:#22334f;
    font-size:8.6px;
    font-weight:900;
}

.vs-live-slide-caption span{
    display:block;
    margin-top:4px;
    color:#748197;
    font-size:7.6px;
    line-height:1.48;
}

.vs-live-carousel-nav{
    position:absolute;
    top:calc(50% - 22px);
    z-index:3;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid rgba(217,226,238,.92);
    border-radius:999px;
    color:#32445f;
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 22px rgba(15,34,70,.12);
    cursor:pointer;
    font-size:16px;
    font-weight:700;
}

.vs-live-carousel-nav.prev{left:12px}
.vs-live-carousel-nav.next{right:12px}

.vs-live-carousel-nav:hover{
    color:#285edd;
    background:#fff;
}

.vs-live-carousel-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    padding:10px 12px 12px;
    border-top:1px solid #e7edf5;
    background:#fbfdff;
}

.vs-live-carousel-dot{
    width:9px;
    height:9px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#c9d4e3;
    cursor:pointer;
    transition:transform .2s ease,background .2s ease;
}

.vs-live-carousel-dot.is-active{
    background:linear-gradient(135deg,#3169e7,#18a6f1);
    transform:scale(1.18);
}

@media(max-width:650px){
    .vs-live-carousel-shell{
        border-radius:14px;
    }

    .vs-live-carousel-toolbar{
        min-height:40px;
        grid-template-columns:auto 1fr;
        padding:0 9px;
    }

    .vs-live-carousel-status{
        display:none;
    }

    .vs-live-carousel-nav{
        width:32px;
        height:32px;
        top:calc(50% - 18px);
    }

    .vs-live-carousel-nav.prev{left:8px}
    .vs-live-carousel-nav.next{right:8px}

    .vs-live-slide-caption{
        padding:9px;
    }

    .vs-live-slide-caption strong{
        font-size:8.1px;
    }

    .vs-live-slide-caption span{
        font-size:7.1px;
    }

    .vs-live-carousel-dots{
        gap:7px;
        padding:9px 9px 10px;
    }

    .vs-live-carousel-dot{
        width:8px;
        height:8px;
    }
}

@media(prefers-reduced-motion:reduce){
    .vs-live-carousel-track,
    .vs-live-carousel-dot{
        transition:none;
    }
}
