.dataTables_wrapper {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
  border: 1px solid rgba(13, 77, 164, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
  padding: 1.15rem;
  overflow: hidden;
}

.dataTables_wrapper .dt-toolbar,
.dataTables_wrapper .dt-footer {
  gap: 0.85rem;
}

.dataTables_wrapper .dt-toolbar {
  margin-bottom: 1rem !important;
}

.dataTables_wrapper .dt-footer {
  margin-top: 1rem !important;
}

.dataTables_wrapper .dt-table-shell {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  overflow: hidden;
  margin: 0.9rem 0;
}

.dataTables_wrapper .dt-table-caption {
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dataTables_wrapper .table-responsive {
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 77, 164, 0.25) transparent;
}

.dataTables_wrapper .table-responsive::-webkit-scrollbar {
  height: 10px;
}

.dataTables_wrapper .table-responsive::-webkit-scrollbar-thumb {
  background: rgba(13, 77, 164, 0.20);
  border-radius: 999px;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  margin: 0;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
}

.dataTables_wrapper .dataTables_length select {
  min-width: 84px;
  height: 42px;
  border: 1px solid rgba(13, 77, 164, 0.12);
  border-radius: 999px;
  background: #f8fbff;
  color: #334155;
  box-shadow: none;
}

.dataTables_wrapper .dataTables_filter input {
  width: min(100%, 280px);
  height: 42px;
  margin-left: 0;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(13, 77, 164, 0.12);
  border-radius: 999px;
  background: #f8fbff;
  color: #334155;
  box-shadow: none;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
  outline: none;
  border-color: rgba(13, 77, 164, 0.28);
  box-shadow: 0 0 0 0.2rem rgba(13, 77, 164, 0.10);
}

.dataTables_wrapper .dataTable {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  width: 100% !important;
}

.dataTables_wrapper table.dataTable thead th,
.dataTables_wrapper table.dataTable thead td {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  color: #334155;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(13, 77, 164, 0.10) !important;
  border-top: 0 !important;
  padding: 1rem 1rem;
  white-space: nowrap;
}

.dataTables_wrapper table.dataTable tbody td,
.dataTables_wrapper table.dataTable tbody th {
  padding: 1rem 1rem;
  color: #475569;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  vertical-align: middle;
  background-clip: padding-box;
}

.dataTables_wrapper table.dataTable tbody tr {
  background: #ffffff;
  transition: background-color 0.2s ease;
}

.dataTables_wrapper table.dataTable tbody tr:nth-child(even) {
  background: #f8fbff;
}

.dataTables_wrapper table.dataTable tbody tr:hover {
  background: rgba(13, 77, 164, 0.04);
}

.dataTables_wrapper table.dataTable tbody tr:first-child td,
.dataTables_wrapper table.dataTable tbody tr:first-child th {
  border-top: 0;
}

.dataTables_wrapper table.dataTable tbody td .btn,
.dataTables_wrapper table.dataTable tbody td .badge {
  white-space: nowrap;
}

.dataTables_wrapper table.dataTable tbody td:first-child,
.dataTables_wrapper table.dataTable thead th:first-child {
  padding-left: 1.15rem;
}

.dataTables_wrapper table.dataTable tbody td:last-child,
.dataTables_wrapper table.dataTable thead th:last-child {
  padding-right: 1.15rem;
}

.dataTables_wrapper .dataTables_info {
  color: #64748b;
  font-size: 0.9rem;
  padding-top: 0 !important;
}

.dataTables_wrapper .dataTables_paginate {
  display: flex;
  justify-content: flex-end;
}

.dataTables_wrapper .dataTables_paginate .pagination {
  gap: 0.45rem;
  margin: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  margin: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button .page-link {
  min-width: 40px;
  height: 40px;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(13, 77, 164, 0.10);
  border-radius: 999px !important;
  color: #475569;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.active .page-link {
  color: #0d4da4;
  background: rgba(13, 77, 164, 0.10);
  border-color: rgba(13, 77, 164, 0.16);
  box-shadow: 0 8px 16px rgba(13, 77, 164, 0.08);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover .page-link {
  color: #0d4da4;
  background: rgba(13, 77, 164, 0.06);
  border-color: rgba(13, 77, 164, 0.14);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.16);
}

.dataTables_wrapper table.dataTable thead .sorting:before,
.dataTables_wrapper table.dataTable thead .sorting:after,
.dataTables_wrapper table.dataTable thead .sorting_asc:before,
.dataTables_wrapper table.dataTable thead .sorting_asc:after,
.dataTables_wrapper table.dataTable thead .sorting_desc:before,
.dataTables_wrapper table.dataTable thead .sorting_desc:after {
  bottom: 1rem;
}

.dataTables_wrapper table.dataTable thead .sorting:before,
.dataTables_wrapper table.dataTable thead .sorting:after {
  color: rgba(71, 85, 105, 0.45);
}

.dataTables_wrapper table.dataTable thead .sorting_asc:before,
.dataTables_wrapper table.dataTable thead .sorting_desc:after {
  color: #0d4da4;
}

.dataTables_wrapper .dataTables_empty {
  padding: 2rem 1rem !important;
  color: #64748b;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .dataTables_wrapper {
    border-radius: 20px;
    padding: 0.85rem;
  }

  .dataTables_wrapper .dt-table-caption {
    padding: 0.8rem 0.9rem;
  }

  .dataTables_wrapper .dataTables_filter input,
  .dataTables_wrapper .dataTables_length select {
    width: 100%;
  }

  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    justify-content: center;
    text-align: center;
  }

  .dataTables_wrapper table.dataTable thead th,
  .dataTables_wrapper table.dataTable thead td,
  .dataTables_wrapper table.dataTable tbody td,
  .dataTables_wrapper table.dataTable tbody th {
    padding: 0.8rem 0.85rem;
  }
}
