/* ITDO Custom Video Player */
.itdo-player {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}
.itdo-player video {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.itdo-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s;
}
.itdo-player:hover .itdo-player-overlay { opacity: 1; }
.itdo-player.playing .itdo-player-overlay { opacity: 0; }
.itdo-player.playing:hover .itdo-player-overlay { opacity: 1; }
.itdo-player-bigplay {
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,.55);
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: transform .15s;
}
.itdo-player:hover .itdo-player-bigplay { transform: scale(1.08); }
.itdo-player-bigplay svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.itdo-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 12px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .2s;
}
.itdo-player:hover .itdo-player-controls { opacity: 1; }
.itdo-player.playing .itdo-player-controls { opacity: 0; }
.itdo-player.playing:hover .itdo-player-controls { opacity: 1; }
.itdo-player-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: .85;
    transition: opacity .15s;
}
.itdo-player-btn:hover { opacity: 1; }
.itdo-player-btn svg { width: 18px; height: 18px; fill: currentColor; }
.itdo-player-time {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.itdo-player-progress {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,.2);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: height .15s;
}
.itdo-player-progress:hover { height: 6px; }
.itdo-player-progress-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 4px;
    position: relative;
    transition: width .1s linear;
}
.itdo-player-progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    transition: transform .15s;
}
.itdo-player-progress:hover .itdo-player-progress-fill::after { transform: translateY(-50%) scale(1); }
.itdo-player-volume-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}
.itdo-player-volume-slider {
    width: 0;
    overflow: hidden;
    transition: width .2s;
}
.itdo-player-volume-wrap:hover .itdo-player-volume-slider { width: 60px; }
.itdo-player-volume-slider input[type="range"] {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,.3);
    border-radius: 4px;
    outline: none;
}
.itdo-player-volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.itdo-player-fullscreen {
    margin-left: auto;
}
.itdo-player .itdo-player-pip svg { width: 16px; height: 16px; }
