/* ===== زر تغيير اللغة ===== */

.lang-switch.lang-switch--pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px 4px 5px;
    color: #670756;
    background: #fff;
    border: 1px solid #e4c6dc;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-switch--pill .lang-switch__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f7eef4;
    color: #670756;
    font-size: 15px;
    flex: 0 0 28px;
}

.lang-switch--pill .lang-switch__label {
    line-height: 1;
}

.lang-switch.lang-switch--pill:focus-visible {
    outline: 2px solid #b65aa0;
    outline-offset: 2px;
}

@media (hover: hover) {
    .lang-switch.lang-switch--pill:hover {
        background: #faf5f9;
        border-color: #670756;
    }
}

@media (max-width: 991px) {
    .lang-switch.lang-switch--pill {
        padding: 3px 12px 3px 4px;
        font-size: 13px;
    }

    .lang-switch--pill .lang-switch__icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        font-size: 13px;
    }
}
