/* ── Video Preview Container ─────────────────── */
.video-preview-container {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
}

.video-preview-container video {
  width: 100%;
  max-height: 400px;
  display: block;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #1a1a2e;
}

.video-controls button {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms;
}

.video-controls button:hover {
  background: #9333ea;
  border-color: #9333ea;
}

.video-controls .time-display {
  font-family: monospace;
  font-size: 13px;
  color: #e2e8f0;
}

.video-timeline {
  flex: 1;
  position: relative;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  cursor: pointer;
}

.video-timeline-fill {
  height: 100%;
  background: #9333ea;
  border-radius: 4px;
  transition: width 100ms linear;
}

.video-timeline-handle {
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ── Video Info Bar ─────────────────────────── */
.video-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #1a1a2e;
  font-size: 13px;
  color: #e2e8f0;
}

.video-info-bar .info-left {
  display: flex;
  gap: 16px;
}

.video-info-bar .info-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.video-info-bar .info-tag svg {
  width: 14px;
  height: 14px;
}

/* ── Trim Handles ───────────────────────────── */
.trim-range {
  position: relative;
  height: 40px;
  margin: 16px 0;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}

.trim-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(147,51,234,0.3);
  border-left: 3px solid #9333ea;
  border-right: 3px solid #9333ea;
}

.trim-handle {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 14px;
  background: #9333ea;
  border-radius: 3px;
  cursor: ew-resize;
}

.trim-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 2px;
  height: 16px;
  background: rgba(255,255,255,0.6);
  border-radius: 1px;
}
