/* Language Switcher - dipakai di semua halaman */
.lang-switcher { position: relative; display: inline-block; font-family: inherit; }
.lang-switcher-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 7px 10px; cursor: pointer;
    font-size: 0.82rem; font-weight: 600; color: #374151;
    font-family: inherit; transition: all 0.15s;
}
.lang-switcher-btn:hover { border-color: #9ca3af; background: #f9fafb; }
.lang-switcher-btn svg { color: #6b7280; }
.lang-switcher-current { letter-spacing: 0.5px; }
.lang-switcher-menu {
    position: absolute; right: 0; top: calc(100% + 6px);
    background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    min-width: 180px; padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: all 0.15s; z-index: 1000;
}
.lang-switcher[data-open="1"] .lang-switcher-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher-menu button {
    display: block; width: 100%; text-align: left;
    padding: 8px 10px; background: none; border: none; border-radius: 6px;
    font-size: 0.85rem; color: #374151; cursor: pointer;
    font-family: inherit;
}
.lang-switcher-menu button:hover { background: #f3f4f6; }

/* Dark theme variant (untuk landing page navbar yang bg putih/gelap tergantung) */
.navbar-dark .lang-switcher-btn { background: transparent; border-color: rgba(255,255,255,0.2); color: #fff; }
.navbar-dark .lang-switcher-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.navbar-dark .lang-switcher-btn svg { color: rgba(255,255,255,0.7); }
