.zl-large-screen-component {
  z-index: 1020;
  position: relative;
  height: 100%;
  background: var(--color-component-bg);
  transition: all .25s ease-in-out;

  .zl-large-screen-component-loading {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 100%;
    background: transparent;

    justify-content: center;
    align-items: center;
  }

  .zl-large-screen-component-wrap {
    position: relative;
    width: 260px;
    height: 100%;
    padding: 18px var(--spacing20) 0;
    border-right: 1px solid var(--color-stories-border);
    border-bottom: 1px solid var(--color-stories-border);
  }

  .zl-large-screen-component-wrap::-webkit-scrollbar {
    display: none;
  }

  .zl-component-com-siler-close {
    width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    transform: translateX(-265px);
    transition: all .25s ease-in-out;

    flex: 0 0;
  }

  .zl-large-screen-component-tabs {
    width: 100%;

    .zl-large-screen-component-tabs-wrapper {
      display: flex;
      width: 100%;
      height: 32px;
      border: 1px solid var(--color-tab-boder);
      border-radius: var(--border-radius-4);
      background: var(--color-stories-tabs-bg);

      .zl-large-screen-component-tabs-item {
        display: flex;
        height: 100%;
        cursor: pointer;

        justify-content: center;
        align-items: center;
        flex: 1 1;

        .zl-large-screen-component-tabs-item-small {
          display: inline-block;
          width: 102px;
          height: 24px;
          line-height: 24px;
          text-align: center;
          background: var(--color-stories-tabs-bg);
          color: var(--color-component-select-font-color);
          font-weight: var(--font-weight-400);
          font-size: var(--font-size-12);
        }

        .zl-large-screen-tas-active {
          background: var(--color-tab-active-bg);
          color: var(--color-select-wrap-font-color);
          font-weight: var(--font-weight-600);
        }
      }
    }

    .zl-large-screen-component-tabs-wrapper :first-child {
      border-top-left-radius: var(--border-radius-2);
      border-bottom-left-radius: var(--border-radius-2);
    }

    .zl-large-screen-component-tabs-wrapper :last-child {
      border-top-right-radius: var(--border-radius-2);
      border-bottom-right-radius: var(--border-radius-2);
    }
  }

  .zl-large-screen-component-search {
    display: flex;
    width: 100%;
    height: 28px;

    justify-content: space-between;
    align-items: center;

    .zl-ls-ant-input-affix-wrapper {
      position: relative;
      width: 100%;

      .zl-ls-ant-input-prefix {
        z-index: 99;
        position: absolute;
        top: 0;
        left: 13px;

        svg {
          color: var(--color-component-select-font-color);
        }
      }
    }

    .zl-large-screen-component-input {
      position: relative;
      width: 100%;
      height: 100%;

      .zl-large-screen-no-value {
        position: absolute;
        top: 8px;
        right: 5px;
        color: rgba(0, 0, 0, .25);
      }
    }

    .zl-ls-ant-input {
      height: 28px;
      padding: 6px 0 6px 27px;
      border: 1px solid var(--color-component-border);
      background: var(--color-content-bg);
      color: var(--color-component-select-font-color);
      font-size: var(--font-size-12);
    }

    .zl-large-screen-component-search-icon {
      width: 16px;
      height: 16px;
      margin-left: 15px;
      color: var(--color-title-icon);
      cursor: pointer;

      &:hover {
        color: var(--color-main);
      }
    }
  }

  .zl-large-screen-component-filtr {
    display: flex;
    width: 100%;
    height: 28px;

    justify-content: space-between;
    align-items: center;

    .zl-large-screen-component-filtr-all {
      display: inline-block;
      line-height: 17px;
      color: var(--color-main);
      font-weight: var(--font-weight-400);
      font-size: 12px;
      cursor: pointer;

      &:hover {
        color: var(--color-zindex-hover-color);
      }
    }

    .zl-large-screen-component-filtr-span {
      display: inline-block;
      line-height: 17px;
      color: var(--color-font);
      font-weight: var(500);
      font-size: var(--font-size-12);
    }

    .zl-large-screen-filter-icon {
      width: 10px;
      height: 10px;
      margin-left: 5px;
      cursor: pointer;
    }
  }

  .zl-large-screen-component-upload {
    width: 100%;
    height: 28px;
    cursor: pointer;

    .zl-large-screen-component-btn {
      display: flex;
      width: 100%;
      height: 100%;
      border-radius: 4px;
      background: var(--color-update-btn);
      color: var(--color-title-wrap);
      font-size: var(--font-size-12);

      align-items: center;
      justify-content: center;

      &:hover {
        background: var(--color-update-btn-hover);
      }
    }
  }

  .zl-large-screen-component-text {
    width: 100%;
    height: 32px;
    margin-bottom: var(--padding);
    border: 1px solid #f0f0f1;
    border-radius: 4px;
    line-height: 30px;
    background: #f8f9fa;
    cursor: pointer;

    span {
      display: inline-block;
      width: 100%;
      height: 100%;
      padding-left: 12px;
    }
  }

  .zl-ls-ant-upload {
    width: 100%;
    height: 100%;
  }

  .zl-ls-ant-tree .zl-ls-ant-tree-node-content-wrapper.zl-ls-ant-tree-node-selected {
    background: transparent;
  }

  .zl-large-screen-component-select {
    display: flex;
    height: 30px;

    justify-content: center;
    align-items: center;

    .zl-ls-ant-select {
      width: 100%;
      height: 30px;

// border: 1px solid var(--color-component-input-border);
      font-size: var(--font-size-12);


      .zl-ls-ant-select-item-option-selected:not(.zl-ls-ant-select-item-option-disabled) {
        background: var(--color-stroies-page-btn);
        color: var(--color-select-active-font);
      }
    }

    .zl-ls-ant-select-item-option-active:not(.zl-ls-ant-select-item-option-disabled) {
      background: var(--color-stroies-page-bg);
    }

    .zl-ls-ant-select-item {
      color: var(--color-title-wrap);
      font-size: var(--font-size-12);
    }

    .zl-ls-ant-select-selector {
      height: 28px;
      padding: 0 var(--spacing);
    }

    .zl-ls-ant-select-single .zl-ls-ant-select-selector .zl-ls-ant-select-selection-item
    , .zl-ls-ant-select-single .zl-ls-ant-select-selector .zl-ls-ant-select-selection-placeholder {
      line-height: 28px;
    }

    .zl-large-screen-select-no-data {
      display: inline-block;
      width: 100%;
      text-align: center;
    }

    .zl-large-screen-component-search-icon {
      width: 16px;
      height: 16px;
      margin-left: 15px;
      color: var(--color-component-select-icon);
      cursor: pointer;

      &:hover {
        color: var(--color-main);
      }
    }
  }

  .zl-large-screen-component-tree {
    overflow-y: auto;
    width: 100%;

    // height: calc(100vh - 143px);

    &::-webkit-scrollbar {
      display: none;
    }

    .zl-ls-ant-tree-switcher {
      width: 0;
      line-height: 40px;
    }

    .zl-ls-ant-tree {
      background: var(--color-component-bg);
      color: var(--color-component-select-font-color);

      .zl-ls-ant-tree-treenode {
        height: 32px;
        line-height: 32px;
      }

      .zl-ls-ant-tree-node-content-wrapper {
        height: 32px;
        line-height: 32px;

        .zl-ls-ant-tree-title {
          overflow: hidden;
          display: inline-block;
          width: calc(100% - 48px);
          height: 32px;
          line-height: 32px;
          text-align: left;
          color: var(--color-component-select-font-color);
          font-size: var(--font-size-12);
          white-space: nowrap;
          text-overflow: ellipsis;

          flex: 1;
        }

        &:hover {
          background-color: var(--color-stroies-page-bg);
        }
      }

      //
      .zl-chart-name {
        overflow: hidden;
        display: inline-block;
        width: 100%;
        height: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .zl-ls-ant-tree-node-content-wrapper {
        overflow: hidden;
        display: inline-flex;
      }

      .zl-ls-ant-tree-iconEle {
        line-height: 32px;

        svg {
          margin-top: 8px;
        }
      }
    }

    .zl-ls-ant-tree-switcher {
      height: 32px;
      line-height: 32px;
    }
  }

  .zl-large-screen-component-collapse {
    overflow-y: auto;
    width: 100%;

    .zl-large-screen-collapse-no-data {
      display: flex;
      width: 100%;
      height: 100%;

      justify-content: center;
    }

    &::-webkit-scrollbar {
      display: none;
    }

    .zl-ls-ant-collapse-borderless {
      background-color: var(--color-content-bg);

      .zl-ls-ant-collapse-item {
        border: none;

        .zl-ls-ant-collapse-header {
          margin-bottom: 12px;
          padding: 0;
          color: var(--color-title-icon);
          font-size: var(--font-size-12);

          span {
            color: var(--color-stroies-collapse-header);

            svg {
              width: 12px;
              height: 12px;
            }
          }

          .zl-ls-ant-collapse-arrow {
            margin-right: 7px;
          }
        }
      }
    }
  }

  .zl-large-screen-component-collapse-item {
    border: 1px solid var(--color-compoent-card-boder);
    border-radius: 4px;
    cursor: pointer;

    &:hover {
      border: 1px solid var(--color-main) !important;
    }
  }

  .zl-large-screen-card-title {
    overflow: hidden;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .zl-large-screen-card-active {
    border: 1px solid var(--color-main) !important;
  }

  .zl-ls-ant-collapse-borderless > .zl-ls-ant-collapse-item > .zl-ls-ant-collapse-content > .zl-ls-ant-collapse-content-box {
    padding: 4px 0;
    padding-top: 4px;
  }

  .zl-large-screen-component-card {
    overflow: auto;
    width: 100%;

    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }

    // height: calc(100vh - 143px);

    .zl-large-screen-component-loading-card {
      display: flex;
      width: 100%;

// height: 100%;

      justify-content: center;
    }

    .zl-large-screen-component-content {
      width: 100%;
      height: 100%;
    }

    .zl-large-screen-component-card-item {
      width: 100%;

      // height: 100%;

      .zl-icon {
        width: 12px;
        height: 12px;
        margin-right: 3px;
        color: var(--color-stroies-tabs-bg);
      }

      .zl-large-screen-component-card-item-title {
        display: flex;
        width: 100%;
        margin-bottom: 8px;
        line-height: 16px;
        color: var(--color-moveable-control);
        font-size: var(--font-size-12);

        align-items: center;
      }

      .zl-large-screen-component-card-items {
        overflow-y: auto;
        width: 100%;
        height: 100%;

        &::-webkit-scrollbar {
          display: none;
        }
      }
    }
  }

  .zl-large-screen-component-no-data {
    display: flex;
    width: 100%;
    height: 100%;

    justify-content: center;
    align-items: center;

    span {
      color: var(--color-title-wrap);
    }
  }

  .zl-large-screen-component-button {
    width: 100%;
    height: 16px;

    span {
      display: flex;
      line-height: 16px;
      color: var(--color-moveable-control);
      font-weight: var(--font-weight-400);
      font-size: var(--font-size-12);
      cursor: pointer;

      align-items: center;
    }

    .zl-icon {
      margin-right: 3px;
      color: var(--color-stroies-tabs-bg);
      cursor: pointer;
    }
  }
}

.zl-large-screen-component-filtr-select {
  .zl-large-screen-component-filtr-item-wrap {
    display: flex;
    margin-bottom: 10px;

    justify-items: center;
    align-items: center;

    .zl-large-screen-component-filtr-item {
      display: inline-block;
      margin-left: 26px;
      padding: 3px 15px;
      border-radius: 5px;
      cursor: pointer;
    }

    .zl-large-screen-component-filtr-item-active {
      background: #d9d9d9;
    }
  }

  .zl-ls-ant-popover-arrow {
    display: none;
  }
}

.zl-large-screen-component-tree-popover {
  z-index: 1060;

  .zl-ls-ant-popover-inner-content {
    width: 220px;
    height: 130px;
    padding: 0;
  }

  .zl-ls-ant-popover-arrow {
    display: none;
  }
}

.zl-large-screen-tree-thumbnail {
  width: 220px;
  height: 130px;
  padding: 8px;

  .zl-large-screen-tree-thumbnail-wrap {
    width: 204px;
    height: 114px;
    background: var(--color-white);

    img {
      width: 100%;

      aspect-ratio: 16 / 9;
      object-fit: contain;
    }
  }
}

.zl-large-screen-select-img {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  margin-bottom: 4px;
}

.zl-ls-ant-select:not(.zl-ls-ant-select-customize-input) .zl-ls-ant-select-selector {
  border-color: transparent;
  background-color: var(--color-component-select);
  color: var(--color-component-select-font-color);
}

.zl-large-screen-component-select-wrap {
  background-color: var(--color-component-select-menu);
}

.zl-ls-ant-dropdown-menu-item {
  &:hover {
    background: var(--color-box-menu-hover);
  }
}

.zl-ls-ant-dropdown-menu {
  background: var(--color-component-select-menu);
  color: var(--color-component-select-font-color);
}

.zl-large-screen-component-filtr-dropdown {
  width: 92px;
  height: 68px;

  .zl-ls-ant-dropdown-menu-item-selected
  , .zl-ls-ant-dropdown-menu-submenu-title-selected {
    background-color: var(--color-stroies-page-btn);
    color: var(--color-select-active-font);
  }

  li {
    color: var(--color-font);
    font-size: var(--font-size-12);
  }
}

html[theme='light'] .zl-large-screen-component-wrap {
  border-top: 1px solid var(--color-stories-border);
}
