body {
    margin: 30px;
    /* font-family: Arial, sans-serif; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  /* Top content div styling */
  #top-content {
    width: 500px;
    margin: 0 auto 20px auto;
  }
  #top-content p {
    margin: 10px 0;
    width: 100%;
  }
  #top-instruction {
    width: 500px;
    margin: 0 auto 20px auto;
  }
  #top-instruction p {
    margin: 10px 0;
    width: 100%;
    color: gray;
  }
  /* Container for toggle buttons - side by side */
  #toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  #toggle-buttons button {
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
  }
  .container {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;
    position: relative;
    transition: all 0.5s ease;
  }
  /* Outer lists get a transform transition */
  #left-left-list, #right-right-list {
    width: 25%;
    padding: 2px;
    border: 0.5px solid #ccc;
    transition: transform 0.5s ease;
  }
  /* The middle three lists (claims and connection labels) */
  #left-list, #middle-list, #right-list {
    transition: all 0.5s ease;
  }
  /* Original widths for the middle lists */
  #left-list, #right-list {
    width: 15%;
  }
  #middle-list {
    width: 10%;
    text-align: center;
  }
  .sentence {
    margin: 0;
    font-size: normal;
    cursor: pointer;
    display: block;
  }
  .item {
    margin: 0;
    padding: 2px;
    border: 0.5px solid #ccc;
    position: relative;
    cursor: pointer;
    font-size: small;
  }
  .middle-item {
    margin: 10px 0;
    padding: 5px;
    font-size: small;
  }
  .hover-item {
    background-color: #ffeb3b;
    border-color: #ffeb3b;
  }
  #link-svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }
  .hover-line {
    stroke: red !important;
  }
  .left-side-line, .right-side-line {
    stroke: orange;
    opacity: 0;
    stroke-width: 3;
  }
  .hover-side-line {
    stroke: orange !important;
    opacity: 1;
    stroke-width: 3 !important;
  }
  /* Tooltip styling */
  #tooltip {
    position: absolute;
    padding: 4px 8px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  /* Header styling for claim lists */
  .response {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    min-width: 200px;
  }
  .list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
  }
  .list-header h3 {
    margin: 0;
    font-size: 16px;
  }
  /* Small sort/reset button styling */
  .sort-button {
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 4px;
  }

  /* User input section styling */
  #user-input {
    width: 600px;
    margin: 20px auto;
    padding: 10px;
    border: 0.5px solid #ccc;
  }
  #user-input label {
    display: block;
    margin-bottom: 5px;
  }
  #user-input textarea {
    width: 100%;
    box-sizing: border-box;
  }
  /* Star rating styling */
  #star-rating {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
  }
  #star-rating .star.selected {
    color: gold;
  }

  /* Chat container styling */
  .chat-container {
    background-color: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Chat bubble base style */
  .message {
    padding: 10px 15px;
    border-radius: 12px;
    line-height: 1.4;
    max-width: 100%;
    word-wrap: break-word;
  }

  /* User message styling */
  .message.user {
    background-color: #e6f9ff;
    align-self: flex-end;
    border: 1px solid #d0e7f9;
  }

  /* Bot message styling */
  .message.bot {
    background-color: #f1f0f0;
    align-self: flex-start;
    border: 1px solid #e0e0e0;
  }