.custom-code-container {
  background-color: #282A36;
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Fira Code', monospace;
  margin: 20px auto;
  padding: 16px;
  max-width: 100%;
  max-height: 160px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-size: 14px;
  white-space: normal;
  transition: max-height 0.3s ease;
}

/* SCAN OUTPUT CONTAINER: remove inside margin */
#threatscan-output {
      margin: 0 0 15px 0;
    padding: 10px 2px 10px 15px;
}

/* EACH LINE */
.custom-line {
  margin: 0;
  padding: 0;
}


/* Optional: Dark custom scrollbar */
.custom-code-container::-webkit-scrollbar {
  width: 6px;
}

.custom-code-container::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 0px;
}

.custom-code-container::-webkit-scrollbar-track {
  background-color: #1e1e1e;
}



.custom-code {
  white-space: pre-wrap;
  font-size: 14px;
  color: #d4d4d4;
  margin: 0;
  padding: 0;
}

.custom-line {
  margin: 0;
  padding: 0;
}

.variable {
  color: #9cdcfe;
}

.string {
  color: #ce9178;
}

.number {
  color: #dcdcaa;
}

.boolean {
  color: #4ec9b0;
}

.risk-low {
  color: #4ec9b0;
}

.risk-moderate {
  color: #d7ba7d;
}

.risk-high {
  color: #f44747;
}

.comment {
  color: #6a9955;
  font-style: italic;
}

.final-warning {
  color: #f44747;
  font-weight: bold;
  margin-top: 20px;
}
#show-threatscan-button {
  font-size: 10px; /* smaller text */
  background-color: #2c2c2c; /* subtle dark grey */
  color: #cccccc; /* soft grey text */
  border: 1px solid #444; /* thin border to make it visible */
  padding: 6px 10px;
  border-radius: 4px;
  margin: 0 0 10px 0 !important;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#show-threatscan-button:hover {
  background-color: #3a3a3a; /* slightly lighter on hover */
  color: #ffffff; /* white text on hover */
}
