@import url('../../../../../projects/gbhost/public/gbstyle/gbcommonstyle.scss');

.text-left {
  text-align: left;
  justify-content: flex-start;
}

.text-right {
  text-align: right;
  justify-content: flex-end;
}

.customhtml-table tbody tr:nth-child(odd) {
  background-color: var(--bg-surface);
}

.customhtml-table tbody tr:nth-child(even) {
  background-color: #ffffff;
}

.grouping {
  font-weight: 700 !important;
}


.scroll-container {
  overflow-x: auto;
  max-width: 100%;
}

.scroll-container {
  overflow-x: auto;
  max-width: 100%;
}

.sticky-colth1 {
  position: sticky !important;
  left: 0;
  background-color: var(--action-primary-default) !important;
  z-index: 1;
}

.sticky-colth2 {
  position: sticky !important;
  left: 120px;
  background-color: var(--action-primary-default) !important;
  z-index: 1;
}

.sticky-col1 {
  position: sticky !important;
  left: 0;
  background-color: inherit !important;
  z-index: 1;
}

.sticky-col2 {
  position: sticky !important;
  left: 120px;
  background-color: inherit !important;
  z-index: 1;
}

.whitebackground-col {
  // background-color: #faf9fd !important;
  background-color: var(--bg-surface) !important;
  z-index: 1;
}

.customhtml-table {
  width: 100%;
  border-collapse: collapse;
}

.customhtml-table thead {
  color: var(--mat-sys-inverse-surface-white);
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--action-primary-default);
}

.customhtml-table tr {
  display: flex;
  height: 26px;
}

.customhtml-table th,
.customhtml-table td {
  text-align: left;
  padding: 4px 8px;
  width: 200px;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.customhtml-table th {
  cursor: pointer;
  display: flex;
  align-items: center;
  color: white;
}

.customhtml-table mat-icon {
  width: 18px;
  height: 18px;
  font-size: 16px;
  color: var(--field-text-placeholder);
}

.export-btn {
  background-color: var(--action-primary-default) !important;
  color: white !important;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 8px;
}



.filter-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.dropdown-group {
  display: flex;
  flex-direction: column;
}

.dropdown-group label {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 14px;
}

.dropdown-group select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.radio-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dropdown-label {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 14px;
}

.radio-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-options label {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.radio-options input[type="radio"] {
  accent-color: var(--action-primary-default);
  /* or a specific color like #6c2eb9 */
  transform: scale(1.1);
  cursor: pointer;
}

.text-right {
  text-align: right !important;
}


.sticky-total-row {
  position: sticky;
  bottom: 0;
  background-color: #faf9fd; // match your theme
  z-index: 5;
  font-weight: bold;
}

.sticky-total-row td {
  background-color: #faf9fd; // required for overlap to work
  border-top: 1px solid #ccc;
}