/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
/* CSS para ocultar "Powered by WHM CompleteSolution" en WHMCS 8.13+ */

/* Método principal - oculta por texto específico */
a[href*="whmcs.com"]:not([class]):not([id]) {
    display: none !important;
}

/* Oculta enlaces que contengan "WHM" o "CompleteSolution" */
a[href*="whmcs.com"][href*="aff"] {
    display: none !important;
}

/* Oculta por contenido de texto específico */
.footer a[href*="whmcs.com"]:contains("Powered by"),
.footer a[href*="whmcs.com"]:contains("WHM"),
.footer a[href*="whmcs.com"]:contains("CompleteSolution") {
    display: none !important;
}

/* Selectores más específicos para diferentes templates */
.footer-powered-by,
.powered-by,
#powered-by,
.copyright a[href*="whmcs.com"],
.footer-links a[href*="whmcs.com"],
.site-footer a[href*="whmcs.com"] {
    display: none !important;
}

/* Para templates que usan clases Bootstrap */
.footer .text-center a[href*="whmcs.com"],
.footer .text-muted a[href*="whmcs.com"],
.container-fluid .footer a[href*="whmcs.com"] {
    display: none !important;
}

/* Oculta párrafos o divs que contengan solo el enlace powered by */
p:has(> a[href*="whmcs.com"]:only-child),
div:has(> a[href*="whmcs.com"]:only-child) {
    display: none !important;
}

/* Para temas Six y Bootstrap (más comunes en WHMCS 8.13+) */
.six .footer a[href*="whmcs.com"],
.bootstrap .footer a[href*="whmcs.com"],
.footer-bar a[href*="whmcs.com"],
.site-footer a[href*="whmcs.com"] {
    display: none !important;
}

/* Selectores alternativos por ID común */
#footer a[href*="whmcs.com"],
#site-footer a[href*="whmcs.com"],
#main-footer a[href*="whmcs.com"] {
    display: none !important;
}

/* Para templates personalizados que usen estructuras específicas */
footer a[href*="whmcs.com"],
.template-footer a[href*="whmcs.com"],
.client-footer a[href*="whmcs.com"] {
    display: none !important;
}

/* Oculta elementos padre si solo contienen el enlace powered by */
.text-center:has(> a[href*="whmcs.com"]:only-child),
.copyright:has(> a[href*="whmcs.com"]:only-child) {
    display: none !important;
}

/* Método más agresivo - usar solo si los anteriores no funcionan */
/*
a[href^="https://www.whmcs.com/"] {
    display: none !important;
}
*/