/* Main container */
.timeline-container {
  width: 100%;
  padding: 20px 0 10px 0;
  margin-top: 10px;
  position: relative;
  border-radius: 0;
  background-color: #81704c;
}

/* Tick mark */
.timeline-tick {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 1px;
  height: 25px;
  background-color: black;
  pointer-events: none;
}

/* Time label */
.time-label {
  position: absolute;
  top: 0;
  left: 0;
  color: black;
  font-size: 10px;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, 0);
}

/* Controls container */
.controls-container {
  /*position: absolute;
  transform: translateX(-50%);
 */
    bottom: 0px;
    left: 50%;
    padding-left: 10px;
    z-index: 1000;
    pointer-events: auto;
}


/* Resize handle */
.resize-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    cursor: ew-resize;
    z-index: 10;
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
    transform: translate(-50%, -50%);
    top: 25%;
}

.resize-handle.dragging {
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.resize-handle:not(.dragging) {
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.resize-handle:not(.dragging):hover {
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    background-color: #f0f0f0;
}

.marked-time-line {
    position: absolute;
    width: 3px;
    background-color: blue;
    height: 30px;
    top: 0;
    z-index: 8;
    pointer-events: none;
}

.video-start-button {
    position: relative;
    width: 16px;
    height: 16px;
    background-color: blue;
    border-radius: 2px;
    cursor: ew-resize;
    z-index: 10;
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
    transform: translate(-50%, -50%);
    top: 55%;
}
.video-start-button.dragging {
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.video-start-button:not(.dragging) {
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.video-start-button:not(.dragging):hover {
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    background-color: #0066cc;
}

#plyr-player {
    height: 30vh !important;
}

#plyr-player .plyr__video-embed {
    height: 30vh !important;
}

#plyr-player iframe {
    height: 30vh !important;
}
