/* Estilos personalizados para VUA */

/* Ajuste ancho 100% */
/* Sobrescribir anchos fijos de contenedores */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
}

/* Aplicar padding lateral para evitar que el contenido toque los bordes */
.elementor-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 767px) {
    .elementor-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Temas con max-width fijo */
.elementor-4125 .elementor-element.elementor-element-8317bfd > .elementor-container,
.elementor-4190 .elementor-element.elementor-element-2465710 > .elementor-container,
.elementor-4219 .elementor-element.elementor-element-2465710 > .elementor-container {
    max-width: 100% !important;
}

/* Columnas no tengan restricciones de ancho */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Elementos widget ocupen todo el espacio disponible */
.elementor-widget-wrap {
    width: 100% !important;
}




/* Burbuja decisión */
.burbuja-decision {
    background-color: #80C296 !important;
}

.text-decision {
    color: #fff !important;
}

.burbuja-decision p,
.burbuja-decision span {
    color: #fff !important;
}

/* Estilo para h1 de secciones de decisión */
.decision-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto 15px;
    padding: 5px 60px 5px 120px;
    max-width: 60%;
    background-color: #009056;
    border-radius: 50px;
    font-size: var(--sizeH1);
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.decision-title::before {
    content: '';
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 85px;
    height: 85px;
    background-image: url('../img/sistema-diseno/h1-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .decision-title {
        font-size: 24px;
        padding: 15px 40px 15px 85px;
        max-width: 80%;
        border-radius: 40px;
    }
    
    .decision-title::before {
        width: 55px;
        height: 55px;
        left: 15px;
    }
}

@media (max-width: 576px) {
    .decision-title {
        font-size: 20px;
        padding: 12px 30px 12px 70px;
        max-width: 100%;
        border-radius: 30px;
    }
    
    .decision-title::before {
        width: 45px;
        height: 45px;
        left: 10px;
    }
}

/* Transición suave para la aparición de temas en el menú */
.itemMenu,
.vuaSubMenu__camino,
.vuaMenu__btn {
    transition: opacity 0.3s ease-in-out;
}

.navegacion__btn--retroceder {
    background-color: #EDBE16 !important;
    color: #2b2b2b !important;
}

.navegacion__btn--retroceder svg path {
    fill: #2b2b2b !important;
}

.navegacion__btn--retroceder:hover {
    background-color: #d4a912 !important;
    transform: scale(1.05);
}

/* Banner de ruta seleccionada */
.banner-ruta {
    font-size: 25px;
    color: #2b2b2b;
    background-color: #ffc200;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    width: fit-content;
}

.reingresoModal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.reingresoModal--activo {
    display: flex;
}

.reingresoModal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.reingresoModal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
}

.reingresoModal__titulo {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    color: #00D3CD;
}

.reingresoModal__texto {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    color: #000000;
}

.reingresoModal__acciones {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.reingresoModal__btn {
    border: none;
    border-radius: 8px;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.reingresoModal__btn--primario {
    background: #75D300;
    color: #000000;
}

.reingresoModal__btn--secundario {
    background: #00D3CD;
    color: #000000;
}

@media (max-width: 576px) {
    .reingresoModal__dialog {
        padding: 18px;
        border-radius: 12px;
    }

    .reingresoModal__titulo {
        font-size: 24px;
    }

    .reingresoModal__texto {
        font-size: 16px;
    }

    .reingresoModal__acciones {
        flex-direction: column;
    }

    .reingresoModal__btn {
        width: 100%;
    }
}

.bienvenida__pantalla {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    overflow: hidden !important;
}

.bienvenida__header {
    position: relative;
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 40px;
    flex-shrink: 0;
    z-index: 10;
    background: transparent;
}

.bienvenida__logo {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    animation: bienvenida__fadeInDown 0.8s ease-out;
}

.bienvenida__contenedor {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 40px 20px !important;
    position: relative !important;
    min-height: 0;
}

.bienvenida__contenido {
    width: 100%;
    max-width: 1200px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

@media (min-width: 768px) {
    .bienvenida__header {
        min-height: 120px;
        padding: 30px 60px;
    }
    
    .bienvenida__contenedor {
        padding: 60px 40px !important;
    }
}

@media (min-width: 992px) {
    .bienvenida__header {
        min-height: 140px;
        padding: 40px 80px;
    }
    
    .bienvenida__contenedor {
        padding: 80px 60px !important;
    }
}

/* Textura de fondo en temas sin decisión (mismo criterio que vua.css / curso ensamblado) */
.vua__tema.fondo-regular {
    background-image: url('../img/fondo-text.svg');
    background-repeat: repeat;
    background-position: center top;
    background-size: auto;
    background-attachment: fixed;
}

.vua__tema.opcion-text {
    color: #000000;
}

.vua__tema.opcion-text .elementor-heading-title {
    color: #000000 !important;
}

.vua__tema.opcion-text .elementor-widget-text-editor .elementor-widget-container > p {
    color: rgba(0, 0, 0, 0.95);
}

.vua__tema.opcion-text .elementor-widget-text-editor .elementor-widget-container > ul,
.vua__tema.opcion-text .elementor-widget-text-editor .elementor-widget-container > ol {
    color: rgba(0, 0, 0, 0.95);
}

.vua__tema.opcion-text .decisiones__titulo {
    color: #75D300;
    
}

.vua__tema.opcion-text .decision__opcion {
    color: #1a1a1a;
}

.vua__tema.opcion-text .decision__opcion .decision__titulo {
    color: #111;
}

.vua__tema.opcion-text .decision__opcion .decision__descripcion {
    color: #444 !important;
}

