/* You CSS goes in here */

.v-datalist-container {
    min-height: 31.25rem;
    height: 50rem;
    width: 100%;
    margin-right: 0.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto; /* Enable scrolling */
}
  
  #diagram {
    min-height: 31.25rem;
    height: 75vh;
    width: 100%;
    border: 0.2rem solid #97d23d;
    border-radius: 1rem;
    position: relative;
    background-color: #f1f1f1;
  }
  
  #diagram .component {
    border-radius: 0.625rem;
    border: 0.125rem solid green;
    width: 5rem;
    min-height: 4.75rem;
    text-align: center;
    cursor: move;
    background-color: white;
    position: absolute;
    display: flex;
  }
  
  #diagram .component2 {
    border-radius: 0.625rem;
    border: 0.125rem solid green;
    width: 7rem;
    min-height: 4.75rem;
    text-align: center;
    cursor: move;
    background-color: white;
    position: absolute;
    display: flex;
  }
  
  #diagram .io-component {
    border-radius: 0.625rem;
    border: 0.125rem solid green;
    width: 3.75rem;
    text-align: center;
    cursor: move;
    position: absolute;
    background-color: white;
    color: black;
  }
  
  #diagram .high {
    background-color: rgb(97, 202, 97);
  }
  
  #diagram .low {
    background-color: rgb(206, 206, 120);
  }
.toolbar-item-list {
    overflow-y: auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    gap: 0.625rem;
    padding: 0.625rem;
}

  .toolbar-component {
    margin: 0.3rem;
    box-sizing: border-box;
    width: 40%;
    border: 0.1rem thin rgb(0, 0, 0);
    background-color: rgb(225, 238, 225);
    border-radius: 1rem;
  }
  
  .toolbar-component:hover {
    background-color: rgb(202, 252, 202);
    cursor: pointer;
  }
  
  .each-toolbar-component {
    padding: 0.625rem;
    font-size: 0.9rem;
  }
  
  .svg-component {
    flex: 1;
    height: 100%;
    width: 100%;
  }
  
.text-danger {
    color: red;
    font-weight: bold;
    text-align: center;
}

.text-success {
    color: green;
    font-weight: bold;
    text-align: center;
}

.code-area {
    font-family: monospace;
    overflow: auto;
}

.vt-code {
    min-height: 31.25rem;
    height: 70vh;
    font-family: monospace;
    overflow: auto;
    background-color: rgb(220, 220, 220);
}
 
  @media screen and (max-width: 768px) {
    .toolbar-item-list {
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: flex-start;
    }
  
    .toolbar-component {
      width: 90%
    }
  
    #diagram .component {
      width: 3.125rem;
      min-height: 2.96rem;
    }
  
    #diagram .component2 {
      width: 4.375rem;
      min-height: 2.96rem;
    }
  
    .each-toolbar-component {
      font-size: 0.7rem;
    }
  }
  
  @media screen and (min-width: 769px) and (max-width: 1023px) {
    #diagram .component {
      width: 4.375rem;
      min-height: 4.15625rem;
    }
  
    #diagram .component2 {
      width: 6.125rem;
      min-height: 4.15625rem;
    }
  
  }
#obs-table {
    overflow: auto;
    min-height: 70%;
}

#obs-table>img {
    height: 100%;
    vertical-align: bottom;
    max-width: 300%;
}
  
  .v-instruction-container {
    border: .2rem solid #97d23d;
    justify-content: flex-start;
  }
  
.highlight {
    border: 2px solid red;
    /* transition: border-color 0.3s ease-in-out; */
  }
  
  .highlight:focus {
    outline: none;
    border-color: orange;
  }
  
  #container, #containerTB {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
  }
  
  .comment {
    color: green;
    font-style: italic;
  }
  
  ul.custom-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
  }
  
  ul.custom-list li {
    padding: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    background-color: lightgray;
    cursor: move;
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
  }
  
  li.drag-sort-active {
    background: transparent;
    color: transparent;
    border: 1px greenyellow;
  }
  
  span.drag-sort-active {
    padding: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    background-color: lightgray;
    cursor: move;
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .success-table{
    font-size: 1rem;
    color: rgb(31, 170, 31);
    font-weight: bold;
  }
  
  .failure-table{
    font-size: 1rem;
    color: rgb(228, 23, 23);
    font-weight: bold;
  }
  
  .bold-table{
    font-weight: bold;
  }
  .v-instruction-container {
    border: .2rem solid #97d23d;
    justify-content: flex-start;
  }