.rich-text-editor {
  overflow: hidden;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #ffffff;
}

.rich-text-toolbar {
  display: flex;
  gap: .25rem;
  align-items: center;
  flex-wrap: wrap;
  padding: .4rem;
  border-bottom: 1px solid #e4ded2;
  background: #f7f5f0;
}

.rich-text-button {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 .45rem;
  border: 1px solid #d9d2c4;
  border-radius: 6px;
  background: #ffffff;
  color: #253b2e;
  line-height: 1;
}

.rich-text-button:hover {
  background: #eef4ed;
}

.rich-text-toolbar-separator {
  width: 1px;
  height: 1.45rem;
  margin: 0 .15rem;
  background: #d9d2c4;
}

.rich-text-content {
  min-height: 9rem;
  padding: .75rem;
  outline: none;
  white-space: pre-wrap;
}

.rich-text-content:focus {
  box-shadow: 0 0 0 .1rem white, 0 0 0 .25rem #258cfb;
}

.rich-text-source {
  display: none;
}
