.LexicalEditor__admonition {
  border: 1px solid #666;
  border-left-width: 4px;
  border-radius: 3px;
  margin-top: .5rem;
  margin-bottom: 1.5rem;
  padding: 8px 12px 4px;
  position: relative;
}

.LexicalEditor__admonition.admonition-note {
  border-left-color: #4a90d9;
}

.LexicalEditor__admonition.admonition-tip {
  border-left-color: #3fa45b;
}

.LexicalEditor__admonition.admonition-warning {
  border-left-color: #d9a334;
}

.LexicalEditor__admonition.admonition-danger {
  border-left-color: #d94a4a;
}

.LexicalEditor__admonition .AdmonitionNode__header {
  text-transform: capitalize;
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  gap: 6px;
  margin-bottom: .25rem;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
}

.LexicalEditor__admonition .AdmonitionNode__icon {
  align-items: center;
  display: inline-flex;
}

.LexicalEditor__admonition .AdmonitionNode__icon svg {
  fill: currentColor;
  width: 20px;
  height: 20px;
}

.LexicalEditor__admonition.admonition-note .AdmonitionNode__icon {
  color: #4a90d9;
}

.LexicalEditor__admonition.admonition-tip .AdmonitionNode__icon {
  color: #3fa45b;
}

.LexicalEditor__admonition.admonition-warning .AdmonitionNode__icon {
  color: #d9a334;
}

.LexicalEditor__admonition.admonition-danger .AdmonitionNode__icon {
  color: #d94a4a;
}

.LexicalEditor__admonition .AdmonitionNode__title {
  flex: auto;
}

.LexicalEditor__admonition .AdmonitionNode__edit-button {
  color: inherit;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  background-color: #0000000a;
  border: 1px solid #0003;
  border-radius: 5px;
  flex: none;
  padding: 2px 8px;
  font-size: .8rem;
}

.LexicalEditor__admonition .AdmonitionNode__edit-button:hover {
  background-color: #3c84f42e;
}

.LexicalEditor__admonition .AdmonitionNode__content {
  color: #4b5563;
  font-size: .925em;
}

.LexicalEditor__admonition .AdmonitionNode__content > * {
  margin-bottom: .25em;
}

.LexicalEditor__admonition .AdmonitionNode__content > :last-child {
  margin-bottom: 0;
}

.dark .LexicalEditor__admonition {
  border-color: #444;
}

.dark .LexicalEditor__admonition .AdmonitionNode__content {
  color: #9ca3af;
}

.dark .LexicalEditor__admonition .AdmonitionNode__edit-button {
  background-color: #ffffff14;
  border-color: #fff3;
}

