@import "../../../packages/platform/src/usj-nodes";
@import "../../../packages/platform/src/marginal/comments/ui/Button";
@import "../../../packages/platform/src/marginal/comments/ui/ContentEditable";
@import "../../../packages/platform/src/marginal/comments/ui/Modal";
@import "../../../packages/platform/src/marginal/comments/ui/Placeholder";
@import "../../../packages/platform/src/marginal/comments/comment-editor.theme";
@import "../../../packages/platform/src/marginal/comments/CommentPlugin";
@import "../../../packages/platform/src/editor/editor";
@import "../../../libs/shared/src/styles/nodes-menu";
@import "./app/app-overrides";

@import "https://fonts.googleapis.com/css?family=Reenie+Beanie";

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    ".SFNSText-Regular",
    sans-serif;
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background: #eee;
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;

  font-size: 16px;
  line-height: 24px;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: black;
  font-size: 13.3333px;
}

.controls > .pr-twp.tw-flex {
  background-color: transparent;
}

.controls button[aria-label="book-chapter-trigger"] {
  background-color: white;
  border: 1px solid rgb(226, 232, 240);
}

.controls button {
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  background-color: inherit;
}
.controls button:hover {
  background-color: #ddd;
}
.controls button.active {
  background-color: #ccc;
}
.controls button.active:hover {
  background-color: #bbb;
}
.controls input[type="text"] {
  width: 150px;
}

.defined-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.custom-view-options {
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;

  .control {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.custom-node-options {
  text-align: right;
  margin-bottom: 10px;
  font-size: 13px;
  color: black;
}

.debug {
  display: flex;
}

div.checkbox {
  border: 0;
  display: flex;
  background: none;
  border-radius: 10px;
  padding: 8px;
  vertical-align: middle;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
}

input[type="checkbox"] {
  cursor: pointer;
}

label {
  cursor: pointer;
  color: black;
  font-size: 13.3333px;
}

.defined-options .toolbar-item:hover:not([disabled]) {
  background-color: #ddd;
}
