.video-container {
    max-width: 200px;
    margin: 0 auto;
    height: auto;
    background: black;
    position: relative;
}

.vjs-big-play-button {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.progress-bar {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.progress-fill {
    height: 100%;
    background: red;
    width: 0%;
}

.video-js .vjs-progress-control {
    cursor: pointer;
    flex: auto;
    display: flex;
    align-items: center;
    touch-action: none;
    top: -15px;
    position: inherit;
    left: -10px;
    width: calc(100% + 20px);
}

.video-js .vjs-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

.video-js .vjs-control-bar .vjs-button {
    white-space: nowrap;
    width: 25px;
    cursor: pointer;
}

.video-js .vjs-volume-panel,
.video-js .vjs-fullscreen-control {
    margin-left: auto;
}

.video-js .vjs-volume-panel {
    margin-right: 5px;
    /* Reduce default space */
    flex: none;
    /* Prevent volume from expanding */
}

.video-js .vjs-volume-panel .vjs-volume-control {
    max-width: 60px;
    /* Or reduce this further */
}

.video-js .vjs-fullscreen-control {
    margin-left: 0px;
    /* Remove unwanted gap */
}

.video-js .vjs-play-progress,
.video-js .vjs-slider {
    transition: width 0.1s linear;
}

.seek-hold-forward {
    position: absolute;
    top: 25%;
    right: 0;
    width: 50%;
    height: 50%;
    z-index: 10;
    cursor: pointer;
}

.seek-hold-forward::after {
    content: '';
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: ripple 0.6s linear infinite;
}

.seek-hold-forward.holding::after {
    display: block;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.video-js {
    touch-action: none;
    /* Disables all native gestures */
    overscroll-behavior: contain;
    /* Prevents scroll bounce */
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: black;
    overflow: hidden;
}

.video-container.custom-fullscreen {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    max-width: 480px !important;
}

.video-container.custom-fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-fullscreen-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.video-js.vjs-fluid:not(.vjs-audio-only-mode),
.video-js.vjs-16-9:not(.vjs-audio-only-mode),
.video-js.vjs-4-3:not(.vjs-audio-only-mode),
.video-js.vjs-9-16:not(.vjs-audio-only-mode),
.video-js.vjs-1-1:not(.vjs-audio-only-mode) {
    height: calc(100% - 40px);
}

.vjs-http-source-selector {
    right: 0;
}