body {
  padding: 12px;
  height: 100%;
  /*  match the native vscode chat colors */
  background-color: var(--vscode-chat-list-background);
}
html {
  height: 100%;
}

textarea {
  height: auto;
  min-height: calc(1.33em * 2);
  background: inherit;
  width: 100%;
  border: none;
  outline: none;
  overflow-y: auto;
  padding: 16px 10px;
  margin: 0;
  line-height: 1.33;
  vertical-align: middle;
  cursor: text;
  resize: none;
}

textarea:focus {
  outline: none;
}

.request-container,
.response-container {
  display: flex;
  flex-direction: row;
}

.request-container {
  justify-content: flex-end;
}

.response-container {
  justify-content: flex-start;
}

.requestBox,
.responseBox {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 0.5em;
}

.requestBox {
  background-color: var(--vscode-input-background);
}

pre code {
  background: inherit;
  /* border: 0.5px solid gray; */
  display: block;
  padding: 8px;
  margin: 8px 0;
}

.inputDiv {
  /* border: 1px solid #ccc; */
  /* border-radius: 0.375em; */
  /* padding-left: 8px; */
  /* padding-right: 8px; */
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 80vw;
  /* max-width: 600px; */

  /* match native vscode chat UI */
  /* https://github.com/microsoft/vscode/blob/7fadaa1ddc1c03dcd9a58fab063dac74284eb63e/src/vs/workbench/contrib/chat/browser/media/chat.css#L522 */
  /* box-sizing: border-box; */
  /* cursor: text; */
  background-color: var(--vscode-input-background);
  border: 1px solid var(--vscode-input-border, transparent);
  border-radius: 4px;
  padding: 0 6px 6px 6px; /* top padding is inside the editor widget */
  max-width: 100%;
}

.inputDiv:has(textarea:focus) {
  border: 2px solid #0078d4;
}

.radio-group {
  position: relative;
  display: inline-flex;
  justify-content: space-evenly;
  width: 100%; /* Optional: Adjust the width as needed */
}

.radio-group label {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: smaller;
}

.radio-group input {
  margin-right: 5px;
}

/* override the github-markdown css background color */
.markdown-body {
  background-color: var(--vscode-chat-list-background);
}

.histogram-container {
  width: 100%;
}
