.native-table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 4px;
}

.native-table-search {
  position: relative;
  display: block;
  width: min(420px, 100%);
  margin: 0;
}

.native-table-search i {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  color: #8b9bb2;
  transform: translateY(-50%);
  pointer-events: none;
}

.native-table-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  color: #172033;
  background: #f8fbff;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.native-table-search input:focus {
  background: #fff;
  border-color: #9db8ff;
  box-shadow: 0 0 0 .2rem rgba(37, 87, 214, .11);
}

.native-table-length {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.native-table-length select {
  height: 40px;
  min-width: 68px;
  padding: 0 28px 0 11px;
  color: #334155;
  background-color: #fff;
  border: 1px solid #d8e1ee;
  border-radius: 11px;
  outline: 0;
}

.native-table {
  width: 100%;
  min-width: 720px;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 9px !important;
}

.native-table thead th {
  position: relative;
  padding: 12px 30px 12px 14px !important;
  color: #71809a !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
  user-select: none;
}

.native-table thead th.no-sort {
  padding-right: 14px !important;
}

.native-table .native-sortable {
  cursor: pointer;
}

.native-table .native-sortable::after {
  position: absolute;
  top: 50%;
  right: 11px;
  color: #b2bfd1;
  font-size: 12px;
  content: "↕";
  transform: translateY(-50%);
}

.native-table .native-sortable:hover,
.native-table .native-sortable:focus-visible {
  color: #2557d6 !important;
  outline: 0;
}

.native-table .native-sortable.is-sorted-asc::after {
  color: #2557d6;
  content: "↑";
}

.native-table .native-sortable.is-sorted-desc::after {
  color: #2557d6;
  content: "↓";
}

.native-table tbody td {
  padding: 14px !important;
  color: #172033;
  background: #fff;
  border-top: 1px solid #e3eaf4 !important;
  border-bottom: 1px solid #e3eaf4 !important;
  vertical-align: middle;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.native-table tbody td:first-child {
  border-left: 1px solid #e3eaf4 !important;
  border-radius: 14px 0 0 14px;
}

.native-table tbody td:last-child {
  border-right: 1px solid #e3eaf4 !important;
  border-radius: 0 14px 14px 0;
}

.native-table tbody tr:not(.native-table-empty-row):hover td {
  background: #fbfdff;
  border-color: #cfe0ff !important;
}

.native-table tbody tr[hidden] {
  display: none;
}

.native-table-empty-row td {
  border: 1px dashed #d8e1ee !important;
  border-radius: 14px !important;
}

.native-table-empty {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 112px;
  color: #7b8ba3;
  text-align: center;
}

.native-table-empty i {
  color: #a7b6ca;
  font-size: 25px;
}

.native-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0 2px;
}

.native-table-summary {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.native-table-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

.native-page-button {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  color: #4b5e78;
  background: #f1f5f9;
  border: 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}

.native-page-button:hover:not(:disabled) {
  color: #2557d6;
  background: #eaf1ff;
  transform: translateY(-1px);
}

.native-page-button.active {
  color: #fff;
  background: #2557d6;
  box-shadow: 0 7px 16px rgba(37, 87, 214, .2);
}

.native-page-button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.native-table-compact {
  min-width: 560px;
}

.native-table-compact tbody td {
  padding: 13px 14px !important;
}

@media (max-width: 760px) {
  .native-table-tools,
  .native-table-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .native-table-search {
    width: 100%;
  }

  .native-table-length {
    justify-content: space-between;
  }

  .native-table-footer {
    padding-top: 12px;
  }

  .native-table-pagination {
    justify-content: space-between;
  }

  .native-table tbody td {
    padding: 12px !important;
  }
}
