.table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: none;
}
.table thead {
  background-color: #fafafa;
}
.table tr th {
  padding: 10px 6px;
  color: var(--info);
  font-size: 14px;
  border-bottom: 1px solid #f2f2f2;
}
.table tr td {
  padding: 6px;
  font-size: 13px;
  border-bottom: 1px solid #f2f2f2;

  max-width: 400px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
}
.table .hover-list:hover {
  background: var(--light);
  cursor: pointer;
}

.tr-right {
  text-align: end;
}
.tr-left {
  width: 20px;
  text-align: center;
}
.table-control {
  width: 100%;
  display: block;
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
}

.table-control th:first-child,
.table-control td:first-child {
  padding-left: 20px;
}
.pagination {
  display: flex;
  /* justify-content: center;  */
  justify-content: flex-end;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 12px;
}

.pagination span {
  color: black;
  float: left;
  padding: 2px 9px;
  text-decoration: none;
  transition: background-color 0.3s;
  /* border: 1px solid #ddd; */
  border-radius: 3px;
  margin: 0 4px;
  font-size: 13px;
  cursor: pointer;
}
.border-page {
  border: 1px solid #ddd;
}
.pagination span.active {
  background-color: var(--info);
  color: white;
  border: 1px solid var(--info);
}

.pagination .span:hover:not(.active) {
  background-color: #ddd;
}
.ul-xl {
  width: 100%;
  display: inline-flex;
}
.ul-xl-li {
  padding: 10px 0px;
  font-weight: 600;
  padding-left: 7px;
}

/* start filter */
header {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}
header .go-left {
  padding-left: 7px;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  width: fit-content;
}
header .h-filter {
  width: fit-content;
  margin-left: auto;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: flex-end;
  justify-content: flex-end; /* Usually better for horizontal scroll */
  gap: 8px;
  min-height: 30px;
  height: fit-content;
}
header .h-filter .h-filter-item {
  flex-shrink: 0;
  width: fit-content;
  min-width: 90px;
  max-width: 200px;
  display: grid;
  height: fit-content;
}

header .h-filter .h-filter-item button {
  margin: 0 !important ;
}
header .h-filter {
  scrollbar-width: thin;
  scrollbar-color: var(--dark-light) transparent;
}
header .h-filter .filter-action {
  height: 40px;
  margin-top: 15px;
}
header .h-filter .filter-af {
  display: flex;
  align-items: center;
  gap: 8px;
}
header .h-filter .filter-action .ah {
  height: 40px !important;
}
@media screen and (min-width: 800px) {
  .list-view header::-webkit-scrollbar {
    height: 6px; /* Slim horizontal scrollbar */
  }

  .list-view header::-webkit-scrollbar-thumb {
    background: var(--dark-light);
    border-radius: 3px;
  }
}
/* end filter */

/* header .h-filter {} */
.total {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  justify-content: space-between !important;
  width: 100% !important;
  overflow: auto !important;
}
.r-navbar {
  width: 100%;
  padding: 0px 12px;
  display: flex;
  align-items: center;
}
.header-category {
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 800px) {
  .ul-xl-li,
  .table tr th {
    font-size: 13px;
  }
  .r-navbar {
    padding: 0px;
  }
  .con-search-btn {
    right: 8px;
  }
}
@media screen and (max-width: 590px) {
  .con-search-btn {
    right: 8px;
    /* left: 80px; */
  }
}
