.styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  justify-content: center;
}

.styled-table thead tr {
  background-color: #5099e8;
  color: #ffffff;
  text-align: left;
}

.styled-table th, .styled-table td {
  padding: 12px 15px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #5099e8;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #5099e8;
}

/* Pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 12px;
  margin: 2px;
  background-color: #5099e8;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #5099e8;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background-color: #5099e8;
}

/* Container styling */
.container {
  margin-top: 2em;
}

/* Controls container styling */
.controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}

/* Length dropdown styling */
.dataTables_length {
  display: flex;
  align-items: center;
}

.dataTables_length label {
  margin-right: 10px;
  font-weight: bold;
}

.dataTables_length select {
  background-color: #f8f9fa;
  border: 1px solid #007BFF;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1em;
  color: #004b9c;
  margin-left: 5px;
  transition: background-color 0.3s;
}

.dataTables_length select:focus {
  border-color: #0056b3;
  background-color: #ffffff;
  outline: none;
}

.dataTables_length {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  margin-left: 2em;
}

/* Search input styling */
.dataTables_filter {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  margin-right: 1em;
}

.dataTables_filter label {
  margin-right: 10px;
  font-weight: bold;
}

.dataTables_filter input {
  margin-left: 10px;
  margin-right: 8px;
  padding: 4px 8px;
  border: 1px solid #007BFF;
  border-radius: 4px;
  background-color: #f8f9fa;
  font-size: 1em;
  transition: border-color 0.3s, background-color 0.3s;
  height: auto;
}

.dataTables_filter input:focus {
  border-color: #0056b3;
  background-color: #ffffff;
  outline: none;
}

/* Table styling */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

/* Table header styling */
.styled-table th, .styled-table td {
  padding: 12px 15px;
  text-align: left;
}

/* Row hover effect */
.styled-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Table body styling */
.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #5099e8;
}

/* Table pagination and info */
.dataTables_info {
  margin: 8px;
}

.dataTables_paginate {
  margin: 8px;
}

/* Table wrapper margin */
.dataTables_wrapper {
  margin-top: 20px;
  border-radius: 10px;
}

.styled-table th, .styled-table td {
  padding: 12px 15px;
  text-align: center;
}

table.dataTable thead th, table.dataTable thead td, table.dataTable tfoot th, table.dataTable tfoot td {
  text-align: center;
}

.card-header {
  padding: 10px 15px 0 10px;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
  padding: 10px;
}