    /* Estilos para el modal en una pantalla pequeña (teléfonos móviles) */
    @media (max-width: 767px) {
        .modal-tag{
            top: 29px !important;
            height: 25px !important;
            width: 18px !important;
        }
        .modal-personalizado {
            max-width: 100% !important;
            /* Ancho máximo para pantallas pequeñas */
            width: 100%;
        }
        .modal-personalizado-template {
            max-width: 100% !important;
            /* Ancho máximo para pantallas pequeñas */
            width: 100%;
        }
    }

    /* Estilos para el modal en una pantalla mediana (tabletas en modo vertical) */
    @media (min-width: 768px) and (max-width: 991px) {
        .modal-personalizado {
            max-width: 85% !important;
            /* Ancho máximo para pantallas medianas */
            width: 85%;
        }
    }

    /* Estilos para el modal en una pantalla grande (tabletas en modo horizontal y computadoras portátiles) */
    @media (min-width: 992px) and (max-width: 1199px) {
        .modal-personalizado {
            max-width: 85% !important;
            /* Ancho máximo para pantallas grandes */
            width: 85%;
        }
        .modal-personalizado-template {
            max-width: 600px !important;
        }
    }

    /* Estilos para el modal en una pantalla extra grande (computadoras de escritorio) */
    @media (min-width: 1200px) {
        .modal-personalizado {
            max-width: 80% !important;
            /* Ancho máximo para pantallas extra grandes */
            width: 80%;
        }
        .modal-personalizado-template {
            max-width: 600px !important;
        }
    }

    .profile-modal {
        border-radius: 5%;
        height: 170px;
        max-height: 170px;
        width: 170px;
    }

    .bg-nav {
        background-color: #f1f6f8;
    }

    .bg-trabajito {
        /*background-color: #f1f6f8 !important;*/
    }

    .tc-gray {
        color: #969595;
    }

    .tc-active {
        color: #43acbc !important;
    }

    .tc-gray2 {
        color: #707070;
    }

    .pregunta .pregunta-label {
        font-weight: 500;
        letter-spacing: 0.7px;
        margin: 0 !important;
        color: #52616a;
    }

    .bg-trabajito-question{
        background-color: #f1f6f8;
    }

    .applied-modal textarea:focus{
        border: 1px solid #43acbc;
    }



    .nav-plantilla.active{
        color: #0d2b3f !important;
        border-bottom: 1px #0d2b3f solid;
    }

    .nav-plantilla{
        color: #a3a5a7;
        font-weight: 600;
        font-size: 20px;
        border-bottom: 1px #a3a5a7 solid;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .container_buscador_plantilla{
        border: 2px solid #0d2b3f;
        border-radius: 15px;
        margin-left: 20px;
    }

    .buscador_plantilla{
        
    }

    .select-plantillas{
        width: 100%;
        border-radius: 15px;
        background-color: #fff;
        box-shadow: none;
        border: 2px solid #0d2b3f;
        padding: 10px;
    }

    .buscador_plantilla::placeholder {
        color: #0d2b3f;
        padding-left: 5px;
    }

    .templateQuestion{
        border-radius: 15px;
        background-color: rgba(97, 130, 174, .1);
        padding: 15px;
        color: #0d2b3f;
    }

    .plantilla-opcion input[type="radio"]{
        color: #0d2b3f;
    }

    .plantilla-opcion input[type="radio"]:checked:before{
        background-color: #0d2b3f !important;
    }

    .container-descripcion{
        padding: 5px 10px;
        width: fit-content;
        border: 1px solid #0d2b3f;
        background-color: #fff;
        color: #0d2b3f;
        border-radius: 10px;
    }

    .btn-utilizar-plantilla{
        background-color: transparent;
        color: #0d2b3f;
        border: 1px solid #0d2b3f;
        font-weight: 700;
    }

    .btn-agregar-todas-preguntas{
        background-color: #0d2b3f !important;
        border-radius: 15px;
    }


    .answers input[type="radio"],.answers input[type="checkbox"] {
        height: 17px;
        width: 17px;
        vertical-align: middle;
        margin: 0 0.4em 0.4em 0;
        border: 1px solid #43acbc;
        /* -webkit-appearance: none; */
        -webkit-transition: box-shadow 200ms;

    }

    /* border radius for radio*/
    .answers > input[type="radio"] {
        -webkit-border-radius: 100%;
        border-radius: 100%;
    }

    /* border radius for checkbox */
    .answers > input[type="checkbox"] {
        -webkit-border-radius: 2px;
        border-radius: 2px;
    }


