/* eComTasker – Sprachumschalter (Extension + ecomtasker.io) */
.ecls { position: relative; display: inline-flex; align-items: center; font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Noto Sans Arabic", Tahoma, sans-serif; z-index: 60; }
.ecls-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px 0 7px; border: 1px solid rgba(100, 116, 139, .35); border-radius: 999px; background: rgba(255, 255, 255, .9); color: #0f172a; font-weight: 700; font-size: 12px; line-height: 1; font-family: inherit; cursor: pointer; transition: background .15s, box-shadow .15s, border-color .15s; }
.ecls-btn:hover { background: #fff; border-color: rgba(100, 116, 139, .6); box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
.ecls-btn:focus-visible { outline: 2px solid #0ea5e9; outline-offset: 2px; }
.ecls-flag { display: inline-block; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(15, 23, 42, .18); background: #e2e8f0; line-height: 0; }
.ecls-flag svg { width: 100%; height: 100%; display: block; }
.ecls-code { letter-spacing: .04em; }
.ecls-caret { font-size: 10px; opacity: .6; }
.ecls-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 176px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 16px 40px rgba(15, 23, 42, .18); }
.ecls-menu[hidden] { display: none; }
.ecls-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #0f172a; font-weight: 600; font-size: 13px; line-height: 1.2; font-family: inherit; cursor: pointer; outline: none; }
.ecls-item:hover, .ecls-item:focus { background: #f1f5f9; }
.ecls-item.is-current { background: #eff6ff; color: #1d4ed8; }
.ecls-name { flex: 1 1 auto; }
.ecls-check { font-weight: 900; color: #16a34a; min-width: 12px; }
/* kompakt (Popup/Dashboard-Kopfzeile) */
.ecls.ecls-compact .ecls-btn { height: 24px; padding: 0 7px 0 5px; font-size: 11px; gap: 5px; }
.ecls.ecls-compact .ecls-flag { width: 19px; height: 13px; }
/* Dunkel */
body.dark-mode .ecls-btn, .dark .ecls-btn { background: #262b36; color: #e2e8f0; border-color: #3a4150; }
body.dark-mode .ecls-menu, .dark .ecls-menu { background: #1f2430; border-color: #3a4150; }
body.dark-mode .ecls-item, .dark .ecls-item { color: #e2e8f0; }
body.dark-mode .ecls-item:hover, body.dark-mode .ecls-item:focus { background: #2b3140; }
body.dark-mode .ecls-item.is-current { background: #1e3a5f; color: #bfdbfe; }
@media (prefers-reduced-motion: reduce) { .ecls-btn { transition: none; } }

/* ecomtasker.io – Platz des Umschalters oben rechts + Hinweis auf verbindliche deutsche Fassung */
.et-lang-slot { display: inline-flex; align-items: center; margin-inline-start: 4px; }
.et-lang-slot .ecls-btn { height: 38px; padding: 0 12px 0 9px; font-size: 13px; background: #fff; }
.et-lang-slot .ecls-flag { width: 24px; height: 16px; }
@media (max-width: 800px) {
  .et-lang-slot .ecls-btn { height: 36px; padding: 0 9px 0 7px; }
  .et-lang-slot .ecls-code, .et-lang-slot .ecls-caret { display: none; }
}
.legal-shell header nav .et-lang-slot { margin-inline-start: 12px; }
.et-legal-translation-note { margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 14px; line-height: 1.45; }
/* Arabisch: gut lesbare Systemschrift fuer arabische Zeichen, Latein bleibt Inter */
html[lang="ar"] body { font-family: "Inter", "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", "Arial", sans-serif; }
html[dir="rtl"] .nav-login span { margin-left: 0; margin-right: 20px; }
@media (max-width: 800px) { html[dir="rtl"] .nav-login span { margin-right: 7px; } }

/* Hinweisleiste "Seite auch in deiner Sprache" – dezent, unten mittig, wegklickbar */
.et-lang-hint { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2147483000; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 10px 12px 10px 16px; border-radius: 14px; background: #0f1b3d; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.28); font: 500 14px/1.35 Inter, "Segoe UI", system-ui, sans-serif; }
.et-lang-hint__t { flex: 1 1 auto; }
.et-lang-hint__go { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 8px 12px; background: #214fdf; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.et-lang-hint__go:hover { background: #1a3fb3; }
.et-lang-hint__x { flex: 0 0 auto; border: 0; background: transparent; color: #c9d3f5; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 6px; }
@media (max-width: 560px) { .et-lang-hint { bottom: 12px; font-size: 13px; padding: 8px 10px 8px 12px; } }
