/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 *
 */
.CrystallizeRTEditorTheme__ltr {
  @apply text-left;
}
.CrystallizeRTEditorTheme__rtl {
  @apply text-right;
}
.CrystallizeRTEditorTheme__paragraph {
  font-size: 15px;
  @apply relative m-0 mt-2 leading-6 text-gray-600-300;
}
.CrystallizeRTEditorTheme__paragraph + .CrystallizeRTEditorTheme__paragraph {
  @apply relative m-0 mt-4;
}
.CrystallizeRTEditorTheme__quote {
  font-size: 15px;
  border-left-width: 4px;
  border-left-style: solid;
  @apply m-0 ml-5 pl-4;

  @apply my-6 border-l-purple-700-200 font-normal text-gray-800-100;
}

.CrystallizeRTEditorTheme__h1 {
  font-size: 20px;

  @apply m-0 mb-1 mt-2 font-medium leading-6 text-gray-800-100;
}
.CrystallizeRTEditorTheme__h2 {
  font-size: 19px;
  @apply m-0 mb-1 mt-2 text-lg font-medium leading-6 text-gray-800-100;
}
.CrystallizeRTEditorTheme__h3 {
  font-size: 18px;
  @apply m-0 mb-1 mt-2  font-medium leading-6 text-gray-800-100;
}
.CrystallizeRTEditorTheme__h4 {
  font-size: 17px;
  @apply m-0 mb-1 mt-2 font-medium leading-6 text-gray-800-100;
}
.CrystallizeRTEditorTheme__h5 {
  font-size: 16px;
  @apply m-0 mb-1 mt-2 font-medium leading-6 text-gray-800-100;
}
.CrystallizeRTEditorTheme__h6 {
  font-size: 16px;
  @apply m-0 mb-1 mt-2 font-medium leading-6 text-gray-800-100;
}
.CrystallizeRTEditorTheme__indent {
  --lexical-indent-base-value: 20px;
}
.CrystallizeRTEditorTheme__textBold {
  @apply font-bold;
}
.CrystallizeRTEditorTheme__textItalic {
  font-style: italic;
}
.CrystallizeRTEditorTheme__textUnderline {
  text-decoration-line: underline;
}
.CrystallizeRTEditorTheme__textStrikethrough {
  @apply line-through;
}
.CrystallizeRTEditorTheme__textUnderlineStrikethrough {
  text-decoration: underline line-through;
}
.CrystallizeRTEditorTheme__textSubscript {
  font-size: 0.8em;
  vertical-align: sub !important;
}
.CrystallizeRTEditorTheme__textSuperscript {
  font-size: 0.8em;
  vertical-align: super;
}
.CrystallizeRTEditorTheme__textCode {
  padding: 2px 0.5rem;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 13px;
  border-width: 1px;
  border-style: solid;
  @apply rounded-md border-gray-100-800 bg-purple-50-900;
}
.CrystallizeRTEditorTheme__link {
  text-decoration: none;
  box-shadow: #5d96fd 0 -2px inset;
  @apply !text-gray-600-300;
}
.CrystallizeRTEditorTheme__link:hover {
  cursor: pointer;
}
.CrystallizeRTEditorTheme__code {
  @apply relative mx-0 my-2 block overflow-x-auto rounded-md border border-solid border-gray-100-800 bg-purple-50-900 p-2 pl-14 text-sm leading-5;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 12px;
  tab-size: 2;
}
.CrystallizeRTEditorTheme__code:before {
  @apply absolute left-0 top-0 border-0 border-r-[1px] border-solid border-gray-100-800 bg-purple-100-800 p-2 text-right text-gray-400-500;
  content: attr(data-gutter);
  white-space: pre-wrap;
  min-width: 25px;
}
.CrystallizeRTEditorTheme__table {
  /* border-collapse: collapse; */
  border-spacing: 0;
  max-width: 100%;
  overflow-y: scroll;
  table-layout: fixed;
  width: calc(100% - 25px);
  margin: 30px 0;
  overflow: hidden;
  border-width: 1px 1px 0 0;
  border-style: solid;
  @apply rounded-md border-gray-100-800;
}

