/**
 * Trad Tune Explorer - Standalone Fretboard Component Styles
 */
:root {
  --degree-root: #f59e0b;
  --degree-3rd: #10b981;
  --degree-5th: #8b5cf6;
  --degree-7th: #f472b6;
  --degree-other: #3b82f6;
  --root-color: #f59e0b;
  --chord-color: #3b82f6;
  --scale-color: #10b981;
  --muted-color: #475569;
}

/* Fretboard Container */
.fretboardContainer,
.guitarContainer {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius, 14px);
  border: 1px solid var(--stroke, rgba(255, 255, 255, 0.1));
  padding: 18px 10px 10px;
  overflow-x: auto;
  margin-bottom: 16px;
  position: relative;
}

/* SVG Elements */
.fretboard-bg {
  fill: #151a22;
  rx: 4px;
  ry: 4px;
}

.fretboard-nut {
  stroke: #8e9bb0;
  stroke-width: 6px;
}

.fret-line {
  stroke: #475569;
  stroke-width: 2.2px;
}

.string-line {
  stroke: #a0aec0;
  opacity: 0.75;
}

.fret-marker {
  fill: #2d3748;
  opacity: 0.65;
}

.fretboard-note-marker {
  cursor: pointer;
}

.fretboard-note-marker circle {
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.15s ease;
}

.fretboard-note-marker:hover circle {
  transform: scale(1.25);
}

.fretboard-label {
  text-anchor: middle;
  dominant-baseline: middle;
  font-weight: bold;
  font-family: monospace;
}

/* Degree Roman Numeral Legend */
.scoreDegreeLegend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 18px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text, #e2e8f0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.scoreDegreeLegend .legendTitle {
  font-weight: 600;
  color: var(--muted, #94a3b8);
  margin-right: 4px;
}

.scoreDegreeLegend .legendItem {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scoreDegreeLegend .legendDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.scoreDegreeLegend .legendLabel {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e2e8f0;
}
