.ta-tabs-wrap {
  max-width: 100%;
  margin: 2rem 0;
}

.ta-tab-nav {
  list-style: none;
  padding: 0;
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 1rem;
}

.ta-tab-nav li {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-bottom: none;
  background: #f0f0f0;
  margin-right: 4px;
  border-radius: 6px 6px 0 0;
}

.ta-tab-nav li.active {
  background: #0073aa;
  color: white;
  font-weight: bold;
}

.ta-tab-content {
  display: none;
}

.ta-tab-content.active {
  display: block;
}

.ta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ta-table th, .ta-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.ta-table th {
  background-color: #e5f0ff;
}


/* Additional mobile adjustments */
@media screen and (max-width: 768px) {
  .ta-wrap-header {
    max-width: 100px;
    min-width: 60px;
    font-size: 13px;
  }
}

.ta-upload-form {
    display: flex;
    gap: 10px;
    margin-bottom: 1em;
    align-items: center; /* Vertically align items */

    border: 1px solid gray;
    padding: 16px!important;
    max-width: 500px!important;
    margin-top: 24px!important;
    display: inline-flex!important;
    width: auto!important;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
  display: inline-block; /* Ensure it's displayed */
}

@keyframes l5 {
    0%  {box-shadow: 20px 0 #000, -20px 0 #0002;background: #000 }
    33% {box-shadow: 20px 0 #000, -20px 0 #0002;background: #0002}
    66% {box-shadow: 20px 0 #0002,-20px 0 #000; background: #0002}
    100%{box-shadow: 20px 0 #0002,-20px 0 #000; background: #000 }
}

.ta-csv-table + p, form.ta-upload-form {
  padding: 1em 0;
}
.ta-upload-form {
  display: flex;
  gap: 10px;
  margin-bottom: 1em;
}

.ta-csv-table thead th {
  position: relative!important;
  white-space: normal;
  word-wrap: break-word;
}

.ta-csv-table .sorting:after,
.ta-csv-table .sorting_asc:after,
.ta-csv-table .sorting_desc:after {
  content: ""!important;
}

.ta-csv-table .sorting:before,
.ta-csv-table .sorting_asc:before,
.ta-csv-table .sorting_desc:before {
  content: ""!important;
}

.dataTables_length select {
  width: 50px!important;
}

.paginate_button {
  height: 42px!important;
}

.dataTables_paginate {
  display: flex!important;
  align-items: center!important;
}