/* AR Language Switcher - compatible with Blocksy Pro */

.ar-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ar-lang-btn {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 3px;
    text-decoration: none;
    color: var(--theme-text-color, #333);
    transition: opacity 0.2s, background 0.2s;
    line-height: 1;
}

.ar-lang-btn:hover {
    opacity: 0.7;
    text-decoration: none;
}

.ar-lang-active {
    background: var(--theme-palette-color-1, #000);
    color: #fff !important;
    pointer-events: none;
}

.ar-lang-sep {
    color: var(--theme-text-color, #ccc);
    opacity: 0.4;
    pointer-events: none;
}

/* Blocksy header integration */
.ar-lang-widget-wrap {
    display: flex;
    align-items: center;
}

/* Compact variant for tight header areas */
.blocksy-header .ar-lang-switcher {
    font-size: 12px;
}

/* Dark header support (Blocksy transparent/dark headers) */
.has-light-header .ar-lang-btn,
[data-header-style="dark"] .ar-lang-btn {
    color: rgba(255, 255, 255, 0.85);
}

[data-header-style="dark"] .ar-lang-active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}
