/* Câmpul de fișier în română (theme_editor/file-input.js): controlul nativ ascuns doar vizual (1 px, tăiat, lângă buton nu sub el; rămâne în Tab și cu eticheta
   lui), în locul lui un buton și o stare. Focusul se vede pe buton și pe eticheta câmpului. Se încarcă înaintea lui
   admin-theme-editor.css, deci câștigă prin specificitate; totul e sub .te. */
.te .te-file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; min-width: 0; }
.te .te-file > input.te-file-input[type="file"] { position: absolute; width: 1px !important; min-width: 0 !important; max-width: 1px !important; height: 1px !important; min-height: 0 !important; left: -2px; top: 0; margin: 0; padding: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.te .te-file-btn { cursor: pointer; }
.te .te-file-btn.is-disabled { cursor: not-allowed; opacity: 0.6; }
.te .te-file-status { min-width: 0; color: var(--te-muted); font-size: 0.875rem; overflow-wrap: break-word; }
.te .te-file > input.te-file-input:focus-visible ~ .te-file-btn { outline: 2px solid var(--te-accent); outline-offset: 2px; }
.te :has(> .te-file > input.te-file-input:focus-visible) > label { outline: 2px solid var(--te-accent); outline-offset: 2px; border-radius: 4px; }
