/* Chord diagram container */
.chord-diagram {
	display: inline-block;
    margin-right: 10px;
    margin-bottom: 20px;
    vertical-align: top;
    text-align: center;
    overflow: visible; /* allow fret number to show outside diagram */
    padding-right: 8px; /* space for right-side number */
}

/* Chord name above the diagram */
.chord-diagram-name {
    display: none;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px !important;
}

.ctf-chord-canvas {
    width: 80px;
}

/* Make diagrams scale well on smaller devices */
.chord-diagram svg {
    max-width: 80px; /* slightly wider so fret number fits */
    height: auto;
    overflow: visible !important;
}

/* White lines and dots for diagrams */
.chord-diagram line,
.chord-diagram circle {
    stroke: 1;
}

/* Muted strings (X) */
.chord-muted {
    font-size: 10px;
}

/* Open strings (O) */
.chord-open {
    font-size: 10px;
}

/* Fret number on right side */
.chord-fret-number {
    font-size: 8px;
    dominant-baseline: middle;
}

/* Group chord diagrams under the song */
.chord-diagram-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
