vscode-panel-view {
  display: flex;
  flex-direction: column;
  padding: 0;
  line-height: 1.5em;
}

vscode-text-area,
vscode-text-field {
  width: 100%;
}


:global(.mention) {
  display: inline-flex;
  align-items: center;
  padding: 1px 3px;
  border-radius: 4px;
  background: var(--vscode-editor-background);
  border: 1px solid var(--vscode-editorWidget-border);
  color: var(--vscode-foreground);
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

:global(.mention:hover) {
  background: var(--vscode-inputOption-hoverBackground);
}

:global(.tiptap .mention) {
  background: var(--vscode-inputOption-activeBackground);
  color: var(--vscode-inputOption-activeForeground);
  border-radius: var(--mention-border-radius);
  box-decoration-break: clone;
  padding: 1px 2px 2px;
}

:global(.tiptap) {
  outline: none;
}

:global(.imageContainer) {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 150px;
  border-radius: 4px;
  overflow: hidden;
}

:global(.chatImage) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

:global(.imageDeleteButton) {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s;
}

:global(.imageDeleteButton:hover) {
  background: rgba(255, 0, 0, 0.7);
}

:global(.tiptap .item) {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0.4rem 0.5rem;
  color: var(--vscode-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
