/* MooTon Language Picker — compact inline with header */

.mooton-lang-picker {
    display: inline-flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.mooton-lang-picker__toggle,
.mooton-lang-picker__toggle:hover,
.mooton-lang-picker__toggle:focus,
.mooton-lang-picker__toggle:active {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: transparent !important;
    border: none;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    outline: none;
}

.mooton-lang-picker__icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.mooton-lang-picker__label {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2px;
    line-height: 1;
}
.mooton-lang-picker__chevron {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    opacity: 0.5;
    transition: transform 0.15s;
}
.mooton-lang-picker__toggle[aria-expanded="true"] .mooton-lang-picker__chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.mooton-lang-picker__dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    padding: 4px 0;
    z-index: 10001;
}

.mooton-lang-picker__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #0f1111;
    text-decoration: none;
    transition: background 0.1s;
    white-space: nowrap;
}
.mooton-lang-picker__option:hover {
    background: #edfdff;
}
.mooton-lang-picker__option.is-current {
    background: #f0f2f2;
    font-weight: 600;
    cursor: default;
}
.mooton-lang-picker__option.is-current:hover {
    background: #f0f2f2;
}

.mooton-lang-picker__code {
    flex-shrink: 0;
    width: 26px;
    font-size: 11px;
    font-weight: 500;
    color: #565959;
}
.mooton-lang-picker__name {
    flex: 1;
}
