body {
  font-family: sans-serif;
}

#tableContainer {
  margin-top: 10px;
  margin: 0 5%;
  overflow-x: auto;
  max-width: 100vw;
  /* Prevent overflow beyond viewport width */
}

table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  /* Enable fixed table layout for column widths */
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Optional: remove if you want full wrapping */
  white-space: normal;
  /* Allow wrapping */
  word-wrap: break-word;
  /* Break long words */
  word-break: break-word;
  /* Break long words in some browsers */
}

/* For the sticky first column, also allow wrapping */
th:first-child,
td:first-child {
  position: sticky;
  left: 0;
  background: #f1f1f1;
  z-index: 3;
  box-shadow: 2px 0 5px -2px rgba(0, 0, 0, 0.3);
  max-width: 20%;
  min-width: 120px;
  white-space: normal;
  /* Allow wrapping here too */
  overflow: visible;
  /* Let content flow */
  word-wrap: break-word;
  word-break: break-word;
}

/* Sticky header */
thead th {
  position: sticky;
  top: 0;
  background: #f9f9f9;
  z-index: 4;
}

.colFilter {
  width: calc(100% - 6px);
  /* 100% of the column minus a few pixels */
  margin: 3px;
  /* Small margin around */
  border: none;
  /* Remove border */
  outline: none;
  /* Remove focus outline */
  padding: 5px;
  /* Optional for inner spacing */
  box-sizing: border-box;
  /* Ensures proper sizing */
}

#infoBar {
  margin: 10px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#paginationControls button {
  margin: 0 5px;
  padding: 5px 10px;
}

#cveTable th {
  cursor: pointer;
}

#cveTable th:hover {
  background-color: #e9e9e9;
}

.hero--background-image.background-image {
  background-image: url(/media/images/Banner3.original.png);
}

@media only screen and (min-width: 425px) {
  .hero--background-image.background-image {
    background-image: url(/media/images/Banner3.original.png);
  }
}

#link_bulletin {
    color: blue;
    text-decoration: underline;
}

#link_bulletin:hover {
    color: darkblue;
}