/* Text-first EN / ID toggle. All styles remain scoped to this control. */
#site-language-switch {
    position: fixed;
    top: 28px;
    right: 210px;
    z-index: 10001;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    mix-blend-mode: difference;
    pointer-events: auto;
    cursor: auto;
    font-family: inherit;
}
#site-language-switch button {
    appearance: none;
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: 32px 16px 32px;
    align-items: center;
    justify-content: center;
    width: 104px;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .02em;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    opacity: 1;
    transform: none;
}
#site-language-switch .language-label {
    display: block;
    color: #a3a3a3;
    transition: color 180ms ease;
}
#site-language-switch .language-separator {
    display: block;
    color: #888;
    font-size: 12px;
    font-weight: 300;
}
#site-language-switch .language-underline {
    position: absolute;
    display: block;
    bottom: 7px;
    left: 18px;
    width: 20px;
    height: 1px;
    background: currentColor;
    transform: translateX(0);
    transition: transform 180ms ease;
    pointer-events: none;
}
#site-language-switch button[aria-checked="true"] .language-underline { transform: translateX(48px); }
#site-language-switch button[aria-checked="false"] .language-en,
#site-language-switch button[aria-checked="true"] .language-id { color: #fff; font-weight: 500; }
#site-language-switch button:hover .language-label { color: #fff; }
#site-language-switch button:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
#site-language-switch button:disabled { cursor: wait; opacity: 1; }
@media (max-width: 1024px) {
    #site-language-switch { right: 160px; }
}
@media (max-width: 767px) {
    #site-language-switch { top: 18px; right: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    #site-language-switch .language-label,
    #site-language-switch .language-underline { transition: none; }
}
@media print { #site-language-switch { display: none; } }
