/* CSS para tabla de dominios - Estilos consistentes con SSL y Email Marketing */

/* Estilo para el título de la tabla - MÁXIMA ESPECIFICIDAD */
body #price_table .Custom_Class_774039964,
body.wp-admin #price_table .Custom_Class_774039964,
body.home #price_table .Custom_Class_774039964,
html body #price_table .Custom_Class_774039964 {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 20px !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

/* Estilos base para plan_table y stacktable */
#price_table .Custom_Class_774039964 + .wrapper-table table.plan_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
}

#price_table .Custom_Class_774039964 + .wrapper-table table.stacktable {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Forzar fondo blanco en todas las tablas */
#price_table .Custom_Class_774039964 + .wrapper-table table.Custom_Class_471590519,
#price_table .Custom_Class_774039964 + .wrapper-table table.Custom_Class_471590519 *,
#price_table .Custom_Class_774039964 + .wrapper-table table.Custom_Class_471590519 tr,
#price_table .Custom_Class_774039964 + .wrapper-table table.Custom_Class_471590519 td,
#price_table .Custom_Class_774039964 + .wrapper-table table.Custom_Class_471590519 th,
#price_table .Custom_Class_774039964 + .wrapper-table table.Custom_Class_471590519 thead,
#price_table .Custom_Class_774039964 + .wrapper-table table.Custom_Class_471590519 tbody {
    background: #fff !important;
    background-color: #fff !important;
}

/* Protección ultra-agresiva para headers de tabla de dominios - MÁXIMA ESPECIFICIDAD */
body #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385,
body.wp-admin #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385,
body.home #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385,
html body #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 {
    display: table-header-group !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: #000000 !important;
    background-color: #000000 !important;
}

#price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 tr.Custom_Class_888195867 {
    display: table-row !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
}

#price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 tr.Custom_Class_888195867[style*="display: none"] {
    display: table-row !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 tr.Custom_Class_888195867[style*="display:none"] {
    display: table-row !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Protección específica para elementos th dentro del header - MÁXIMA ESPECIFICIDAD */
body #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 tr.Custom_Class_888195867 th,
body.wp-admin #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 tr.Custom_Class_888195867 th,
body.home #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 tr.Custom_Class_888195867 th,
html body #price_table .Custom_Class_774039964 + .wrapper-table thead.Custom_Class_228435385 tr.Custom_Class_888195867 th {
    display: table-cell !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 15px 20px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Protección para filas de datos de dominios - evitar display: none */
#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 {
    display: table-row !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Protección específica para filas con style="display: none" */
#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244[style*="display: none"] {
    display: table-row !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244[style*="display:none"] {
    display: table-row !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Estilos modernos para las celdas de datos */
#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td {
    background: #fff !important;
    color: #000000 !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    transition: background-color 0.3s ease !important;
}

/* Estilos específicos para precios en naranja - SIN FONDO BLANCO */
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .whmcs-domain-price-table,
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td span[class*="price"],
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td span[data-price-usd],
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .whmcs-domain-price-table,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td span[class*="price"],
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td span[data-price-usd] {
    color: #ff6600 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Efecto hover para filas de datos */
#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244:hover td {
    background: #fff5f0 !important;
}

/* Filas alternadas para mejor legibilidad */
#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244:nth-child(even) td {
    background: #fafafa !important;
}

#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244:nth-child(even):hover td {
    background: #fff0e6 !important;
}

/* Estilos para botones dentro de la tabla - MÁXIMA ESPECIFICIDAD */
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a,
body #price_table .Custom_Class_774039964 + .wrapper-table .Custom_Class_342432758.btn a,
body #price_table .wrapper-table .Custom_Class_342432758.btn a,
body.wp-admin #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a,
body.home #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a {
    background: #222222 !important;
    background-color: #222222 !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a:hover,
body #price_table .Custom_Class_774039964 + .wrapper-table .Custom_Class_342432758.btn a:hover,
body #price_table .wrapper-table .Custom_Class_342432758.btn a:hover,
body.wp-admin #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a:hover,
body.home #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a:hover,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a:hover {
    background: #ff6600 !important;
    background-color: #ff6600 !important;
    background-image: none !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3) !important;
}

#price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a:active,
#price_table .Custom_Class_774039964 + .wrapper-table .Custom_Class_342432758.btn a:active,
#price_table .wrapper-table .Custom_Class_342432758.btn a:active {
    background: #ff6600 !important;
    background-color: #ff6600 !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2) !important;
}

/* Selectores adicionales para máxima compatibilidad - MÁXIMA ESPECIFICIDAD */
body .whmcs-order-button,
body .whmcs-order-link,
body a.whmcs-order-button,
body a.whmcs-order-link,
body.wp-admin .whmcs-order-button,
body.home .whmcs-order-button,
html body .whmcs-order-button,
html body .whmcs-order-link,
html body a.whmcs-order-button,
html body a.whmcs-order-link {
    background: #222222 !important;
    background-color: #222222 !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body .whmcs-order-button:hover,
body .whmcs-order-link:hover,
body a.whmcs-order-button:hover,
body a.whmcs-order-link:hover,
body.wp-admin .whmcs-order-button:hover,
body.home .whmcs-order-button:hover,
html body .whmcs-order-button:hover,
html body .whmcs-order-link:hover,
html body a.whmcs-order-button:hover,
html body a.whmcs-order-link:hover {
    background: #ff6600 !important;
    background-color: #ff6600 !important;
    background-image: none !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3) !important;
}

/* Asegurar que elementos dentro de celdas no hereden fondo blanco */
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td > *,
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td span,
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td div,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td > *,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td span,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td div {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Excepción para botones que deben mantener su fondo gris - SOLO ENLACES */
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a,
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .whmcs-order-button,
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .whmcs-order-link,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .whmcs-order-button,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .whmcs-order-link {
    background: #222222 !important;
    background-color: #222222 !important;
    background-image: none !important;
}

/* Div contenedor siempre transparente */

/* Método alternativo: hacer que el enlace ocupe todo el div */
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn,
body #price_table .Custom_Class_774039964 + .wrapper-table .Custom_Class_342432758.btn,
body #price_table .wrapper-table .Custom_Class_342432758.btn,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* Hacer que el enlace ocupe todo el espacio del div */
body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a,
body #price_table .Custom_Class_774039964 + .wrapper-table .Custom_Class_342432758.btn a,
body #price_table .wrapper-table .Custom_Class_342432758.btn a,
html body #price_table .Custom_Class_774039964 + .wrapper-table tbody tr.Custom_Class_970109244 td .Custom_Class_342432758.btn a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
}