.donut-global {
    height: 10px !important;
}

.altura-fija-cards-principales {
    min-height: 500px;
}

.altura-fija-cards-divididas-uno {
    height: 230px;
}

.altura-fija-cards-divididas-dos {
    height: 245px;
}

.chart-scroll-x{
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;

    /* Firefox */
    scrollbar-width: none;
}

.chart-scroll-x::-webkit-scrollbar {
    height: 0;
}

.chart-scroll-x:hover::-webkit-scrollbar {
    height: 6px;
}

.chart-scroll-x:hover::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
}

.chart-scroll-x #grafica-padron-listado{
    min-width: 900px; /* fallback */
}

.card-equal-height {
    height: 95%;
    display: flex;
    flex-direction: column;
}

.card-equal-height .card-body {
    flex: 1 1 auto;
}

.scrollable-list {
    max-height: 400px; /* tamaño de cada ítem */
    overflow-y: auto;
    padding-right: 5px; /* para que no se corte con scrollbar */
}

.kpi-card{
    cursor: pointer;
    transition: all .2s ease;
}
.kpi-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.kpi-card.active{
    outline: 1px solid rgba(13,110,253,.25);
    box-shadow: 0 4px 10px rgba(13,110,253,.15);
    background: rgba(13,110,253,.03);
}

/* Tabla comparativa */
.comparativa-table {
    border-collapse: collapse;
    border: 1px solid #dee2e6;
}

/* HEAD y FOOTER iguales */
.comparativa-table thead th,
.comparativa-table tfoot td {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    font-weight: 600;
}

/* Subencabezados (candidatos) */
.comparativa-table thead small {
    color: #6c757d;
    font-weight: 400;
}

/* Cuerpo */
.comparativa-table tbody td {
    border: 1px solid #dee2e6;
}

/* Totales (solo refuerza peso, no color) */
.comparativa-table tfoot td {
    font-weight: 600;
}
