/**
Theme Name: 3WStudioPro-premium
Author: 3WStudioPro
Author URI: https://3wstudiopro.com/
Description: Designed by 3WStudioPro, this premium theme combines speed, lightness, and style in a single experience. Its clean and fully customizable design adapts to any brand, conveying professionalism and elegance.
Optimized for SEO and featuring endless options for widgets, sidebars, and templates, it gives you full control to create unique pages.
Fully compatible with WooCommerce, responsive on any device, and translation-ready, it’s the perfect theme for those who seek both performance and beauty in equal measure.

Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3wstudiopro-premium
Template: astra
*/

/* Este es el CSS que debes mantener o verificar en CSS Adicional */
.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row {
    position: relative; 
}
.password-toggle {
    position: absolute;
    top: 50%; 
    right: 10px; 
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    line-height: 1; 
    padding: 5px; 
    color: #666; /* Puedes cambiar este color si quieres */
    font-size: 1.2em; /* Asegúrate de que este valor sea visible, p. ej. 1.2em */
    font-weight: bold; /* Ayuda a que el símbolo se vea más nítido */
}
.password-toggle:hover {
    color: #333; 
}
.form-row input[type="password"] + .password-toggle,
.form-row input[type="text"] + .password-toggle {
    top: 50%;
    transform: translateY(-50%);
}

/* Texto panel de control de mi cuenta*/
/* Media query para pantallas con un ancho máximo de 500px */
@media (max-width: 500px) {
    /* Regla para elementos de texto comunes */
    .woocommerce-account,
    .woocommerce-account p, 
    .woocommerce-account li, 
    .woocommerce-account td,
    .woocommerce-account th {
        font-size: 10px !important;
    }

    /* Regla específica para el texto dentro de los botones de WooCommerce 
       (.button y .woocommerce-button) en esta área. */
    .woocommerce-account .button,
    .woocommerce-account .woocommerce-button {
        /* Reduce el tamaño del texto del botón */
        font-size: 10px !important; 
        
        /* Opcional: Para evitar que el botón sea demasiado alto si el padding es grande. 
           Si el botón se ve demasiado grande, descomenta la siguiente línea y ajústala. */
        /* padding: 5px 10px !important; */
    }
}

/* ==========================================================
   ESTILOS DE LA TABLA DE SUSCRIPCIONES
   ========================================================== */

.woocommerce-account .subscription-table-container {
    /* Centra la tabla horizontalmente en el contenedor */
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0; /* Espacio superior e inferior */
}

.woocommerce-account .subscription-data-table {
    /* Quita bordes exteriores y ajusta ancho */
    width: 100%; 
    border-collapse: collapse; 
    border: none !important; 
}

/* Estilos de encabezados (Headers) */
.woocommerce-account .subscription-data-table thead th {
    /* Centrado Horizontal y Vertical */
    text-align: center;
    vertical-align: middle; 
    
    /* Colores */
    background-color: #6F788E !important; 
    color: white !important; 
    
    /* Remueve bordes internos */
    border: none !important; 
    
    font-size: 14px; 
    padding: 10px 5px; 
}

/* Estilos de las celdas de datos (Body Rows) */
.woocommerce-account .subscription-data-table tbody td {
    /* Centrado Horizontal y Vertical */
    text-align: center;
    vertical-align: middle;
    
    /* Remueve bordes internos */
    border: none !important; 
    padding: 10px 5px; 
}


/* ==========================================================
   AJUSTE DE TAMAÑO DE FUENTE EN MÓVIL (< 500px)
   ========================================================== */

@media (max-width: 500px) {
    /* Aplica el tamaño de 10px a todo el texto de la tabla */
    .woocommerce-account .subscription-data-table th,
    .woocommerce-account .subscription-data-table td {
        font-size: 10px !important;
        padding: 8px 3px !important; 
    }

    /* Asegura que los botones y el texto general también sigan a 10px */
    .woocommerce-account,
    .woocommerce-account p, 
    .woocommerce-account li, 
    .woocommerce-account td,
    .woocommerce-account th,
    .woocommerce-account .button,
    .woocommerce-account .woocommerce-button {
        font-size: 10px !important;
    }
}


/* Estilo información de condiciones mejoradas plan de mantenimiento*/

.info-plan-mantenimiento {
    margin-top: 25px;
}

.info-plan-bloque {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-left: 3px solid #1E293B;
    border-radius: 5px;
}

.info-plan-titulo {
    font-size: 20px !important;
    font-weight: 600;
    margin-bottom: 15px;
}
