@charset "UTF-8";
/*--------------------------------------------------------*/
/* Parade Bid Info - IVS/YouTube Player */
/*--------------------------------------------------------*/

/* Autoplay checkbox - hidden when IVS is default, shown when switching to YouTube */
.autoplay-wrap {
    font-size: 14px;
    margin-bottom: 5px;
}

.autoplay-wrap-hide {
    visibility: hidden;
    pointer-events: none;
}

/* Player container wrapper */
.parade-player-wrapper {
    width: 390px;
    height: 220px;
    margin: auto;
    position: relative;
}

/* YouTube / IVS overlay containers */
.youtube-player-container,
.ivs-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-player-container-hide,
.ivs-player-container-hide {
    display: none;
}

.youtube-iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* IVS Player */
#ivs-player-wrapper {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

#ivs-player-wrapper:-webkit-full-screen,
#ivs-player-wrapper:-moz-full-screen,
#ivs-player-wrapper:-ms-fullscreen,
#ivs-player-wrapper:fullscreen {
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw;
    max-height: 100vh;
}

#ivs-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 14px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
}

#ivs-placeholder-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

#ivs-video-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    z-index: 1;
}

/* IVS controls */
#ivs-volume-control {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

#ivs-mute-btn,
#ivs-fullscreen-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

#ivs-mute-btn {
    font-size: 16px;
}

#ivs-fullscreen-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 10;
    font-size: 18px;
}

#ivs-fullscreen-btn:hover,
#ivs-mute-btn:hover {
    background: rgba(0, 0, 0, 0.7) !important;
}

#ivs-volume-slider {
    width: 70px;
    height: 6px;
    accent-color: #fff;
    cursor: pointer;
}

#ivs-player-wrapper .ivs-control-hide {
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

#ivs-player-wrapper:hover .ivs-control-hide {
    opacity: 1;
    pointer-events: auto;
}

/* Player switch button */
.player-switch-btn {
    padding: 5px 15px;
    font-size: 12px;
    cursor: pointer;
    background: #0073bb;
    color: white;
    border: none;
    border-radius: 4px;
}

.player-switch-wrap {
    margin-top: 8px;
    text-align: center;
}
