/* Namespaced to avoid affecting existing MVC pages, tables, forms or modals. */
.nib-tx{position:fixed;left:18px;bottom:18px;z-index:2147482000;direction:rtl;font-family:system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;font-size:13px;line-height:1.5;pointer-events:none}
.nib-tx *, .nib-tx *::before, .nib-tx *::after{box-sizing:border-box}
.nib-tx button,.nib-tx select{font:inherit;cursor:pointer}
.nib-tx [hidden]{display:none!important}
.nib-tx__toggle{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 15px;border:0;border-radius:99px;background:#312e81;color:white;font-weight:700!important;box-shadow:0 5px 22px #10145240;transition:background .15s}
.nib-tx__toggle:hover{background:#4338ca}
.nib-tx__panel{pointer-events:auto;position:absolute;bottom:55px;left:0;width:min(350px,calc(100vw - 28px));max-height:min(75vh,540px);overflow:auto;border-radius:14px;border:1px solid #c7d2fe;background:#fff;color:#111827;padding:16px;box-shadow:0 10px 35px #0f172a3d;text-align:right}
.nib-tx__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:15px}
.nib-tx__close{background:transparent;border:0;color:#475569;font-size:25px;line-height:1;min-height:30px;min-width:30px}
.nib-tx__label{display:block;margin:8px 0 5px;font-weight:600}
.nib-tx__select{display:block;width:100%;height:39px;border:1px solid #a5b4fc;border-radius:8px;color:#111827;background:#fff;padding:7px 10px}
.nib-tx__action{display:block;width:100%;min-height:39px;margin-top:10px;padding:8px 12px;background:#3730a3;border:1px solid #3730a3;color:#fff;border-radius:8px;font-weight:600}
.nib-tx__action--outline{background:white;color:#3730a3}
.nib-tx__action[aria-pressed="true"]{background:#fef3c7;border-color:#f59e0b;color:#92400e}
.nib-tx__hint,.nib-tx__privacy,.nib-tx__status{margin:10px 0 0;font-size:12px;color:#475569}
.nib-tx__privacy{font-size:11px}
.nib-tx__status{font-weight:600}
.nib-tx__hover{pointer-events:auto;position:fixed;width:33px;height:33px;display:flex;align-items:center;justify-content:center;z-index:2147482010;border:1px solid #a5b4fc;border-radius:99px;background:#eef2ff;color:#312e81;box-shadow:0 3px 12px #0002;cursor:pointer}
.nib-tx__hover:hover{background:#c7d2fe}
.nib-tx-picking [data-nib-translate-tools]~*:not(.nib-tx){cursor:crosshair}
.nib-tx__toggle:focus-visible,.nib-tx button:focus-visible,.nib-tx select:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
@media(max-width:600px){.nib-tx{left:10px;bottom:10px}.nib-tx__toggle{min-height:42px;padding:8px 12px}.nib-tx__panel{bottom:52px}}
@media print{.nib-tx{display:none!important}}

/* Whole-page translation controls: isolated from the host application. */
.nib-tx__divider{margin:14px 0 10px;border:0;border-top:1px solid #e0e7ff}
.nib-tx__action--page{background:#047857;border-color:#047857}
.nib-tx__action--page:hover{background:#065f46}
.nib-tx__action:disabled{opacity:.48;cursor:not-allowed}
.nib-tx__page-progress{margin:8px 0 0;font-size:12px;font-weight:600;color:#166534}
.nib-tx__panel{max-height:min(82vh,670px)}
.nib-tx__page-actions .nib-tx__hint{margin-top:8px}