.CrystallizeRTEditorTheme__tableSelected {
  @apply outline-2 outline-purple-200-700;
}
.CrystallizeRTEditorTheme__tableCell {
  @apply relative cursor-default border border-solid border-gray-100-800 px-2 py-0 text-start align-top outline-none;
  min-width: 75px;
  border-width: 0 0 1px 1px;
}

.CrystallizeRTEditorTheme__tableCell .CrystallizeRTEditorTheme__paragraph {
  @apply my-2 text-sm;
}
.CrystallizeRTEditorTheme__tableCellSortedIndicator {
  display: block;
  opacity: 0.5;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #999;
}
.CrystallizeRTEditorTheme__tableCellResizer {
  position: absolute;
  right: -4px;
  height: 100%;
  width: 8px;
  cursor: ew-resize;
  z-index: 10;
  top: 0;
}
.CrystallizeRTEditorTheme__tableCellHeader {
  @apply bg-purple-50-900;
  text-align: start;
}
.CrystallizeRTEditorTheme__tableCellSelected {
  background-color: #c9dbf0;
}
.CrystallizeRTEditorTheme__tableCellPrimarySelected {
  @apply border-2 border-solid border-purple-200-700;

  display: block;
  height: calc(100% - 2px);
  position: absolute;
  width: calc(100% - 2px);
  left: -1px;
  top: -1px;
  z-index: 2;
}
.CrystallizeRTEditorTheme__tableCellEditing {
  @apply shadow-md;
  border-radius: 3px;
}
.CrystallizeRTEditorTheme__tableAddColumns {
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  right: 0;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
  border: 1px solid transparent;
  @apply bg-purple-50-900;
}
.CrystallizeRTEditorTheme__tableAddColumns:after {
  background-image: url(../images/icons/plus.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}
.CrystallizeRTEditorTheme__tableAddColumns:hover {
  @apply rounded-sm border-purple-200-700;
}
.CrystallizeRTEditorTheme__tableAddRows {
  position: absolute;
  bottom: -25px;
  width: calc(100% - 25px);
  height: 20px;
  left: 0;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
  border: 1px solid transparent;

  @apply bg-purple-50-900;
}
.CrystallizeRTEditorTheme__tableAddRows:after {
  background-image: url(../images/icons/plus.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}
.CrystallizeRTEditorTheme__tableAddRows:hover {
  @apply rounded-sm border-purple-200-700;
}
@keyframes table-controls {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.CrystallizeRTEditorTheme__tableCellActionButtonContainer {
  display: block;
  right: 2px;
  top: 2px;
  position: absolute;
  z-index: 4;
  height: 20px;
}
.CrystallizeRTEditorTheme__tableCellActionButton {
  background-color: #eee;
  display: block;
  border: 0;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  color: #222;
  cursor: pointer;
}
.CrystallizeRTEditorTheme__tableCellActionButton:hover {
  background-color: #ddd;
}
.CrystallizeRTEditorTheme__characterLimit {
  display: inline;
  background-color: #ffbbbb !important;
}
.CrystallizeRTEditorTheme__ol1 {
  padding: 0;
  margin: 0;
  list-style-position: inside;
}
.CrystallizeRTEditorTheme__ol2 {
  padding: 0;
  margin: 0;
  list-style-type: upper-alpha;
  list-style-position: inside;
}
.CrystallizeRTEditorTheme__ol3 {
  padding: 0;
  margin: 0;
  list-style-type: lower-alpha;
  list-style-position: inside;
}
.CrystallizeRTEditorTheme__ol4 {
  padding: 0;
  margin: 0;
  list-style-type: upper-roman;
  list-style-position: inside;
}
.CrystallizeRTEditorTheme__ol5 {
  padding: 0;
  margin: 0;
  list-style-type: lower-roman;
  list-style-position: inside;
}
.CrystallizeRTEditorTheme__ul {
  padding: 0;
  margin: 0;
  list-style-position: inside;
}
.CrystallizeRTEditorTheme__listItem {
  @apply mx-5 my-0 leading-6 text-gray-600-300;
}
.CrystallizeRTEditorTheme__listItemChecked,
.CrystallizeRTEditorTheme__listItemUnchecked {
  position: relative;
  margin-left: 8px;
  margin-right: 8px;
  padding-left: 24px;
  padding-right: 24px;
  list-style-type: none;
  outline: none;
}
.CrystallizeRTEditorTheme__listItemChecked {
  text-decoration: line-through;
}
.CrystallizeRTEditorTheme__listItemUnchecked:before,
.CrystallizeRTEditorTheme__listItemChecked:before {
  content: '';
  width: 16px;
  height: 16px;
  top: 2px;
  left: 0;
  cursor: pointer;
  display: block;
  background-size: cover;
  position: absolute;
}
.CrystallizeRTEditorTheme__listItemUnchecked[dir='rtl']:before,
.CrystallizeRTEditorTheme__listItemChecked[dir='rtl']:before {
  left: auto;
  right: 0;
}
.CrystallizeRTEditorTheme__listItemUnchecked:focus:before,
.CrystallizeRTEditorTheme__listItemChecked:focus:before {
  box-shadow: 0 0 0 2px #a6cdfe;
  border-radius: 2px;
}
.CrystallizeRTEditorTheme__listItemUnchecked:before {
  border: 1px solid #999;
  border-radius: 2px;
}
.CrystallizeRTEditorTheme__listItemChecked:before {
  border: 1px solid rgb(61, 135, 245);
  border-radius: 2px;
  background-color: #3d87f5;
  background-repeat: no-repeat;
}
.CrystallizeRTEditorTheme__listItemChecked:after {
  content: '';
  cursor: pointer;
  border-color: #fff;
  border-style: solid;
  position: absolute;
  display: block;
  top: 6px;
  width: 3px;
  left: 7px;
  right: 7px;
  height: 6px;
  transform: rotate(45deg);
  border-width: 0 2px 2px 0;
}
.CrystallizeRTEditorTheme__nestedListItem {
  list-style-type: none;
}
.CrystallizeRTEditorTheme__nestedListItem:before,
.CrystallizeRTEditorTheme__nestedListItem:after {
  display: none;
}
.CrystallizeRTEditorTheme__tokenComment {
  color: slategray;
}
.CrystallizeRTEditorTheme__tokenPunctuation {
  color: #999;
}
.CrystallizeRTEditorTheme__tokenProperty {
  color: #905;
}
.CrystallizeRTEditorTheme__tokenSelector {
  color: #690;
}
.CrystallizeRTEditorTheme__tokenOperator {
  color: #9a6e3a;
}
.CrystallizeRTEditorTheme__tokenAttr {
  color: #07a;
}
.CrystallizeRTEditorTheme__tokenVariable {
  color: #e90;
}
.CrystallizeRTEditorTheme__tokenFunction {
  color: #dd4a68;
}
.CrystallizeRTEditorTheme__mark {
  background: rgba(255, 212, 0, 0.14);
  border-bottom: 2px solid rgba(255, 212, 0, 0.3);
  padding-bottom: 2px;
}
.CrystallizeRTEditorTheme__markOverlap {
  background: rgba(255, 212, 0, 0.3);
  border-bottom: 2px solid rgba(255, 212, 0, 0.7);
}
.CrystallizeRTEditorTheme__mark.selected {
  background: rgba(255, 212, 0, 0.5);
  border-bottom: 2px solid rgba(255, 212, 0, 1);
}
.CrystallizeRTEditorTheme__markOverlap.selected {
  background: rgba(255, 212, 0, 0.7);
  border-bottom: 2px solid rgba(255, 212, 0, 0.7);
}
.CrystallizeRTEditorTheme__embedBlock {
  user-select: none;
}
.CrystallizeRTEditorTheme__embedBlockFocus {
  outline: 2px solid rgb(60, 132, 244);
}
