/* Widget de subida de archivos (static/js/subida.js) */
.subida-zona { border:2px dashed #c7cedd; border-radius:.7rem; padding:1rem; text-align:center; background:#fafbff; transition:background .15s,border-color .15s; }
.subida-zona.arrastrando { border-color:#F2801E; background:#fff6ee; }
.subida-zona.ocupada { opacity:.6; pointer-events:none; }
.subida-texto { color:#6B7280; font-size:.85rem; margin-bottom:.5rem; }
.subida-acciones { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; }
.subida-acciones .btn { min-height:44px; padding-left:1rem; padding-right:1rem; }   /* blanco táctil cómodo */
.subida-lista { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:.75rem; }
.subida-item { position:relative; width:104px; font-size:.7rem; line-height:1.2; }
.subida-item img, .subida-item .icono { width:104px; height:78px; object-fit:cover; border-radius:.45rem; border:1px solid #dfe3ee; background:#fff; display:flex; align-items:center; justify-content:center; font-size:2rem; }
.subida-nombre { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:.15rem; }
.subida-quitar { position:absolute; top:-8px; right:-8px; width:26px; height:26px; border-radius:50%; border:0; background:#b42318; color:#fff; font-size:1rem; line-height:1; cursor:pointer; }
.subida-error { color:#b42318; font-size:.85rem; margin-top:.4rem; }
.subida-progreso { margin-top:.6rem; }

/* documentos ya subidos */
.docs-lista { display:flex; flex-wrap:wrap; gap:.75rem; }
.doc-item { width:112px; font-size:.72rem; line-height:1.25; }
.doc-item .doc-vista { width:112px; height:84px; border-radius:.45rem; border:1px solid #dfe3ee; background:#fff; display:flex; align-items:center; justify-content:center; font-size:2.2rem; overflow:hidden; }
.doc-item .doc-vista img { width:100%; height:100%; object-fit:cover; }
.doc-item .doc-nombre { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