/* radio checked */
    .answers input[type="radio"]:checked:before {
        display: block;
        height: 0.4em;
        width: 0.4em;
        position: relative;
        left: -0.055em;
        top: -0.055em;
        background: #43acbc;
        border-radius: 100%;
        content: '';
    }

    .answers input[type="checkbox"]:checked:before {
        display: block;
    }



    .br-t {
        border-right: 2px solid #e4e4e4 !important;
    }

    .br-t-1px {
        border-right: 1px solid #e4e4e4 !important;
    }

    .br-trabajito {
        border-right: 2px solid #e4e4e4 !important;
    }

    .btn-trabajito {
        background-color: #43acbc;
    }

    .border-trabajito-active {
        /*border: 1px solid #43acbc;*/
    }

    .label2 {
        font-size: 14px !important;
    }

    .applied-list .applied-item .label {
        width: 150px !important;
    }

    .applied-item2 {
        margin: 0 !important;
        padding: 10px;
    }

    .border-button-table {
        border-bottom: 1px solid #dfdfdf;
    }

    .nav>button {
        color: #969595;
    }

    .nav-tabs {
        border-top: 0px !important;
    }

    .nav-pills .active {
        color: #43acbc !important;
        background-color: #f0f8ff00 !important;
        border: 1px solid !important;
    }

    .nav-pills .nav-candidate.active {
        color: #30A5BF !important;
        border: none !important;
        background-color: none !important; 
    }

    .nav-pills .nav-test.active {
        color: #30A5BF !important;
        border: none !important;
        box-shadow: 0 0 5px rgb(48, 165, 191);
        background-color: none !important; 
    }

    .nav-pills .nav-test{
        border: none !important;
        box-shadow: 0 0 5px rgba(0,0,0, 0.2);
        background-color: none !important; 
    }

    .circular{
        height: 100px;
        width: 100px;
        position: relative;
      }
    
    .circular .inner-pos, .circular .outer, .circular .circle{
        position: absolute;
        z-index: 6;
        height: 100%;
        width: 100%;
        border-radius: 100%;
      }
      .circular .inner-pos{
        top: 50%;
        left: 50%;
        height: 80px;
        width: 80px;
        margin: -40px 0 0 -40px;
        background-color: #F8F9FB;
        border-radius: 100%;
      }
      .circular .circle{
        z-index: 1;
        box-shadow: none;
      }
      .circular .numb{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 18px;
        font-weight: 500;
        color: #30A5BF;
      }
      .circular .bar{
        position: absolute;
        height: 100%;
        width: 100%;
        background: #DAE0E4;
        -webkit-border-radius: 100%;
        clip: rect(0px, 100px, 100px, 50px);
      }
      .circle .bar .progreso{
        position: absolute;
        height: 100%;
        width: 100%;
        -webkit-border-radius: 100%;
        clip: rect(0px, 50px, 100px, 0px);
      }
      .circle .bar .progreso, .dot span{
        background: #30A5BF;
      }
      .circle .left .progreso{
        z-index: 1;
      }
      .circle .right{
        z-index: 3;
        transform: rotate(180deg);
      }
      .circle .dot{
        z-index: 2;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 50%;
        height: 10px;
        margin-top: -5px;
        animation: dot 8s linear both;
        transform-origin: 0% 50%;
      }
      .circle .dot span {
        position: absolute;
        right: 0;
        width: 10px;
        height: 10px;
        border-radius: 100%;
      }

    .timeline {
        border-left: 2px solid #43acbc;
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
        background: #f1f6f8;
        margin: 0 auto;
        letter-spacing: 0.2px;
        position: relative;
        line-height: 1.4em;
        font-size: 1.03em;
        padding: 50px;
        list-style: none;
        text-align: left;
        max-width: 60%;
    }

    @media (max-width: 767px) {
        .timeline {
            max-width: 98%;
            padding: 25px;
        }
    }

    .timeline h1 {
        font-weight: 300;
        font-size: 1.4em;
    }

    .timeline h2,
    .timeline h3 {
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .timeline .event {
        border-bottom: 1px dashed #e8ebf1;
        padding-bottom: 25px;
        margin-bottom: 25px;
        position: relative;
    }

    @media (max-width: 767px) {
        .timeline .event {
            padding-top: 30px;
        }
    }

    .timeline .event:last-of-type {
        padding-bottom: 0;
        margin-bottom: 0;
        border: none;
    }

    .timeline .event:before,
    .timeline .event:after {
        position: absolute;
        display: block;
        top: 0;
    }
    .timeline .event::before{
        top: -15px !important;
    }
    .timeline .event:before {
        left: -195px;
        content: attr(data-date);
        text-align: right;
        font-weight: 100;
        font-size: 0.9em;
        min-width: 120px;
        color: #707070;
        white-space: pre;
    }

    @media (max-width: 767px) {
        .timeline .event:before {
            left: 0px;
            text-align: left;
        }
    }

    .timeline .event:after {
        -webkit-box-shadow: 0 0 0 2px #43acbc;
        box-shadow: 0 0 0 2px #43acbc;
        left: -55.8px;
        background: #fff;
        border-radius: 50%;
        height: 9px;
        width: 9px;
        content: "";
        top: 5px;
    }

    .timeline .event h3 {
        font-weight: 500 !important;
    }

    .timeline .event .flecha {
        margin-right: 10px;
        margin-left: 10px;
    }

    @media (max-width: 767px) {
        .timeline .event:after {
            left: -31.8px;
        }
    }

    .rtl .timeline {
        border-left: 0;
        text-align: right;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
        border-right: 3px solid #43acbc;
    }

    .rtl .timeline .event::before {
        left: 0;
        right: -170px;
    }

    .rtl .timeline .event::after {
        left: 0;
        right: -55.8px;
    }

    /* Timeline for events-ui */

    .timeline-2 {
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
        margin: 0 auto;
        letter-spacing: 0.2px;
        position: relative;
        line-height: 1.4em;
        font-size: 1.03em;
        padding: 20px 0;
        list-style: none;
        text-align: left;
    }

    @media (max-width: 767px) {
        .timeline-2 {
            max-width: 98%;
            padding: 25px;
        }
    }

    .timeline-2 h1 {
        font-weight: 300;
        font-size: 1.4em;
    }

    .timeline-2 h2,
    .timeline-2 h3 {
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .timeline-2 .event {
        border-bottom: 1px dashed #e8ebf1;
        padding-bottom: 25px;
        margin-bottom: 25px;
        position: relative;
    }

    @media (max-width: 767px) {
        .timeline-2 .event {
            padding-top: 30px;
        }
    }

    .timeline-2 .event:last-of-type {
        padding-bottom: 0;
        margin-bottom: 0;
        border: none;
    }

    .timeline-2 .event:before,
    .timeline-2 .event:after {
        position: absolute;
        display: block;
        top: 0;
    }
    .timeline-2 .event::before{
        top: -15px !important;
    }
    /* .timeline-2 .event:before {
        left: -195px;
        content: attr(data-date);
        text-align: right;
        font-weight: 100;
        font-size: 14px;
        padding: 19px 25px 13px 25px;
        min-width: 120px;
        margin-left: 30px;
        color: #707070;
        white-space: pre;
        background-color: blue;
        border-radius: 12px 0 0 12px;
        box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.075)
    } */

    @media (max-width: 767px) {
        .timeline-2 .event:before {
            left: 0px;
            text-align: left;
        }
    }

    /* .timeline-2 .event:after {
        -webkit-box-shadow: 0 0 0 2px #43acbc;
        box-shadow: 0 0 0 2px #43acbc;
        left: -55.8px;
        background: #fff;
        border-radius: 50%;
        height: 9px;
        width: 9px;
        content: "";
        top: 5px;
    } */

    .timeline-2 .event h3 {
        font-weight: 500 !important;
    }

    .timeline-2 .event .flecha {
        margin-right: 10px;
        margin-left: 10px;
    }

    @media (max-width: 767px) {
        .timeline-2 .event:after {
            left: -31.8px;
        }
    }

    .rtl .timeline-2 {
        border-left: 0;
        text-align: right;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
        border-right: 3px solid #43acbc;
    }

    .rtl .timeline-2 .event::before {
        left: 0;
        right: -170px;
    }

    .rtl .timeline-2 .event::after {
        left: 0;
        right: -55.8px;
    }

    .table1>tbody>tr>td {
        border-top: 0px !important;
    }

    .jq-star {
        display: flex !important;
    }

    .modal-tag{
        position: absolute;
        left: -1px;
        top: 28px;
        background-color: #30a5bf;
        height: 25px;
        border-top-right-radius: 50%;
        border-bottom-right-radius: 50%;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        width: 25px;
    }


    .modal-tag2{
        position: absolute;
        left: -1px;
        top: 21px;
        background-color: #30a5bf;
        height: 13px;
        border-top-right-radius: 35%;
        border-bottom-right-radius: 35%;
        width: 25px;
    }

    .lista_pregunta::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 1px solid #ccc;
        border-radius: 8px;
        z-index: -1; /* Coloca el borde detrás del contenido */
    }

    .lista_pregunta{
        border-radius: 15px;
        /*height: 280px;
        max-height: 280px;
        overflow:hidden ;*/
    }

    .lista_pregunta_content{
        /*overflow-y: auto ;*/
        position: relative;
        font-size: 14px !important;
        height: 100%;
    }

    .footer_option{
        display: flex;
        flex-wrap: wrap;
        justify-content: end;
        align-items: center;
    }

    .footer_option > div{
        margin-bottom: 10px;
    }

    .titulo_cabecera_pregunta{
        border-bottom: 1px solid #30a5bf;
        color: #077992;
    }

    .btn-flotante-template{
        bottom: 110px;
    }
    .lista_preguntaV2{
        height: auto !important;
        max-height: 360px;
    }

    .lista_pregunta_contentV2{
        overflow-y: auto ;
        position: relative;
        font-size: 14px !important;
        height: auto;
        max-height: 360px !important ;
    }
    @media (max-width: 767px) {
        .footer_option {
            justify-content: start;
        }
        .btn-flotante-template{
            bottom: 70px;
        }
    }

/* ==========================================================================
   User Reportes page (React island) — migrated from reportes.blade.php
   All selectors are scoped under .user-reportes-page to avoid global leakage.
   Class names are kept identical to the legacy Blade markup so the React
   components render with the same styles (PRD decision D1).
   ========================================================================== */

@keyframes urFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes urSlideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes urChipIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes urSpin {
    to { transform: rotate(360deg); }
}

/* ---- "Sin datos" empty state ---- */
.user-reportes-page .no-data-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 150px;
    color: #6c757d;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 10px;
    animation: urFadeIn 0.3s ease-in-out;
}
.user-reportes-page .no-data-message svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
    color: #0d2b3f;
}
.user-reportes-page .no-data-message .no-data-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #0d2b3f;
}
.user-reportes-page .no-data-message .no-data-subtitle {
    font-size: 12px;
    color: #6c757d;
    max-width: 200px;
    line-height: 1.4;
}

