/* =========================================
   1. VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================= */
   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

   :root {
       --mcp-primary: #591E91;        /* Morado Elastika */
       --mcp-secondary: #FF44DD;      /* Rosa para acentos/ahorro */
       --mcp-bg-light: #F8F9FA;
       --mcp-border-color: rgba(149, 126, 150, 0.50);;
       --mcp-text-dark: #333333;
       --mcp-text-gray: #555555;
       --mcp-text-muted: #718096;
   }
   
   body.page-id-5688 {
       background-color: #F3F3F3!important;
       font-family: 'Inter', sans-serif !important;
   }


   
   #mcp-app.container{
    padding: 100px 0px!important;
   }
   /* =========================================
      2. CONTENEDORES Y TIPOGRAFÍA
      ========================================= */

    header a, footer a{
        text-decoration: none!important;
        color: var(--mcp-text-dark)!important;
    }
    header a:hover, footer a:hover{
        text-decoration: none!important;
        color: var(--mcp-secondary)!important;
    }
    .bricks-nav-menu-wrapper.never ul{
        padding: 0px!important;
        margin: 0px!important;
    }
   .card.shadow-sm {
       border: none !important;
       border-radius: 20px !important;
       box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03) !important;
       /*margin-bottom: 24px;*/
       padding: 32px!important;
   }
   
   .text-main-dark {
        color: var(--mcp-text-dark) !important;
        font-family: Inter;
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 110%;
   }
   .product-title{
        color:var(--mcp-primary);
        font-family: Inter;
        font-size: 32px;
        font-style: normal;
        font-weight: 600;
        line-height: 110%;
    }
    .title-section{
        max-width: 820px;
        margin-bottom: 34px;
    }
   
   .text-secondary-muted {
       color: var(--mcp-text-muted) !important;
       font-size: 0.9rem;
   }
   
   .secondary-text {
        color: var(--mcp-secondary) !important;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 120%;
   }
   
   .text-primary {
       color: var(--mcp-primary) !important;
   }
   
   /* =========================================
      3. TARJETAS DE SELECCIÓN (BILLING, CONFIG, OS)
      ========================================= */
   .billing-card-wrapper {
       display: block;
       height: 100%;
   }
   
   .billing-card {
        border-radius: 10px !important;
        border: 1px solid var(--mcp-border-color)!important;
        background: #FFF !important;
        cursor: pointer;
        position: relative;
        padding: 16px !important;
        height: 100%;
        display: flex;
        flex-direction: row;
        transition: border-color 0.3s, background-color 0.3s; /* Solo para el cambio de estado checked */
        gap:16px;
        .card-info {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                width: 100%;
                .co-price{
                    align-self: center !important;
                    min-width: fit-content;
                }
        }
   }
   .text-radio{
        color: var(--mcp-text-dark);
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 300;
        line-height: 120%; /* 19.2px */
    }
   
   /* Indicador de Radio (Círculo) */
   .billing-card .radio-indicator {
       width: 22px;
       height: 22px;
       border-radius: 50%;
       border: 1px solid #CBD5E0;
       background: #FFF;
       display: flex;
       align-items: center;
       justify-content: center;
   }
   .billing-card .radio-indicator.v2 {
        width: 24px!important;
    }
   
   /* Estados Seleccionados (Checked) */
   .billing-radio-input:checked + .billing-card,
   .config-radio-input:checked + .billing-card,
   .os-family-radio:checked + .billing-card, 
   .auth-group-radio:checked + .radio-indicator {
       border-color: var(--mcp-primary) !important;
       background-color: #FDFBFF !important;
       box-shadow: 0 4px 20px rgba(89, 30, 145, 0.08);
   }
   
   .billing-radio-input:checked + .billing-card .radio-indicator,
   .config-radio-input:checked + .billing-card .radio-indicator,
   .os-family-radio:checked + .billing-card .radio-indicator,
   .auth-group-radio:checked + .radio-indicator {
       border-color: var(--mcp-primary);
       background-color: #FFF;
   }
   
   .billing-radio-input:checked + .billing-card .radio-indicator::after,
   .config-radio-input:checked + .billing-card .radio-indicator::after,
   .os-family-radio:checked + .billing-card .radio-indicator::after,
   .auth-group-radio:checked + .radio-indicator::after {
       content: "";
       width: 12px;
       height: 12px;
       background-color: var(--mcp-primary);
       border-radius: 50%;
   }
   
   /* =========================================
      4. ELEMENTOS DE FORMULARIO (SELECTS, SLIDERS)
      ========================================= */
   .config-select-input {
       background-color: white !important;
       border: 1px solid #dee2e6 !important;
       padding: 8px !important;
       font-size: 14px;
       border-radius: 8px;
   }
   
   select:disabled {
       cursor: not-allowed;
       background-color: #f1f5f9;
       opacity: 0.6;
   }
   
   .config-slider-input {
        -webkit-appearance: none;
        width: 100%;
        height: 16px; 
        border-radius: 20px;
        background: #F1F5F9; 
        outline: none;
        cursor: pointer;
        transition: background 0.15s ease-in-out;
    }

    /* Estilo del Círculo (Thumb) para Chrome, Safari, Edge */
    .config-slider-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        background: #ffffff;
        border: 1px solid var(--mcp-primary); /* Borde morado */
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0px 0px 0px 5px rgba(119,175,255,0.6);

       
    }
    /* Estilo del Círculo (Thumb) para Firefox */
    .config-slider-input::-moz-range-thumb {
        width: 16px;
        height: 16px;
        background: #ffffff;
        border: 1px solid var(--mcp-primary);
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0px 0px 0px 5px rgba(119,175,255,0.6);
    }
    .slider-info{
        margin-top: 32px;
        display: flex;
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        color: var(--mcp-text-dark);
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 120%; /* 16.8px */
        letter-spacing: -0.14px;
        border-radius: 8px;
        background: rgba(198, 235, 247, 0.50);
    }
   
   .mcp-price-box{
    border-radius: 10px;
    border: 1px solid rgba(149, 126, 150, 0.50);
    background: #FFF;
    display: flex;
    width: 166px;
    height: 56px;
    padding: 8px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
   }
   /* =========================================
      5. COMPLEMENTOS (ADDONS)
      ========================================= */
   .addons ul{
        margin-bottom: 0px;
        color: var(--mcp-text-dark);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
    }
   
   /* =========================================
      6. RESUMEN DE PEDIDO (SUMMARY)
      ========================================= */
   #mcp-summary-details {
       padding-top: 10px;
   }
   #mcp-summary-details hr {
       border-top: 1px solid var(--mcp-border-color);
       opacity: 0.5;
       margin: 24px 0;
   }
   #mcp-summary-details .total-price{
    color: var(--mcp-text-dark);
    text-align: right;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
   }

   #mcp-summary-details .basic-text.green{
    color: #21c16b !important;
   }

   #mcp-summary-details .items {
        gap: 24px;
        flex-direction: column;
        div {
            column-gap: 24px!important;
            span:last-child{
                min-width: fit-content!important;
                align-items: center;
                display: flex;
            }
        }
    }
    .min-fitcontent{
        min-width: fit-content!important;
        align-items: center;
        display: flex;
    }
   /* =========================================
      7. BOTONES (CON EFECTOS HOVER)
      ========================================= */
    .btn{
        height: 56px!important;
        padding: 0px 28px;
        border-radius: 100px!important;
        font-size: 16px!important;
        font-style: normal!important;
        font-weight: 600!important;
    }
    .btn-primary {
        background-color: var(--mcp-primary)!important;
        border: none !important;
        transition: all 0.3s ease;
        color: white;
    }
    
    .btn-primary:hover {
        filter: brightness(1.1);
        box-shadow: 0 8px 20px rgba(89, 30, 145, 0.2);
    }
    
    .btn-outline-primary {
        color: var(--mcp-primary);
        border: 1px solid var(--mcp-primary);

       
        transition: all 0.3s;
        background-color: transparent;
    }
    
    .btn-outline-primary:hover {
        border: 1px solid var(--mcp-primary)!important;
        background-color: var(--mcp-primary)!important;
        color: white;
    }
    
    .btn-outline-danger {

        
    }
    
    /* =========================================
        8. UTILIDADES Y RESPONSIVE
        ========================================= */
    .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
    
    .cursor-pointer {
        cursor: pointer;
    }
   
   @media (min-width: 992px) {
       .sticky-top {
           top: 30px;
           z-index: 100;
       }
   }


   .os-logo-img {
        width: 25px;
        height: 25px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        object-fit: contain;
    }

    .os-selection-card .billing-card {
        padding: 8px 16px !important;
        gap: 16px;
        border-radius: 10px !important;
        border: 1px solid var(--mcp-border-color);
        min-height: 50px;
    }

    .os-select-minimal {
        border: none !important;
        background: transparent !important;
        font-weight: bold;
        font-size: 14px;
        padding: 0 !important;
        cursor: pointer;
        outline: none !important;
    }

    .os-group-content {
        transition: all 0.3s ease-in-out;
    }
    .mb-24{
        margin-bottom: 24px!important;
    }
    .mt-24{
        margin-top: 24px!important;
    }
    .mt-26{
        margin-top: 26px!important;
    }
    .mb-16{
        margin-bottom: 16px!important;
    }
    .mt-16{
        margin-top: 16px!important;
    }
    
    .mb-64{
        margin-bottom: 64px!important;
    }
    .mt-64{
        margin-top: 64px!important;
    }
    .rg-24{
        row-gap: 24px;
    }
    .text-bold-01{
        color:var(--mcp-text-dark);
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 120%;
    }
    .text-bold-01.gray{
        color:var(--mcp-text-gray)!important;
    }
    .gray{
        color:var(--mcp-text-gray)!important;
    }
    .basic-text{
        color: var(--mcp-text-gray);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
    }
    .paymentDate{
        color: var(--mcp-text-gray);
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
    }
    .periodCard .price{
        color:var(--mcp-text-dark);
        font-size: 40px;
        font-style: normal;
        font-weight: 600;
        line-height: 110%;
    }
    .periodCard{
        display: flex;
        gap: 8px;
        flex-direction: column;
    }

    .addon-price{
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .addon-price{
        align-items: flex-end;
        .btn{
            width: fit-content!important;
        }
    }

/* =========================================
   ESTILOS PARA RADIOS DE GRUPO OS
   ========================================= */

/* 1. Estilo base del círculo (Visible siempre) */
.os-group-selector .radio-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #CBD5E0; /* Borde gris cuando no está seleccionado */
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 16px; /* Espacio entre el círculo y el texto */
    transition: border-color 0.2s ease;
}

