/* AI Translate WP — Switcher CSS v2.0 */
.aitwp-switcher,.aitwp-switcher *{box-sizing:border-box;}
.aitwp-switcher ul{list-style:none!important;margin:0!important;padding:0!important;}
.aitwp-switcher li{margin:0!important;padding:0!important;}
.aitwp-switcher{display:inline-flex;align-items:center;font-family:inherit;font-size:14px;position:relative;line-height:1;}
/* Trigger */
.aitwp-switcher .aitwp-trigger{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:5px;padding:7px 12px;cursor:pointer;border-radius:6px;white-space:nowrap;font-size:13px;font-weight:600;transition:background .15s,opacity .15s;user-select:none;}
.aitwp-switcher .aitwp-trigger:focus-visible{outline:2px solid currentColor;outline-offset:2px;}
.aitwp-switcher .aitwp-chevron{font-size:9px;opacity:.6;transition:transform .2s;}
.aitwp-switcher.open .aitwp-chevron{transform:rotate(180deg);}
.aitwp-switcher .aitwp-flag{font-size:17px;line-height:1;}
/* Dropdown */
.aitwp-switcher .aitwp-dropdown{display:none;position:absolute;top:calc(100% + 5px);left:0;min-width:190px;z-index:9999999;border-radius:8px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.18);}
.aitwp-switcher.open .aitwp-dropdown{display:block;}
.aitwp-switcher .aitwp-dropdown.flip-up{top:auto;bottom:calc(100% + 5px);}
.aitwp-switcher .aitwp-dropdown.flip-right{left:auto;right:0;}
.aitwp-switcher .aitwp-dropdown li a{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:9px 14px;cursor:pointer;font-size:13px;transition:background .12s;}
.aitwp-switcher .aitwp-dropdown .aitwp-native{font-size:11px;margin-left:auto;opacity:.55;}
.aitwp-switcher .aitwp-dropdown .aitwp-source{border-bottom:1px solid rgba(128,128,128,.18);}
/* Inline/Block */
.aitwp-inline .aitwp-langs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;}
.aitwp-block .aitwp-langs{display:flex;flex-direction:column;gap:2px;}
.aitwp-inline .aitwp-lang,.aitwp-block .aitwp-lang{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:5px;text-decoration:none!important;font-size:13px;transition:background .12s;}
/* Theme: Light */
.aitwp-theme-light .aitwp-trigger{background:#fff;color:#222;border:1px solid #ccc;}
.aitwp-theme-light .aitwp-trigger:hover{background:#f5f5f5;}
.aitwp-theme-light .aitwp-dropdown{background:#fff;border:1px solid #ddd;color:#222;}
.aitwp-theme-light .aitwp-dropdown li a:hover,.aitwp-theme-light .aitwp-lang:hover{background:#f5f5f5!important;}
.aitwp-theme-light .aitwp-current a,.aitwp-theme-light .aitwp-lang.aitwp-current{background:#eef3fb!important;color:#1d5fbe!important;font-weight:700;}
/* Theme: Grey */
.aitwp-theme-grey .aitwp-trigger{background:#f0f0f0;color:#333;border:1px solid #bbb;}
.aitwp-theme-grey .aitwp-trigger:hover{background:#e0e0e0;}
.aitwp-theme-grey .aitwp-dropdown{background:#f4f4f4;border:1px solid #ccc;color:#333;}
.aitwp-theme-grey .aitwp-dropdown li a:hover,.aitwp-theme-grey .aitwp-lang:hover{background:#e4e4e4!important;}
.aitwp-theme-grey .aitwp-current a,.aitwp-theme-grey .aitwp-lang.aitwp-current{background:#dde8f8!important;color:#1d5fbe!important;font-weight:700;}
/* Theme: Dark */
.aitwp-theme-dark .aitwp-trigger{background:#1c1c1e;color:#f0f0f0;border:1px solid #444;}
.aitwp-theme-dark .aitwp-trigger:hover{background:#2c2c2e;}
.aitwp-theme-dark .aitwp-dropdown{background:#1c1c1e;border:1px solid #444;color:#f0f0f0;}
.aitwp-theme-dark .aitwp-dropdown li a{color:#f0f0f0!important;}
.aitwp-theme-dark .aitwp-dropdown li a:hover,.aitwp-theme-dark .aitwp-lang:hover{background:#333!important;}
.aitwp-theme-dark .aitwp-current a,.aitwp-theme-dark .aitwp-lang.aitwp-current{background:#1d4080!important;color:#fff!important;font-weight:700;}
/* Theme: Blur White (default — nav-friendly) */
.aitwp-theme-blur-white .aitwp-trigger{background:rgba(255,255,255,.15);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:inherit;border:1.5px solid rgba(255,255,255,.5);}
.aitwp-theme-blur-white .aitwp-trigger:hover{background:rgba(255,255,255,.25);}
.aitwp-theme-blur-white .aitwp-dropdown{background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(200,200,200,.6);color:#222;}
.aitwp-theme-blur-white .aitwp-dropdown li a{color:#222!important;}
.aitwp-theme-blur-white .aitwp-dropdown li a:hover,.aitwp-theme-blur-white .aitwp-lang:hover{background:rgba(0,0,0,.07)!important;}
.aitwp-theme-blur-white .aitwp-current a,.aitwp-theme-blur-white .aitwp-lang.aitwp-current{background:rgba(29,95,190,.12)!important;color:#1d5fbe!important;font-weight:700;}
/* Theme: Blur Black */
.aitwp-theme-blur-black .aitwp-trigger{background:rgba(0,0,0,.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;border:1.5px solid rgba(255,255,255,.3);}
.aitwp-theme-blur-black .aitwp-trigger:hover{background:rgba(0,0,0,.65);}
.aitwp-theme-blur-black .aitwp-dropdown{background:rgba(20,20,20,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);color:#f0f0f0;}
.aitwp-theme-blur-black .aitwp-dropdown li a{color:#f0f0f0!important;}
.aitwp-theme-blur-black .aitwp-dropdown li a:hover,.aitwp-theme-blur-black .aitwp-lang:hover{background:rgba(255,255,255,.1)!important;}
.aitwp-theme-blur-black .aitwp-current a,.aitwp-theme-blur-black .aitwp-lang.aitwp-current{background:rgba(29,95,190,.4)!important;color:#fff!important;font-weight:700;}
/* Flag shapes */
.aitwp-flag-circle{border-radius:50%;overflow:hidden;display:inline-block;}
.aitwp-flag-rect{border-radius:3px;display:inline-block;}
.aitwp-flag-wave{border-radius:30% 70% 70% 30%/30% 30% 70% 70%;overflow:hidden;display:inline-block;}
/* Auto-insert positions */
.aitwp-auto-insert{position:fixed;z-index:9999998;}
.aitwp-pos-bottom-right{bottom:20px;right:20px;}
.aitwp-pos-bottom-center{bottom:20px;left:50%;transform:translateX(-50%);}
.aitwp-pos-bottom-left{bottom:20px;left:20px;}
.aitwp-auto-insert .aitwp-dropdown{bottom:calc(100% + 8px);top:auto;right:0;left:auto;}
/* Nav menu */
li.aitwp-menu-item{display:flex!important;align-items:center!important;}
li.aitwp-menu-item>.aitwp-switcher{margin:0;}
/* No-langs notice */
.aitwp-no-langs{font-size:12px;color:#c00;font-family:sans-serif;}
/* Progress bar — admin-only, hidden from visitors entirely */
#aitwp-pb{display:none!important;}
/* Visual editor */
body.aitwp-editor-active [data-aitwp-translated]{outline:2px dashed #f0b429!important;cursor:pointer!important;}
.aitwp-edit-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:99999999;display:flex;align-items:center;justify-content:center;}
.aitwp-edit-box{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.3);}
.aitwp-edit-orig{font-size:13px;color:#666;margin:0 0 12px;}
.aitwp-edit-ta{width:100%;min-height:80px;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:14px;resize:vertical;font-family:inherit;}
.aitwp-edit-actions{display:flex;gap:10px;margin-top:14px;justify-content:flex-end;}
.aitwp-btn-save{background:#1d5fbe;color:#fff;border:none;padding:8px 20px;border-radius:6px;cursor:pointer;font-size:14px;}
.aitwp-btn-cancel{background:#f0f0f0;color:#333;border:none;padding:8px 20px;border-radius:6px;cursor:pointer;font-size:14px;}
