/* ========================
   GLOBAL PAGE STYLE
   ======================== */

body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #f5f5f5;
}

h1 {
  margin-bottom: 20px;
}


/* ========================
   FILTER TOOLBAR
   ======================== */

#filters {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-top: 20px;
  margin-bottom: 20px;

  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

#filters input,
#filters select {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


/* ========================
   TABLE
   ======================== */

table {
  border-collapse: collapse;
  width: 100%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

th, td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: left;
}

th {
  cursor: pointer;
  user-select: none;
  background: #f2f2f2;
}

/* Sticky header so column names stay visible */
thead tr {
  position: sticky;
  top: 0;
  background: #f2f2f2;
  z-index: 5;
}

/* Highlight sorted column */
th.sorted {
  background: #e6f0ff !important;
}

/* Zebra striping for readability */
tbody tr:nth-child(odd) {
  background: #fafafa;
}
