/* ====== زر تبديل اللغة ====== */
.brl-switcher {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.brl-switcher .brl-btn {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a1a;
    background: #fff;
    transition: all .2s ease;
}

.brl-switcher .brl-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.brl-switcher .brl-btn.brl-active {
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
}

/* ====== تعديلات RTL عامة ====== */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .brl-switcher {
    flex-direction: row-reverse;
}

/* إصلاحات شائعة للقوائم والعناصر في وضع RTL */
html[dir="rtl"] ul,
html[dir="rtl"] ol {
    padding-right: 1.5em;
    padding-left: 0;
}

html[dir="rtl"] blockquote {
    border-right: 4px solid #ccc;
    border-left: none;
    padding-right: 1em;
    padding-left: 0;
}
