body {
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  line-height: 1.6;
  padding: 20px;
  background-color: #f8f9fa;
  color: #3c4043;
}

table {
  border-collapse: collapse;
  width: auto;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden; /* Ensures rounded corners apply to content */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

th, td {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  text-align: left;
}

td {
  white-space: nowrap;
}

td:first-child {
  white-space: normal;
  min-width: 250px;
}

.doc-link {
  color: #1a73e8;
  text-decoration: none;
  font-size: 0.85em;
  margin-left: 5px;
}

.doc-link:hover {
  text-decoration: underline;
}

.docs-container {
  margin-top: 60px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.doc-entry {
  padding: 20px 0;
}

.doc-entry h1 {
  font-size: 1.8em;
  border-bottom: 2px solid #e8f0fe;
  padding-bottom: 10px;
}

.doc-entry h2 {
  font-size: 1.4em;
  margin-top: 25px;
}

.doc-entry ul {
  padding-left: 25px;
}



thead {
  background-color: #e8f0fe; /* Light Google Blue */
  color: #1a73e8;
}

th {
  cursor: pointer;
  position: relative;
  padding: 15px;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #e0f2f7; /* Light cyan on hover */
}

.table-container {
  overflow-x: auto;
  width: 100%;
  margin-top: 20px;
}

.sort-icon {
  padding-left: 5px;
  cursor: pointer;
  font-weight: bold;
}

.sort-icon::after {
  content: "\2195"; /* up down arrow */
}

th[data-sort-direction="asc"] .sort-icon::after {
  content: "\25B2"; /* up arrow */
}

th[data-sort-direction="desc"] .sort-icon::after {
  content: "\25BC"; /* down arrow */
}

.summary-table {
  width: auto;
  margin-top: 10px;
  border: 1px solid #ddd;
}

.summary-table td {
  padding: 5px 10px;
  border: none;
  background-color: transparent !important; /* Override hover and nth-child */
}

#encoder-filter {
  padding: 10px 12px;
  margin-top: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  width: 300px;
  font-size: 1em;
  color: #3c4043;
}

#encoder-filter:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
}

.header-section {
  margin-bottom: 20px;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-section p {
  margin: 5px 0;
}

h1 {
  color: #1a73e8; /* Google Blue 600 */
  font-size: 2em;
  margin-bottom: 10px;
}

h2 {
  color: #1a73e8; /* Google Blue 600 */
  font-size: 1.5em;
  margin-top: 0;
}

.detail-table-section {
  margin-top: 40px;
}

.chart-section {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chart-container {
  width: 100%;
  max-width: 800px;
}

#spider-chart {
  width: 100%;
  height: 500px;
}
