/* UC Smart Video Widget — Front-end Styles */

.uc-svw-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.uc-svw-wrapper iframe,
.uc-svw-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Facade / click-to-play ─────────────────────────────────── */
.uc-svw-facade {
    background-size: cover;
    background-position: center;
    background-color: #111;
    cursor: pointer;
}

.uc-svw-facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease;
}

.uc-svw-facade:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

/* Play button */
.uc-svw-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 2;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.uc-svw-play-btn svg {
    width: 68px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.uc-svw-facade:hover .uc-svw-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
}

/* While loading after click */
.uc-svw-facade.is-loading .uc-svw-play-btn {
    opacity: 0.4;
    pointer-events: none;
}
