.table-wrapper {
  padding: 30px;
}

#news-table {
  width: 100% !important;
  border-collapse: collapse;
}

#news-table thead {
  display: none;
  /* Hide column headers */
}

#news-table_length {
  height: 45px;
  display: flex;
  align-items: center;
}
#news-table tbody {
  box-shadow: none;
  border: none;
  display: block;
  padding: 30px 0;
}

#news-table tbody tr {
  border: none;
  background: transparent !important;
}

#news-table tbody td {
  padding: 10px 0px;
  vertical-align: middle;
  line-height: 1.8;
  background: none !important;
  box-shadow: none !important;
  border: none;
}

#news-table tbody td a {
  color: var(--Tint-color-2);
  text-decoration: underline;
}
#news-table tbody td a:hover, #news-table tbody td a:focus {
  color: var(--Tint-color-2);
  text-decoration: none;
}

#news-table tbody td strong {
  font-weight: 700;
  margin-right: 4px;
}

/* DataTables customization */
.dataTables_wrapper .dataTables_length select {
  padding: 6px 30px 6px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: white;
  margin: 0 5px;
}

.dataTables_wrapper .dataTables_filter input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-left: 10px;
  width: 250px;
}

.dataTables_wrapper .dataTables_info {
  padding-top: 20px;
  color: #6c757d;
}

.dataTables_wrapper .dataTables_paginate {
  padding-top: 20px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background-color: white;
  color: #333;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background-color: var(--Primary-color-1);
  color: var(--Neutral-color-white) !important;
  border-color: #1e1e1e;
  font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #6c757d;
}

.error {
  text-align: center;
  padding: 40px;
  color: #d9534f;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .table-wrapper {
    padding: 20px 15px;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
}
