/* ============================================================================
 * iTech LibreChat custom overrides
 * ============================================================================
 * Purpose: Hide "Upload to Provider" upload option.
 *
 * Why: Customer (tariq-cps) hit DeepSeek 400 error
 *   `unknown variant 'file', expected 'text'` on 2026-05-04.
 *   LibreChat hardcodes DeepSeek into documentSupportedProviders
 *   (packages/data-provider/src/schemas.ts) which makes the menu show
 *   "Upload to Provider" — clicking it sends file as type:"file" multimodal
 *   block which DeepSeek's API rejects.
 *
 * Workaround: hide the option via CSS until LibreChat exposes a config flag
 *   or fixes the hardcoded provider list upstream.
 *
 * Selectors verified 2026-05-04 against LibreChat v0.8.5:
 *   - Attach menu dropdown: <div role="menuitem"> with .lucide-file-image svg
 *   - Drag-drop modal: <button class="...hover:bg-surface-active-alt..."> with .lucide-file-image svg
 *
 * Project: librechat-config (aidev id 10)
 * Related logs: #105 (idea), #98 (M3 root-cause), this milestone (M7-partial)
 * ========================================================================= */

/* 1) Attach menu dropdown — paperclip click */
[role="menuitem"]:has(svg.lucide-file-image) {
  display: none !important;
}

/* 2) Drag-drop modal — when user drops a file into chat */
button.hover\:bg-surface-active-alt:has(svg.lucide-file-image) {
  display: none !important;
}
