optgroup + optgroup {
    border-top: 1px solid black;
  }
  
  optgroup {
    padding-bottom: 8px;
  }
  
  optgroup:not(:first-child) {
    padding-top: 8px;
    border-top: solid 1px #666;
  }
  
  .ai-area {
    color: #187b46;
  }
  
  .systems-area {
    color: #ff7f00;
  }
  
  .theory-area {
    color: #4daf4a;
  }
  
  .interdisciplinary-area {
    color: #984ea3;
  }
  
  .overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
  }
  
  .centerscreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
  }
  
  .overlaytext {
    font-size: 20vw;
    color: white;
  }
  
  .expand-arrow {
    cursor: pointer;
    transition: transform 0.2s ease;
    display: inline-block;
    font-weight: bold;
    color: #4a4aff;
    font-size: 14px;
  }
  
  .rotate {
    transform: rotate(90deg);
  }
  
  .hidden-row {
    display: none;
  }
  
  .inner-table {
    margin-left: 40px;
    width: 90%;
  }
  
  /* Added pastel green background for inner table rows */
 /* Add spacing around inner rows and round edges */
.llm-details td table tbody tr {
    background-color: #eaffea;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
  }
  
  .llm-details td table {
    border-collapse: separate;
    border-spacing: 0 6px; /* space between inner rows */
    background-color: transparent;
  }

  .llm-details td table td,
.llm-details td table th {
  padding: 6px 12px;
}

  
  
  /* Add spacing between rows in dynamic table */
  #llm-table-body tr.llm-row {
    border-bottom: 8px solid white;
  }
  
  /* Custom green checkbox styling */
  input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
  }
  
  input[type="checkbox"]:checked {
    background-color: #4caf50;
    border-color: #4caf50;
  }
  
  input[type="checkbox"]:checked::after {
    content: '\2713';
    font-size: 12px;
    color: white;
    position: absolute;
    top: -2px;
    left: 2px;
  }

  /* Space between LLM rows */
.custom-row {
    border-spacing: 0 8px;
    padding: 10px 0;
  }
  
  /* Inner expanded table style */
  .expanded-inner {
    margin-left: 20px;
    width: 95%;
    background-color: #f0fff4; /* pastel green */
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #c6f6d5;
  }
  
  /* Checkbox color change */
  input[type="checkbox"] {
    accent-color: green;
  }
  
  /* Updated triangle (hovertip) style */
  .hovertip {
    cursor: pointer;
    color: #2f855a;
    font-weight: bold;
    display: inline-block;
    width: 20px;
  }
  
  /* Justify welcome paragraph */
.welcome-text {
    text-align: justify;
    margin-bottom: 24px; /* spacing below paragraph */
  }
  
  /* Spacing between temperature and All Capabilities */
  #temp {
    margin-bottom: 24px;
  }
  
  /* Toggle buttons styling */
  .toggle-buttons {
    display: inline-flex;
    gap: 8px;
    margin-left: 12px;
  }
  
  .toggle-button {
    padding: 4px 12px;
    font-size: 14px;
    border: 2px solid #df7d15;
    border-radius: 6px;
    background-color: #df7d15;
    cursor: pointer;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;

  }
  
  .toggle-button:hover {
    background-color: #db702d;
    border-color:#db702d;
  }
  
  /* ACTIVE STATE COLORS */
  .toggle-button.active[data-toggle="on"] {
    background-color: #3182ce; /* Blue */
    border-color: #3182ce;
    color: white;
  }
  
  .toggle-button.active[data-toggle="off"] {
    background-color: #e53e3e; /* Red */
    border-color: #e53e3e;
    color: white;
  }
  
/* Main dynamic table wrapper */
#llm-table-body {
    padding: 25px;              /* adds padding inside the table body */
    margin: 20px;               /* adds space outside the table */
    background-color: #ffffff;  /* ensures background is white */
    border-radius: 10px;
    border: 1px solid #eee;
  }
  
  .table-responsive > table {
    margin: 12px auto;
    padding: 8px;
    border-collapse: separate;
    border-spacing: 0 8px; /* spacing between rows */
  }

  /* Unified row padding for both outer and inner rows */
#llm-table-body tr.llm-row,
#llm-table-body tr.llm-details table tbody tr {
  padding-top: 6px;
  padding-bottom: 6px;
}

#llm-table-body tr.llm-row td {
  padding-top: 6px;
  padding-bottom: 6px;
}

  
a {
    color: #df7d15;
  } 

  #llm-ranking-table td {
    border-right: 4px solid white;
    padding: 8px 12px;
  }
  
  #llm-ranking-table td:last-child {
    border-right: none;
  }

  .orange-link {
    color: #df7d15;
  }
  
  