/* Clean Minimalist Dual-Track Audio Player (White & Black) */
.dual-player-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.player-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-title h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.player-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  font-family: var(--font-mono);
}

.track-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 860px) {
  .track-channels {
    grid-template-columns: 1fr;
  }
}

.channel-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 14px;
}

.channel-card.agent-channel {
  border-left: 3px solid #111827;
}

.channel-card.customer-channel {
  border-left: 3px solid #6b7280;
}

.channel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.channel-name {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
}

.channel-spec {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #6b7280;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2px 6px;
  border-radius: 4px;
}

.waveform-canvas {
  width: 100%;
  height: 56px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  display: block;
}

.channel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

.vol-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
}

.vol-slider {
  width: 80px;
  height: 4px;
  accent-color: #111827;
  cursor: pointer;
}

.btn-toggle-track {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  cursor: pointer;
}

.btn-toggle-track.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* Master Timeline & Transport */
.master-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.timeline-scrubber {
  position: relative;
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  cursor: pointer;
}

.timeline-progress {
  height: 100%;
  background: #111827;
  border-radius: 3px;
  width: 0%;
  position: relative;
}

.timeline-thumb {
  position: absolute;
  right: -5px;
  top: -4px;
  width: 14px;
  height: 14px;
  background: #111827;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.transport-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.transport-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-transport {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
}

.btn-transport:hover {
  background: #f3f4f6;
  border-color: #111827;
}

.btn-transport.primary {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.btn-transport.primary:hover {
  background: #262626;
}

.time-display {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.speed-select {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  cursor: pointer;
}

/* Quality Metrics Strip */
.qa-metrics-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 11px;
}

.qa-metric-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qa-metric-label {
  color: #6b7280;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.qa-metric-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #111827;
}
