/**
 * Selects in Hebrew. Jasmine's forms plugin draws a select's arrow on the
 * right and leaves room for it there, whatever the direction; right to left
 * it belongs on the left. In the base layer, beside the plugin's own rule, so
 * a page's padding utilities still win.
 */
@layer base {
    [dir="rtl"] select:not([multiple]):not([size]:not([size="1"])) {
        background-position: left 0.5rem center;
        padding-left: 2.5rem;
        padding-right: 0.75rem;
    }

    /** A select that draws its own chevron beside it has no need of the plugin's arrow too. */
    select:has(+ .bi-chevron-down) {
        background-image: none;
    }
}
