.lang-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 26px 0 4px;
}

.lang-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 2px solid #6e1372;
    background: rgba(255, 255, 255, 0.92);
    color: #6e1372;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

.lang-tab .flag {
    font-size: 15px;
    line-height: 1;
}

.lang-tab:hover {
    background: #fce4f1;
    transform: translateY(-1px);
}

.lang-tab.active {
    background: #6e1372;
    color: #fff;
}

html[dir="rtl"] .lang-switcher {
    direction: ltr;
}

.item-desc {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    color: #800080;
    font-size: 12px;
    line-height: 1.5;
}

@media only screen and (max-width: 700px) {
    .lang-switcher {
        gap: 4px;
    }

    .lang-tab {
        font-size: 11px;
        padding: 5px 9px;
    }
}
