.tui-grid {
  &-layer-state {
    z-index: 5 !important;
  }

  // &-layer-selection {
  //   width: calc(100% - 2px) !important;
  // }

  &-container {
    width: 100%;
    border-radius: 10px;

    .tui-select-box-input {
      p {
        font-size: 14px;
        font-family: inherit
      }
    }

  }

  &-content-area {
    width: 100%;
    border: 0 !important;
  }

  &-lside-area .tui-grid-scrollbar-left-bottom {
    display: none;
  }

  &-no-scroll-y {
    .tui-grid-rside-area {

      .tui-grid-header-area,
      .tui-grid-summary-area {
        margin-right: 0 !important;
      }
    }
  }

  &-rside-area {

    .tui-grid-header-area,
    .tui-grid-summary-area {
      margin-right: $scrollbar-width !important;
    }
  }

  &-border-line-top,
  &-border-line-bottom {
    border: 0 !important;
  }

  &-cell {
    border-width: 1px !important;
  }

  &-cell-header {
    border-top: 0;
    font-weight: 400;
  }

  &-cell-header,
  &-cell-content,
  &-cell.tui-grid-cell-summary {
    // font-family: "Spoqa Han Sans Neo";
    font-size: 0.875rem;
    line-height: 1.25rem;
    letter-spacing: 0.0178571429em;
  }

  &-cell-content {
    font-weight: 400;
  }


  th[data-column-name="_checked"] {
    padding-left: 0;
  }



}

.tui-grid-table {

  .tui-grid-cell-header,
  .tui-grid-cell-has-input .tui-grid-cell-content {
    padding: 8px;
  }

  th[data-column-name="_checked"] {
    &.tui-grid-cell-header {
      padding-left: 0;
    }

  }

  .tui-grid-cell {
    input[type=checkbox] {
      margin-top: 8px;
      appearance: none;
      -webkit-appearance: none;
      width: 16px;
      height: 16px;
      border: 1px solid;
      border-radius: 2px;
      cursor: pointer;
      position: relative;

      &:checked {
        &::after {
          content: "";
          position: absolute;
          left: 5px;
          top: 1px;
          width: 5px;
          height: 9px;
          border: solid;
          border-width: 0 2px 2px 0;
          transform: rotate(45deg);
        }
      }
    }
  }
}

.tui-grid-layer-editing {
  input[type=checkbox] {
    margin-top: 8px;
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid;
    border-radius: 2px;
    cursor: pointer;
    position: relative;

    &:checked {
      &::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 1px;
        width: 5px;
        height: 9px;
        border: solid;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
      }
    }
  }
}

.tui-grid-editor-select-box-layer {
  min-width: 116px !important;

  .tui-select-box-input {
    border-radius: 6px;

    .tui-select-box-icon {
      width: 14px;
      height: 14px;

      background-repeat: no-repeat;
      background-size: contain;
      margin-top: -20px;
    }
  }

  .tui-select-box-dropdown {
    margin-top: 1px;
    border-radius: 4px;
    padding: 4px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);


    .tui-select-box-item {
      font-size: 14px;
      margin-bottom: 4px;
      position: relative;

      &:before {
        bottom: 0;
        content: '';
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0
      }

      &:hover {
        &::before {
          opacity: 0.04
        }
      }

    }
  }
}

.treeGrid {
  .tui-grid {
    &-header-area {
      display: none;
    }

    &-cell {
      border: 0;
      background-color: transparent;
    }
  }
}

.tui-grid-scrollbar-right-top {
  z-index: 5;
}

