@import url('../../../../../projects/gbhost/public/gbstyle/gbcommonstyle.scss');



.grouping{
    font-weight: 700 !important;
}
/* Zebra striping ONLY for rows without RecordType */
.customhtml-table tbody tr:not(.auto-row):not(.manual-row):not(.ignore-row):nth-child(odd) {
  background-color: var(--bg-surface);
}

.customhtml-table tbody tr:not(.auto-row):not(.manual-row):not(.ignore-row):nth-child(even) {
  background-color: #ffffff;
}

/* RecordType based coloring */
.auto-row {
  background-color: #ECFDF5 !important;   /* Green */
}

.manual-row {
  background-color: #FFFBEB !important;   /* Orange */
}

.ignore-row {
  background-color: #FEF2F2 !important;   /* Pink */
}


 
.text-left {
    text-align: left;
    justify-content: flex-start;
  }
  
  .text-right {
    text-align: right;
    justify-content: flex-end;
  }

  
.Cr{
    color: black !important;
    font: bold !important;
}
.Db{
    color: black !important;
    font: bold !important;
}

.selected-row {
    outline: none;
    background-color: #e6f0ff !important;
}

/* Base button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.375rem;
  /* 6px */
  font-size: 0.875rem;
  /* 14px */
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Primary button (Create Ticket) */
.btn-primary {
  background-color: var(--action-primary-default, #834DD0) !important;
  /* blue-500 */
  color: white;
  border: 1px solid transparent;
  font-weight: bold;
  font-size: 14px;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--action-primary-default, #834DD0) !important;
  /* blue-600 */
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


 .tabs { display:flex; gap:10px; margin-bottom:10px; }
  .tab-btn {
      padding:6px 12px; border:1px solid #ccc; cursor:pointer;
      background:var(--bg-surface); border-radius:4px;
  }
  .tab-btn.active {
       background-color: var(--action-primary-default, #834DD0) !important;
  }


.tab-btn.active {
  background: #0d6efd;
  color: white;
}

.tabs-legend-wrapper {
  display: flex;
  justify-content: space-between; /* Tabs left, legend right */
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap; /* Responsive */
}

/* Tabs */
.tabs {
  display: flex;
  gap: 10px;
}

/* Legend */
.record-legend {
  display: flex;
  gap: 15px;
  font-size: 15px;
  font-weight: 500;
  padding-right: 10px;
}

/* Legend items */
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

/* Colors */
.legend-item.auto .legend-color {
  background-color:#ECFDF5;
}

.legend-item.manual .legend-color {
  background-color: #FFFBEB;
}

.legend-item.ignore .legend-color {
  background-color: #FEF2F2;
}
