/* video-player.css */
.custom-video-player {
  max-width: 800px;
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  position: relative;
  font-family: sans-serif;
}

.custom-video-player video {
  width: 100%;
  display: block;
  background: #000;
}

.custom-video-player .controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(0,0,0,0.7);
  position: absolute;
  bottom: 0;
  width: 100%;
  transition: opacity 0.3s;
}

.custom-video-player:hover .controls {
  opacity: 1;
}

.custom-video-player .controls button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.custom-video-player .controls button:hover {
  color: #00adef;
}

.custom-video-player .controls input[type=range] {
  accent-color: #00adef;
}

.custom-video-player .controls .progress {
  flex-grow: 1;
}

.custom-video-player .controls .volume {
  width: 80px;
}

.custom-video-player.fullscreen {
  position: fixed !important;
  inset: 0;
  z-index: 9999;
  max-width: none;
  border-radius: 0;
}
