/* Start Datatable  Styles */
.tabulator .tabulator-header .tabulator-col {
  @apply bg-white border-gray-200 dark:bg-bgdark dark:border-white/10 #{!important};
}

.tabulator
  .tabulator-header
  .tabulator-headers
  .tabulator-col
  .tabulator-col-content {
  @apply px-6 py-3 #{!important};
}

.tabulator .tabulator-row .tabulator-cell {
  @apply px-6 py-3 #{!important};
}

.tabulator .tabulator-row.tabulator-row-even {
  @apply bg-gray-100 dark:bg-black/20 #{!important};
}

.tabulator-row.tabulator-selectable:hover {
  @apply bg-gray-100 dark:bg-black/20 #{!important};
}

.tabulator .tabulator-row {
  @apply border-t border-gray-200 dark:border-white/10 #{!important};
}

.tabulator .tabulator-header {
  @apply border-0  bg-white dark:text-white dark:bg-bgdark #{!important};
}

.tabulator {
  @apply border-0 bg-transparent #{!important};
}

.tabulator-row .tabulator-cell {
  @apply border-gray-200 dark:border-white/10 #{!important};
}

.tabulator .tabulator-row .tabulator-cell:nth-child(9) {
  @apply ltr:border-r-0 rtl:border-l-0 #{!important};
}

.tabulator .tabulator-header .tabulator-col:nth-child(9) {
  @apply ltr:border-r-0 rtl:border-l-0 #{!important};
}

.tabulator .tabulator-footer {
  @apply border-gray-200 dark:text-white dark:border-white/10 #{!important};
}

.tabulator .tabulator-footer {
  @apply bg-transparent font-medium #{!important};
}

.tabulator .tabulator-tableholder .tabulator-table {
  @apply text-gray-500 dark:text-white/70 bg-transparent #{!important};
}

.tabulator-row {
  @apply bg-transparent #{!important};
}

.tabulator .tabulator-footer .tabulator-paginator {
  @apply dark:text-white #{!important};
}

select.tabulator-page-size {
  @apply bg-[length:1rem_1rem] #{!important};
}

.tabulator .tabulator-footer .tabulator-page-size {
  @apply py-1 ltr:pl-3 ltr:pr-8 rtl:pr-3 rtl:pl-8 leading-[1.6] text-xs border-gray-200 dark:border-white/10 bg-transparent rounded-md #{!important};
}

.tabulator .tabulator-footer .tabulator-page {
  @apply py-1 px-3 rounded-md border-gray-200 dark:border-white/10 text-gray-500 dark:text-white/70 bg-transparent #{!important};
}

.tabulator .tabulator-footer .tabulator-page.active {
  @apply text-primary #{!important};
}
.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {
  @apply text-primary bg-primary/30 #{!important};
}
select.tabulator-page-size {
  @apply filter #{!important};
  option {
    @apply dark:bg-bgdark border-gray-200 dark:border-white/10 #{!important};
  }
}
.tabulator .tabulator-row .tabulator-cell.tabulator-row-handle {
  @apply px-0 #{!important};
}
.sortable-data {
  select {
    @apply border-inherit rounded-md bg-[length:1rem_1rem] #{!important};
  }
  .choices {
    @apply mb-0 #{!important};
  }
}
.tabulator .tabulator-col-resize-handle:last-child {
  @apply hidden  #{!important};
}

.tabulator-row .tabulator-cell.tabulator-editing {
  @apply border-0 border-gray-200 dark:border-white/10 #{!important};
}
.tabulator .tabulator-footer .tabulator-footer-contents {
  @apply sm:flex-row flex-col space-y-2 sm:space-y-0 p-4 #{!important};
}
.tabulator .tabulator-footer .tabulator-page-size {
  @apply ltr:sm:pl-3 rtl:sm:pr-3 ltr:pl-1 rtl:pr-1 ltr:sm:pr-8 rtl:sm:pl-8 ltr:pr-4 rtl:pl-4 #{!important};
}
.tabulator .tabulator-footer .tabulator-page {
  @apply sm:px-3 px-1 #{!important};
}
.tabulator .tabulator-footer .tabulator-paginator {
  label {
    @apply hidden #{!important};
  }
}
@media screen and (max-width: 1024px) {
  .tabulator-col,
  .tabulator-cell {
    @apply w-60 #{!important};
  }
}
.tabulator
  .tabulator-header
  .tabulator-col.tabulator-sortable[aria-sort="ascending"]
  .tabulator-col-content
  .tabulator-col-sorter {
  @apply text-gray-500 dark:text-white;
}
.tabulator
  .tabulator-header
  .tabulator-col.tabulator-sortable[aria-sort="ascending"]
  .tabulator-col-content
  .tabulator-col-sorter
  .tabulator-arrow {
  @apply border-b-gray-200 dark:border-b-white/10;
}
.tabulator
  .tabulator-header
  .tabulator-col.tabulator-sortable[aria-sort="descending"]
  .tabulator-col-content
  .tabulator-col-sorter
  .tabulator-arrow {
  @apply border-t-gray-200 dark:border-t-white/10;
}
.tabulator .tabulator-footer .tabulator-page-size {
  @apply block mb-2 w-full sm:inline-block sm:mb-0 sm:w-auto #{!important};
}
.sortable-data{
 .choices__list--dropdown .choices__item--selectable,.choices__list[aria-expanded] .choices__item--selectable {
  @apply px-3 #{!important};
 }
}

/* End Datatable  Styles */
