.neo-lang-selector {
    position: relative;
    display: inline-block;
    z-index: 1000;
}
.neo-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(100, 116, 139, 0.25);
    background: var(--bg-elevated, #fff);
    color: var(--text-primary, #1e293b);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}
.neo-lang-btn:hover {
    border-color: var(--accent, #2563eb);
    background: rgba(37, 99, 235, 0.06);
}
.neo-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    background: var(--bg-elevated, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
    padding: 6px;
    z-index: 1001;
}
[dir="rtl"] .neo-lang-dropdown {
    right: auto;
    left: 0;
}
.neo-lang-dropdown.open {
    display: block;
}
.neo-lang-item {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: none;
    background: none;
    color: var(--text-primary, #1e293b);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
    font-family: inherit;
    white-space: nowrap;
}
[dir="rtl"] .neo-lang-item {
    text-align: right;
}
.neo-lang-item:hover {
    background: rgba(37, 99, 235, 0.08);
}
.neo-lang-item.active {
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent, #2563eb);
    font-weight: 600;
}
