.LexicalEditor__admonition .Admonition__container {
  border: 1px solid #666;
  border-radius: 2px;
  margin-top: .5rem;
  margin-bottom: 1.5rem;
  padding: 8px;
  position: relative;
}

.LexicalEditor__admonition .Admonition__container.focused {
  outline: 2px solid #3c84f4;
}

.LexicalEditor__admonition .Admonition__container .admonition-edit-button {
  z-index: 1;
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  background-color: #00000080;
  border: 1px solid #ffffff4d;
  border-radius: 5px;
  min-width: 60px;
  margin: 0 auto;
  padding: 3px 4px;
  font-size: .9rem;
  display: block;
  position: absolute;
  top: 8px;
  right: 12px;
}

.LexicalEditor__admonition .Admonition__container .admonition-edit-button:hover {
  background-color: #3c84f480;
}

.LexicalEditor__admonition .AdmonitionNode__header {
  align-items: center;
  margin-bottom: .75rem;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
}

.LexicalEditor__admonition .AdmonitionNode__content {
  position: relative;
}

.LexicalEditor__admonition .AdmonitionNode__contentEditable {
  color: #000;
  background-color: #f4f4f4;
  min-width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

.LexicalEditor__admonition .AdmonitionNode__contentEditable .tree-view-output {
  border-radius: 0;
  margin: 0;
}

.LexicalEditor__admonition .admonition-content-button:hover {
  background-color: #3c84f480;
}

.LexicalEditor__admonition .AdmonitionNode__contentEditable {
  resize: none;
  cursor: text;
  caret-color: #050505;
  -moz-tab-size: 1;
  tab-size: 1;
  -webkit-user-select: text;
  user-select: text;
  white-space: pre-wrap;
  word-break: break-word;
  border: 0;
  outline: 0;
  min-height: 20px;
  padding: 10px;
  font-size: 16px;
  line-height: 1.4em;
  display: block;
  position: relative;
}

.AdmonitionNode__contentEditable p {
  margin-bottom: .25em;
}

.Admonition__placeholder {
  color: #888;
  text-overflow: ellipsis;
  top: 10px;
  left: 10px;
  right: unset;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
  font-size: 12px;
  display: inline-block;
  position: absolute;
  overflow: hidden;
}

.dark .AdmonitionNode__contentEditable {
  color: #eee;
  caret-color: auto;
}

.dark .LexicalEditor__admonition .AdmonitionNode__contentEditable {
  background-color: #222;
}

.dark .AdmonitionNode__placeholder {
  color: #888;
}

