/* ===== ESTILOS ESPECÍFICOS PARA SIMPLE MEMBERSHIP RESET FORM ===== */
/* Contenedor principal */
.custom-swpm-reset-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #28282A;
    border: 2px solid #333;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Formulario SWPM */
.swpm-pw-reset-widget-form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Etiquetas */
.swpm-pw-reset-email-label,
.swpm_label {
    color: #DBDBDB !important;
    font-weight: bold !important;
    font-size: 16px !important;
    margin-bottom: 1px !important;
    display: block !important;
}

/* Campos de entrada */
.swpm-pw-reset-text,
.swpm-text-field {
    width: 100% !important;
    padding: 15px !important;
    background: #1a1a1a !important;
    border: 2px solid #333 !important;
    border-radius: 10px !important;
    color: #DBDBDB !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.swpm-pw-reset-text:focus,
.swpm-text-field:focus {
    outline: none !important;
    border-color: #ff2c2c !important;
    box-shadow: 0 0 0 2px rgba(255, 44, 44, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Botón de enviar */
.swpm-pw-reset-submit,
.swpm-submit-btn-default-style {
    width: 100% !important;
    padding: 18px !important;
    background: #fc261f !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

.swpm-pw-reset-submit:hover,
.swpm-submit-btn-default-style:hover {
    background: #d82323 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 44, 44, 0.4) !important;
}

/* Mensaje de procesamiento */
.swpm_pass_reset_processing_msg_section p {
    color: #DBDBDB !important;
    text-align: center !important;
    font-size: 16px !important;
    padding: 15px !important;
    background: rgba(255, 193, 7, 0.9) !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
    border-left: 4px solid #ffc107 !important;
}

/* Espaciado y márgenes */
.swpm-margin-top-10 {
    margin-top: 10px !important;
    margin-bottom: 15px !important;
}

.swpm-pw-reset-widget-inside {
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-swpm-reset-container {
        margin: 20px auto;
        padding: 30px 25px;
    }
    
    .swpm-pw-reset-text,
    .swpm-text-field {
        padding: 12px !important;
    }
    
    .swpm-pw-reset-submit,
    .swpm-submit-btn-default-style {
        padding: 15px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .custom-swpm-reset-container {
        padding: 25px 20px;
        margin: 15px auto;
    }
    
    .swpm-pw-reset-email-label,
    .swpm_label {
        font-size: 14px !important;
    }
}

/* Estilos para mensajes de éxito/error (si los hay) */
.swpm-reset-success,
.swpm-reset-error {
    padding: 15px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    font-weight: bold !important;
}

.swpm-reset-success {
    background: rgba(40, 167, 69, 0.9) !important;
    color: white !important;
    border-left: 4px solid #28a745 !important;
}

.swpm-reset-error {
    background: rgba(220, 53, 69, 0.9) !important;
    color: white !important;
    border-left: 4px solid #dc3545 !important;
}






/* ===== ESTILOS PARA FORMULARIO DE REGISTRO SIMPLE MEMBERSHIP ===== */

/* Contenedor principal */
.swpm-registration-widget-form {
    max-width: 600px;
    margin:0 auto;
    padding: 40px;
    background: #28282A;
    border: 2px solid #333;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Etiquetas */
.swpm-registration-widget-form label {
    color: #DBDBDB !important;
    font-weight: bold !important;
    font-size: 16px !important;
    margin-bottom: 0px !important;
    display: block !important;
}

.swpm-form-label-wrap {
    margin-bottom: 0px !important;
}

/* Campos de entrada */
.swpm-form-field {
    width: 100% !important;
    padding: 15px !important;
    background: #1a1a1a !important;
    border: 2px solid #333 !important;
    border-radius: 10px !important;
    color: #DBDBDB !important;
    font-size: 16px !important;
    margin-bottom: 0 !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.swpm-form-field:focus {
    outline: none !important;
    border-color: #ff2c2c !important;
    box-shadow: 0 0 0 2px rgba(255, 44, 44, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Checkboxes para términos y condiciones */
.swpm-registration-widget-form input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px !important;
    transform: scale(1.2) !important;
}

.swpm-terms-row label,
.swpm-pp-row label {
    color: #DBDBDB !important;
    font-weight: normal !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.swpm-terms-row a,
.swpm-pp-row a {
    color: #ff2c2c !important;
    text-decoration: none !important;
    margin: 0 4px !important;
}

.swpm-terms-row a:hover,
.swpm-pp-row a:hover {
    text-decoration: underline !important;
    color: #d82323 !important;
}



/* Botón de registro */
.swpm-registration-submit-button,
.swpm-submit-btn-default-style {
    width: 100% !important;
    padding: 18px !important;
    background: #fc261f !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

.swpm-registration-submit-button:hover,
.swpm-submit-btn-default-style:hover {
    background: #d82323 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 44, 44, 0.4) !important;
}

/* Nivel de membresía */
.swpm-form-membership-level-value {
    color: #DBDBDB !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 10px 0 !important;
}

/* Mensajes de error */
.swpm-form-row.error .swpm-form-field {
    border-color: #ff2c2c !important;
    outline-color: #ff2c2c !important;
}

.swpm-form-row.error .swpm-form-desc {
    color: #ff2c2c !important;
    font-size: 14px !important;
    margin-top: 5px !important;
}

.swpm-form-row.error .swpm-form-desc > ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 4px 0 0 !important;
}

/* Espaciado entre filas */
.swpm-form-row {
    margin-bottom: 10px !important;
    padding: 10px 0 !important;
}

/* Sección de submit */
.swpm-submit-section {
    margin-top: 30px !important;
    text-align: center !important;
}

/* Responsive */
@media (max-width: 768px) {
    .swpm-registration-widget-form {
        margin: 20px auto;
        padding: 30px 25px;
    }
    
    .swpm-form-field {
        padding: 12px !important;
    }
    
    .swpm-registration-submit-button,
    .swpm-submit-btn-default-style {
        padding: 15px !important;
        font-size: 16px !important;
    }
    
    .swpm-terms-row label,
    .swpm-pp-row label {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    .swpm-registration-widget-form {
        padding: 25px 20px;
        margin: 15px auto;
    }
    
    .swpm-form-label-wrap label {
        font-size: 14px !important;
    }
    
    .swpm-terms-row label,
    .swpm-pp-row label {
        font-size: 12px !important;
    }
}

/* Estilos para mensajes de éxito/error generales */
.swpm-registration-success,
.swpm-registration-error {
    padding: 15px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    font-weight: bold !important;
}

.swpm-registration-success {
    background: rgba(40, 167, 69, 0.9) !important;
    color: white !important;
    border-left: 4px solid #28a745 !important;
}

.swpm-registration-error {
    background: rgba(220, 53, 69, 0.9) !important;
    color: white !important;
    border-left: 4px solid #dc3545 !important;
}





/* ===== ESTILOS PARA FORMULARIO DE LOGIN SIMPLE MEMBERSHIP ===== */

/* Contenedor principal */
.swpm-login-widget-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #28282A;
    border: 2px solid #333;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Etiquetas */
.swpm-login-widget-form .swpm-label {
    color: #DBDBDB !important;
    font-weight: bold !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Campos de entrada */
.swpm-login-widget-form .swpm-text-field {
    width: 100% !important;
    padding: 15px !important;
    background: #1a1a1a !important;
    border: 2px solid #333 !important;
    border-radius: 10px !important;
    color: #DBDBDB !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.swpm-login-widget-form .swpm-text-field:focus {
    outline: none !important;
    border-color: #ff2c2c !important;
    box-shadow: 0 0 0 2px rgba(255, 44, 44, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Checkboxes - Mostrar contraseña y Recordarme */
.swpm-password-input-visibility,
.swpm-remember-me {
    margin: 15px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.swpm-password-toggle-checkbox,
.swpm-remember-checkbox {
    display: flex !important;
    align-items: center !important;
}

.swpm-login-widget-form input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px !important;
    transform: scale(1.2) !important;
}

.swpm-password-toggle-checkbox-label,
.swpm-rememberme-label {
    color: #DBDBDB !important;
    font-size: 14px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

/* Botón de login */
.swpm-login-form-submit {
    width: 100% !important;
    padding: 18px !important;
    background: #fc261f !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 20px 0 !important;
}

.swpm-login-form-submit:hover {
    background: #d82323 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 44, 44, 0.4) !important;
}

/* Enlace de olvidé contraseña */
.swpm-forgot-pass-link {
    text-align: center !important;
    margin: 15px 0 !important;
}

.swpm-login-form-pw-reset-link {
    color: #ff2c2c !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
}

.swpm-login-form-pw-reset-link:hover {
    color: #d82323 !important;
    text-decoration: underline !important;
}

/* Mensajes de acción */
.swpm-login-action-msg {
    text-align: center !important;
    margin-top: 15px !important;
    min-height: 20px !important;
}

.swpm-login-widget-action-msg {
    color: #DBDBDB !important;
    font-size: 14px !important;
}

/* Espaciado interno del formulario */
.swpm-login-form-inner {
    padding: 0 !important;
    margin: 0 !important;
}

/* Secciones específicas */
.swpm-username-label,
.swpm-password-label {
    margin-bottom: 8px !important;
}

.swpm-username-input,
.swpm-password-input {
    margin-bottom: 10px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .swpm-login-widget-form {
        margin: 20px auto;
        padding: 30px 25px;
    }
    
    .swpm-login-widget-form .swpm-text-field {
        padding: 12px !important;
    }
    
    .swpm-login-form-submit {
        padding: 15px !important;
        font-size: 16px !important;
    }
    
    .swpm-password-toggle-checkbox-label,
    .swpm-rememberme-label {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .swpm-login-widget-form {
        padding: 25px 20px;
        margin: 15px auto;
    }
    
    .swpm-login-widget-form .swpm-label {
        font-size: 14px !important;
    }
    
    .swpm-login-form-pw-reset-link {
        font-size: 13px !important;
    }
}

/* Estilos para mensajes de error/éxito */
.swpm-login-error,
.swpm-login-success {
    padding: 15px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    font-weight: bold !important;
}

.swpm-login-success {
    background: rgba(40, 167, 69, 0.9) !important;
    color: white !important;
    border-left: 4px solid #28a745 !important;
}

.swpm-login-error {
    background: rgba(220, 53, 69, 0.9) !important;
    color: white !important;
    border-left: 4px solid #dc3545 !important;
}


/* Centrar checkboxes en login */
.swpm-password-input-visibility,
.swpm-remember-me {
    justify-content: center !important;
    text-align: center !important;
    margin: 20px 0 !important;
}

.swpm-password-toggle-checkbox-label,
.swpm-rememberme-label {
    justify-content: center !important;
    text-align: center !important;
}





/* ===== ESTILOS PARA PÁGINA DE PERFIL ===== */

/* Contenedor principal del perfil */
.swpm-edit-profile-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #28282A;
    border-radius: 15px;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Filas del formulario */
.swpm-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    align-items: center;
}

.swpm-form-label-wrap {
    flex: 0 0 200px;
    text-align: right;
    padding-right: 20px;
}

.swpm-form-label-wrap label {
    color: #DBDBDB;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.swpm-form-input-wrap {
    flex: 1;
    min-width: 250px;
}

/* Campos de formulario */
.swpm-form-field {
    width: 100%;
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #DBDBDB;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.swpm-form-field:focus {
    outline: none;
    border-color: #ff2c2c;
    box-shadow: 0 0 0 2px rgba(255, 44, 44, 0.2);
}

.swpm-form-field::placeholder {
    color: #777;
}

/* Select personalizado */
.swpm-profile-form-country {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23DBDBDB" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    appearance: none;
    cursor: pointer;
}

/* Campos de solo lectura */
.swpm-form-input-wrap:has(div) {
    padding: 12px 0;
    color: #DBDBDB;
    font-size: 15px;
}

/* Botón de enviar */
.swpm-edit-profile-submit-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.swpm-profile-submit-button {
    background: #ff2c2c;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.swpm-profile-submit-button:hover {
    background: #d82323;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 44, 44, 0.3);
}

/* Mensajes de error */
.swpm-form-row.error .swpm-form-field {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2) !important;
}

.swpm-form-row.error .swpm-form-desc {
    color: #ff6b6b !important;
    font-size: 13px !important;
    margin-top: 5px;
    width: 100%;
}

.swpm-form-row.error .swpm-form-desc > ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 4px 0 0 !important;
}

/* Información de membresía VIP */
.swpm-form-membership-level-input-wrap {
    color: #ffd700 !important;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Descripciones del formulario */
.swpm-form-desc {
    color: #777;
    font-size: 13px;
    margin-top: 5px;
    width: 100%;
    padding-left: 220px; /* Alineado con los labels */
}

/* Responsive Design */
@media (max-width: 768px) {
    .swpm-edit-profile-form {
        padding: 20px;
        margin: 0 10px;
    }
    
    .swpm-form-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.2rem;
    }
    
    .swpm-form-label-wrap {
        flex: 0 0 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 8px;
    }
    
    .swpm-form-input-wrap {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .swpm-form-desc {
        padding-left: 0;
    }
    
    .swpm-profile-submit-button {
        width: 100%;
        padding: 15px 20px;
    }
    
    .posts-section h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .swpm-edit-profile-form {
        padding: 15px;
    }
    
    .swpm-form-field {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .swpm-form-label-wrap label {
        font-size: 14px;
    }
    
    .posts-section h2 {
        font-size: 1.8em;
    }
}

/* Estados de carga */
.swpm-form-row.loading .swpm-form-field {
    opacity: 0.7;
    pointer-events: none;
}

/* Mejoras visuales para campos específicos */
.swpm-password-row .swpm-form-field,
.swpm-repass-row .swpm-form-field {
    font-family: monospace;
    letter-spacing: 1px;
}

/* Focus states mejorados */
.swpm-form-field:focus {
    transform: translateY(-1px);
}

/* Animaciones suaves */
.swpm-edit-profile-form {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el nivel de membresía (VIP) */
.swpm-membership-level-row .swpm-form-input-wrap {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000 !important;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid #ffd700;
}

/* Validación en tiempo real */
.swpm-form-field.valid {
    border-color: #2ecc71 !important;
}

.swpm-form-field.invalid {
    border-color: #e74c3c !important;
}

/* Tooltips para campos (opcional) */
.swpm-form-label-wrap {
    position: relative;
}

.swpm-form-label-wrap:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #1a1a1a;
    color: #DBDBDB;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-nav .nav-left ul,
.mobile-nav .nav-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav .nav-left ul li,
.mobile-nav .nav-left ul li {
    color: #DBDBDB;
    margin: 0;
    padding: 0;
}

.header-nav .nav-left ul li a,
.mobile-nav .nav-left ul li a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav .nav-left ul li a:hover,
.mobile-nav .nav-left ul li a:hover {
    color: #FFFFFF;
}

/* Estilos para menús de perfil */
.profile-menu ul,
.mobile-profile .profile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-menu ul li,
.mobile-profile .profile-menu ul li {
    margin: 0;
    padding: 0;
}

.profile-menu ul li a,
.mobile-profile .profile-menu ul li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.profile-menu ul li a:hover,
.mobile-profile .profile-menu ul li a:hover {
    background-color: red;
}

/* Estilos responsive */
@media (max-width: 900px) {
    .mobile-nav .nav-left ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .mobile-nav .nav-left ul li {
        width: 100%;
    }
    
    .mobile-nav .nav-left ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }
}


/* ============================================================
   ESTILOS DEL SELECTOR DE MEMBRESÍA Y PAGOS (antes inline en page-membership.php)
   ============================================================ */

/* ===== ESTILOS UNIFICADOS PARA VENTA VIP ===== */
/* FORZAR ANCHO COMPLETO DESDE EL INICIO */
body, html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sp-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 0 0 !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Contenedor de selector de membresía - 100% ancho */
.sp-membership-selector {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 15px !important;
}

/* Estilos para el título con emoji - CONSISTENTE */
.sp-section-title-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: default;
    margin: 20px auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px !important;
}

.sp-section-title {
    color: #FFFFFF;
    font-size: 2em;
    margin: 0;
    transition: none;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 44, 44, 0.3);
    text-align: center;
    justify-content: center;
}

.sp-section-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #ff2c2c;
    border-radius: 50%;
    font-size: 0.9em;
    flex-shrink: 0;
    padding: 6px;
    box-sizing: border-box;
    min-width: 32px;
    min-height: 32px;
}

.sp-section-emoji i {
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    text-align: center;
}

.sp-section-title-text {
    position: relative;
    display: inline-block;
}

.sp-section-title-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff2c2c, transparent);
}

/* Títulos de pago */
.sp-payment-title {
    font-size: 1.6em !important;
}

/* ===== CONTENEDOR DE MEMBRESÍAS - ANCHO COMPLETO ===== */
.sp-memberships-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    margin: 0 auto !important;
}

/* Cada opción de membresía - ANCHO COMPARTIDO */
.sp-membership-item {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 15px 10px !important;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100% !important;
}

/* Colores ORIGINALES de las membresías */
.sp-membership-item[data-level="prueba"] {
    border: 2px solid #60A5FA;
    background: #E6F0FA;
}
.sp-membership-item[data-level="prueba"] .sp-membership-title {
    color: #1E3A8A !important;
}
.sp-membership-item[data-level="prueba"] .sp-membership-price {
    color: #1E3A8A !important;
}
.sp-membership-item[data-level="prueba"] .sp-membership-price-pen {
    color: #1E3A8A !important;
}
.sp-membership-item[data-level="prueba"] .sp-membership-price-crypto {
    color: #1E3A8A !important;
}
.sp-membership-item[data-level="prueba"] .sp-membership-duration,
.sp-membership-item[data-level="prueba"] .sp-membership-feature {
    color: #000000 !important;
}

.sp-membership-item[data-level="bronce"] {
    border: 2px solid #D97706;
    background: #FDF3E7;
}
.sp-membership-item[data-level="bronce"] .sp-membership-title {
    color: #7C3E12 !important;
}
.sp-membership-item[data-level="bronce"] .sp-membership-price {
    color: #7C3E12 !important;
}
.sp-membership-item[data-level="bronce"] .sp-membership-price-pen {
    color: #7C3E12 !important;
}
.sp-membership-item[data-level="bronce"] .sp-membership-price-crypto {
    color: #7C3E12 !important;
}
.sp-membership-item[data-level="bronce"] .sp-membership-duration,
.sp-membership-item[data-level="bronce"] .sp-membership-feature {
    color: #000000 !important;
}

.sp-membership-item[data-level="plata"] {
    border: 2px solid #9CA3AF;
    background: #F3F4F6;
}
.sp-membership-item[data-level="plata"] .sp-membership-title {
    color: #374151 !important;
}
.sp-membership-item[data-level="plata"] .sp-membership-price {
    color: #374151 !important;
}
.sp-membership-item[data-level="plata"] .sp-membership-price-pen {
    color: #374151 !important;
}
.sp-membership-item[data-level="plata"] .sp-membership-price-crypto {
    color: #374151 !important;
}
.sp-membership-item[data-level="plata"] .sp-membership-duration,
.sp-membership-item[data-level="plata"] .sp-membership-feature {
    color: #000000 !important;
}

.sp-membership-item[data-level="oro"] {
    border: 2px solid #F59E0B;
    background: #FFFBEB;
}
.sp-membership-item[data-level="oro"] .sp-membership-title {
    color: #92400E !important;
}
.sp-membership-item[data-level="oro"] .sp-membership-price {
    color: #92400E !important;
}
.sp-membership-item[data-level="oro"] .sp-membership-price-pen {
    color: #92400E !important;
}
.sp-membership-item[data-level="oro"] .sp-membership-price-crypto {
    color: #92400E !important;
}
.sp-membership-item[data-level="oro"] .sp-membership-duration,
.sp-membership-item[data-level="oro"] .sp-membership-feature {
    color: #000000 !important;
}

.sp-membership-item[data-level="platinum"] {
    border: 2px solid #3B82F6;
    background: #F0F9FF;
}
.sp-membership-item[data-level="platinum"] .sp-membership-title {
    color: #1E40AF !important;
}
.sp-membership-item[data-level="platinum"] .sp-membership-price {
    color: #1E40AF !important;
}
.sp-membership-item[data-level="platinum"] .sp-membership-price-pen {
    color: #1E40AF !important;
}
.sp-membership-item[data-level="platinum"] .sp-membership-price-crypto {
    color: #1E40AF !important;
}
.sp-membership-item[data-level="platinum"] .sp-membership-duration,
.sp-membership-item[data-level="platinum"] .sp-membership-feature {
    color: #000000 !important;
}

.sp-membership-item[data-level="ilimitado"] {
    border: 2px solid #FFD700;
    background: #1F1F1F;
}
.sp-membership-item[data-level="ilimitado"] .sp-membership-title {
    color: #FFFFFF !important;
}
.sp-membership-item[data-level="ilimitado"] .sp-membership-price {
    color: #FFFFFF !important;
}
.sp-membership-item[data-level="ilimitado"] .sp-membership-price-pen {
    color: #FFFFFF !important;
}
.sp-membership-item[data-level="ilimitado"] .sp-membership-price-crypto {
    color: #FFFFFF !important;
}
.sp-membership-item[data-level="ilimitado"] .sp-membership-duration,
.sp-membership-item[data-level="ilimitado"] .sp-membership-feature {
    color: #FFFFFF !important;
}

/* Estados hover y activo */
.sp-membership-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.sp-membership-item.active {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
    border-width: 3px !important;
}

/* Textos dentro de las membresías - CENTRADOS PERFECTAMENTE */
.sp-membership-item h3,
.sp-membership-item p {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.sp-membership-title {
    margin: 0 0 10px 0 !important;
    font-weight: bold;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    font-size: 1em !important;
    line-height: 1.2 !important;
}

.sp-membership-price {
    font-weight: bold;
    margin: 0 0 5px 0 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    font-size: 0.95em !important;
}

.sp-membership-price-pen {
    margin: 0 0 5px 0 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    font-size: 0.85em !important;
}

.sp-membership-price-crypto {
    margin: 0 0 10px 0 !important;
    text-align: center !important;
    font-size: 10px !important;
    width: 100% !important;
    display: block !important;
}

.sp-membership-duration {
    text-align: center !important;
    margin: 10px 0 5px 0 !important;
    width: 100% !important;
    display: block !important;
    font-size: 0.85em !important;
}

.sp-membership-feature {
    text-align: center !important;
    margin: 0 0 5px 0 !important;
    width: 100% !important;
    display: block !important;
    font-size: 0.8em !important;
    line-height: 1.2 !important;
}

/* ===== CONTENEDOR DE PAGOS ===== */
.sp-payments-container {
    flex: 1 1 100%;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 15px !important;
}

/* Columnas de pago */
.sp-payments-column {
    flex: 1 1 400px;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sp-left-column {
    max-width: 48%;
}

.sp-right-column {
    max-width: 48%;
}

/* Bloques de pago */
.sp-payment-block {
    padding: 30px;
    border: 2px solid #333;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-align: center;
    box-sizing: border-box;
    background-color: #28282A;
    transition: all 0.3s ease;
    width: 100% !important;
}

.sp-payment-block:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Descripciones y notas */
.sp-payment-description {
    color: #DBDBDB;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

.sp-payment-note {
    margin-top: 15px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    text-align: justify;
}

/* QR codes */
.sp-payment-qr {
    max-width: 200px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    border: 2px solid #333;
}

.sp-crypto-qr {
    max-width: 200px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    border: 2px solid #333;
}

/* Contenedor de botones PayPal - CENTRADO */
.sp-paypal-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.sp-paypal-buttons-container .paypal-btn {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.sp-paypal-buttons-container .paypal-btn > div {
    margin: 0 auto;
    display: inline-block;
    text-align: center;
}

/* Información de membresía */
.sp-membership-info {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ff2c2c;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.sp-membership-info:hover {
    border-left-color: #d82323;
}

.sp-membership-info p {
    margin: 0;
    color: #DBDBDB;
    text-align: center;
    width: 100%;
}

.sp-membership-info strong {
    color: #DBDBDB;
}

.sp-membership-info span {
    color: #DBDBDB;
}

#nueva-fecha-caducidad,
#nueva-fecha-caducidad-yape,
#nueva-fecha-caducidad-crypto {
    color: #ff2c2c;
    font-weight: bold;
}

/* Formularios */
.sp-payment-form {
    margin-top: 20px;
    text-align: left;
}

.sp-payment-form label {
    color: #DBDBDB;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}

.sp-payment-form input[type="text"],
.sp-payment-form input[type="email"],
.sp-payment-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0 15px 0;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #DBDBDB;
    font-size: 14px;
    box-sizing: border-box;
}

.sp-payment-form input[type="file"] {
    margin: 10px 0 20px 0;
    width: 100%;
    color: #DBDBDB;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    box-sizing: border-box;
}

/* Mensajes de error */
.sp-error-message {
    color: #ff2c2c;
    display: none;
    margin-bottom: 15px;
    font-size: 13px;
    text-align: left;
}

/* Botones */
.sp-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background-color: #fc261f;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    display: block;
}

.sp-button:hover {
    background-color: #d82323;
    transform: translateY(-2px);
}

.sp-button:disabled {
    background-color: #ccc !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Estilos para criptomonedas */
.sp-crypto-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.sp-crypto-select-label {
    margin-bottom: 15px;
    font-size: 16px;
    color: #DBDBDB;
    text-align: center;
}

.sp-crypto-select {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 20px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    appearance: none;
    background: #1a1a1a url('data:image/svg+xml;utf8,<svg fill="%23DBDBDB" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center;
    background-size: 16px;
    transition: all 0.3s ease;
    color: #DBDBDB;
    box-sizing: border-box;
}

.sp-crypto-select:focus {
    outline: none;
    border-color: #ff2c2c;
    box-shadow: 0 0 0 2px rgba(255, 44, 44, 0.2);
}

.sp-crypto-wallet {
    display: none;
    animation: sp-fadeIn 0.3s ease-in-out;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sp-wallet-address {
    font-weight: bold;
    font-size: 14px;
    word-break: break-all;
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    border: 1px solid #333;
    color: #DBDBDB;
    font-family: monospace;
    box-sizing: border-box;
    width: 100%;
    display: block;
}

.sp-copy-btn {
    background: #ff2c2c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease-in-out;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.sp-copy-btn:hover {
    background: #d82323;
    transform: translateY(-2px);
}

.sp-crypto-warning {
    color: #ff2c2c;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.4;
    text-align: center;
    display: block;
    width: 100%;
}

@keyframes sp-fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Estilos de carga */
.sp-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Precios específicos */
.paypal-price {
    font-weight: bold;
    color: #DBDBDB;
}

.yape-price {
    font-weight: bold;
    color: #DBDBDB;
}

#crypto-main-price {
    font-weight: bold;
    color: #DBDBDB;
}

.price-usd-equivalent {
    font-weight: normal;
    color: #ccc;
}

/* ===== CONTENEDOR ESPECÍFICO DE MEMBRESÍAS ===== */
#membership-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    margin: 0 auto !important;
}

#membership-container > div {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 15px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

#membership-container h3,
#membership-container p {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    word-wrap: break-word !important;
}

#membership-container .price-pen {
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
}

#membership-container .price-crypto {
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (1024px) */
@media screen and (max-width: 1024px) {
    .sp-container {
        padding: 0 !important;
    }
    
    .sp-section-title {
        font-size: 1.8em;
    }
    
    .sp-section-emoji {
        width: 28px;
        height: 28px;
        padding: 5px;
    }
    
    .sp-section-emoji i {
        font-size: 14px !important;
    }
    
    .sp-payments-column {
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
    
    .sp-left-column,
    .sp-right-column {
        max-width: 100% !important;
    }
    
    /* Membresías en tablet - 3 por fila */
    .sp-memberships-container,
    #membership-container {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .sp-membership-item,
    #membership-container > div {
        flex: 1 1 calc(33.333% - 7px) !important;
        min-width: calc(33.333% - 7px) !important;
    }
}

/* Tablet pequeña (768px) */
@media screen and (max-width: 768px) {
    .sp-section-title {
        font-size: 1.6em;
        gap: 10px;
        white-space: normal;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sp-container {
        padding: 0 !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100% !important;
        gap: 1rem;
    }
    
    .sp-payments-container {
        flex-direction: column;
        width: 100% !important;
        gap: 1rem;
        padding: 0 15px !important;
    }
    
    .sp-payment-block {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 20px auto;
        padding: 20px;
    }
    
    /* Grid de membresías - 3 por fila */
    .sp-memberships-container,
    #membership-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    .sp-membership-item,
    #membership-container > div {
        flex: none !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 0;
        padding: 12px 8px !important;
    }
    
    .sp-crypto-select {
        font-size: 14px;
        padding: 10px;
    }
    
    .sp-wallet-address {
        font-size: 12px;
        padding: 10px;
    }
    
    .sp-payment-qr,
    .sp-crypto-qr {
        max-width: 180px;
    }
    
    /* Ajustes de texto en tablet */
    .sp-membership-title {
        font-size: 0.9em !important;
    }
    
    .sp-membership-price {
        font-size: 0.85em !important;
    }
    
    .sp-membership-price-pen {
        font-size: 0.8em !important;
    }
    
    .sp-membership-duration {
        font-size: 0.8em !important;
    }
    
    .sp-membership-feature {
        font-size: 0.75em !important;
    }
}

/* Móvil (480px) */
@media screen and (max-width: 480px) {
    .sp-section-title {
        font-size: 1.4em;
        gap: 8px;
    }
    
    .sp-payment-block {
        padding: 15px;
    }
    
    /* Grid de membresías - 2 por fila */
    .sp-memberships-container,
    #membership-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .sp-membership-item,
    #membership-container > div {
        padding: 10px 6px !important;
    }
    
    .sp-section-emoji {
        width: 24px;
        height: 24px;
        padding: 4px;
    }
    
    .sp-section-emoji i {
        font-size: 12px !important;
    }
    
    .sp-payment-title {
        font-size: 1.4em !important;
    }
    
    .sp-crypto-qr {
        max-width: 150px;
    }
    
    .sp-button {
        padding: 12px;
        font-size: 0.9em;
    }
    
    input, select, textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    /* Ajustes de texto en móvil */
    .sp-membership-title {
        font-size: 0.85em !important;
        margin-bottom: 8px !important;
    }
    
    .sp-membership-price {
        font-size: 0.8em !important;
        margin-bottom: 4px !important;
    }
    
    .sp-membership-price-pen {
        font-size: 0.75em !important;
        margin-bottom: 4px !important;
    }
    
    .sp-membership-price-crypto {
        font-size: 9px !important;
        margin-bottom: 8px !important;
    }
    
    .sp-membership-duration {
        font-size: 0.75em !important;
        margin-top: 8px !important;
    }
    
    .sp-membership-feature {
        font-size: 0.7em !important;
        line-height: 1.1 !important;
    }
}

/* Móvil muy pequeño (360px) */
@media screen and (max-width: 360px) {
    .sp-section-title {
        font-size: 1.2em;
    }
    
    /* Grid de membresías - 1 por fila */
    .sp-memberships-container,
    #membership-container {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .sp-section-emoji {
        width: 20px;
        height: 20px;
        padding: 3px;
    }
    
    .sp-section-emoji i {
        font-size: 10px !important;
    }
    
    .sp-membership-item,
    #membership-container > div {
        padding: 10px !important;
    }
    
    .sp-payment-block {
        padding: 12px;
    }
    
    /* Texto más pequeño para móvil pequeño */
    .sp-membership-title {
        font-size: 0.9em !important;
    }
    
    .sp-membership-price {
        font-size: 0.85em !important;
    }
    
    .sp-membership-feature {
        font-size: 0.75em !important;
    }
}

/* Estilos adicionales para la página de actualización */
.sp-user-info {
    text-align: center;
    margin: 15px 0 25px 0;
    padding: 15px;
    background: rgba(255, 44, 44, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ff2c2c;
}

.sp-user-info p {
    color: #DBDBDB;
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

.sp-user-info p:last-child {
    margin-bottom: 0;
}

.sp-user-info strong {
    color: #DBDBDB;
}

.sp-days-remaining {
    color: #ff2c2c !important;
    font-weight: bold;
}

.sp-current-membership {
    color: #ff2c2c !important;
    font-weight: bold;
}

.sp-expiration-date {
    color: #ff2c2c !important;
    font-weight: bold;
}

/* OVERRIDE PARA GARANTIZAR ANCHO COMPLETO */
.wp-block,
.entry-content,
.post-content,
.main-content,
.content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Eliminar cualquier padding/margin que limite el ancho */
.sp-container * {
    max-width: none !important;
}