.setting__icon {
  display: flex;
  margin: 0 10px 0 7px;
}

app-cmf-doodle-icon,
app-cmf-icon {
  cursor: pointer;
}

.notepad {
  position: relative;
  z-index: 1;

  width: 910px;
  height: 90vh;
  margin-top: 9px;
  margin-right: 24px;

  background: var(--color-gray-fff);
  border-radius: 3px;
  box-shadow: 0 0 1px 1px #a2a2a2;

  &-label {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 20px;
    padding-top: 10px;
    padding-bottom: 8px;
    padding-left: 3px;

    font-size: 18px;
    font-weight: 400;

    border-bottom: 1px solid var(--color-gray-aaa);
  }

  &-actions {
    display: flex;
    align-items: center;
    margin-right: 2px;
    font-weight: 400;
  }

  &-toggle-toolbar {
    display: inline-block;
    margin-right: 10px;
  }

  &-container {
    overflow: auto;
    box-sizing: border-box;
    max-height: calc(90vh - 42px);
    padding: 0 20px;
  }

  &-save-state {
    padding-right: 10px;
    font-size: 14px;
    color: var(--color-gray-aaa);
  }
}

.notepad__backdrop {
  position: fixed;
  top: 0;
  right: 0;

  width: 100vw;
  height: 100vh;

  background-color: rgb(34 34 34 / 25.3%);
}

::ng-deep {
  .notepad-screen .tox-editor-header {
    display: none;
  }

  .notepad-container.toolbar-active {
    padding-top: 39px;

    .notepad-screen .tox-editor-header {
      display: block;
    }
  }
}
