/* WP Video Manager Player Styles */

.vjs-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}

.video-js {
	max-width: 100%;
	max-height: 100%;
	font-family: Arial, Helvetica, sans-serif;
}

/* Video.js Customization */
.video-js .vjs-control-bar {
	background-color: rgba(0, 0, 0, 0.7);
	height: 2.8em;
}

.video-js .vjs-play-control {
	color: #fff;
	font-size: 1.5em;
}

.video-js .vjs-play-control:hover {
	color: #0073aa;
}

.video-js .vjs-progress-control {
	height: 0.5em;
}

.video-js .vjs-progress-holder {
	background-color: rgba(255, 255, 255, 0.3);
}

.video-js .vjs-play-progress {
	background-color: #0073aa;
}

.video-js .vjs-load-progress {
	background-color: rgba(255, 255, 255, 0.5);
}

.video-js .vjs-volume-control {
	color: #fff;
}

.video-js .vjs-volume-panel {
	display: flex;
	align-items: center;
}

.video-js .vjs-mute-control {
	color: #fff;
	font-size: 1.5em;
}

.video-js .vjs-mute-control:hover {
	color: #0073aa;
}

.video-js .vjs-fullscreen-control {
	color: #fff;
	font-size: 1.5em;
}

.video-js .vjs-fullscreen-control:hover {
	color: #0073aa;
}

.video-js .vjs-current-time,
.video-js .vjs-duration {
	color: #fff;
	font-size: 0.9em;
	display: flex;
	align-items: center;
	padding: 0 0.5em;
}

.video-js .vjs-time-divider {
	color: #fff;
	padding: 0 0.25em;
}

.video-js .vjs-big-play-button {
	background-color: rgba(0, 115, 170, 0.8);
	border-radius: 50%;
	width: 4em;
	height: 4em;
	line-height: 4em;
	font-size: 2em;
}

.video-js .vjs-big-play-button:hover {
	background-color: rgba(0, 115, 170, 1);
}

/* Responsive */
@media (max-width: 768px) {
	.video-js .vjs-control-bar {
		height: 2.4em;
	}

	.video-js .vjs-big-play-button {
		width: 3em;
		height: 3em;
		line-height: 3em;
		font-size: 1.5em;
	}

	.video-js .vjs-current-time,
	.video-js .vjs-duration {
		font-size: 0.8em;
		padding: 0 0.25em;
	}
}

@media (max-width: 480px) {
	.video-js .vjs-control-bar {
		height: 2em;
	}

	.video-js .vjs-current-time,
	.video-js .vjs-duration {
		display: none;
	}

	.video-js .vjs-time-divider {
		display: none;
	}

	.video-js .vjs-big-play-button {
		width: 2.5em;
		height: 2.5em;
		line-height: 2.5em;
		font-size: 1.2em;
	}
}

/* Ad Container */
#wvm-ad-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

#wvm-ad-container video {
	max-width: 100%;
	max-height: 100%;
}

/* Banner Ad */
#wvm-banner-ad {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 12px;
	z-index: 100;
	animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
	from {
		transform: translateX(100px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Error Message */
.vjs-error-display {
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 20px;
	border-radius: 4px;
	text-align: center;
}

.vjs-error-display p {
	margin: 10px 0;
	font-size: 14px;
}

/* Loading Spinner */
.vjs-loading-spinner {
	border-color: rgba(0, 115, 170, 0.2);
	border-right-color: #0073aa;
}

/* Captions */
.vjs-caption-settings {
	color: #fff;
}

.vjs-captions-button {
	color: #fff;
	font-size: 1.5em;
}

.vjs-captions-button:hover {
	color: #0073aa;
}

/* Settings Menu */
.vjs-menu-button-popup .vjs-menu {
	background-color: rgba(0, 0, 0, 0.8);
	border-radius: 4px;
}

.vjs-menu-item {
	color: #fff;
	padding: 10px 15px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.vjs-menu-item:hover {
	background-color: rgba(0, 115, 170, 0.5);
}

.vjs-menu-item.vjs-selected {
	background-color: #0073aa;
}

/* Tooltip */
.vjs-tooltip {
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 12px;
	white-space: nowrap;
}

/* Text Track Display */
.vjs-text-track-display {
	font-size: 1.2em;
}

.vjs-text-track {
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	padding: 5px;
	border-radius: 3px;
}

/* Fullscreen */
.video-js.vjs-fullscreen {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
}

/* Accessibility */
.video-js:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

.vjs-control:focus {
	outline: 2px solid #0073aa;
	outline-offset: -2px;
}

/* Print Styles */
@media print {
	.video-js {
		display: none;
	}
}
