#cy {
  width: 20%;
  height: 100%;
  position: absolute;
  top: 150px;
  left: 75px;
  border: 1px solid #949494;
  overflow: hidden;
}
img:hover {
  cursor: pointer;
}
.switch {
  position: relative;
  height: 26px;
  margin: 20px auto;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
}
.switch-2-state {
  width: 120px; /* For 2-state switch */
}
.switch-3-state {
  width: 180px; /* For 3-state switch */
}
.switch-label {
  position: relative;
  z-index: 2;
  float: left;
  line-height: 26px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  width: 58px; /* Default width for label */
}
.switch-label-middle {
  width: 60px; /* Adjusted width for the middle label in 3-state */
}
.switch-label-off {
  padding-left: 2px;
}
.switch-label-on {
  padding-right: 2px;
}
.switch-input {
  display: none;
}
.switch-input:checked + .switch-label {
  font-weight: bold;
  color: rgba(0, 0, 0, 0.65);
  text-shadow: 0 1px rgba(255, 255, 255, 0.25);
  transition: 0.15s ease-out;
  transition-property: color, text-shadow;
}
.switch-2-state .switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 60px; /* Position for the "on" state in 2-state switch */
}
.switch-2-state .switch-input:checked + .switch-label-middle ~ .switch-selection {
  left: 60px; /* Position for the "on" state in 2-state switch */
}
.switch-2-state .switch-selection {
  width: 58px; /* Adjust for 2-state switch */
}
.switch-3-state .switch-selection {
  width: 58px; /* Adjust for 3-state switch */
}
.switch-3-state .switch-input:checked + .switch-label-middle ~ .switch-selection {
  left: 60px; /* Position for middle state in 3-state switch */
}
.switch-3-state .switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 120px; /* Position for the last state in 3-state switch */
}
.switch-selection {
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 2px;
  display: block;
  height: 22px;
  border-radius: 3px;
  background-color: #B76CB7;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
  transition: left 0.15s ease-out;
}
.prevent-select {
  user-select: none; /* Standard syntax */
}
body {
  margin: 0; /* Remove default margin */
}
iframe {
  display: block; /* iframes are inline by default */   
  height: 85vh;   /* Set height to 100% of the viewport height */   
  width: 100vw;   /* Set width to 100% of the viewport width */     
  border: none;   /* Remove default border */
}
.hidden { display: none; }
#tableText {
  width: 100%;
  height: 200px;
  overflow: auto;
  min-width: 100px;
  min-height: 100px;
}
#updates-preformatted {
  font-family: monospace;
  white-space: pre; /* preserve whitespace for alignment, no wrapping */
  overflow-y: auto;
  overflow-x: auto;
  max-height: 750px;
  padding: 20px; /* padding inside the border */
  border: 1px solid black;
  display: block; /* Ensures the border wraps tightly around the content */
  min-width: 500px;
  max-width: 500px;
  box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */ 
}
#qc_table {
  position: relative;
}
#dropdown_container {
  position: absolute;
  top: 5px; /* Adjust to vertically align with the input field */
  left: 100px; /* Align it close to the qc_input element */
}
#qc_smrtdd, #qc_smrt2dd, #qc_assemblydd {
  width: auto; /* Ensure dropdowns take up only the necessary width */
}
#qcFireTable {
  width: auto;
  border-collapse: collapse;
}
#qcFireTable td {
  padding: 0;
  border: 1px solid black;
  width: auto;
}
#qcFireTable img {
  width: 50vw;
  height: auto;
  display: block;
}
#qcMetaDiv {
  overflow-x: auto;
  width: 100%;
}
#qcMetaTable {
  border-collapse: collapse;
  width: max-content;
}
#qcMetaTable th, #qcMetaTable td {
  position: sticky;
  border: 1px solid black;
  padding: 4px;
  text-align: left;
  overflow: hidden;
  box-sizing: border-box; /* Include border and padding in width and height */
  width: 500px;
  height: 350px;
}
#qcMetaTable svg {
  width: 100%;
  height: 100%;
  display: block;
}
#qcMetaTable th {
  background-color: #f2f2f2;
}
#qcMetaTable th:first-child,
#qcMetaTable td:first-child {
  width: 100px;
  text-align: left;
  box-sizing: border-box; /* Include padding and border in the width */
}
#qcFileExternal {
  display: none;
}
#customUploadButton {
  cursor: pointer;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
}
#customUploadButton:hover {
  background-color: #0056b3;
}
input.search-box {
  width: 80px;
}
.greyed-out {
  color: #aaa;
  opacity: 0.5;
  background-color: #e0e0e0;
  pointer-events: none;
}
input[disabled] {
  pointer-events: none; /* Allows clicks to go through */
  opacity: 0.5; /* Makes the input look disabled */
}
#searchResultsContainer {
  max-height: 400px;
  overflow-y: auto;
  white-space: nowrap;
}
.highlight {
  background-color: yellow;
}
.search-result {
  display: flex;
  align-items: center;
  margin: 5px 0;
}
.search-result input {
  margin-right: 10px;
}
.search-result .description {
  word-wrap: break-word;
  max-width: 80%;
}
#search_cnt {
  min-height: 1em;
  line-height: 1em;
  visibility: hidden;
}
#search_cnt.visible {
  visibility: visible;
}
.search-hide-field {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.search-hide-field.active {
  visibility: visible;
  opacity: 1;
}
#findme tr {
  margin-bottom: 20px;
  user-select: none; /* no text selection */
  -webkit-user-select: none; /* WebKit-based browsers */
  -moz-user-select: none; /* Firefox */
}
#findme td {
  padding: 0;
}
.legend-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 25px;
  color: white;
  font-weight: normal;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  box-shadow: none;
  opacity: 0.8; /* Subdued in the inactive state */
}
.legend-item[data-selected="false"] {
  font-weight: normal;
  color: rgba(255, 99, 71, 0.8);
  border: 2px dashed rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.legend-item[data-selected="true"] {
  font-weight: bold;
  color: white;
  border: 2px solid white;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
  opacity: 1;
  transform: scale(1.1);
}
.heatmap-container {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-gap: 2px;
  margin: 20px;
}
.heatmap-cell {
  width: 30px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #ddd;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.heatmap-label {
  margin-left: 3px;
}
.highlight {
  color: orange; /* Highlight matching labels */
}
.summary-table-wrapper {
  max-height: 400px;
  width: fit-content;
  padding-right: 15px;
  overflow-y: scroll;
  overflow-x: hidden;
  margin-left: 0;
  border-left: 1px dashed #ccc;
  border-top: 1px dashed #ccc;
}

#fs-birdseye {
  border-collapse: collapse;
  table-layout: fixed;
  width: auto;
}

