body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

/* Basic table styling */
#grid table {
  width: 100%;
  border-collapse: collapse;
}

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

#grid a {
  text-decoration: none;
  color: #007bff; /* A standard blue for links */
  cursor: pointer; /* Ensures the pointer cursor appears */
}


#grid table tr:hover {
  background-color: #f0f0f0; /* Light gray, adjust as desired */
}

#grid th {
  background-color: #f4f4f4;
}

/* Target header cells with a data-sort-key attribute */
#grid th[data-sort-key] {
  position: relative;
  padding-right: 25px; /* Extra space for the icon */
}

/* Add static triangles for sorting */
#grid th[data-sort-key]::after {
  content: "▲▼";  /* Up and down triangles */
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #666;
}

/* Optional: Improve readability on small screens */
@media (max-width: 600px) {
  #grid table {
    font-size: 14px;
  }
}
