
/* v14.1.81 — language controls */
.ml179-lang{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 10px;border:1px solid rgba(83,139,210,.28);border-radius:11px;background:rgba(7,18,34,.72);color:var(--text,#eef6ff);font:600 12px/1 Inter,Geist,sans-serif;backdrop-filter:blur(10px)}
.ml179-lang span{opacity:.78;font-size:14px}.ml179-lang select{appearance:none;border:0;outline:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding-right:2px;min-width:86px}.ml179-lang select option{color:#0c1728;background:#fff}.ml-public-body .ml179-lang.public{height:40px;background:rgba(6,15,30,.7)}
body.theme-light .ml179-lang,.theme-light .ml179-lang,[data-theme=light] .ml179-lang{background:#fff;color:#122033;border-color:#ced9e8;box-shadow:0 3px 12px rgba(20,45,80,.06)}
@media(max-width:900px){.ml-public-body .ml179-lang.public span{display:none}.ml-public-body .ml179-lang.public{padding:0 7px}.ml179-lang.app{display:none}}
@media(max-width:640px){.ml-public-body .ml179-lang.public{order:-1}.ml-public-body .ml179-lang.public select{min-width:72px}}

/* Full multilingual + RTL support */
.ml179-lang select{min-width:120px;max-width:180px}
html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] .sidebar,html[dir="rtl"] .topbar,html[dir="rtl"] .content,html[dir="rtl"] .mlp-shell,html[dir="rtl"] .ml147-modal{direction:rtl}
html[dir="rtl"] input,html[dir="rtl"] textarea,html[dir="rtl"] select{text-align:right}
html[dir="rtl"] .score,html[dir="rtl"] .odds,html[dir="rtl"] .mono,html[dir="rtl"] code,html[dir="rtl"] [data-no-i18n]{direction:ltr}
html[dir="rtl"] .ml179-lang{direction:rtl}
@media(max-width:640px){.ml179-lang select{min-width:92px;max-width:130px}}


/* v14.1.81: subtle route translation progress indicator */
html.ml-i18n-switching::before{content:"";position:fixed;z-index:2147483647;top:0;left:0;width:38%;height:2px;background:linear-gradient(90deg,transparent,var(--accent,#2d8cff),transparent);animation:ml181-lang-load 1s ease-in-out infinite;pointer-events:none}
@keyframes ml181-lang-load{0%{transform:translateX(-110%)}100%{transform:translateX(370%)}}
html[dir="rtl"] .mlp-header,html[dir="rtl"] .mlp-hero,html[dir="rtl"] .mlp-features,html[dir="rtl"] .mlp-pricing,html[dir="rtl"] .settings-grid,html[dir="rtl"] .admin-grid{direction:rtl}
html[dir="rtl"] .mlp-auth,html[dir="rtl"] .top-actions{flex-direction:row-reverse}

/* v14.1.82: keep exactly one public language control inside the header action area without overlapping CTAs */
.mlp-header .mlp-auth>#ml179PublicLanguage{flex:0 0 auto;max-width:170px;margin-right:2px}
@media(max-width:760px){.mlp-header .mlp-auth>#ml179PublicLanguage{max-width:118px}.mlp-header .mlp-auth>#ml179PublicLanguage select{min-width:84px;max-width:96px}}