#fs-birdseye th:first-child,
#fs-birdseye td:first-child {
  width: 80px;
}
#fs-birdseye th:nth-child(2),
#fs-birdseye td:nth-child(2),
#fs-birdseye th:nth-child(3),
#fs-birdseye td:nth-child(3) {
  width: 80px;
}

#fs-birdseye td,
#fs-birdseye th {
  border-bottom: 1px dashed #ccc;
  border-right: 1px dashed #ccc;
  text-align: center;
  padding: 6px;
}

#fs-birdseye td.Green {
  background-color: #4CAF50;
}
#fs-birdseye td.Red {
  background-color: #f44336;
}
#fs-birdseye td.Blue {
  background-color: #3366CC;
}
#fs-birdseye td.Purple {
  background-color: #800080;
}
#fs-birdseye tr:last-child td {
  border-bottom: none;
}

/* Sticky header */
#fs-birdseye thead th {
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}

/* Legend */
.fs-color-legend {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  font-size: 14px;
}

.fs-legend-box {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

.fs-legend-box.red {
  background-color: #f44336;
}
.fs-legend-box.blue {
  background-color: #3366CC;
}
.fs-legend-box.green {
  background-color: #4CAF50;
}
.fs-legend-box.purple {
  background-color: #800080;
}
#kinnexTable {
  width: auto;
  max-width: 95%;
  table-layout: auto;
  border-collapse: collapse;
  margin-top: 20px;
}
#kinnexTable td {
  border: 1px solid #ccc;
  padding: 8px;
}
.rna-header {
  background-color: #f0f0f0;
  font-weight: bold;
}
.rna-img {
  max-width: 200px;
  margin: 10px;
  display: inline-block;
}
.rna-img-cell {
  text-align: center;
}
