/* Email and password boxes (owner, 30/11/2026, ENGLISH-LETTERS-MSG; public/assets/js/nt-english-only.js).
   Before the box is tapped: a pale hint in the page's language, on the right on Farsi pages, on the left on English pages.
   The moment the box has focus: the hint is gone and everything runs left to right, cursor starting on the left. */
html[dir="rtl"] input[data-english-only]:placeholder-shown:not(:focus) {
    direction: rtl !important;
    text-align: right !important;
}
html[dir="ltr"] input[data-english-only]:placeholder-shown:not(:focus) {
    direction: ltr !important;
    text-align: left !important;
}
input[data-english-only]:focus,
input[data-english-only]:not(:placeholder-shown) {
    direction: ltr !important;
    text-align: left !important;
}
input[data-english-only]:focus::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* A Netthub message opened while a Bootstrap window is open (e.g. Forgot password) is drawn above that window, so its
   button can always be pressed (NO-TRAP). Bootstrap windows use z-index 1050–1055. */
body.modal-open .nt-notification-region {
    z-index: 2000 !important;
}
