.Charges-styled-table {
  width: 100%;
  table-layout: fixed; /* This ensures columns respect their defined widths */
  border-collapse: collapse;
  font-size: 14px;
  font-family: 'Helvetica';
  min-width: 500px;
  overflow: auto;
  border: 1px solid #dddddd;
}

.Charges-styled-table thead {
  z-index: 99999;
  height: 37px;
  background: var(--bg-surface);
}

.Charges-styled-table th{
    padding: 0px 15px;
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;  
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    position: sticky !important;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for overflow */
    box-sizing: border-box; /* Include padding in width calculation */
}

.Charges-styled-table td {
  padding: 0px 15px;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;  
  font-style: normal;
  letter-spacing: normal;
  font-family: 'Helvetica';
  text-align: left;
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden; /* Hide overflow text */
  text-overflow: ellipsis; /* Add ellipsis for overflow */
  box-sizing: border-box; /* Include padding in width calculation */
}

.Charges-sticky-header{
  display: block;
  width: 100%; 
  overflow-x: auto; /* Allow horizontal scrolling */
  overflow-y: auto; /* Allow vertical scrolling */
  max-height: 350px;
  margin: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 6px 6px 6px 6px;
  border: 1px solid #dddddd;
  box-shadow: 0px 2px 4px 0px #00000033;
}

.Charges-styled-table thead tr{
  border: 1px solid var(--action-primary-default);
  text-align: left;
  padding: 5px;
  position: sticky; 
  top: 0;
  z-index: 10; 
  background: var(--bg-surface);
}

.Charges-styled-table tbody tr:focus-visible{
  border: 0px solid !important;
}

.AddRow{
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 2px 0px #0000000F;
  border-radius: 6px;
  color: #FFFFFF;
  width: 120px;
  height: 32px;
  background-color: var(--action-primary-default);
  font-family: Helvetica;
  font-size: 12px;
  font-weight: 500;
  line-height: 19px;
}

.DeleteRow{
  cursor: pointer;
  display: flex;
  height: 36px;
  justify-content: right;
  align-items: center;
}

.GridInput{
  outline-style: none; 
  height: 30px; 
  border: none; 
  background-color: inherit;
  color: var(--mat-sys-inverse-surface);
}

.GridcheckBox{
  display: inline-flex;
  justify-content: flex-start;
  padding-right: 16px;
}

.GridMatSelect{
  font-weight: 500;
  color: var(--mat-sys-inverse-surface);
}

::ng-deep .mat-mdc-select-arrow svg{
  fill: var(--mat-sys-inverse-surface) !important;
}