/* BNODY_CRM_MESSAGE_TEMPLATES_POLISH_V2
   Scoped to Arabic MessageTemplates ONLY, activated by the pre-existing translation script.
   This only affects presentation. No select options or form values are modified. */
body.bnody-mt-i18n-ar .content-wrapper ng-select .ng-select-container,
body.bnody-mt-i18n-ar .content-wrapper .ng-select .ng-select-container,
body.bnody-mt-i18n-ar main ng-select .ng-select-container,
body.bnody-mt-i18n-ar .page-content ng-select .ng-select-container {
    direction: rtl;
    text-align: right;
}
/* Fix the narrow outlined text input that appears UNDER ng-select widgets
   due to generic input styles leaking into the internal search field. */
body.bnody-mt-i18n-ar .content-wrapper ng-select .ng-input > input,
body.bnody-mt-i18n-ar .content-wrapper .ng-select .ng-input > input,
body.bnody-mt-i18n-ar main ng-select .ng-input > input,
body.bnody-mt-i18n-ar .page-content ng-select .ng-input > input {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: normal !important;
}
body.bnody-mt-i18n-ar .content-wrapper ng-select .ng-input > input:focus,
body.bnody-mt-i18n-ar .content-wrapper .ng-select .ng-input > input:focus,
body.bnody-mt-i18n-ar main ng-select .ng-input > input:focus,
body.bnody-mt-i18n-ar .page-content ng-select .ng-input > input:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
/* Native select, placeholder and labels: align text only, never reverse options. */
body.bnody-mt-i18n-ar .content-wrapper label,
body.bnody-mt-i18n-ar .content-wrapper .form-text,
body.bnody-mt-i18n-ar .content-wrapper textarea + small,
body.bnody-mt-i18n-ar main label,
body.bnody-mt-i18n-ar .page-content label {
    text-align: right;
}
body.bnody-mt-i18n-ar .content-wrapper textarea::placeholder,
body.bnody-mt-i18n-ar .content-wrapper input::placeholder {
    text-align: right;
}
/* Keep LTR placeholder tokens legible in Arabic helper instructions.
   No body-wide direction or structural changes (grid, header, paginator) are made. */