/* MVarela 04/Nov/26 Estilos del modulo de Produccion que viajan con su RCL.
   Los cargan los dos hosts que montan estas pantallas:
       <link rel="stylesheet" href="_content/ibSoft.ERPProduccion.UI/css/produccion.css" />
   El host propio (ibsoft.ERPProduccion) ya los tenia en su app.css, pero GLOBALES (td sin padding, tablas a 12 px):
   copiados asi al shell ERPv2 habrian cambiado todas sus tablas. Aqui van limitados a las tablas del modulo
   (QuickGrid con la clase quickgrid_body), asi que en el shell solo afectan a Produccion. */

/* Iconos SVG (<Icon> de ibSoft.UI.Shared). El shell ya lo trae en su app.css; el host propio no. */
.icon-svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* Tabla compacta */
table.quickgrid_body {
    font-size: 12px;
    height: 1px;
}

    table.quickgrid_body th {
        background-color: #cfe2ff !important;
    }

    table.quickgrid_body tr,
    table.quickgrid_body td {
        height: 100%;
    }

    table.quickgrid_body td {
        padding: 0 !important;
    }

        table.quickgrid_body td > div {
            height: 100%;
            padding-top: 8px !important;
            padding-bottom: 8px !important;
        }

    table.quickgrid_body .col-title {
        font-weight: bold !important;
        text-align: center !important;
        padding: 0 !important;
    }

    table.quickgrid_body .col-header-content {
        padding: 0 !important;
    }

    table.quickgrid_body .col-title-text {
        text-overflow: ellipsis;
        overflow: initial !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    /* Renglon seleccionado: la celda marcada con .selected pinta todo su renglon */
    table.quickgrid_body tr:has(.selected),
    table.quickgrid_body tr:has(.selected) td,
    table.quickgrid_body tr.selected {
        background: #cfe2ff !important;
    }

    table.quickgrid_body .seleccionar {
        overflow-wrap: break-word !important;
    }
