.abx_video-editor-container {
  width: 100%;
  max-width: 800px;
}

.abx_video-player-container {
  position: relative;
  margin-bottom: 20px;
}

#abxOutputVideo {
  width: 100%;
  display: block;
  border-radius: 8px;
}

#abxTimeDisplay {
  position: absolute;
  bottom: 68px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
}

#abxTimelineContainer {
  position: relative;
  width: 100%;
  height: 80px;
  background-color: #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px; /* 툴팁 공간 확보 */
}

#abxFramesContainer {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.frame-thumbnail {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

#abxTrimArea {
  position: absolute;
  height: 100%;
  background-color: rgba(76, 175, 80, 0.3);
  pointer-events: none;
}

.abx_handle {
  position: absolute;
  top: 0;
  width: 1rem;
  background-color: #4CAF50;
  cursor: ew-resize;
  z-index: 10;
  gap: .25rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  display: flex;
}

#abxStartHandle {
  left: 0;
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
}

#abxEndHandle {
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

#abxEndHandle span, #abxStartHandle span {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  border-radius: .25rem;
  width: .25rem;
  height: .25rem;
}

.abx_controls {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

#abxUploadButton, #abxSaveButton {
  background-color: #c8e6c9;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#abxInfoButton {
  background-color: #c8d4e6;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

#abxEmptyVideoPlaceholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  color: white;
  font-size: 18px;
  border-radius: 8px;
}

#abxProgressContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 20px;
  border-radius: 8px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: none;
}

#abxProgressTitle {
  color: white;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 16px;
}

.abx_progress-bar-container {
  width: 100%;
  height: 12px;
  background: #333;
  border-radius: 6px;
  overflow: hidden;
}

#abxProgressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #8BC34A);
  transition: width 0.3s ease;
}

#abxProgressDetails {
  color: #ccc;
  margin-top: 12px;
  font-size: 13px;
}

#abxCloseProgressModal {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  /* padding: 0; */
  line-height: 1;
  transition: color 0.3s ease;
  right: 0;
  position: absolute;
  top: 0;
}


.channel-container {
  display: none;
  margin: 10px 0;
  text-align: center;
}

.channel-button {
  padding: 8px 12px;
  margin: 0 5px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.channel-button:hover {
  background-color: #e0e0e0;
}

.channel-button.active {
  background-color: #007bff;
  color: white;
  border-color: #0056b3;
}

.channel-info {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}