
<style>


#info {
    font-size: 20px;
    color: #3498db;
}

#div_start {
    float: right;
}

#headline {
    text-decoration: none
}

#results {
    font-size: 14px;
    color: #3498db;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    min-height: 150px;
}

#start_button {
    border: 0;
    background-color: transparent;
    padding: 0;
}

.interim {
    color: gray;
}

.final {
    color: #3498db;
    padding-right: 3px;
}

.button {
    display: none;
}

.marquee {
    margin: 20px auto;
}

#buttons {
    margin: 10px 0;
    position: relative;
    top: -50px;
}

#copy {
    margin-top: 20px;
}

#copy>div {
    display: none;
    margin: 0 70px;
}

a.c1 {
    font-weight: normal;
}


/* Traffic-light chip */
.rag {
	
  --rag-size: 16px;              /* default size */
  --rag-offset: calc(var(--rag-size) + 16px);  /* space on left */
  white-space: nowrap;
  font-weight: 600;
  position: relative;
  
}

/* colored dot */
.rag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  width: var(--rag-size);
  height: var(--rag-size);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px rgba(0,0,0,.08);
  background: var(--rag-color, #9ca3af); /* default grey */
}

/* Map data-status → color */
.rag[data-status="R"] { --rag-color: #ef4444; color: #b91c1c; } /* red */
.rag[data-status="A"] { --rag-color: #f59e0b; color: #b45309; } /* amber */
.rag[data-status="G"] { --rag-color: #22c55e; color: #166534; } /* green */
.rag[data-status="red"] { --rag-color: #ef4444; color: #b91c1c; } /* red */
.rag[data-status="amber"] { --rag-color: #f59e0b; color: #b45309; } /* amber */
.rag[data-status="green"] { --rag-color: #22c55e; color: #166534; } /* green */


.code-editor {
  width: 100%;
  height: 50px;
  background: #ffffff;
  color: #4a4a4a;
  font-family: "Fira Code", "Consolas", "Monaco", monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  resize: both;
  white-space: pre;
  overflow: auto;
}

/* Optional: Highlight placeholder text */
.code-editor::placeholder {
  color: #999;
  font-style: italic;
}



/* Custom Scrollbar */
textarea.code-editor::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    
}

textarea.code-editor::-webkit-scrollbar-thumb {
    background-color: #eceeee;
    border-radius: 3px;
    height: 6px;
    width: 6px;
}

textarea.code-editor::-webkit-scrollbar-track {
    background: #fdfefe;
    margin-top: 3px;
    margin-left: 10px;
   
}

/* Syntax Highlighting (Simulated) */
textarea.code-editor::selection {
    background: #edfefe; /* Yellow selection */
}




</style>
