.thread-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.25rem;
}

.button-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#threads-viewer {
  padding-top: 1rem;
}

#threads-viewer .thread-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.thread-card p {
  margin: 0px auto;
}

.thread-editor-footer {
  display: flex;
  padding: 0.3rem;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5rem;
}

.number-of-replies-button {
  border: 1px solid var(--vscode-editorGroup-border);
  margin: 0.5rem 0rem 0.5rem 0rem;
  background-color: var(--vscode-secondaryBackground);
  color: var(--vscode-textLink-foreground);
  font-weight: 500;
  border-radius: 0.25rem;
}

.number-of-replies-button .button {
  display: block;
}

.last-reply {
  padding-left: 0.75rem;
  color: var(--vscode-descriptionForeground);
  font-weight: 300;
  font-size: 0.8rem;
  align-self: flex-end;
}

.checkbox {
  padding-top: 0.5rem;
  gap: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.reply-count-divider-left {
  height: 1px;
  background-color: var(--vscode-focusBorder);
  flex-grow: 1;
  margin-left: -20px;
}

.reply-count-divider-right {
  height: 1px;
  background-color: var(--vscode-focusBorder);
  flex-grow: 1;
  margin-right: -20px;
}

.reply-count-line p {
  margin-bottom: 0;
  font-size: larger;
  color: var(--vscode-focusBorder);
}

.name-and-time-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-name-header {
  font-size: 1rem;
  font-weight: 500;
}

.creation-time {
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: -0.375rem;
  color: var(--vscode-descriptionForeground);
  padding-left: 3px;
  align-self: flex-end;
}

.outdated-label {
  border: 1px solid var(--vscode-inputValidation-warningBorder);
  border-radius: 0.5em;
  font-size: 10px;
  padding: 2px 5px;
  color: var(--vscode-inputValidation-warningBorder);
  margin: 0px;
}

.thread-file-path {
  font-size: 12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.25rem;
  border-bottom: 1px solid var(--vscode-editorGroup-border);
}

.thread-file-path-left {
  display: flex;
  justify-content: flex-start;
  gap: 0.25rem;
  align-items: center;
  flex-direction: row;
  width: 100%;
}

.thread-branch-text {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--vscode-descriptionForeground);
}

.thread-file-path-text {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: rtl;
  color: var(--vscode-descriptionForeground);
}

.thread-title {
  font-size: 14px;
  font-weight: bold;
}

#threads-viewer hr {
  margin: 0px -20px 0px -20px;
  background-color: var(--vscode-editorGroup-border);
}

.textEditorContainer {
  background-color: var(--vscode-input-background);
  border-radius: 0.2em;
}

.textEditorContainer hr {
  background-color: var(--vscode-input-foreground);
  margin: 0;
}

.textEditorContainer .textEditorTitle {
  border-radius: 0.2em 0.2em 0 0;
  border-bottom: 1px solid var(--vscode-disabledForeground);
}

#submitContainer {
  display: flex;
  align-items: center;
  font-size: 12px;
  justify-content: space-between;
  padding: 0 5px;
}

#submitContainer button {
  display: inline;
  width: 70px;
  height: 25px;
  line-height: 1px;
}

.thread-file-path-container {
  font-size: 12px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5em;
}

.thread-snippet-container {
  background-color: var(--vscode-editor-background);
  border: 1px solid var(--vscode-editorGroup-border);
  margin: 0.5em 0;
  border-radius: 0.2em;
}

.thread-snippet-container pre {
  margin-bottom: 0px;
  border: none !important;
}

.thread-body {
  margin-top: 0.5em;
}

.show-more {
  cursor: pointer;
  color: var(--vscode-textLink-foreground);
}

.show-less-container {
  max-height: 125px;
  overflow: hidden;
}
