/*
 * JouteTrack — theme-chips.css
 * Chips unifiés (BEM).
 */

.jt-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
}

.jt-chip--vert {
    background: #1a4731;
    color: #4ade80;
}

.jt-chip--gris {
    background: #2d2d2d;
    color: #9ca3af;
}

.jt-chip--bleu {
    background: #1e3a5f;
    color: #60a5fa;
}

.jt-chip--orange {
    background: #4a2f0a;
    color: #fb923c;
}

.jt-chip--rouge {
    background: #4a1a1a;
    color: #f87171;
}

.jt-chip--vis-publique {
    background: rgba(100, 181, 246, 0.12);
    color: #64b5f6;
    border-color: rgba(100, 181, 246, 0.45);
}

.jt-chip--vis-privee {
    background: rgba(243, 156, 18, 0.14);
    color: #ffb74d;
    border-color: rgba(243, 156, 18, 0.45);
}

.jt-chip--division-P {
    background: #1a3a5c;
    color: #60a5fa;
}

.jt-chip--division-S {
    background: #0a3d3d;
    color: #5eead4;
}

.jt-chip--division-C {
    background: #3d3000;
    color: #fbbf24;
}

.jt-chip--division-U {
    background: #2d1b4e;
    color: #c084fc;
}

.jt-chip--division-E {
    background: #1a3d1a;
    color: #86efac;
}

.jt-chip--division-A {
    background: #2d2d2d;
    color: #9ca3af;
}

.jt-division-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.jt-division-filter-btn {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: opacity 0.15s;
}

.jt-division-filter-btn.is-active {
    opacity: 1;
    border-color: currentColor;
}

.jt-division-filter-btn:not(.is-active) {
    opacity: 0.6;
}
