body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
}

h1, h2 {
    color: #333;
}
ul {
    margin: 0;
    padding-left: 20px;
  }
  
  li {
    margin-bottom: 5px;
  }

form {
    margin-bottom: 20px;
}

textarea, input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    border: none;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Summary table styles */
#insightsSummaryTable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#insightsSummaryTable th, #insightsSummaryTable td {
    border: 1px solid #ddd;
    padding: 8px;
}

#insightsSummaryTable th {
    background-color: #007BFF;
    color: white;
}

/* Details section styling */
#insightDetailsSection {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 20px;
}

#insightDetailsContent {
    margin-top: 10px;
}

/* Section styles for responses and synthesis in details view */
.detailSection {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
}

/* Optional: Ensure synthesis text preserves whitespace */
.synthesisDisplay {
    white-space: pre-wrap;
    margin-bottom: 1em;
}