/* Utility: Add space below section headings */
.section-heading {
  margin-bottom: 1.5rem;
}

/* Table Styles */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.data-table th {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  padding: 16px;
  text-align: left;
  border-bottom: 2px solid #e9ecef;
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Table links: use brand light blue */
.data-table td a:not(.btn) {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.data-table td a:not(.btn):hover,
.data-table td a:not(.btn):focus {
  background-color: #f8f9fa;
  color: #217dbb;
  text-decoration: underline;
}

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

/* Category Header (for grouped tables like activity types) */
.category-header {
  background-color: #f8f9fa;
  font-weight: 600;
  font-size: 16px;
  color: #3498db;
  padding: 12px 20px;
}