/* ---- Stats context header ---- */
.user-reportes-page .stats-header {
    background: linear-gradient(135deg, #0d2b3f 0%, #18546c 100%);
    border-radius: 12px;
    padding: 16px 24px;
    margin: 16px 16px 20px 16px;
    box-shadow: 0 4px 15px rgba(13, 43, 63, 0.2);
    animation: urSlideDown 0.4s ease-out;
}
.user-reportes-page .stats-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.user-reportes-page .stats-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}
.user-reportes-page .stats-header-title svg {
    color: #78a4bc;
    flex-shrink: 0;
}
.user-reportes-page .stats-header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
}
.user-reportes-page .stats-header-date svg {
    color: #78a4bc;
    flex-shrink: 0;
}
@media (max-width: 576px) {
    .user-reportes-page .stats-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .user-reportes-page .stats-header-title {
        font-size: 16px;
    }
}

/* ---- Active filter chips ---- */
.user-reportes-page .active-filters-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 12px 20px;
    margin: 15px 0 15px 0;
    border: 1px solid #dee2e6;
    animation: urFadeIn 0.3s ease-out;
}
.user-reportes-page .active-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.user-reportes-page .active-filters-title {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 6px;
}
.user-reportes-page .active-filters-title svg {
    width: 16px;
    height: 16px;
    color: #0d2b3f;
}
.user-reportes-page .clear-filters-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.user-reportes-page .clear-filters-btn:hover {
    background: #dc3545;
    color: white;
}
.user-reportes-page .clear-filters-btn svg {
    width: 14px;
    height: 14px;
}
.user-reportes-page .filter-chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.user-reportes-page .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #0d2b3f;
    color: #0d2b3f;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    animation: urChipIn 0.2s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.user-reportes-page .filter-chip.chip-stats {
    background: linear-gradient(135deg, #0d2b3f 0%, #18546c 100%);
    color: white;
    border-color: #0d2b3f;
}
.user-reportes-page .filter-chip.chip-job {
    background: linear-gradient(135deg, #18546c 0%, #487c94 100%);
    color: white;
    border-color: #18546c;
}
.user-reportes-page .filter-chip.chip-date {
    background: linear-gradient(135deg, #487c94 0%, #78a4bc 100%);
    color: white;
    border-color: #487c94;
}
.user-reportes-page .filter-chip svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.user-reportes-page .filter-chip .chip-remove {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-left: 2px;
    background: none;
    border: none;
    color: inherit;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}
.user-reportes-page .filter-chip .chip-remove:hover {
    opacity: 1;
}
.user-reportes-page .filter-chip-category {
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- KPI cards grid ---- */
.user-reportes-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 16px;
    gap: 16px;
}
@media (min-width: 640px) {
    .user-reportes-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .user-reportes-page .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.user-reportes-page .stats-card {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 12px;
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease;
    height: 60px;
    margin-inline: 15px;
}
.user-reportes-page .stats-card:hover .icon-container {
    transform: rotate(12deg);
}
.user-reportes-page .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 15px;
    transition: transform 0.5s ease-in-out;
    margin-right: 10px;
}
.user-reportes-page .icon {
    color: #0D2B3F;
    transition: transform 0.5s ease-in-out;
}
.user-reportes-page .stats-text {
    text-align: left;
    color: #ffffff !important;
}
.user-reportes-page .text-large {
    font-size: 1.0rem !important;
    color: #ffffff !important;
    margin-bottom: 0px !important;
    margin-top: 5px !important;
}
.user-reportes-page .text-align {
    color: #ffffff !important;
    margin-bottom: 3px !important;
    font-size: 0.7rem !important;
}

/* ---- Loader ---- */
.user-reportes-page .dt-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.596);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.user-reportes-page .dt-loader::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #0D2B3F;
    border-top-color: transparent;
    border-radius: 50%;
    animation: urSpin 1s linear infinite;
}

