.align-right input.mud-input-slot.mud-input-root {
    text-align: right !important;
}

.doc-section-component-container
{
    padding: 16px;
    width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*.docs-page-content {
    min-height: calc(100vh - 600px)
}*/

/* CENTRAR CABECERAS TABLAS */
.mud-data-grid .mud-table-cell .column-header {
    display: flex;
    align-items: center;
    justify-content: center !important;
    text-align: center !important;
}

/*.ocultaIcons .mud-data-grid .mud-table-cell .column-header .column-options {*/
.ocultaIcons .mud-data-grid .mud-table-cell .mud-menu {
    display: none !important;
}

/******* GRAFICO *****/
.responsiveChart .mud-chart-legend {
    display: none !important;
}

.evoCurseComparableChart .mud-chart-legend {
    display: none !important;
}

.chart-leyenda-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /*gap: 1rem;*/
    
}

.leyenda-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 0.5rem;
}

.leyenda-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Oculta la leyenda original en pantallas grandes y muestra la leyenda personalizada */
@media (min-width: 1025px) {
    .evoCarteraMorosaChart .mud-chart-legend {
        display: none !important;
    }

    .leyenda-custom {
        display: flex !important;
    }
}

/* Muestra la leyenda original en pantallas tipo tablet (vertical y horizontal) */
@media (min-width: 768px) and (max-width: 1024px) {
    .mud-chart-legend {
        display: flex !important;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .leyenda-custom {
        display: none !important;
    }
}

/* Opcional: si quieres en móviles que también se muestre la original */
@media (max-width: 767px) {
    .mud-chart-legend {
        display: flex !important;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .leyenda-custom {
        display: none !important;
    }
}


























/*Forma de aplicar style a graficos de mudblazor*/
/*svg .mud-chart-bar:nth-of-type(8n + 1) {
    fill: #C5A9D1 !important;
    stroke: #C5A9D1 !important;*/ /* Sin Mora */
/*}

svg .mud-chart-bar:nth-of-type(8n + 2) {
    fill: #A8D5BA !important;
    stroke: #A8D5BA !important;*/ /* 1-15 días */
/*}

svg .mud-chart-bar:nth-of-type(8n + 3) {
    fill: #F3E5AB !important;
    stroke: #F3E5AB !important;*/ /* 16-30 días */
/*}

svg .mud-chart-bar:nth-of-type(8n + 4) {
    fill: #FAD0C9 !important;
    stroke: #FAD0C9 !important;*/ /* 31-60 días */
/*}

svg .mud-chart-bar:nth-of-type(8n + 5) {
    fill: #A7C7E7 !important;
    stroke: #A7C7E7 !important;*/ /* 61-90 días */
/*}

svg .mud-chart-bar:nth-of-type(8n + 6) {
    fill: #F4D1A1 !important;
    stroke: #F4D1A1 !important;*/ /* 91-180 días */
/*}

svg .mud-chart-bar:nth-of-type(8n + 7) {
    fill: #DBB3DB !important;
    stroke: #DBB3DB !important;*/ /* 181-360 días */
/*}

svg .mud-chart-bar:nth-of-type(8n + 0) {
    fill: #A1E6A1 !important;
    stroke: #A1E6A1 !important;*/ /* 361+ días */
/*}*/