/* Assessed Variants page-specific CSS */

h1 {
  text-align: center;
  color: white;
  font-size: 44px;
  font-weight: bold;
  margin: 10px 0 20px 0;
}

.search-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

.search-wrapper input[type="text"] {
  height: 42px;
  padding: 0 12px;
  font-size: 16px;
  border: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  outline: none;
  box-sizing: border-box;
}

.search-button {
  height: 42px;
  padding: 0 16px;
  font-size: 16px;
  background-color: var(--n1c-red);
  color: white;
  border: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
}

.search-button:hover {
  background-color: var(--n1c-red-dark);
}

table {
  width: 90%;
  max-width: 1500px;
  margin: 20px auto;
  border-collapse: collapse;
  background: white;
  color: black;
  font-size: 14px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

th,
td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
}

th {
  background-color: var(--n1c-red);
  color: white;
  font-size: 16px;
  position: sticky;
  top: 0;
  z-index: 1;
}

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

tr:hover {
  background: #c7c4bc;
  cursor: pointer;
}

button,
.submit-button {
  background-color: var(--n1c-red);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

button:hover,
.submit-button:hover {
  background-color: var(--n1c-red-dark);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--n1c-red);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.scroll-top:hover {
  background-color: var(--n1c-red-dark);
}

details summary {
  font-size: 28px;
  font-weight: bold;
  color: var(--n1c-red);
  background-color: white;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin: 10px auto;
  border: 1px solid #ccc;
  list-style: none;
  text-align: center;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary:hover {
  background-color: #fde4e2;
  color: var(--n1c-red-dark);
}

details tr {
  transition: background-color 0.2s;
}

details tr:hover {
  background-color: #fde4e2;
  cursor: pointer;
}

details table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

details th,
details td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
  word-wrap: break-word;
}

/* Column widths for assessed variants */
details th:nth-child(1),
details td:nth-child(1) {
  width: 15%;
}

details th:nth-child(2),
details td:nth-child(2) {
  width: 15%;
}

details th:nth-child(3),
details td:nth-child(3) {
  width: 20%;
}

details th:nth-child(4),
details td:nth-child(4) {
  width: 20%;
}

details th:nth-child(5),
details td:nth-child(5) {
  width: 15%;
}

details th:nth-child(6),
details td:nth-child(6) {
  width: 15%;
}


