/* ── WP Bilingual Pages — Language Switcher ──────────────────────────────── */

.wpbp-switcher-bar {
    position: fixed;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(18, 18, 28, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 7px 16px;
    border-radius: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 24px rgba(0,0,0,.30);
    transition: opacity .2s, transform .2s;
    pointer-events: all;
}

/* Positions */
.wpbp-pos-top-right    { top: 18px;    right: 18px;  }
.wpbp-pos-top-left     { top: 18px;    left:  18px;  }
.wpbp-pos-bottom-right { bottom: 18px; right: 18px;  }
.wpbp-pos-bottom-left  { bottom: 18px; left:  18px;  }

/* Admin bar offset */
.admin-bar .wpbp-pos-top-right,
.admin-bar .wpbp-pos-top-left {
    top: 50px;
}

/* ── Language pills ────────────────────────────────────────────────────────── */

.wpbp-lang {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    white-space: nowrap;
}

.wpbp-lang--active {
    opacity: .5;
    cursor: default;
}

.wpbp-lang--link {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.14);
    padding: 5px 11px;
    border-radius: 20px;
    transition: background .15s, transform .15s;
}

.wpbp-lang--link:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.wpbp-flag {
    font-size: 15px;
    line-height: 1;
}

.wpbp-divider {
    opacity: .25;
    font-size: 11px;
    user-select: none;
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .wpbp-switcher-bar {
        padding: 6px 12px;
        font-size: 12px;
    }
    .wpbp-flag { font-size: 14px; }
}
