@use '../variables.scss' as vars;

button {
  @include vars.button;
  @include vars.bordersRound;

  display: flex;
  align-items: center;
  height: 32px;
  border-radius: 1px;

  app-cmf-doodle-icon,
  app-cmf-icon {
    display: flex;
  }

  &.text-icon {
    padding: 0 10px;
  }

  &:disabled {
    color: var(--theme-hack-color, #a5adbb);
  }

  &.active {
    background-color: vars.$activeBtnColor;
  }

  .mr-5 {
    margin-right: 5px;
  }

  .ml-5 {
    margin-left: 5px;
  }

  &.close-panel {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;

    justify-content: flex-end;

    background-color: white;

    &:hover {
      border-color: transparent;
    }
  }

  .text {
    white-space: nowrap;
  }
}