/* ===== MODE TAB CREATOR - PANNEAU PRINCIPAL ===== */

.tab-creator-control-zone {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.tab-creator-main-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}

.tab-creator-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
}

#btnMulti,
#btnAddMeasure,
#btnDuplicateMeasure {
    width: auto;
    padding: 0 10px;
}

#btnAddMeasure {
    background: #808000;
    color: white;
    border-color: #808000;
}

#btnAddMeasure:hover {
    background: #6b6b00;
    border-color: #6b6b00;
}

.btn-secondary-action {
    background: var(--color-secondary, #6c757d);
}

.btn-secondary-action:hover {
    background: var(--color-secondary-dark, #5a6268);
}

/* Barre d'actions sous la tablature */
.tab-actions-bar {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Hauteur minimale de la zone tablature */
#tab-display {
    min-height: 206px;
}

/* Boutons inline (-, h, p) */
.tab-creator-inline-btns {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.tab-inline-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #808000;
    background: white;
    color: #808000;
    font-size: 16px;
    font-weight: bold;
    font-family: monospace;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-inline-btn:hover {
    background: #f5f0d0;
}

.tab-inline-btn.active {
    background: #808000;
    color: white;
}

/* Couleur active pour les boutons connecteurs */
.tab-inline-btn.active {
    background: #FF8C00;
    border-color: #FF8C00;
    color: white;
}

/* Note surlignée en mode multi */
.tab-creator-instrument-container .fretboard-dot.multi-selected {
    background: #FF8C00 !important;
    color: white;
}

/* Note en attente de validation d'un connecteur (h, p, /, b, b/r) */
.tab-creator-instrument-container .fretboard-dot.connector-pending {
    background: #FF8C00 !important;
    color: white;
    box-shadow: 0 0 6px rgba(255, 140, 0, 0.6);
}