@each $theme in dark, light {
  @include theme($theme);

  .v-application.#{$theme}-mode {
    .tui-grid-content-area {
      .tui-grid-header-area {
        height: auto !important;
      }
    }

    .grid-title {
      font-weight: 600;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0;
      color: map-deep-get($config,
        #{$theme},
        "tui-grid-title-color"
      );
    }

    .grid-toggle-section {
      .tui-grid-rside-area {
        .tui-grid-body-area {
          height: auto !important;

        }
      }
    }

    .tui-grid {
      &-table {
        border: 1px solid;
        border-color: map-deep-get($config,
          #{$theme},
          "scrollbar-track"
        );

        .tui-grid-cell {
          border-color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-borderColor-darkmode"
          );
          border-style: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-borderStyle-darkmode"
          );

          input[type=checkbox] {
            border-color: map-deep-get($config,
              #{$theme},
              "ant-checkbox-border"
            );
            background: map-deep-get($config,
              #{$theme},
              "ant-checkbox-bg"
            );

            &:checked {
              background-color: map-deep-get($config,
                #{$theme},
                "ant-btn-primary-bg"
              );
              border-color: map-deep-get($config,
                #{$theme},
                "ant-btn-primary-bg"
              );

              &::after {
                border-color: map-deep-get($config,
                  #{$theme},
                  "ant-checkbox-bg"
                );
              }
            }
          }
        }
      }

      &-border-line-right {
        opacity: 0;
      }

      &-body-container {
        border-right: 0;
        // position: relative;
        width: auto !important;

        .tui-grid-table-container {

          // width: 100% !important;
          .tui-grid-table {
            // width: 100% !important;
            // table-layout: fixed;
            // th, td {
            //   &:last-child{
            //     width: auto !important;
            //   }
            // }
          }
        }

        .tui-grid-layer-editing {
          border-color: map-deep-get($config,
            #{$theme},
            "tui-grid-border-vertical-color"
          );
        }
      }

      &-summary-area,
      &-container {
        font-family: Inter;

        .tui-grid-cell {
          &.tui-grid-cell-summary {
            color: map-deep-get($config,
              #{$theme},
              "tui-grid-cell-color"
            );
          }
        }
      }

      &-body-area {
        overflow: auto;

        &::-webkit-scrollbar {
          width: $scrollbar-width !important;
          height: $scrollbar-width !important;
          -webkit-appearance: initial;
          background-color: rgba(0, 0, 0, 0) !important;
          border-radius: 3px !important;
          // border-right: 1px solid;
          // border-right-color: map-deep-get($config, #{$theme}, "tui-grid-cell-borderColor");
        }

        &::-webkit-scrollbar-track {
          background-color: rgba(0, 0, 0, 0) !important;
        }

        &::-webkit-scrollbar-thumb {
          height: 50px !important;
          background-color: map-deep-get($config, #{$theme}, "scrollbar-thumb");
          border-radius: 3px;
          // width: 50px !important;
          // background-color: rgba(0, 0, 0, 0);
        }
      }

      &-rside-area {
        background-color: map-deep-get($config, #{$theme}, "scrollbar-track");
      }

      &-scrollbar-left-bottom {
        background-color: map-deep-get($config, #{$theme}, "cardBackground");
        border-color: map-deep-get($config, #{$theme}, "cardBackground");
      }

      &-scrollbar-right-top {
        background-color: rgba(0, 0, 0, 0);
        border: none;
        display: none;
        // background-color: map-deep-get(
        //   $config,
        //   #{$theme},
        //   "tui-grid-header-backgroundColor"
        // );
        // border-left-color: map-deep-get(
        //   $config,
        //   #{$theme},
        //   "tui-grid-border-horziontal-color"
        // );
        // border-right-color: map-deep-get(
        //   $config,
        //   #{$theme},
        //   "tui-grid-border-horziontal-color"
        // );
        // border-bottom-color: map-deep-get(
        //   $config,
        //   #{$theme},
        //   "tui-grid-border-vertical-color"
        // );
      }

      &-scrollbar-right-bottom {
        width: $scrollbar-width !important;
        height: $scrollbar-width !important;
        border-color: map-deep-get($config, #{$theme}, "cardBackground");
        background-color: map-deep-get($config, #{$theme}, "cardBackground");
        box-sizing: border-box;
        // display: none !important;
        // border: none !important;
        // bottom: -1px;
        // right: -2px;
        // display: none;
      }

      &-scrollbar-frozen-border,
      &-scrollbar-y-outer-border,
      &-scrollbar-y-inner-border {
        background-color: transparent !important;
        border-color: transparent !important;
      }

      &-body-area,
      &-container,
      &-layer-state,
      &-summary-area,
      &-cell {
        background-color: map-deep-get($config,
          #{$theme},
          "tui-grid-cell-backgroundColor"
        );
        border-color: map-deep-get($config,
          #{$theme},
          "tui-grid-border-vertical-color"
        );

        // &-current-row{
        // }
        td.row-selected {
          .custom-radio {
            background-color: map-deep-get($config,
              #{$theme},
              "ant-btn-primary-color"
            );

            .radio-mark {
              border-color: map-deep-get($config,
                #{$theme},
                "arow-line-color"
              );
              background-color: map-deep-get($config,
                #{$theme},
                "arow-line-btn-bg-color"
              );

              &::after {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                height: 8px;
                width: 8px;
                border-radius: 50%;
                background-color: map-deep-get($config,
                  #{$theme},
                  "arow-line-color"
                );
              }
            }
          }
        }

        .tui-grid-cell-content {

          input[type='text'],
          input[type='password'] {
            border-color: map-deep-get($config,
              #{$theme},
              "v-input-fieldset-color"
            );
            background: map-deep-get($config,
              #{$theme},
              "v-input-backgroundColor"
            );
            border-radius: 4px;
            color: map-deep-get($config,
              #{$theme},
              "tui-grid-cell-color"
            );
          }

          &.tui-grid-layer-editing {
            background: transparent;
            // background:map-deep-get($config,
            //   #{$theme},
            //   "tui-grid-cell-insert-color"
            // );
          }

          span {
            &.custom-link {
              color: map-deep-get($config,
                #{$theme},
                "router-tab-item-active-color"
              );
            }
          }
        }
      }

      &-cell {
        &:last-child {
          padding-right: 1px;
          border-right: 1px solid;
          border-right-color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-borderColor"
          );
          // .tui-grid-cell-content {
          //   border-right: 1px solid ;
          //   border-right-color: map-deep-get($config,
          //     #{$theme},
          //     "tui-grid-cell-borderColor"
          //   );
          // }
        }
      }

      &-cell-summary {
        text-align: center;
      }

      &-header-area,
      &-cell-header {
        // font-family: inherit;
        // font-style: Semi Bold;
        font-weight: 600;
        background-color: map-deep-get($config,
          #{$theme},
          "tui-grid-header-backgroundColor"
        );
        border-color: map-deep-get($config,
          #{$theme},
          "tui-grid-border-vertical-color"
        );
        color: map-deep-get($config,
          #{$theme},
          "tui-grid-header-color"
        );

      }

      &-header-area {
        // background-color: none;
        border: none;
        // margin-right: 0 !important;
        background-color: map-deep-get($config,
          #{$theme},
          "tui-grid-cell-backgroundColor"
        );
        // width: 100% !important;
        // .tui-grid-table {
        //   width: 100% !important;
        // }
      }

      &-row-odd,
      &-row-even {
        .tui-grid-cell-content {
          color: map-deep-get($config, #{$theme}, "tui-grid-cell-color");
        }

        &:hover {
          >.tui-grid-cell {
            background-color: map-deep-get($config,
              #{$theme},
              "tui-grid-cell-hover-backgroundColor"
            );

            .tui-grid-cell-content {
              color: map-deep-get($config, #{$theme}, "activate");
            }
          }
        }

      }

      &-cell {
        &.row-insert {
          background-color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-insert-color"
          ) !important;
        }

        &.row-modify {
          background-color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-modify-color"
          ) !important;
        }

        &.row-removed {
          background-color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-removed-color"
          );
        }

        &.row-disabled {
          color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-disabled-color"
          );

          .tui-grid-cell-content {
            color: map-deep-get($config, #{$theme}, "tui-grid-cell-disabled-color");
          }
        }

        &.row-selected {
          background-color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-selected-color"
          );

          .tui-grid-cell-content {
            color: map-deep-get($config, #{$theme}, "activate");
          }
        }
      }

      &-layer-focus-border {
        background-color: transparent;
      }

      &-cell-has-tree {
        .tui-grid-cell-content {
          padding: 0 !important;
        }
      }

      &-tree-extra-content {
        display: flex;
        align-items: center;
        position: relative;

        .tui-grid-tree-depth {
          width: 16px;
          height: 16px;
          position: relative;
          left: 0 !important;
          margin-right: 6px;
        }

      }

      &-btn-tree {
        width: 16px;
        height: 16px;
        margin-top: 0;
        padding-left: 0;
        margin-right: 6px;
        top: 0;
        left: 0 !important;

        i {
          margin-top: 0;
        }
      }

      &-tree-icon {
        margin-top: 0;
        top: 0;

        i {
          width: 16px;
          height: 16px;
          margin-left: 0;
          background-repeat: no-repeat;
          background-position: 0 0;

          @if $theme ==dark {
            background-image: url("data:image/svg+xml,%3Csvg id='ico_tree_item' xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E .cls-1, .cls-4 %7B fill: none; %7D .cls-1 %7B stroke: %23fff; opacity: 0.3; %7D .cls-2 %7B fill: %23fff; %7D .cls-3 %7B stroke: none; %7D %3C/style%3E%3C/defs%3E%3Cg id='사각형_703' data-name='사각형 703' class='cls-1'%3E%3Crect class='cls-3' width='16' height='16' rx='3'/%3E%3Crect class='cls-4' x='0.5' y='0.5' width='15' height='15' rx='2.5'/%3E%3C/g%3E%3Crect id='사각형_1384' data-name='사각형 1384' class='cls-2' width='8' height='1' rx='0.5' transform='translate(4 4.5)'/%3E%3Crect id='사각형_1386' data-name='사각형 1386' class='cls-2' width='8' height='1' rx='0.5' transform='translate(4 7.5)'/%3E%3Crect id='사각형_1387' data-name='사각형 1387' class='cls-2' width='8' height='1' rx='0.5' transform='translate(4 10.5)'/%3E%3C/svg%3E%0A");
          }

          @else {
            background-image: url("data:image/svg+xml,%3Csvg id='ico_tree_item' xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cdefs%3E%3Cstyle%3E .cls-2%7Bfill:%23a4aac3%7D %3C/style%3E%3C/defs%3E%3Cg id='사각형_703' data-name='사각형 703' style='stroke:%23a4aac3;fill:none'%3E%3Crect width='16' height='16' rx='3' style='stroke:none'/%3E%3Crect x='.5' y='.5' width='15' height='15' rx='2.5' style='fill:none'/%3E%3C/g%3E%3Crect id='사각형_1384' data-name='사각형 1384' class='cls-2' width='8' height='1' rx='.5' transform='translate(4 4.5)'/%3E%3Crect id='사각형_1386' data-name='사각형 1386' class='cls-2' width='8' height='1' rx='.5' transform='translate(4 7.5)'/%3E%3Crect id='사각형_1387' data-name='사각형 1387' class='cls-2' width='8' height='1' rx='.5' transform='translate(4 10.5)'/%3E%3C/svg%3E%0A");
          }
        }
      }

      &-tree-button-expand {
        z-index: 7;

        .tui-grid-btn-tree {
          i {
            width: 16px;
            height: 16px;
            background-position: 0 0;

            @if $theme ==dark {
              background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22%23212224%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M12.5998%208H2.99979%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.85%22/%3E%3C/svg%3E");
            }

            @else {
              background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M12.5997%208H2.99973%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.88%22/%3E%3C/svg%3E");
            }
          }
        }
      }

      &-tree-button-collapse {
        z-index: 7;

        .tui-grid-btn-tree {
          i {
            width: 16px;
            height: 16px;
            background-position: 0 0;

            @if $theme ==dark {
              background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22%23212224%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M7.7998%203.00073V12.6007%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.85%22/%3E%3Cpath%20d%3D%22M12.5999%207.80078L2.99985%207.80078%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.85%22/%3E%3C/svg%3E");
            }

            @else {
              background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%224%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2215%22%20height%3D%2215%22%20rx%3D%223.5%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.06%22/%3E%3Cpath%20d%3D%22M7.7998%203.00073V12.6007%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.88%22/%3E%3Cpath%20d%3D%22M12.5997%207.80078L2.99973%207.80078%22%20stroke%3D%22black%22%20stroke-opacity%3D%220.88%22/%3E%3C/svg%3E");
            }
          }
        }
      }

      &-tree-button-expand,
      &-tree-button-collapse {
        .tui-grid-tree-icon {
          display: none;
        }
      }

      &-frozen-border {
        background-color: transparent;
      }

      &-layer-editing {
        input[type=checkbox] {
          border-color: map-deep-get($config,
            #{$theme},
            "ant-checkbox-border"
          );
          background: map-deep-get($config,
            #{$theme},
            "ant-checkbox-bg"
          );

          &:checked {
            background-color: map-deep-get($config,
              #{$theme},
              "ant-btn-primary-bg"
            );
            border-color: map-deep-get($config,
              #{$theme},
              "ant-btn-primary-bg"
            );

            &::after {
              border-color: map-deep-get($config,
                #{$theme},
                "ant-checkbox-bg"
              );
            }
          }
        }

        select {
          &.selectbox {
            background: map-deep-get($config,
              #{$theme},
              "tui-grid-cell-backgroundColor"
            );
            border-color:map-deep-get($config,
              #{$theme},
              "v-input-fieldset-color"
            );
            color: map-deep-get($config,
              #{$theme},
              "tui-grid-cell-color"
            );

            .calendarOption {
              background: map-deep-get($config,
                #{$theme},
                "tui-grid-cell-backgroundColor"
              );
              border-color:map-deep-get($config,
                #{$theme},
                "v-input-fieldset-color"
              );
              color: map-deep-get($config,
                #{$theme},
                "tui-grid-cell-color"
              );

              &:hover {
                background: #d9d9d9;
                color: map-deep-get($config,
                  #{$theme},
                  "tui-grid-cell-color"
                );
              }

              &:checked {
                background: #E6F4FF;
                color: map-deep-get($config,
                  #{$theme},
                  "tui-grid-cell-color"
                );
              }
            }
          }
        }

      }
    }

    .tui-grid-editor-select-box-layer {

      .tui-select-box-input {
        background: map-deep-get($config,
          #{$theme},
          "tui-grid-cell-backgroundColor"
        );
        border-color:map-deep-get($config,
          #{$theme},
          "v-input-fieldset-color"
        );
        color: map-deep-get($config,
          #{$theme},
          "tui-grid-cell-color"
        );

        .tui-select-box-icon {

          @if $theme ==dark {
            background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2217%22%20height%3D%2216%22%20viewBox%3D%220%200%2017%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20fill%3D%22rgba(255%2C%20255%2C%20255%2C%200.45)%22%20d%3D%22M1.90728%203.65546L8.20371%2012.3358C8.43228%2012.6501%208.90014%2012.6501%209.12692%2012.3358L15.4251%203.65546C15.4406%203.63411%2015.4499%203.60889%2015.452%203.58259C15.454%203.55628%2015.4487%203.52993%2015.4367%203.50644C15.4247%203.48296%2015.4064%203.46326%2015.3839%203.44954C15.3613%203.43581%2015.3354%203.42859%2015.3091%203.42868H13.9698C13.8787%203.42868%2013.793%203.47332%2013.7394%203.54653L8.66621%2010.5394L3.593%203.54653C3.53942%203.47332%203.45371%203.42868%203.36264%203.42868H2.02335C1.90728%203.42868%201.83943%203.56082%201.90728%203.65546Z%22/%3E%3C/svg%3E");
          }

          @else {
            background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2217%22%20height%3D%2216%22%20viewBox%3D%220%200%2017%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20fill%3D%22rgba(0%2C%200%2C%200%2C%200.45)%22%20d%3D%22M1.90728%203.65546L8.20371%2012.3358C8.43228%2012.6501%208.90014%2012.6501%209.12692%2012.3358L15.4251%203.65546C15.4406%203.63411%2015.4499%203.60889%2015.452%203.58259C15.454%203.55628%2015.4487%203.52993%2015.4367%203.50644C15.4247%203.48296%2015.4064%203.46326%2015.3839%203.44954C15.3613%203.43581%2015.3354%203.42859%2015.3091%203.42868H13.9698C13.8787%203.42868%2013.793%203.47332%2013.7394%203.54653L8.66621%2010.5394L3.593%203.54653C3.53942%203.47332%203.45371%203.42868%203.36264%203.42868H2.02335C1.90728%203.42868%201.83943%203.56082%201.90728%203.65546Z%22/%3E%3C/svg%3E");
          }
        }

      }

      .tui-select-box-dropdown {
        background-color: map-deep-get($config,
          #{$theme},
          "tui-datepicker-backgroundColor"
        );
        border: 1px solid map-deep-get($config, #{$theme}, "tui-datepicker-border-color");
        color: map-deep-get($config, #{$theme}, "tui-datepicker-calendar-color");

        .tui-select-box-item {

          color: map-deep-get($config, #{$theme}, "tui-datepicker-calendar-color");

          &:before {
            opacity: map-deep-get($config,
              #{$theme},
              "selected-bg-opacity"
            );
          }
        }


        .tui-select-box-highlight {
          background: none !important;

          &:before {
            background: map-deep-get($config,
              #{$theme},
              "tui-grid-cell-color"
            );
            opacity: map-deep-get($config,
              #{$theme},
              "highlighted-bg-opacity"
            );
          }

        }

        .tui-select-box-selected {
          background: map-deep-get($config,
            #{$theme},
            "v-treeview-node-label-active-bg"
          );
          color: map-deep-get($config,
            #{$theme},
            "tui-grid-cell-color"
          );

          &:before {
            // opacity: map-deep-get($config,
            //   #{$theme},
            //   "selected-bg-opacity"
            // );
            background: map-deep-get($config,
              #{$theme},
              "ant-btn-primary-bg"
            ) !important;


            opacity: map-deep-get($config,
              #{$theme},
              "selected-bg-opacity"
            ) !important;

          }

        }

      }
    }

    [class*="tui-grid-tree-wrapper"] {
      display: flex;
      align-items: center;
      padding-left: 0 !important;
    }
  }
}