.elementor-1190 .elementor-element.elementor-element-5fbbddcc{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-566ebbaf *//* ============================================================
   1. ESTILOS GENERALES Y TABLAS (DORADO Y NEGRO)
   ============================================================ */
.affwp-table thead tr {
    background-color: #000 !important;
}

/* Solo ocultamos el texto original de los ENCABEZADOS */
.affwp-table thead th {
    padding: 12px !important;
    text-transform: uppercase;
    font-size: 0 !important; 
    line-height: 0 !important;
    color: transparent !important;
}

/* Estilo para los títulos traducidos SOLO en la cabecera */
.affwp-table thead th:after {
    font-size: 13px !important;
    color: #F1BB36 !important; 
    visibility: visible !important;
    line-height: normal !important;
    display: block;
}

/* ============================================================
   2. TRADUCCIÓN DE PESTAÑAS (CONTROL DE VISIBILIDAD)
   ============================================================ */
#affwp-affiliate-dashboard-tabs li a[href*="tab=creatives"],
#affwp-affiliate-dashboard-tabs li a[href*="tab=graphs"],
#affwp-affiliate-dashboard-tabs li a[href*="tab=payouts"],
#affwp-affiliate-dashboard-tabs li a[href*="tab=visits"],
#affwp-affiliate-dashboard-tabs li a[href*="tab=settings"] {
    display: none !important;
}

#affwp-affiliate-dashboard-tabs li a {
    font-size: 0 !important;
    display: inline-block;
    line-height: 0;
    text-decoration: none !important;
}

#affwp-affiliate-dashboard-tabs li a:after {
    font-size: 14px !important;
    visibility: visible !important;
    display: block;
    line-height: normal;
    color: #000;
}

#affwp-affiliate-dashboard-tabs li:first-child a:after,
#affwp-affiliate-dashboard-tabs li a[href*="tab=urls"]:after { content: "URLs de Afiliado"; }
#affwp-affiliate-dashboard-tabs li a[href*="tab=stats"]:after { content: "Estadísticas"; }
#affwp-affiliate-dashboard-tabs li a[href*="tab=referrals"]:after { content: "Referidos"; }

#affwp-affiliate-dashboard-tabs li.active a {
    background-color: #F1BB36 !important;
}

#affwp-affiliate-dashboard-tabs li.active a:after {
    color: #000 !important;
    font-weight: 700 !important;
}

/* ============================================================
   3. SECCIÓN: ESTADÍSTICAS (TRADUCCIÓN DE CABECERAS)
   ============================================================ */
#affwp-affiliate-dashboard-referral-counts h4 { font-size: 0 !important; }
#affwp-affiliate-dashboard-referral-counts h4:after { content: "Estadísticas de Referidos"; font-size: 20px !important; visibility: visible !important; color: #000; }

#affwp-affiliate-dashboard-referral-counts thead th:nth-child(1):after { content: "Referidos Pendientes"; }
#affwp-affiliate-dashboard-referral-counts thead th:nth-child(2):after { content: "Referidos Pagados"; }
#affwp-affiliate-dashboard-referral-counts thead th:nth-child(3):after { content: "Visitas"; }
#affwp-affiliate-dashboard-referral-counts thead th:nth-child(4):after { content: "Tasa de Conversión"; }

#affwp-affiliate-dashboard-earnings-stats thead th:nth-child(1):after { content: "Ganancias Pendientes"; }
#affwp-affiliate-dashboard-earnings-stats thead th:nth-child(2):after { content: "Ganancias Pagadas"; }
#affwp-affiliate-dashboard-earnings-stats thead th:nth-child(3):after { content: "Comisión (%)"; }

#affwp-affiliate-dashboard-campaign-stats thead th:nth-child(1):after { content: "Campaña"; }
#affwp-affiliate-dashboard-campaign-stats thead th:nth-child(2):after { content: "Visitas"; }
#affwp-affiliate-dashboard-campaign-stats thead th:nth-child(3):after { content: "Enlaces Únicos"; }
#affwp-affiliate-dashboard-campaign-stats thead th:nth-child(4):after { content: "Convertido"; }
#affwp-affiliate-dashboard-campaign-stats thead th:nth-child(5):after { content: "Tasa de Conversión"; }

/* ============================================================
   4. SECCIÓN: REFERIDOS (SOLO CABECERAS)
   ============================================================ */
#affwp-affiliate-dashboard-referrals h4 { font-size: 0 !important; }
#affwp-affiliate-dashboard-referrals h4:after { content: "Mis Ventas / Referidos"; font-size: 20px !important; visibility: visible !important; color: #000; }

/* Usamos 'thead th' para que NO afecte a las celdas de datos (tbody td) */
#affwp-affiliate-dashboard-referrals thead th.referral-amount:nth-child(1):after { content: "Referencia"; }
#affwp-affiliate-dashboard-referrals thead th.referral-amount:nth-child(2):after { content: "Monto"; }
#affwp-affiliate-dashboard-referrals thead th.referral-description:after { content: "Descripción"; }
#affwp-affiliate-dashboard-referrals thead th.referral-status:after { content: "Estado"; }
#affwp-affiliate-dashboard-referrals thead th.referral-date:after { content: "Fecha"; }

/* Mensajes de "Sin datos" */
.affwp-table-no-data { font-size: 0 !important; }
.affwp-table-no-data:after { 
    content: "Aún no hay registros disponibles."; 
    font-size: 14px !important; 
    visibility: visible !important; 
    color: #666; 
    display: block; 
    padding: 15px; 
}/* End custom CSS */