.mlstables-dashboard { margin: 12px 0; }
.mlstables-topnav, .mlstables-subnav { display:flex; gap:10px; align-items:center; margin-bottom:10px; flex-wrap:wrap; }

.mlstables-topnav a {
  display:inline-block; padding:8px 12px; border:1px solid #ddd; border-radius:6px;
  text-decoration:none;
}
.mlstables-topnav a.active { font-weight:600; }

.mlstables-yearform select { margin-left:6px; }

.mlstables-block { border:1px solid #e5e5e5; border-radius:8px; padding:12px; }
.mlstables-title { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:10px; }
.mlstables-muted { color:#666; }
.mlstables-chip { background:#f3f4f6; border:1px solid #e5e7eb; padding:2px 8px; border-radius:999px; font-size:12px; }

.mlstables-table { width:100%; border-collapse:collapse; }
.mlstables-table th, .mlstables-table td { padding:8px 10px; border-bottom:1px solid #eee; vertical-align:top; }
.mlstables-table th a { text-decoration:none; }
.mlstables-table .num { text-align:right; white-space:nowrap; }

.mlstables-note { padding:10px; background:#fafafa; border:1px dashed #ddd; border-radius:6px; }
.mlstables-error { padding:10px; background:#fff5f5; border:1px solid #f2c2c2; border-radius:6px; color:#7a1f1f; }

.mlstables-pager { margin-top:10px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.mlstables-pager a { text-decoration:none; }

/* Table header styling */
.mlstables-table thead th {
    background-color: #01377d;
    color: #ffffff;
}

.mlstables-table thead th a {
    color: #ffffff;
    text-decoration: none;
}

.mlstables-table thead th a:hover {
    text-decoration: underline;
}

/* Zebra striping – stronger specificity */
.mlstables-table tbody tr:nth-child(odd) > td {
    background-color: #ffffff;
}

.mlstables-table tbody tr:nth-child(even) > td {
    background-color: #eeeeee;
}

.mlstables-table thead th a {
    font-weight: 600;
}

.mlstables-table thead th a::after {
    font-size: 0.8em;
}
