input[type="range"]::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    border: none;
    margin-top: -4px;
}

input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    border: none;
}

input[type="range"]:hover::-webkit-slider-thumb {
    background-color: #2980b9;
}

input[type="range"]:hover::-moz-range-thumb {
    background-color: #2980b9;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #3498db 0%, #3498db var(--progress), #525252 var(--progress), #525252 var(--buffered), #000000 var(--buffered), #000000 100%);
    border-radius: 10px;
    height: 6px;
}

input[type="range"]::-moz-range-track {
    background: linear-gradient(to right, #3498db 0%, #3498db var(--progress), #525252 var(--progress), #525252 var(--buffered), #000000 var(--buffered), #000000 100%);
    border-radius: 10px;
    height: 6px;
}

input[type="range"] {
    height: 20px;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
}

#volume-bar::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #3498db 0%, #3498db calc(var(--volume) * 100%), #505257 calc(var(--volume) * 100%), #505257 100%);
    height: 6px;
    border-radius: 10px;
}

#volume-bar::-moz-range-track {
    background: linear-gradient(to right, #3498db 0%, #3498db calc(var(--volume) * 100%), #505257 calc(var(--volume) * 100%), #505257 100%);
    height: 6px;
    border-radius: 10px;
}

#volume-bar::-moz-range-track {
    height: 6px;
    border-radius: 10px;
    background-color: #505257;
}

#progress-bar::-moz-range-track {
    height: 6px;
    border-radius: 10px;
    background-color: #000000;
}

#volume-bar-audio::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #3498db 0%, #3498db calc(var(--volume-audio) * 100%), #505257 calc(var(--volume-audio) * 100%), #505257 100%);
    height: 6px;
    border-radius: 10px;
}

#volume-bar-audio::-moz-range-track {
    background: linear-gradient(to right, #3498db 0%, #3498db calc(var(--volume-audio) * 100%), #505257 calc(var(--volume-audio) * 100%), #505257 100%);
    height: 6px;
    border-radius: 10px;
}

#volume-bar-audio::-moz-range-track {
    height: 6px;
    border-radius: 10px;
    background-color: #505257;
}

#progress-bar-audio::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #3498db 0%, #3498db var(--progress-audio), #525252 var(--progress-audio), #525252 var(--buffered-audio), #000000 var(--buffered-audio), #000000 100%);
    height: 6px;
    border-radius: 10px;
}

#progress-bar-audio::-moz-range-track {
    background: linear-gradient(to right, #3498db 0%, #3498db var(--progress-audio), #525252 var(--progress-audio), #525252 var(--buffered-audio), #000000 var(--buffered-audio), #000000 100%);
    height: 6px;
    border-radius: 10px;
}

#progress-bar-audio::-moz-range-track {
    height: 6px;
    border-radius: 10px;
    background-color: #000000;
}

.video-container {
    position: relative;
}

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #fff;
    display: none;
}

.loading-indicator.show {
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.picture-in-picture-btn, .fullscreen-btn {
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #fff;
}

.picture-in-picture-btn:hover, .fullscreen-btn:hover {
    color: rgba(0, 0, 0, 0.8);
}