.ebc-wrap{
  width:100%;
  max-width:1100px;
  margin:40px auto 0 auto;
}

.ebc-table{
  width:100%;
  border-collapse:collapse;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
}

.ebc-table thead th{
  background:#141a1f;
  color:#fff;
  font-weight:700;
  padding:12px 10px;
  border-right:1px solid rgba(255,255,255,.12);
  white-space:nowrap;
}

.ebc-table tbody td{
  padding:10px 10px;
  border-top:1px solid rgba(0,0,0,.12);
  border-right:1px solid rgba(0,0,0,.08);
  vertical-align:middle;
}

.ebc-table tbody tr:nth-child(even) td{
  background:#f6f9fc;
}

.ebc-td-left{text-align:left;}
.ebc-td-center{text-align:center;}

.ebc-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin-top:10px;
}

.ebc-btn{
  padding:10px 14px;
  border:0;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  background:#0b5ed7;
  color:#fff;
}

.ebc-btn:hover{
  filter:brightness(.95);
}

.ebc-loading{font-weight:700;}
.ebc-ok{color:#2e7d32;font-weight:700;}
.ebc-bad{color:#d32f2f;font-weight:700;}
.ebc-table tr.is-esgotat{opacity:.6;}
.ebc-empty{text-align:center;padding:14px;}

/* ===== BE full width ===== */
.ebic-be-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 20px !important;
  box-sizing:border-box !important;
}

/* ===== CFGM full width ===== */
.ebic-cfgm-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 20px !important;
  box-sizing:border-box !important;
}

/* Tablas anchas */
#ebic-be-table,
#ebic-cfgm-table{
  width:100% !important;
  max-width:none !important;
}

/* Solo DataTables BE si existe */
.dataTables_wrapper,
table.dataTable{
  width:100% !important;
  max-width:none !important;
}

/* Romper contenedor típico del theme/Elementor */
.elementor-section .elementor-container,
.elementor-section .elementor-column-gap-default,
.elementor-container,
.container,
.site-content,
.content-area{
  max-width:100% !important;
  width:100% !important;
}

/* Padding consistente */
#ebic-be-table th,
#ebic-be-table td,
#ebic-cfgm-table th,
#ebic-cfgm-table td{
  padding:14px 18px !important;
}

/* Evitar rebotes de scroll horizontal */
.ebic-be-table-wrap,
.ebic-cfgm-table-wrap{
  width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  overscroll-behavior-x:contain !important;
}

/* No añadir pseudo-elementos raros al body */
body:before{
  content:none !important;
  display:none !important;
}