/* Header-only Local Language Toolkit styling, matching the existing GTranslate selector. */
.llt-embedded.jm-language{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#046bd2;isolation:auto}
.llt-embedded.jm-language .llt-trigger{display:flex;gap:5px;min-width:0;min-height:24px;padding:0;background:transparent;color:#046bd2;border:0;border-radius:0;box-shadow:none;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.llt-embedded.jm-language .llt-flag{width:24px;height:24px;object-fit:contain;border-radius:0;box-shadow:none}
.llt-embedded.jm-language .llt-chevron{width:10px;height:10px;margin-left:0;color:#666}
.llt-switcher.jm-language[data-mode=modal] details[open]>.llt-backdrop{background:#0009;backdrop-filter:none;z-index:999998}
.llt-switcher.jm-language[data-mode=modal] .llt-panel{width:300px;max-width:calc(100vw - 24px);height:375px;max-height:calc(100dvh - 40px);padding:6px 16px;border:0;border-radius:0;box-shadow:none;z-index:999999}
.llt-switcher.jm-language .llt-panel-header,.llt-switcher.jm-language .llt-panel-footer{display:none}
.llt-switcher.jm-language[data-mode=modal] .llt-search-wrap{display:flex;flex:0 0 57px;align-items:center;gap:8px;margin:0 0 4px;padding:8px 0;border-bottom:1px solid #eee}
.llt-switcher.jm-language .llt-search-wrap::before{content:"";width:24px;height:24px;flex:0 0 24px;background:center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23777' d='M9.5 3a6.5 6.5 0 0 1 5.17 10.44l4.45 4.44-1.41 1.41-4.44-4.45A6.5 6.5 0 1 1 9.5 3m0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9'/%3E%3C/svg%3E")}
.llt-switcher.jm-language input.llt-search{height:40px;min-width:0;padding:4px 0;background:#fff;border:0;border-radius:0;box-shadow:none;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.llt-switcher.jm-language[data-mode=modal] .llt-language-list{display:flex;flex-direction:column;gap:0;padding:0;overflow-y:auto}
.llt-switcher.jm-language a.llt-language{flex-shrink:0;gap:6px;min-height:39px;padding:7px 0;border:0;border-radius:0;background:#fff;color:#046bd2;box-shadow:none}
.llt-switcher.jm-language a.llt-language:hover,.llt-switcher.jm-language a.llt-language.is-current{background:#f5f5f5;color:#046bd2}
.llt-switcher.jm-language .llt-language-name{font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
@media(max-width:479px){.llt-switcher.jm-language[data-mode=modal] .llt-panel{width:300px;max-height:calc(100dvh - 32px)}.llt-switcher.jm-language .llt-trigger{font-size:14px}.llt-switcher.jm-language .llt-language{min-height:44px}}
@media(max-width:767px){
.llt-switcher.jm-language.jm-mobile-placement{position:absolute;right:80px;top:50%;transform:translateY(-50%);z-index:10;max-width:calc(100vw - 185px)}
.llt-switcher.jm-language.jm-mobile-placement .llt-trigger>span{max-width:calc(100vw - 230px);overflow:hidden;text-overflow:ellipsis}
.llt-switcher.jm-language.jm-mobile-placement:has(details[open]){position:static;transform:none;max-width:none}
}
