/**
 * Module: Override imported components CSS styling.
 */

:root {
  /* Import overrides */
  --toastify-color-dark: var(--cd-bg-60);
}

.cm-editor {
  resize: vertical;
  overflow-y: auto;
  border-color: var(--cl-bg-40);
  .dark & {
    border-color: var(--cd-bg-40);
  }
  @apply border rounded px-[0.375rem] py-[0.15rem];
}
.cm-editor.cm-focused {
  border-color: var(--cl-bg-40);
  outline-color: var(--cl-prim-bg-100);
  .dark & {
    border-color: var(--cd-bg-40);
    outline-color: var(--cd-prim-bg-100);
  }
  @apply outline-2 outline;
}

.cm-editor .cm-placeholder {
  color: var(--cl-fg-60);
  .dark & {
    color: var(--cd-fg-60);
  }
}

.rdt_TableCell {
  font-size: 0.875rem;
}
