/* #region "./apps/admin/src/ui/RichTextEditor/Editor.css" */
/*
- type: css
*/
/* This is not ideal, but there aren't many ways to modify the styles of the Editor itself consistently */
.rich-text-editor {
  padding: 16px;
}
.rich-text-editor:focus,
.rich-text-editor:focus-within {
  outline: none;
}
.rich-text-editor > :first-child {
  margin-top: 0;
}

.rich-text-editor code {
  font-family: monospace;
}

.rich-text-editor a.custom-link {
  color: var(--custom-link-color, inherit);
}

[data-type='mention'] {
  color: var(--mui-palette-rainbow-lavender-one, rgba(225, 190, 231, 1));
  font-size: 12px;
  font-weight: 500;
  font-family: 'Work Sans';
  line-height: 14px;
}

.light [data-type='mention'] {
  color: var(--mui-palette-rainbow-lavender-two, #8e24aa);
}
.rich-text-editor .incomplete-mention {
  color: var(--mui-palette-rainbow-pink-two, rgba(255, 165, 184, 1));
  border-bottom: 1px dashed
    var(--mui-palette-rainbow-pink-two, rgba(255, 165, 184, 1));
}

.light .rich-text-editor .incomplete-mention {
  color: var(--mui-palette-rainbow-pink-two, #ff114b);
  border-bottom: 1px dashed var(--mui-palette-rainbow-pink-two, #ff114b);
}

.incomplete-mention {
  color: #c5c6d0;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Work Sans';
  line-height: 14px;
}

.light .incomplete-mention {
  color: #45464f;
}

.ProseMirror.rich-text-editor {
  & img {
    display: block;
    height: auto;
    margin: 0;
    max-width: 100%;

    &.ProseMirror-selectednode {
      outline: 3px solid var(--custom-main-color);
    }
  }
}

.drop-cursor {
  color: var(--custom-main-color);
}

.ProseMirror-gapcursor:after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 50px !important;
  height: 3px !important;
  border: none !important;
  background-color: var(--custom-main-color) !important;
}

/* #endregion "./apps/admin/src/ui/RichTextEditor/Editor.css" */

/* #region "./apps/admin/src/styles/global.css" */
/*
- type: css
*/
html,
body,
#root {
  height: 100%;
  overflow: auto;
  font-family: 'Work Sans', sans-serif;
}
* {
  font-family: 'Work Sans', sans-serif;
}

.dragging {
  cursor: grabbing;
}

@font-face {
  font-family: 'Work Sans';
  src: url(/WorkSans-VariableFont_wght.ttf)
    format('truetype');
}

@font-face {
  font-family: 'Work Sans Bold';
  src: url(/WorkSans-Bold.ttf)
    format('truetype');
}
@font-face {
  font-family: 'Work Sans Semibold';
  src: url(/WorkSans-SemiBold.ttf)
    format('truetype');
}
@font-face {
  font-family: 'Work Sans Medium';
  src: url(/WorkSans-Medium.ttf)
    format('truetype');
}

@font-face {
  font-family: 'Work Sans Thin';
  src: url(/WorkSans-Thin.ttf)
    format('truetype');
}

@font-face {
  font-family: 'Work Sans Light';
  src: url(/WorkSans-Light.ttf)
    format('truetype');
}

@font-face {
  font-family: 'Roboto';
  src: url(/Roboto-Regular.ttf) format('truetype');
}

[data-lastpass-icon-root='true'] {
  display: none !important;
}

a {
  text-decoration: none;
}

table,
thead,
tbody,
tfoot,
tr,
th,
td {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-spacing: 0;
  border-color: inherit;
  text-align: left;
  font-weight: inherit;
  -webkit-border-horizontal-spacing: 0;
  -webkit-border-vertical-spacing: 0;
}
th,
td {
  display: table-cell;
}

/* #endregion "./apps/admin/src/styles/global.css" */

