.hide-in-table {
  display: none !important;
}
.table-component {
    padding: 24px 0;
}
.no-data-msg {
  text-align: center;
  color: #666;
  display: none;
  margin-bottom: 24px;
}

.table-component .col.checkbox-col {
  display: none;
}
.dataTable .select-checkbox {
  visibility: hidden;
}
.table-component .heading-with-uline {
  margin-bottom: 0px;
  padding:0 0 24px 0px;
}
.table-component .heading-with-uline h2 {
  color: #333333;
}

.table-component .heading-with-uline .label-underline {
  background-color: #333333;
}

.table-component .topControls .dynamicFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 25px;
}
.table-component .topControls .dynamicFilters .filter-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 250px;
  max-width: 256px;
  min-width: 180px;
}

.table-component .topControls .dynamicFilters .filter-group label {
  font-weight: 700;
  margin-bottom: 14px;
  height:100%;
}

.table-component .topControls .dynamicFilters .filter-group select {
  width: 100%;
  min-height: 49px;
  border: 1px solid #999999;
  padding: 14px 13px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #999;
  padding-right: 40px;
}

.table-component .dataTable {
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: 0px;
  border: 1px solid #fff;
  border-bottom: none;
  border-left: none;
  border-top: none;
  z-index: 8;
  position: relative;
}
.table-component .dataTable .div-row.header {
  background: #dcd8d8 0% 0% no-repeat padding-box;
  padding: 0px;
}
.table-component .dataTable .div-row.header .col {
  text-align: left;
  letter-spacing: 0px;
  opacity: 1;
  padding: 10px 10px;
}

.table-component .dataTable th {
  border-top: none;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.table-component .info-icon {
  display: inline-block;
  margin-left: 5px;
  color: #007bff;
  cursor: pointer;
  font-size: 12px;
  float: inline-end;
}
.table-component .info-icon img {
  height: 18px;
  width: 18px;
}

.dataTable .col .btnLink {
  display: inline-flex;
}

.table-component .dataTable tbody tr td a {
  text-align: left;
  color: #333333 !important;
}

.table-component .image-desc-config {
  margin-bottom: 24px;
}
.table-component .topControls .dynamicFilters:empty,
.table-component .image-desc-config:empty{
    margin: 0px;
	padding:0px
}

.table-component .caption {
    text-align: left;
    color: #333333;
    background-color: #ffffff;
    border-radius: 16px;
    margin: 24px 0px 0px;
    font-weight: bold;
    font-size: 18px;
    padding: 20px 25px;
    vertical-align: top;
    width: 100%;
}

/* ACTION BAR */
.table-component .action-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0;
  padding: 20px 0;
}

.table-component .action-bar .btnSubmit {
  padding: 20px 40px;
  background-color: #75217c;
  color: #fff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-weight: bold;
  min-height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 18px;
}

/* Hidden by default */
.dataTable .div-row.data-row {
  display: none;
}
/* Show when visible class is added */
.dataTable .div-row.data-row.visible {
  display: table-row;
  background: inherit;
}
/* Hide filter columns */
.dataTable .col.hide-in-table {
  display: none;
}

.table-component .tooltip {
  z-index: 999999;
}

.table-tooltip .tooltip-inner {
  background-color: #fff;
  color: #020202;
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0px 2px 2px #0f0551;
  border: 0.5px solid #0f0551;
  max-width: 200px;
  white-space: normal;
}

.table-tooltip.bs-tooltip-right .tooltip-arrow::before {
  border-right-color: #fff;
}

.table-tooltip.bs-tooltip-left .tooltip-arrow::before {
  border-left-color: #fff;
}

.table-tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #fff;
}

.table-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #fff;
}

.table-tooltip .tooltip-arrow {
  display: none !important;
}

.table-tooltip .tooltip-inner {
  padding: 0.5rem 1rem;
}

.table-component .row-checkbox {
  margin: 0 auto;
  display: block;
  cursor: pointer;
  width: 16px;
  height: 16px;
  border: 0px;
  border: none;
}

.table-component .table-responsive {
  overflow: auto;
  max-height:700px;
  position: relative;
}
.table-component .table-responsive.no-freez-table{
	max-height:none;
}

.table-component .dataTable td:has(.row-checkbox) .row-checkbox {
  border: none;
  outline: none;
  background: transparent;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}

.table-component .dataTable td:has(.row-checkbox) {
  vertical-align: middle;
}

.table-component .dataTable td {
  border-left: 1px solid #fff;
  vertical-align: middle;
  background-color: inherit;
  border-bottom: 1px solid #fff;
}

.table-component .dataTable td .btnLink > a,
.table-component .dataTable td .btnLink > button {
  margin: 0px;
}

.table-component select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: 1px solid #ccc;
  padding: 0.5em 2.5em 0.5em 0.5em;
  font-size: 16px;
  border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 2em;
  cursor: pointer;
}

.table-component select:focus {
  outline: none;
  border-color: #888;
}

.table-component .dataTable tr td .td_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: pre-line;
}

.table-component .dataTable thead th {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #ffffff !important;
  border-top: none !important;
  border-right: none !important;
  background-color: #fff;
}

.table-component .dataTable tr {
  border-bottom: 1px solid #ffffff !important;
}

/* --- Table Container & Responsiveness --- */
.table-responsive {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
}

.table-responsive {
  scrollbar-width: thin;
  scrollbar-color: #6c757d #f1f1f1;
  padding-bottom: 10px;
}

.table-responsive::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #6c757d;
}

/* --- Table Core Styles --- */
.dataTable {
  min-width: auto;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
  
}
.dataTable.has-data {
  min-width: 1100px;
}

.table-header th {
  top: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 15px 10px;
  font-weight: normal;
}

.dataTable td[style*="position: sticky"],
.dataTable th[style*="position: sticky"] {
  z-index: 9;
}

.table-responsive::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 15px;
  pointer-events: none;
}

/* --- Cell Styling --- */
.dataTable td {
  padding: 12px 10px;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

.dataTable tbody tr:hover td {
  filter: brightness(0.95);
  cursor: default;
}

.table-component .info-icon {
  margin-left: 5px;
  cursor: default;
  white-space:normal;
}

/* --- Utilities --- */
.td_flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
}

.no-data-msg {
  padding: 20px;
  text-align: center;
  font-weight: bold;
  color: #dc3545;
}

.table-component input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
}
thead.table-header {
    z-index: 99;
    position: relative;
}
.table-component .fa-circle-info {
    font-size: 20px;
}

@media screen and (min-width: 3700px) {
  .table-component select option {
    padding: 10px;
  }
}


@media (max-width: 1024px) {
  .table-component .topControls .dynamicFilters .filter-group {
    flex: 1 1 48%;
  }
}

@media (max-width: 600px) {
  .table-component .topControls .dynamicFilters .filter-group {
    flex: 1 1 100%;
  }
}