﻿/* Prevent text wrapping in grid cells and control row height */
.transaction-invoice-grid .dxbl-grid-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0; /* Forces text-overflow to work with table cells */
}

/* Ensure consistent row height */
.transaction-invoice-grid .dxbl-grid-table tr {
    height: 2.5rem; /* Fixed row height */
}

/* Allow column headers to wrap if needed (optional) */
.transaction-invoice-grid .dxbl-grid-header-cell {
    white-space: normal;
}

/* Specific handling for detail rows if they exist */
.transaction-invoice-grid .dxbl-grid-detail-row td {
    white-space: normal; /* Allow wrapping in detail rows */
    max-width: none;
}

/* Support for selection column */
.transaction-invoice-grid .dxbl-grid-selection-column {
    width: 40px;
}

/* Existing styles */
.disabled-item {
    background-color: #e9ecef;
    color: #495057;
}

.border-invoice-header {
    border: 1px solid #d2d2d2;
    padding: 5px;
    height: 54px;
    align-content: center;
}
.clickable-row {
    cursor: pointer;
}
.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.dxbl-gridlayout-root {
    grid-template-rows: auto auto !important;
}