body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  margin: 40px;   /* match styles.css */
  padding: 0;     /* remove the extra push-down */
}

.table-container table {
  border-collapse: collapse;
  margin: auto;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 1200px;
}

.table-container th, td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: center;
  font-size: 14px;
  transition: background-color 0.15s ease;
}

.table-container thead th {
  background-color: #2c3e50;
  color: white;
  font-weight: bold;
}

.table-container tbody th {
  background-color: #ecf0f1;
  font-weight: bold;
}

.table-container td {
  color: #2c3e50;
}

.table-container caption {
  caption-side: top;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
/* Row hover */
.table-container tbody tr:hover {
  background-color: #f1f7ff;
}

/* Cell hover (stronger highlight) */
.table-container td:hover {
  background-color: #ffd966;
  font-weight: bold;
}

thead th {
  position: sticky;
  top: 0;
  background-color: #2c3e50;
  color: white;
  z-index: 2;
}

tbody th {
  position: sticky;
  left: 0;
  background-color: #ecf0f1;
  z-index: 1;
}

.table-container {
  width: 100%;
}

.top-bar {
  /* position: sticky; */
  top: 0;
  background-color: white; /* important so it doesn't look transparent */
  z-index: 1000;
  padding-top: 8px 0;
}

/* Optional: subtle shadow so it "floats" */
.top-bar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  margin-top: 40px;
  scroll-margin-top: 80px; /* adjust to your header height */
}

.t-table th:nth-child(6),
.t-table td:nth-child(6) {
  border-right: 3px solid #2c3e50;
  padding-right: 14px;
}

.t-table th:nth-child(7),
.t-table td:nth-child(7) {
  padding-left: 14px;
}