/* 2. Cuando el radio está seleccionado, cambiamos el color del borde */
.os-group-radio:checked + .radio-indicator {
    border-color: var(--mcp-primary) !important;
}
.os-group-selector{
    margin-bottom: 24px!important;
}   

/* 3. Cuando el radio está seleccionado, dibujamos el punto morado central */
.os-group-radio:checked + .radio-indicator::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--mcp-primary);
    border-radius: 50%;
    display: block;
}

/* Alineación del contenedor */
.os-group-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.mcp-step-content{
    display: flex!important;
    flex-direction: column!important;
    row-gap: 32px!important;
}

/* =========================================
   DISEÑO DEL TOOLTIP (BURBUJA)
   ========================================= */
   .mcp-slider-tooltip {
    position: absolute;
    top: -55px; /* Posición sobre el slider */
    background: #FFFFFF;
    padding: 8px 12px; /* Padding solicitado */
    border-radius: 8px; /* Radio solicitado */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra suave para elevación */
    color: #333333;
    font-weight: 600;
    font-size: 14px;
    transform: translateX(-50%); /* ESTO ES VITAL: Centra la caja sobre el punto 'left' */
    /*transform: translateX(-50%);*/ /* Centra la burbuja respecto al punto de origen */
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
    /*transition: left 0.1s ease-out;*/
}

