@include comp(dialog) {
  &.#{componentName(search-service)} {
    align-items: flex-start;
    padding: 80px 0;

    .dialog-content {
      overflow: hidden;
    }

    @include comp(empty) {
      min-height: 100px;
    }

    .search-service-input-box {
      @include comp(input) {
        border-color: plv(primary-6) !important;

        .input-box {
          color: plv(primary-6) !important;
          font-size: 1.2em;
          height: 2.5em !important;
        }

        .input-prefix-icon {
          width: 2em;
          font-size: 1.6em;
          display: flex;
          align-items: center;
          justify-content: center;
          color: plv(primary-6);
          position: relative;
          left: 0.15em;
        }
        .input-suffix-icon-wrapper {
          width: 1.5em;
          font-size: 1.6em;
        }
        @include comp(loading) {
        }
      }
    }

    .search-service-foot {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8em;
      color: plv(text-3);
      border-top: solid 1px plv(border-color);

      & > * + * {
        display: inline-block;
        margin-left: 1em;
      }

      svg {
        position: relative;
        top: -1px;
      }
    }

    .search-service-option-virtual-list {
      height: 50vh;
    }

    .search-service-option-item {
      user-select: none;

      .search-service-option-item-default {
        text-align: left;
        box-sizing: border-box;

        &[data-service-item-type="group"] {
          .search-service-option-item-default-title {
            font-weight: 600;
            color: plv(primary-6);
            font-size: 1em;
          }
        }

        &:not([data-service-item-type="group"]) {
          background-color: plv(bg-4);
          box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
          transition: all ease 150ms;

          .search-service-option-item-default-box {
            display: flex;
            align-items: center;

            .search-service-option-item-default-label {
              flex: 1;
              display: flex;
              flex-direction: column;
            }

            .search-service-option-item-default-button {
              opacity: 0;
              display: flex;
              align-items: center;
            }
          }
        }

      }

      &[data-active=true] {
        .search-service-option-item-default {
          &:not([data-service-item-type="group"]) {
            background-color: plv(primary-6);

            svg, .search-service-option-item-default-label {
              color: plv(pbfc);

              span {
                color: plv(pbfc) !important;
              }
            }

            .search-service-option-item-default-button {
              opacity: 1;
            }
          }
        }
      }

      .search-service-option-item-default-button {
        padding: 0.2em;

        &[data-search-button="favorite"], &[data-search-button="remove"] {
          &:hover {
            background-color: plv(primary-8);
            border-radius: 99px;
          }
        }

        &[data-search-button="favorite"] {
          &:hover {
            path {
              fill: plv(pbfc)
            }
          }
        }

        & + .search-service-option-item-default-button {
          margin-left: 0.1em !important;
        }
      }
    }
  }

  @include comp(search-service-panel) {
    @include sizeMixin(box, ()) {
      .search-service-input-box {
        padding: $margin;
        @include comp(input) {
          border-radius: calc(#{$border-radius} / 1.5);
        }
      }
      .search-service-foot {
        padding: calc(#{$margin});
      }

      .search-service-option-item {
        width: calc(100% - (#{$margin} * 2));
        margin-left: $margin;
        padding-bottom: 8px;

        .search-service-option-item-default {
          border-radius: calc(#{$border-radius} / 1.5);

          &:not([data-service-item-type="group"]) {
            padding: calc(#{$margin} / 2);
            cursor: pointer;

            .search-service-option-item-default-box {
              min-height: calc(3.5em - #{$margin} / 2);

              & > * + * {
                margin-left: 0.5em;
              }

              .search-service-option-item-default-tree {
                width: 1.8em;
                height: 3.2em;
              }

              .search-service-option-item-default-label {

                & > span:nth-child(1) {
                  color: plv(text-1);
                }

                & > span:nth-child(2) {
                  color: plv(text-3);
                  font-size: 0.8em;
                  margin-top: 0.25em;
                }
              }
            }
          }
        }
      }
      .search-service-option-item-default {
        &[data-service-item-type="group"] {
          .search-service-option-item-default-title {
          }
        }
      }

      .search-service-empty {
        padding-bottom: $margin;
        margin: $margin 0;
        text-align: center;

        svg + div {
          margin-top: $margin;
        }
      }
    }
  }
}