/* ---- "Generar Estadísticas" button ---- */
.user-reportes-page #generateStatsButton,
.user-reportes-page .generate-stats-button {
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: #0d2b3f;
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 12px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.user-reportes-page #generateStatsButton:hover,
.user-reportes-page .generate-stats-button:hover {
    background-color: #18546c;
    transform: scale(0.99);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.user-reportes-page #generateStatsButton:active,
.user-reportes-page .generate-stats-button:active {
    transform: scale(0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease;
}
.user-reportes-page #generateStatsButton:focus,
.user-reportes-page .generate-stats-button:focus {
    outline: 2px solid #78a4bc;
    outline-offset: 4px;
}

/* ---- Etapa Avance donut horizontal scroll ---- */
.user-reportes-page #chartEtapaAvanceDiv .card-body {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    height: 100%;
}
.user-reportes-page #chartEtapaAvance {
    flex: 0 0 auto;
    width: 100%;
    min-width: 350px;
    height: 100%;
}
.user-reportes-page #chartEtapaAvanceDiv .card-body::-webkit-scrollbar {
    height: 8px;
}
.user-reportes-page #chartEtapaAvanceDiv .card-body::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}
.user-reportes-page #chartEtapaAvanceDiv .card-body::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* ---- Filter dropdowns (Estadística / Convocatoria) ---- */
.user-reportes-page .checkbox-small {
    transform: scale(0.8);
}
.user-reportes-page .reportes-dropdown {
    position: relative;
    display: inline-block;
}
.user-reportes-page .custom-dropdown {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    border-radius: 10px;
    padding: 8px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.user-reportes-page .custom-dropdown .dropdown-item {
    margin-bottom: 12px;
    display: block;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
.user-reportes-page .custom-dropdown-2 {
    margin-top: 6px;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 10px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
    min-width: 320px;
}
.user-reportes-page .custom-dropdown-2 .dropdown-item {
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 2px;
    line-height: 1;
}
.user-reportes-page .custom-dropdown-2 .dropdown-item:hover {
    background-color: #f1f5f8;
}
.user-reportes-page .input-style-search {
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    white-space: nowrap;
    background-color: white;
    border: 0.5px solid #7d7d7d;
    line-height: 20px;
    border-radius: 80px;
    font-weight: 400;
    padding: 0.5px 20px;
    height: 34px;
    width: 280px;
}
.user-reportes-page .input-style-search input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    background: transparent;
}
.user-reportes-page .btn-style-tbo3-new {
    position: relative;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    background-color: #0d2b3f;
    border: 1px solid #0d2b3f;
    line-height: 20px;
    border-radius: 12px;
    font-weight: 400;
    padding: 14px 35px;
    height: 40px;
    cursor: pointer;
}
.user-reportes-page .selected-job-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #6c757d;
    color: #fff;
    border-radius: 50rem;
    padding: 4px 10px;
    margin: 6px 6px 0 0;
    font-size: 13px;
}
.user-reportes-page .selected-job-tag .tag-remove {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* ---- Info tooltip (IconInfo) ---- */
.user-reportes-page .IconInfo {
    position: relative;
    display: inline-block;
}
.user-reportes-page .IconDropDown {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 8px;
    z-index: 9999;
    top: 25px;
    left: 0%;
    width: 200px !important;
    border-radius: 20px;
    border: 0.5px solid #0D2B3F;
}
.user-reportes-page .IconInfo:hover .IconDropDown {
    display: block;
}
.user-reportes-page .IconDropDown p {
    margin: 0;
    color: #0D2B3F !important;
    font-size: 14px;
    margin-bottom: 0px !important;
    line-height: 1.4 !important;
}
.user-reportes-page .IconInfo svg path {
    fill: #FFFFFF;
    stroke: #0D2B3F;
}
.user-reportes-page .IconInfo:hover svg path {
    fill: #0D2B3F;
    stroke: #FFFFFF;
}

/* ==========================================================================
   Custom React DateRangePicker (dayjs) — replaces jQuery daterangepicker.
   Brand colors: #0d2b3f (primary), #18546c (secondary).
   ========================================================================== */
.user-reportes-page .reportes-date-range {
    position: relative;
    display: inline-block;
}
.user-reportes-page .reportes-date-range__panel {
    position: absolute;
    z-index: 10001;
    top: calc(100% + 6px);
    left: 0;
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    font-family: inherit;
}
.user-reportes-page .reportes-date-range__presets {
    display: flex;
    flex-direction: column;
    min-width: 170px;
    border-right: 1px solid #eee;
    padding: 6px 0;
    max-height: 320px;
    overflow-y: auto;
}
.user-reportes-page .reportes-date-range__preset {
    background: none;
    border: none;
    text-align: left;
    padding: 8px 16px;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    white-space: nowrap;
}
.user-reportes-page .reportes-date-range__preset:hover {
    background: rgba(13, 43, 63, 0.08);
}
.user-reportes-page .reportes-date-range__preset.is-active {
    background: #0d2b3f;
    color: #fff;
}
.user-reportes-page .reportes-date-range__calendars {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
}
.user-reportes-page .reportes-date-range__cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.user-reportes-page .reportes-date-range__nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #0d2b3f;
    padding: 2px 8px;
    border-radius: 6px;
}
.user-reportes-page .reportes-date-range__nav:hover {
    background: rgba(13, 43, 63, 0.08);
}
.user-reportes-page .reportes-date-range__month-label {
    font-size: 13px;
    font-weight: 600;
    color: #0d2b3f;
    text-transform: capitalize;
}
.user-reportes-page .reportes-date-range__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.user-reportes-page .reportes-date-range__dow {
    font-size: 11px;
    color: #98a2b3;
    text-align: center;
    padding: 4px 0;
    text-transform: capitalize;
}
.user-reportes-page .reportes-date-range__cell {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 12px;
    color: #344054;
    cursor: pointer;
    border-radius: 6px;
}
.user-reportes-page .reportes-date-range__cell:hover {
    background: rgba(13, 43, 63, 0.08);
}
.user-reportes-page .reportes-date-range__cell.is-muted {
    color: #cbd2d9;
}
.user-reportes-page .reportes-date-range__cell.is-disabled {
    color: #e1e5ea;
    cursor: not-allowed;
}
.user-reportes-page .reportes-date-range__cell.is-in-range {
    background: rgba(13, 43, 63, 0.1);
    border-radius: 0;
}
.user-reportes-page .reportes-date-range__cell.is-edge {
    background: #0d2b3f;
    color: #fff;
}
.user-reportes-page .reportes-date-range__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #eee;
    grid-column: 1 / -1;
}
.user-reportes-page .reportes-date-range__btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #dee2e6;
}
.user-reportes-page .reportes-date-range__btn--cancel {
    background-color: #f8f9fa;
    color: #495057;
}
.user-reportes-page .reportes-date-range__btn--cancel:hover {
    background-color: #e9ecef;
}
.user-reportes-page .reportes-date-range__btn--apply {
    background-color: #0d2b3f;
    border-color: #0d2b3f;
    color: #fff;
}
.user-reportes-page .reportes-date-range__btn--apply:hover {
    background-color: #18546c;
    border-color: #18546c;
}
@media (min-width: 768px) {
    .user-reportes-page .reportes-date-range__calendars--dual {
        flex-direction: row;
    }
}
