@use "../base/var";
@use "../base/const";
@use "../base/color";
@use "../base/backdrop";
@use "../base/position";

[part~="wy-editor-comment"] {
  position: relative;
  //background-color: color.token(--wy-surface-container-low);
  border-radius: var.default(--wy-padding-outer);
}

[part~="wy-editor-comment-bottom"] {
  // we need the editor to appear below dropdowns
  position: sticky;
  bottom: 0;
  z-index: #{const.$zindex-dropdown - 1};
  background-color: var(--wy-component-background-color);
  padding: var.default(--wy-padding) var.default(--wy-padding-sm);
  border-radius: var(--wy-component-border-radius);
  color: var(--wy-component-color);
}

[part~="wy-editor-comment-inputs"] {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: var.default(--wy-gap-sm);
}

[part~="wy-editor-comment-text"] {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

[part~="wy-editor-parts"] {
  padding-top: var.default(--wy-padding);
  min-height: 0;
}