/* VAZZTEC R56 · Evidencias, propuestas enviadas y búsqueda de órdenes. */

#modalVisorImg .visor-pro-meta {
  position: absolute;
  z-index: 10001;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 7px;
  align-items: center;
  transform: translateX(-50%);
}
#modalVisorImg .visor-pro-meta .visor-pro-contador {
  position: static;
  transform: none;
}
#modalVisorImg .visor-pro-descargar {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 20px;
  color: #fff;
  background: rgba(0,155,101,.9);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
#modalVisorImg .visor-pro-descargar:hover { background: #00a86b; }
#modalVisorImg .visor-pro-descargar:disabled { opacity: .65; cursor: wait; }

.ped-vinculo-buscador { position: relative; }
.ped-vinculo-buscador > input[type="search"] { width: 100%; margin-top: 7px; padding: 9px 10px; }
.ped-orden-seleccionada,
.ped-resultados-orden { display: grid; gap: 6px; }
.ped-resultados-orden { max-height: 265px; overflow: auto; margin-top: 5px; }
.ped-orden-opcion {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.ped-orden-opcion:hover { border-color: #009b65; background: #f0fdf9; }
.ped-orden-opcion.seleccionada { border-color: #009b65; background: #ecfdf5; cursor: default; }
.ped-orden-opcion span { min-width: 0; }
.ped-orden-opcion small { display: block; margin-top: 2px; color: #64748b; overflow-wrap: anywhere; }
.ped-orden-opcion b { flex: 0 0 auto; color: #047857; font-size: .75rem; }
.ped-quitar-vinculo { justify-self: start; padding: 4px 8px; border: 0; color: #b42318; background: transparent; font-size: .75rem; font-weight: 700; cursor: pointer; }
.ped-sin-vinculo,
.ped-busqueda-ayuda { padding: 9px 10px; border: 1px dashed #cbd5e1; border-radius: 8px; color: #475569; background: #f8fafc; }
.ped-sin-vinculo small { display: block; margin-top: 2px; }

.cot-propuesta-modal { width: min(560px,95vw); overflow: hidden; }
.cot-propuesta-header { color: #fff; background: linear-gradient(120deg,#0f766e,#009b65); }
.cot-propuesta-header h3 { margin: 2px 0 0; color: #fff; }
.cot-propuesta-header small { color: #ccfbf1; font-weight: 900; }
.cot-propuesta-header .btn-close-header { color: #fff; }
.cot-propuesta-cuerpo { display: grid; gap: 11px; padding: 17px; }
.cot-propuesta-cuerpo label { display: grid; gap: 5px; color: #334155; font-weight: 750; }
.cot-propuesta-cuerpo input,
.cot-propuesta-cuerpo select,
.cot-propuesta-cuerpo textarea { width: 100%; }
.cot-propuesta-resumen { margin-top: 6px; padding: 7px; border: 1px solid #99f6e4; border-radius: 7px; background: #f0fdfa; }
.cot-propuesta-resumen strong,
.cot-propuesta-resumen small { display: block; }
.cot-propuesta-resumen small { margin-top: 2px; color: #475569; overflow-wrap: anywhere; }
.cot-estado.propuesta-enviada { color: #075985; background: #e0f2fe; }
.cot-btn-propuesta { border-color: #0d9488 !important; color: #0f766e !important; background: #f0fdfa !important; }

@media (max-width: 700px) {
  #modalVisorImg .visor-pro-meta { bottom: 11px; gap: 5px; }
  #modalVisorImg .visor-pro-descargar { min-height: 30px; padding: 5px 9px; font-size: .7rem; }
  #modalVisorImg .visor-pro-meta .visor-pro-contador { bottom: auto; font-size: .7rem; white-space: nowrap; }
  .cot-propuesta-modal { width: 96vw; max-height: 94dvh; overflow: auto; }
  .ped-orden-opcion { padding: 8px; }
}
