/* Lab-JGT Multilang — Frontend CSS */

/* Buttons style */
.labjgt-switcher--buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.labjgt-switcher--buttons .labjgt-switcher__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 2px solid currentColor;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: opacity 0.2s, background 0.2s;
    color: inherit;
}

.labjgt-switcher--buttons .labjgt-switcher__item:hover {
    opacity: 0.8;
}

.labjgt-switcher--buttons .labjgt-switcher__item.is-current {
    background: currentColor;
}
.labjgt-switcher--buttons .labjgt-switcher__item.is-current .labjgt-switcher__name,
.labjgt-switcher--buttons .labjgt-switcher__item.is-current .labjgt-switcher__code {
    color: #fff;
    mix-blend-mode: difference;
}

.labjgt-switcher--buttons .labjgt-switcher__item.is-unavailable {
    opacity: 0.45;
    cursor: not-allowed;
    border-style: dashed;
}

.labjgt-switcher__flag {
    font-size: 1.2em;
    line-height: 1;
}

/* Dropdown style */
.labjgt-switcher--dropdown {
    display: inline-block;
}

.labjgt-switcher__select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

/* ── Menu language switcher items ─────────────────────── */
.labjgt-menu-lang-btn {
    display: inline-block;
    padding: 2px 6px;
    text-decoration: none;
    color: inherit;
    border-radius: 3px;
    font-size: 13px;
    transition: opacity 0.2s;
}
.labjgt-menu-lang-btn:hover {
    opacity: 0.75;
}
.labjgt-menu-lang-btn.current-lang {
    font-weight: 700;
    text-decoration: underline;
}
/* Item de menu lang individuel */
li.labjgt-lang-item a {
    display: flex;
    align-items: center;
    gap: 5px;
}
li.labjgt-lang-item.current-lang > a {
    font-weight: 700;
}
