/* IACC public entry pages in English, French and Arabic (Phase 5D, release 20261109_phase5d): language selector, right-to-left
   registration / sign-in / password pages, translated file picker. Loaded by those pages only. */
.iacc-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; font-size: 13px; }
.iacc-langs__label { color: #5b6b78; font-weight: 600; margin-inline-end: 2px; }
.iacc-langs a { padding: 5px 12px; border: 1px solid #d3dbe0; border-radius: 999px; background: #fff; color: #1d3445; text-decoration: none; font-weight: 700; line-height: 1.35; }
.iacc-langs a:hover { border-color: #1c8450; color: #1c8450; }
.iacc-langs a[aria-current="true"] { background: #0f2a3f; border-color: #0f2a3f; color: #fff; }
.iacc-langs a:focus-visible { outline: 2px solid #1c8450; outline-offset: 2px; }
.iacc-apply .iacc-langs { margin-bottom: 22px; }

/* Arabic: sign-in and password pages are fully right-to-left */
html[dir="rtl"] body.iacc-auth { font-family: "IBM Plex Sans Arabic", "Kumbh Sans", Tahoma, Arial, sans-serif; }
html[dir="rtl"] .iacc-auth__panel, html[dir="rtl"] .iacc-auth__quote { text-align: right; }
.iacc-auth input[type="email"], .iacc-auth input[type="password"] { direction: ltr; }
html[dir="rtl"] .iacc-auth input[type="email"], html[dir="rtl"] .iacc-auth input[type="password"] { text-align: right; }

/* Arabic: the registration content (the site header stays as it is) */
.iacc-apply[dir="rtl"], .iacc-rtl-block[dir="rtl"] { font-family: "IBM Plex Sans Arabic", "Kumbh Sans", Tahoma, Arial, sans-serif; text-align: right; }
.iacc-rtl-font[dir="rtl"] { font-family: "IBM Plex Sans Arabic", "Kumbh Sans", Tahoma, Arial, sans-serif; }   /* centred banner: direction and font only */
.iacc-apply[dir="rtl"] .iacc-step { margin-right: 0; margin-left: 10px; }
.iacc-apply[dir="rtl"] .iacc-apply__steps li { padding: 7px 8px 7px 14px; }
.iacc-apply[dir="rtl"] .form-select { background-position: left .75rem center; padding-right: .75rem; padding-left: 2.25rem; }
.iacc-apply[dir="rtl"] .form-check { padding-left: 0; padding-right: 1.5em; }
.iacc-apply[dir="rtl"] .form-check .form-check-input { float: right; margin-left: 0; margin-right: -1.5em; }
.iacc-apply input[type="email"], .iacc-apply input[name="phone"], .iacc-apply input[name="manager_phone"] { direction: ltr; }
.iacc-apply[dir="rtl"] input[type="email"], .iacc-apply[dir="rtl"] input[name="phone"], .iacc-apply[dir="rtl"] input[name="manager_phone"] { text-align: right; }
.iacc-apply[dir="rtl"] .select2-container { text-align: right; }

/* Translated file picker: the native input stays (keyboard, screen readers, the browser's own dialog); only its button text
   is ours. Without JavaScript the native control is shown unchanged. */
.iacc-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative; }
.iacc-file__input { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0 !important; opacity: 0; }
.iacc-file__btn { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 14px; border: 1px solid #c7d2d9; border-radius: 9px; background: #f3f6f8; color: #1d3445; font-weight: 700; font-size: 14px; cursor: pointer; }
.iacc-file__btn:hover { border-color: #1c8450; }
.iacc-file__input:focus-visible + .iacc-file__btn { outline: 2px solid #1c8450; outline-offset: 2px; }
.iacc-file__name { color: #5b6b78; font-size: 13.5px; overflow-wrap: anywhere; }
