.processor-selector {
  position: relative;
  width: 600px;
  max-width: 100%;
  max-height: 100%;
  background-color: var(--bg-color);
  box-sizing: border-box;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  .title {
    flex: none;
    padding: 20px;
    border-bottom: 1px solid rgb(224, 224, 224);
  }
  .search-input {
    width: calc(100% - 40px);
    margin: 10px 20px;
    padding: 10px 15px;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 3px;
    font-size: 14px;
    color: rgb(55, 55, 55);
    box-sizing: border-box;
    &:focus {
      outline: none;
      border-color: rgb(53, 53, 255);
    }
  }
  .footer {
    flex: none;
    padding: 20px;
    border-top: 1px solid rgb(224, 224, 224);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;

    .cancel {
      font-size: 14px;
      cursor: pointer;
      padding: 5px 10px;
      color: grey;
      &:hover {
        background-color: rgb(231, 231, 231);
        color: black;
      }
    }
  }

  .processor-list {
    height: 500px;
    overflow: scroll;
    --text-color: rgb(55, 55, 55);

    .processor-list-inner {
      .processor-list-item {
        &.active {
          .header {
            background-color: rgb(241, 241, 241);
          }
        }
        .header {
          padding: 15px;
          border-bottom: 1px solid rgb(241, 241, 241);
          position: relative;
          display: flex;
          flex-direction: row;
          align-items: center;
          cursor: pointer;
          .name {
            color: var(--text-color);
            margin-left: 10px;
          }
          .description-icon {
            line-height: 0;
            path {
              fill: var(--text-color);
            }
          }
          .add {
            position: absolute;
            top: 50%;
            transform: translate(0, -50%);
            right: 20px;
            color: rgb(115, 115, 115);
            border: 1px solid grey;
            padding: 5px 20px;
            border-radius: 20px;
            display: none;
            cursor: pointer;
            &:hover {
              color: rgb(12, 183, 12);
              border-color: rgb(12, 183, 12);
            }
          }
          &:hover {
            background-color: rgb(241, 241, 241);
            .add {
              display: block;
            }
          }
        }
        .description {
          color: var(--text-color);
          padding: 25px;
          box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.237);
        }
      }
    }
  }
}