
/* Fix limpio: tabla completa + acciones visibles sin agregar textos nuevos */
#pedidosTableContainer,
#misEntregasContainer,
#deliveryActionOrdersContainer{
  width:100% !important;
  max-width:100% !important;
  overflow:visible !important;
}

.ssw-orders-scroll,
.partner-panel-scroll,
.table-container{
  position:relative !important;
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  -webkit-overflow-scrolling:touch !important;
}

.ssw-orders-table,
.partner-table{
  min-width:980px !important;
  width:980px !important;
}

.ssw-orders-table .col-action,
.partner-table .col-action{
  min-width:260px !important;
  width:28% !important;
}

.ssw-order-actions,
.partner-actions,
.partner-order-table-actions{
  display:flex !important;
  gap:8px !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  overflow:visible !important;
}

.ssw-order-actions .btn,
.partner-actions .btn,
.partner-order-table-actions .btn{
  min-width:78px !important;
  width:auto !important;
  max-width:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}

.ssw-order-actions .btn-status,
.partner-actions .btn-status,
.partner-order-table-actions .btn-status{
  min-width:138px !important;
}

/* Control pequeño sin texto, solo flechas */
.ssw-clean-scroll-controls{
  position:sticky !important;
  left:0 !important;
  z-index:40 !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:6px !important;
  width:100% !important;
  height:0 !important;
  pointer-events:none !important;
}

.ssw-clean-scroll-controls-inner{
  transform:translateY(8px) !important;
  display:flex !important;
  gap:6px !important;
  pointer-events:auto !important;
}

.ssw-clean-scroll-btn{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  border-radius:50% !important;
  border:1px solid rgba(7,48,109,.18) !important;
  background:#fff !important;
  color:#07306d !important;
  font-weight:950 !important;
  box-shadow:0 7px 18px rgba(15,23,42,.12) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
}

@media(max-width:760px), (pointer:coarse){
  .ssw-orders-table,
  .partner-table{
    min-width:980px !important;
    width:980px !important;
  }

  /* Mantener Acción pegada a la derecha en móvil si el WebView lo soporta */
  .ssw-orders-table th:last-child,
  .ssw-orders-table td:last-child,
  .partner-table th:last-child,
  .partner-table td:last-child{
    position:sticky !important;
    right:0 !important;
    z-index:12 !important;
    background:#fff !important;
    box-shadow:-8px 0 16px rgba(15,23,42,.10) !important;
  }

  .ssw-orders-table thead th:last-child,
  .partner-table thead th:last-child{
    background:#07306d !important;
    color:#fff !important;
    z-index:18 !important;
  }
}
