@-moz-keyframes parpadeo_bor {
	0% { border-bottom-color: #f00f ; }
  50% { border-bottom-color: #f000 ; }
  100% { border-bottom-color: #f00f ; }
}

@-webkit-keyframes parpadeo_bor {
	0% { border-bottom-color: #f00f ; }
  50% { border-bottom-color: #f000 ; }
  100% { border-bottom-color: #f00f ; }
}

@keyframes parpadeo_bor {
	0% { border-bottom-color: #f00f ; }
  50% { border-bottom-color: #f000 ; }
  100% { border-bottom-color: #f00f ; }
}


.iascontainner.container {
    padding-bottom: 30px !important; 
}

.app-navegacion {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    padding: 1.25rem clamp(1rem, 3vw, 2rem);
    border: 1px solid rgba(111, 22, 42, 0.12);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f7faf8 100%);
    box-shadow: 0 8px 24px rgba(19, 50, 43, 0.08);
}

.app-navegacion-titulo {
    margin: 0 0 1rem;
    color: #6F162A;
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.app-navegacion-cuerpo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.app-navegacion-vistas,
.app-navegacion-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.app-navegacion-enlace {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border: 1px solid #13322B;
    border-radius: 8px;
    background: #13322B;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.app-navegacion-enlace:hover,
.app-navegacion-enlace.activo {
    background: #0B211C;
    color: #fff;
    transform: translateY(-1px);
}

.app-navegacion-imprimir {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border: 1px solid #6F162A;
    border-radius: 8px;
    background: #6F162A;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 160ms ease, transform 160ms ease;
}

.app-navegacion-imprimir:hover {
    background: #531020;
    transform: translateY(-1px);
}

.app-filtro {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.app-filtro-etiqueta {
    margin: 0;
    color: #5f6b66;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.app-filtro-select {
    min-width: 132px;
    border-color: rgba(25, 135, 84, 0.45);
    color: #145c3d;
    font-size: 0.86rem;
    font-weight: 600;
}

.app-navegacion-contexto {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1rem;
    color: #68756f;
    font-size: 0.82rem;
    text-align: center;
}

.app-navegacion-contexto-valor {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.1);
    color: #176b45;
    font-weight: 700;
}

.bg-dorado {
    background-color: #C89B3C !important;
}

.text-dorado {
    color: #A97912 !important;
}

@media (max-width: 767.98px) {
    .app-navegacion-cuerpo,
    .app-navegacion-vistas,
    .app-navegacion-filtros {
        width: 100%;
    }

    .app-navegacion-enlace {
        flex: 1 1 100%;
        justify-content: center;
    }

    .app-filtro {
        width: 100%;
        justify-content: space-between;
    }

    .app-filtro-select {
        flex: 1;
    }

    .tabla-scroll-contenedor {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 0.35rem;
        margin-bottom: 1rem;
    }

    .tabla-scroll-contenedor .t_estadis,
    .tabla-scroll-contenedor .t_estadis_simple {
        width: max-content;
        min-width: 100%;
        margin-bottom: 0;
    }

    .t_estadis th,
    .t_estadis td,
    .t_estadis_simple th,
    .t_estadis_simple td {
        min-width: 110px;
    }

    .t_estadis th:first-child,
    .t_estadis td:first-child,
    .t_estadis_simple th:first-child,
    .t_estadis_simple td:first-child {
        min-width: 220px;
        white-space: normal;
    }

    #chartFrecuenciaDispositivos,
    #chartDispositivos {
        max-height: 280px;
    }
}


@media print {
    @page {
        size: auto;
        margin: 12mm;
    }

    /* Estas sirve para eliminar las restricciones de altura y desplazamiento para que se pueda imprimir toda la pagina. */
    body > .d-flex.flex-column,
    .idxBody,
    .app_col_cont,
    .vh-100,
    .flex-grow-1,
    .overflow-hidden,
    .overflow-auto {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* body{
        background: #0dc906 !important;
    } */

    html,
    body,
    .idxBody {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .ias_nan.app-navegacion {
        padding: 0 0 1rem;
        border: 0;
        box-shadow: none;
        background: #fff;
    }


/* Esto oculta los controles del Plos botones, navegación y filtros al imprimir, dejando solamente el contenido del tablero     */
    .app-navegacion-vistas,
    .app-navegacion-acciones,
    .app-navegacion-filtros {
        display: none !important;
    }

    .app-navegacion-contexto {
        margin-top: 0;
    }

    .card {
        break-inside: avoid;
        box-shadow: none !important;
    }

    canvas {
        max-width: 100%;
    }
}

.div_seccion {
    background: var(--cVIN_02) !important;
    color: #fff;
    border-bottom: 1px solid #4a2f2233;
    margin: 5px 0;
    padding: 10px 30px;
    border-radius: 5px;
    overflow: hidden;  
    margin-bottom: 15px;
    /* text-align: center !important; */
    font-size: 1.2em !important;
    font-family: "fontGMX", sans-serif !important;
}


.t_estadis_simple tr:last-child td {
    background-color: #f1f1f1;
}

.t_estadis_simple tr:last-child td:first-child {
    border-bottom-left-radius: 14px;
}

.t_estadis_simple tr:last-child td:last-child {
    border-bottom-right-radius: 14px;
}

.tarjeta {
    background-color: #ffffff;
    border: 1px solid #e3e6f0;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.08);
    transition: all 0.2s ease-in-out;
}

.tarjeta:hover {
    box-shadow: 0 0.25rem 2rem 0 rgba(58, 59, 69, 0.15);
    transform: translateY(-2px);
}

.thC {
    text-align: right !important;
    padding-right: clamp(8px, 2vw, 35px);
}

.thE {
    text-align: left !important;
    font-size: 1.1em !important;
    vertical-align: middle !important;
    padding-left: clamp(18px, 2vw, 35px)!important;
}

.thF {
    text-align: right !important;
    padding-right: clamp(8px, 2vw, 35px);
}

.thN {
    text-align: right !important;
    padding-right: clamp(8px, 2vw, 35px);
}

.thP {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background-color: rgba(230, 209,148, 0.3);
    color: rgb(8, 57, 163);
    font-size: 0.9em !important;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
}

.thT {
    text-align: center !important;
    font-size: 1em !important;
    font-family: "fontGMX", sans-serif !important;
    font-weight: 300 !important;
    vertical-align: middle !important;
}

.txt-por1 {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--bs-dark);
}

.txt-por2 {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--bs-success);
}

.txt-por3 {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--bs-primary);
}

.txt-respuesta {
    font-size: 1rem;
    font-weight: 300;
    color: var(--bs-dark);
}

.txt-titulo {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 0.5rem;
}


.t_estadis {
    border: 1px solid #dee2e6;
    border-radius: 8px; 
    overflow: hidden;   
    margin-bottom: 25px;
    border-spacing: 0;

} 

.t_estadis tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.09); 
}

.t_estadis th, .t_estadis td {
    padding: 12px 15px; /* Más aire en las celdas */
    vertical-align: middle;
}
.t_estadis_simple {
    border: 1px solid #dee2e6;
    border-radius: 8px; 
    overflow: hidden;   
    margin-bottom: 25px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