/* La flecha (triangulito) debajo de la burbuja */
.mcp-slider-tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px; /* Lo posiciona justo debajo del borde inferior */
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #FFFFFF; /* Triángulo del mismo color que el fondo */
}



/* Estilo estándar para inputs de formulario */
.mcp-input-standard {
    display: flex;
    width: 100%;
    height: 56px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid rgba(149, 126, 150, 0.50);
    background: #FFF;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.2s;
}

.mcp-input-standard:focus {
    border-color: var(--mcp-primary);
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    display: none; /* Oculto por defecto */
    font-weight: 500;
}

/* =========================================
   ESTILOS DE FORMULARIO (LABELS E INPUTS)
   ========================================= */
   .mcp-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: var(--mcp-text-gray);
    margin-bottom: 12px; /* Espaciado de 12px solicitado */
    display: block;
}

.required-asterisk {
    color: var(--mcp-secondary);
    margin-left: 4px;
}

/* Ajuste para el icono de ver contraseña */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #A0AEC0;
    font-size: 20px;
}

/* Clase para el contenedor del formulario de login */
.login-form-container {
    /*padding-top: 24px;*/
}

.error-message {
    color: #D33333;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 14.4px */
}

.user-info{
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    margin-left: 38px;
}
#formErrorMessage{
    color:  var(--mcp-text-dark);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 16.8px */
}



