video { width: 100%; height: auto; max-height: 80vh; display: block; margin: auto; cursor: pointer; }

.video-container {
	position: relative;
	max-width: 800px;
	margin: 10px auto;
	width: 95%;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	/*box-shadow: 0 20px 50px rgba(0,0,0,0.8);*/
	transition: cursor 0.3s;
}

.video-container.hide-cursor { cursor: none; }

.controls {
	position: absolute;
	bottom: 0;
	width: 100%;
	background: linear-gradient(transparent, rgba(0,0,0,0.9));
	display: flex;
	align-items: center;
	padding: 20px 15px 10px;
	gap: 15px;
	box-sizing: border-box;
	transition: opacity 0.5s ease, transform 0.5s ease;
	z-index: 10;
}

.controls.hidden {
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
}

button {
	background: transparent;
	border: none;
	color: white;
	font-size: 18px;
	cursor: pointer;
	padding: 5px;
	line-height: 1;
	transition: transform 0.1s;
}
button:hover { transform: scale(1.1); }

.progress-bar {
	flex-grow: 1;
	height: 5px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	transition: height 0.2s;
}
.progress-bar:hover { height: 8px; }

#progress-fill {
	height: 100%;
	background: #ff0000;
	width: 0%;
	border-radius: 5px;
	position: relative;
}

.video-time {
	color: white;
	font-size: 13px;
	min-width: 90px;
	text-align: center;
	user-select: none;
}

.volume-container { display: flex; align-items: center; gap: 8px; }

#volume-bar {
	width: 60px;
	cursor: pointer;
	accent-color: #ff0000;
}

#volume-icon { color: white; cursor: pointer; font-size: 16px; width: 22px; text-align: center; }


#fullscreen-btn { font-size: 20px; }
