/* Modern, premium table styles */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  background-color: white;
  color: #1f2937; /* slate-800 */
}

.table thead {
  background-color: #f3f4f6; /* gray-100 */
  border-bottom: 2px solid #e5e7eb; /* gray-200 */
}

.table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: #4b5563; /* gray-600 */
}

.table tbody tr {
  border-bottom: 1px solid #e5e7eb; /* gray-200 */
  transition: background-color 0.2s;
}

.table tbody tr:last-child {
  border-bottom: none;
}

.table tbody tr:hover {
  background-color: #f9fafb; /* gray-50 */
}

.table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}

.table tfoot {
  background-color: #f3f4f6; /* gray-100 */
  border-top: 2px solid #e5e7eb; /* gray-200 */
  font-weight: 700;
}

.table tfoot td,
.table tfoot th {
  padding: 0.75rem 1rem;
  color: #111827; /* gray-900 */
}

/* Numeric columns alignment */
.table td:not(:first-child),
.table th:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
