.video-player {
  position: relative;
  background-color: #000;
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 100%;
}

.video-player video {
  width: 100%;
  display: block;
  cursor: pointer;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 0.5rem;
  transition: opacity 0.3s;
  opacity: 0;
}

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

.progress-container {
  padding: 0 0.5rem 0.25rem;
}

.progress-bar {
  width: 100%;
  height: 0.375rem;
  background-color: #4b5563;
  border-radius: 0.75rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #3b82f6;
  cursor: pointer;
}

.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem 0.5rem;
}

.left-controls,
.right-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.control-btn {
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
}

.control-btn:hover {
  color: #d1d5db;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 5rem;
  height: 0.25rem;
  background-color: #4b5563;
  border-radius: 0.75rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
}

.time-display {
  font-family: monospace;
  font-size: 0.875rem;
  color: #d1d5db;
}

.big-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.2s;
}

.big-play-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 1;
}

.big-play-btn.hidden {
  display: none;
}
