/* General styling for DataTable wrapper */
.dataTables_wrapper {
  padding: 20px 30px;
  background-color: #ffffff;  /* Clean white background */
  border-radius: 16px;  /* Rounded corners */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); /* Soft shadow for a floating effect */
  margin-top: 40px;
  border: 1px solid #e3e3e3;  /* Light border for separation */
  transition: all 0.3s ease;  /* Smooth transition for hover effects */
}

/* Hover effect for DataTable wrapper */
.dataTables_wrapper:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}

/* Styling for DataTable length (dropdown) */
.dataTables_length {
  float: left;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #555;  /* Slightly lighter text for readability */
  font-weight: 600;
  display:none;
}

/* Styling for DataTable filter (search box) */
.dataTables_filter {
  /*float: right;*/
  margin-bottom: 20px;
  font-size: 1rem;
  color: #555;  /* Lighter color to match the modern design */
  font-weight: 600;
}

/* Adjusting the search input field */
.dataTables_filter input {
  background-color: #f5f5f5; /* Soft light gray background */
  color: #333;  /* Dark text for contrast */
  padding: 8px 18px;
  border: 1px solid #ccc; /* Light border */
  border-radius: 30px;  /* Fully rounded corners */
  font-size: 1rem;
  width: 230px;
  transition: all 0.3s ease; /* Smooth transition effect */
}

.dataTables_filter input:focus {
  outline: none;
  border-color: #00b3ff; /* Light blue focus border */
  box-shadow: 0 0 10px rgba(0, 179, 255, 0.5); /* Blue glow on focus */
}

/* Styling for DataTable pagination and navigation */
.dataTables_paginate {
  text-align: center;
  margin-top: 25px;
}

.dataTables_paginate a {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 8px;
  background-color: #e0f7ff;  /* Soft cyan background */
  color: #333;  /* Dark text */
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dataTables_paginate a:hover {
  background-color: #00b3ff; /* Deep blue background */
  color: #fff;  /* White text on hover */
}

.dataTables_paginate .paginate_button.disabled {
  background-color: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
}

/* Remove footer if no-footer class is used */
.dataTables_wrapper.no-footer .dataTables_info {
  display: none;
}

/* Styling for the table itself */
table.dataTable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  color: #333;  /* Dark text for readability */
  font-family: 'Roboto', sans-serif;  /* Modern, sans-serif font */
}

table.dataTable thead {
  background: linear-gradient(45deg, #f0f7ff, #e0f7ff); /* Gradient header background */
  color: #333;
}

table.dataTable tbody {
  background-color: #ffffff;  /* White row background */
}

table.dataTable th, table.dataTable td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0; /* Subtle border between rows */
}

table.dataTable th {
  font-weight: 600;
  color: #0077cc;  /* Medium blue color for headers */
  letter-spacing: 1px;
}

table.dataTable td {
  font-weight: 400;
  color: #555;
}

table.dataTable tbody tr:hover {
  background-color: #f5f5f5; /* Light gray row hover effect */
  transition: background-color 0.3s ease; /* Smooth row hover effect */
}

/* Responsive handling for DataTable */
@media (max-width: 768px) {
  .dataTables_wrapper {
    padding: 15px;
  }

  .dataTables_length,
  .dataTables_filter {
    float: none;
    text-align: center;
    margin-bottom: 10px;
  }

  .dataTables_filter input {
    width: 100%;
    margin-bottom: 10px;
  }

  table.dataTable th, table.dataTable td {
    padding: 10px 15px;
  }
}

