table tr.amending-row td {
  background-color: #FFFACD !important;
  border-top: 2px solid #FFD700;
  border-bottom: 2px solid #FFD700;
  transition: background-color 0.3s ease;
}

.selected-row {
  background-color: #d0ebff; /* Light blue */
}

.table-wrapper {
  max-height: 50vh;      /* limit to half the viewport height */
  overflow-y: auto;      /* scroll if content exceeds */
}

#msa-analysis-bms-table thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;   /* Bootstrap light background */
  z-index: 2;            /* keep above body cells */
}

.table td.currency-cell,
.table th.currency-cell {
  white-space: nowrap;       /* prevents wrapping */
  width: 110px;              /* or whatever width fits */
}

.scroll-table {
  max-height: 50vh;       /* limit to half the viewport height */
  overflow-y: auto;       /* vertical scroll if content exceeds */
}

/* sticky header inside scrollable wrapper */
.scroll-table thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;    /* Bootstrap light background */
  z-index: 2;             /* keep header above body cells */
}

.scroll-table-fh {
  max-height: 75vh;
  overflow-y: auto;
}
.scroll-table-fh thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;    /* Bootstrap light background */
  z-index: 2;             /* keep header above body cells */
}



td.highlight {
  background-color: yellow;
  transition: background-color 0.3s ease;
}

td.row-highlight {
  background-color: lightblue;
  transition: background-color 0.3s ease;
}


