/* Global pill language switcher — kept small (FA | EN), not the old green buttons. */

.nf-lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    gap: 2px;
}

.nf-lang-opt {
    min-width: 2.35rem;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #7b8694;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.nf-lang-opt:hover {
    color: #3f4a56;
    text-decoration: none;
}

.nf-lang-opt.active {
    background: #fff;
    color: #1a2233;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}

[data-bs-theme="dark"] .nf-lang-switch {
    background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .nf-lang-opt {
    color: #9aa4b2;
}

[data-bs-theme="dark"] .nf-lang-opt.active {
    background: #2b323b;
    color: #f1f3f5;
}
