/* Pemilih bahasa halaman publik (public/js/terjemah.js) + rapikan tampilan Google Website Translator */
.pilih-bahasa-wadah { position: relative; display: inline-flex; align-items: center; }
.pilih-bahasa-wadah .ti { position: absolute; left: 8px; pointer-events: none; font-size: 1.05rem; color: currentColor; opacity: .8; }
.pilih-bahasa { appearance: none; -webkit-appearance: none; border: 1px solid rgba(2, 50, 88, .25); background: transparent; color: inherit;
    border-radius: 8px; padding: 4px 22px 4px 28px; font: inherit; font-size: 13px; line-height: 1.4; cursor: pointer; max-width: 128px;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 11px) 55%, calc(100% - 7px) 55%; background-size: 4px 4px; background-repeat: no-repeat; }
.pilih-bahasa:focus-visible { outline: 2px solid #2a7fc4; outline-offset: 1px; }
.pilih-bahasa option { color: #1d2630; background: #fff; }

/* Google: wadah gadget disembunyikan (pilihan lewat pemilih sendiri), banner atas & tooltip dimatikan */
.gt-wadah { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.goog-te-banner-frame, iframe.skiptranslate, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-OiiCO, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hG,
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
html.gt-aktif body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { vertical-align: inherit !important; }
/* Google membuang spasi di awal teks terjemahan, sehingga ikon menempel ke label: beri jarak saat halaman diterjemahkan */
html.translated-ltr .ti + font, html.translated-ltr .ti + span > font:first-child { margin-left: .25em; }
html.translated-rtl .ti + font, html.translated-rtl .ti + span > font:first-child { margin-right: .25em; }
html.gt-aktif .publik-nav .nav-link { white-space: nowrap; }
/* Label terjemahan lebih panjang dari aslinya: di bawah 1400 px menu desktop cukup ikon (judul tetap di tooltip) */
@media (max-width: 1399.98px) { html.gt-aktif .publik-nav .nav-link > span.d-lg-inline { display: none !important; } }

/* HP: pemilih ringkas di samping tombol menu */
.pilih-bahasa-hp .pilih-bahasa { max-width: 108px; padding-top: 3px; padding-bottom: 3px; color: #023258; }
@media (max-width: 360px) { .pilih-bahasa-hp .pilih-bahasa { max-width: 92px; font-size: 12px; } }
.publik-nav .pilih-bahasa { color: #023258; }
/* Beranda (navbar gelap) */
.pilih-bahasa-terang .pilih-bahasa { color: #fff; border-color: rgba(255, 255, 255, .55); }
.pilih-bahasa-terang .ti { color: #fff; }
@media (max-width: 767.98px) { .pilih-bahasa-terang .pilih-bahasa { max-width: 108px; padding-top: 3px; padding-bottom: 3px; } }
@media (max-width: 360px) { .pilih-bahasa-terang .pilih-bahasa { max-width: 92px; font-size: 12px; } }
