.vcs-wrapper {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	border-style: solid;
	border-width: 4px;
	border-color: #ffffff;
	border-radius: 12px;
	background: #111;
	touch-action: none;
	user-select: none;
	cursor: ew-resize;
	box-sizing: border-box;
}

.vcs-wrapper[data-direction="vertical"] {
	cursor: ns-resize;
}

.vcs-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.vcs-media-before {
	z-index: 1;
}

.vcs-media-after {
	z-index: 2;
}

.vcs-wrapper[data-direction="horizontal"] .vcs-media-after {
	clip-path: inset(0 0 0 50%);
}

.vcs-wrapper[data-direction="vertical"] .vcs-media-after {
	clip-path: inset(50% 0 0 0);
}

.vcs-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	background: #000;
}

.vcs-divider {
	position: absolute;
	top: 0;
	left: 50%;
	width: 3px;
	height: 100%;
	margin-left: -1.5px;
	background-color: #ffffff;
	z-index: 3;
	pointer-events: none;
}

.vcs-wrapper[data-direction="vertical"] .vcs-divider {
	left: 0;
	top: 50%;
	width: 100%;
	height: 3px;
	margin-left: 0;
	margin-top: -1.5px;
}

.vcs-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #ffffff;
	color: #333333;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.vcs-wrapper[data-direction="vertical"] .vcs-handle-icon {
	transform: rotate(90deg);
}

.vcs-label {
	position: absolute;
	top: 16px;
	padding: 4px 12px;
	font-size: 13px;
	line-height: 1.4;
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.55);
	border-radius: 4px;
	pointer-events: none;
	z-index: 4;
	white-space: nowrap;
}

.vcs-label-before {
	left: 16px;
}

.vcs-label-after {
	right: 16px;
}

.vcs-toggle-play {
	position: absolute;
	bottom: 16px;
	right: 16px;
	z-index: 5;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.vcs-toggle-play .vcs-icon-pause {
	display: none;
}

.vcs-wrapper.vcs-playing .vcs-icon-play {
	display: none;
}

.vcs-wrapper.vcs-playing .vcs-icon-pause {
	display: block;
}

.vcs-editor-placeholder {
	padding: 40px 20px;
	text-align: center;
	border: 2px dashed #ccc;
	color: #666;
	background: #f7f7f7;
	border-radius: 8px;
}

@media (max-width: 767px) {
	.vcs-label {
		font-size: 11px;
		padding: 3px 8px;
	}
}
