/* Custom Control Bar Styles */
.custom-video-control-bar {
  background: #000;
  padding: 5px 10px 6px;
  box-sizing: border-box;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Controls Container */
.custom-controls-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.custom-controls-left,
.custom-controls-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Volume Container */
.custom-volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* In fullscreen mode, remove padding and restore full height */
.video-js.vjs-fullscreen .custom-video-control-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.video-js.vjs-fullscreen video {
  height: 100%;
}

/* Audio-only mode: compact control bar */
.video-js.audio-only .custom-video-control-bar {
  position: relative;
  padding-top: 6px;
  margin: 0;
  width: 100%;
}

/* Responsive Design for Control Bar */
@media (max-width: 768px) {
  .custom-video-control-bar {
    padding: 6px 8px;
    gap: 6px;
  }
  
  .custom-controls-left,
  .custom-controls-right {
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .custom-video-control-bar {
    padding: 4px 6px;
    gap: 4px;
  }
  
  .custom-controls-left,
  .custom-controls-right {
    gap: 2px;
  }
}
