/* Input Icon Positioning with Logical Properties */
.input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
}
.input-wrapper .input {
    width: 100%;
}
.input-wrapper .input-icon {
    position: absolute !important;
    top: 50% !important;
    pointer-events: none;
    z-index: 10;
    line-height: 1;
    display: flex;
    align-items: center;
}
.input-icon--end {
    inset-inline-end: 1rem !important;
    inset-inline-start: auto !important;
}
.input-icon--start {
    inset-inline-start: 1rem !important;
    inset-inline-end: auto !important;
}

/* File preview — works in both RTL and LTR */
.file-preview {
    direction: inherit;
    unicode-bidi: normal;
}
.file-preview .file-name {
    direction: ltr;
    unicode-bidi: embed;
    text-align: start;
}

/* Auto-flip breadcrumb arrows in RTL */
[dir="rtl"] .breadcrumb-arrow, 
.rtl .breadcrumb-arrow {
    transform: rotate(180deg);
}