
/* Drag & drop integrado */
.coverage-dropbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:18px 20px;
  margin-bottom:14px;
  border:1px dashed rgba(151,166,255,.55);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(19,26,101,.92),rgba(10,14,68,.92));
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.coverage-dropbar.dragover{
  border-color:var(--lime);
  box-shadow:0 0 0 3px rgba(210,239,36,.08);
  background:linear-gradient(145deg,rgba(27,37,120,.96),rgba(11,16,74,.96));
}
.coverage-drop-main{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-width:0;
}
.coverage-drop-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:var(--lime);
  font-size:34px;
}
.coverage-drop-copy h3{
  margin:0 0 3px;
  font-size:20px;
  line-height:1.1;
  font-weight:900;
  color:#fff;
}
.coverage-drop-copy p{
  margin:0;
  font-size:13px;
  line-height:1.35;
  color:#aeb8df;
}
.coverage-drop-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.coverage-import-btn{
  min-height:46px!important;
  padding:0 20px!important;
  white-space:nowrap;
}
.coverage-drop-meta{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:14px;
  padding-top:11px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#c7cfec;
  font-size:12px;
}
.coverage-drop-meta .sep{
  width:1px;
  height:18px;
  background:rgba(255,255,255,.13);
}
.coverage-drop-status{
  margin-left:auto;
  color:#9af0b4;
  font-weight:800;
}
.coverage-drop-clear{
  min-height:34px!important;
  padding:0 12px!important;
  font-size:12px!important;
}

/* Generar con IA: ocupa el ancho disponible */
.ai-caption-row.ai-only{
  display:block!important;
}
.ai-caption-row.ai-only .ai-caption-btn{
  width:100%!important;
  justify-content:center!important;
  min-height:46px!important;
}

/* Evitar residuos visuales del botón eliminado */
#resetCaption{display:none!important}

@media(max-width:760px){
  .coverage-dropbar{grid-template-columns:1fr}
  .coverage-drop-actions{justify-content:flex-start}
  .coverage-drop-meta{flex-wrap:wrap}
  .coverage-drop-status{margin-left:0;width:100%}
}
