/* white-point-enhancements.css */
/* Styles for white point visualization enhancements */

/* White Point Indicators */
.wp-indicator-group {
  opacity: 0.8;
}

.wp-indicator-text {
  text-anchor: middle;
  dominant-baseline: middle;
  font-size: 10px;
  font-family: sans-serif;
  font-weight: bold;
  fill: white;
}

/* Direction Arrow */
.direction-arrow {
  stroke: #FF9B42;
  stroke-width: 2.5;
  stroke-dasharray: 4 2;
  fill: #FF9B42;
}

/* White Point Label */
.white-point-label-group {
  opacity: 0.9;
  pointer-events: none; /* Make it non-interactive */
}

.white-point-label-bg {
  fill: white;
  stroke: #333;
  stroke-width: 1;
  rx: 3;
  ry: 3;
  opacity: 0.85;
}

.white-point-label {
  font-size: 12px;
  font-family: sans-serif;
  font-weight: normal;
  text-anchor: middle;
  dominant-baseline: middle;
  transition: fill 0.3s ease;
}

/* Timeline */
.timeline-container {
  margin: 12px 0;
  padding: 0 16px;
}

.timeline-scrubber {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #e0e0e0;
  outline: none;
  border-radius: 3px;
  margin-bottom: 8px;
}

.timeline-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FF3E8A;
  cursor: pointer;
}

.timeline-scrubber::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FF3E8A;
  cursor: pointer;
  border: none;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

/* Step Indicators */
.step-indicators {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.step-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e0e0e0;
  border: 2px solid #ccc;
}

.step-indicator.active {
  background-color: #FF3E8A;
  border-color: #d3246e;
}

.step-description {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  min-height: 20px;
}

/* Animation Controls */
.animation-controls {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 8px;
}

.animation-control-btn {
  padding: 6px 12px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.animation-control-btn:hover {
  background-color: #e0e0e0;
}

.animation-control-btn.active {
  background-color: #FF3E8A;
  color: white;
  border-color: #d3246e;
}

/* Pulse Animation for White Points */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.pulse-highlight {
  animation: pulse 1.5s infinite ease-in-out;
}

/* Split View */
.split-view {
  display: flex;
  height: 300px;
  margin-top: 24px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.split-view-pane {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.split-view-divider {
  width: 8px;
  background-color: #ccc;
  cursor: col-resize;
}

.split-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

.split-label-before {
  color: #333;
}

.split-label-after {
  color: #FF3E8A;
}