/* it's better to do not use table to avoid breaking layout in other bootstrap components*/
.lsf-table.table {

    /*
        position:relative is necessary because we rely on offsetLeft and offsetWidth when calculating columnLeft and columnRight.
        Without relative, <table> will not consider offsetParent and columnLeft and columnRight may not be calculated correctly
        For example, for the right table, if we have two tables on the form and use horizontal = TRUE;
    */
    position: relative;

    table-layout: fixed; /* we want predictable (not dependant from the content) manual column sizes  */
    width: 100%; /* it's odd but without this table-layout is switched to auto */
    height: fit-content; /* it's even more odd - without this height : 100% in tds won't work */

    /* it interferes with drag selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*
.lsf-table.table .focused-cell {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
*/

/* ----- GGridPropertyTable ----- */
.dataGridWidget {
    /*border: 1px solid var(--component-border-color);*/
    /*border-radius: var(--table-border-radius);*/

    /*background: var(--component-background-color);*/
    /*cursor: default;*/
    /*overflow: hidden; !* important for "removing outer grid borders", since they are removed with margin -1 overflow should be hidden *!*/
}

.data-grid-row {
}
.data-grid-cell {
    /*padding: 0;*/

    /* ??? */
    /*overflow: hidden;*/
}

/* Copy flash effect for selected cells - universal for all themes */
.copying-to-clipboard .column-select {
    filter: brightness(0.8) !important;
}