@popupPrefix: c7ncd-deploy-hzero;
@contentBorderColor: #d9e6f2;

.@{popupPrefix} {

  .@{popupPrefix}-content {
    border-radius: 4px;
    border: 1px solid @contentBorderColor;
    height: calc(100vh - 2.72rem);
    display: flex;

    &-service {
      background: rgba(158, 173, 190, 0.04);
      border-right: 1px solid @contentBorderColor;
      width: 3rem;
      flex-shrink: 0;
      overflow-y: scroll;

      &-item {
        line-height: 20px;
        padding: .13rem .1rem;
        border-bottom: 1px solid @contentBorderColor;
        cursor: pointer;
        display: flex;
        align-items: center;

        &.disabled {
          color: rgba(15, 19, 88, 0.45);
        }

        &.selected {
          border-left: 3px solid var(--primary-color);
          background: rgba(104, 135, 232, 0.08);
          color: var(--primary-color);
          font-weight: 500;
          padding: .13rem .1rem .13rem .07rem;
        }
      }

      &-required {
        background: #f0f5ff;
        border-radius: 4px;
        border: 1px solid #adc6ff;
        font-size: 12px;
        font-weight: 400;
        color: #5365ea;
        line-height: 20px;
        padding: 0 .04rem;
        transform: scale(0.83);
        margin-left: auto;
        margin-right: 0.16rem;
      }

      &-btn {
        margin-left: auto;

        &>button {
          width: .2rem !important;
          height: .2rem !important;
          color: #abbccf !important;
        }
      }

      &-add {
        margin-top: .1rem;
      }
    }

    &-form {
      padding: .16rem;
      overflow-y: scroll;
    }
  }

  &-dropdown-popup {
    width: 2.9rem;

    .@{popupPrefix}-empty {
      color: var(--text-color4);
    }
  }
}