.input-promo-success {
    border-color: #21C16B !important;
    /*background-color: #f0fff4 !important; Un fondo verde muy sutil */
}

.btn-outline-success-promo {
    color: #21C16B !important;
    border: 1px solid #21C16B !important;
    background-color: transparent !important;
}

.btn-outline-success-promo:hover {
    background-color: #21C16B !important;
    color: white !important;
}

.mcp-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--mcp-primary);
    cursor: pointer;
}

/* =========================================
   PANTALLA DE CARGA (AJUSTADA AL CONTENIDO)
   ========================================= */
   .mcp-loading-overlay {
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #F3F3F3;
    display: flex; 
    justify-content: center;
    align-items: center;
    z-index: 990; /* Suficiente para cubrir el contenido interno */
    text-align: center;
    img{
        width: 48px;
        height: 48px;
        animation: girar 1s linear infinite;
    }
}
@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.mcp-loading-content {
    color:  #333;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.category-tabs-container{
    background-color: #55555533;
    padding: 2px;
    border-radius: 8px;
}
.category-tab {
    padding: 10px 20px;
   
    text-decoration: none !important;
    color: var(--mcp-text-gray);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
    letter-spacing: -0.14px;    
    transition: all 0.3s ease;
    flex:1;
    b{
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
    }
    border-left: solid 1px #55555533;
}

.category-tab.active {
    background: #FFFFFF;
    color: var(--mcp-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

#verification-code-input::placeholder {
    letter-spacing: normal;
    font-weight: 400;
    font-size: 16px;
}

#verification-code-input:focus {
    border-color: var(--mcp-primary);
    box-shadow: 0 0 0 3px rgba(89, 30, 145, 0.1);
}

.validate-mail {
    max-width: 809px;
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: #fff;
    padding: 48px;
    border-radius: 20px;
    gap: 32px;
    div{
        max-width: 632px;
    }
    input{
        max-width: 300px;
    }
    img{
        animation: none!important;
        width: 68px;
        height: 68px;
    }
    #btn-confirm-verify{
        max-width: 216px;
    }
}

.code-resend{
    p{
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%; 
    }
    small{
        color: rgba(51, 51, 51, 0.50);
    }
    a{
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
    }
}
.btn-secondary{
    color: #555;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    border-radius: 39px;
    border:#D5D5D5;
    background: #D5D5D5;
}


/* =========================================
   MODAL DE ÉXITO (VERIFICACIÓN)
   ========================================= */
   /* =========================================
   MODAL DE ÉXITO (ESTRUCTURA SOLICITADA)
   ========================================= */
.mcp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo oscurecido */
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 100000;
    padding: 20px;
}

.mcp-modal-overlay.active {
    display: flex;
}

.mcp-modal-container {
    display: flex;
    max-width: 809px;
    width: 100%;
    padding: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.mcp-modal-icon-circle {
    width: 64px;
    height: 64px;
    border: 2px solid var(--mcp-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--mcp-secondary);
    font-size: 32px;
}

.mcp-modal-title {
    color: var(--mcp-secondary);
    font-family: Inter;
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
    margin: 0;
}

.mcp-modal-text {
    color: var(--mcp-text-dark);
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    line-height: 130%;
    margin: 0;
}

.mcp-modal-subtext {
    color: var(--mcp-text-gray);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
}

.mcp-modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Ocultar "Ir a Intranet" por defecto */
.mcp-logged-in-only {
    display: none !important;
}

/* Cuando el usuario está activo (clase inyectada por el script global) */
body.mcp-user-active .mcp-logged-in-only {
    display: inline-block !important; 
}

/* Ocultar "Iniciar Sesión" cuando el usuario está activo */
body.mcp-user-active .mcp-logged-out-only {
    display: none !important;
}

#btn-execute-register{
    min-width: 227px;
}