.window {
  display: flex;
  height: 100%;
}

.object-details {
  z-index: 99999;
  width: 540px;
  height: 100%;
  box-shadow: 2px 0 1px #00000014;
}

::ng-deep .cmf-deal-wrapper {
  .mat-select-value {
    max-width: 100%;
  }
}

.menu-select-item {
  cursor: pointer;
  height: 3em;
  padding: 0 10px;
  line-height: 3em;
}

.comment-channel-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  min-width: 10%;
  height: 100%;
  margin-right: 0;
  margin-left: 10px;
  padding: 21px 30px;
  padding-right: 42px;

  font-size: 20px;
  color: var(--color-gray-222);
  white-space: nowrap;

  span {
    white-space: pre;
  }

  .comment-channel {
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 100px;
    padding-left: 10px;
  }

  .toolbar-item-select {
    cursor: pointer;
    position: relative;
    top: 3px;
  }
}

.work-space {
  width: calc(100% - 480px);

  .body-space {
    height: calc(80vh - 91px);
  }

  .toolbar {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    margin-bottom: 15px;

    color: #5f5f5f;

    background-color: var(--app-bg-color-l3);
    border-bottom: 1px solid rgb(0 0 0 / 8%);

    .current-deal {
      margin-top: 10px;
      margin-right: 10px;
      font-weight: 600;
    }

    .toolbar-item {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      box-sizing: border-box;
      min-width: 10%;
      height: 100%;
      margin-right: 0;
      padding: 21px 42px;

      font-size: 20px;
      color: var(--color-gray-222);
      letter-spacing: 1px;
      white-space: nowrap;
    }

    .search-icon {
      margin-top: 12px;
    }

    .filter-wrapper {
      position: relative;

      margin-top: 10px;
      margin-right: 20px;

      font-size: 16px;
      color: #a1a1a1;

      .filter {
        display: flex;
        align-items: center;

        .icon {
          margin-top: 4px;
          margin-right: 5px;
        }
      }

      .filter-options {
        position: absolute;
        z-index: 10001;
        left: 0;

        display: flex;
        flex-direction: column;

        padding: 10px 20px;

        color: var(--color-gray-222);
        text-align: left;

        background-color: var(--color-gray-fff);
        box-shadow: 0 1px 3px 0 #a1a1a1;
      }

      .filter-options-inner {
        overflow: hidden auto;
        max-height: 40vh;
        padding-bottom: 5px;

        .mat-checkbox {
          display: block;
        }
      }

      .confirm-selection {
        margin-top: 10px;
        text-align: right;
      }
    }

    .menu-body {
      // box-shadow: 2px 0px 1px #00000026;
      position: relative;
      z-index: 10000;
      height: calc(90vh - 60px);
    }

    .filter-options {
      position: absolute;
      z-index: 10;
      left: 0;

      display: flex;
      flex-direction: column;

      padding: 10px 20px;

      color: var(--color-gray-222);
      text-align: left;

      background-color: var(--color-gray-fff);
      box-shadow: 0 1px 3px 0 #a1a1a1;
    }

    .filter-options-inner {
      overflow: hidden auto;
      max-height: 40vh;
      padding-bottom: 5px;
    }

    .confirm-selection {
      margin-top: 10px;
      text-align: right;
    }
  }
}

.menu-body {
  position: relative;
  z-index: 10000;
  height: 90vh;
}
