//薪资项目重构项
.salaryProjectManagement {
  .wea-input-focus {
    height: 31.36px;
    line-height: 0;
  }

  .salaryItems_content {
    height: 100%;
    padding: 8px 16px;
    background: #f6f6f6;

    .wea-new-table {
      background: #FFFFFF;
    }
  }

}

.custom_salaryItemSlide {
  .wea-slide-modal-title {
    border-bottom: 1px solid #e5e5e5 !important;
  }

  .wea-slide-modal-content {
    height: 100%;
    background: #f6f6f6;

    .wea-form-item-wrapper {
      //display: block !important;

      .formula_input_div {
        cursor: pointer;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
      }
    }
  }

  .titleDialog {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 46px 0 16px;

    .titleCol {
      flex: 1;
      display: flex;
      align-items: center;
    }

    .titleLeftBox {
      .titleIcon {
        color: #fff;
        margin: 0;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #F14A2D;
        border-radius: 50%;
      }

      .title {
        font-size: 14px;
        color: #333;
        padding-left: 6px;
      }
    }

    .titleRightBox {
      justify-content: flex-end;

      button {
        margin-left: 10px;
      }
    }
  }
}


.customSalaryItemSlide {
  padding: 16px;

  .wea-search-group {
    padding: 0;
    border: 1px solid #e5e5e5;
    border-bottom: none;

    .wea-content {
      padding: 0;

      .wea-form-item {
        padding: 4px 16px;
        border-bottom: 1px solid #e5e5e5;
      }
    }
  }
}

.formula-wrapper {
  .ant-modal-body {
    min-height: 200px;
    max-height: 85vh;
    overflow: auto;
    padding: 16px 20px !important;
  }

  .headerSearchWrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
  }

  .formulaTitleWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

.dataList-wrapper {
  .wea-form-item-wrapper {
    display: flex !important;
    align-items: center;

    .wea-select {
      width: 100%;
      margin-right: 8px;

      .ant-select {
        width: 100%;

        .ant-select-selection {
          border-radius: 0;
          height: 30px;
        }
      }
    }
  }
}

//系统薪资项添加modal
.sys-salary-wrapper {
  .sys-item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sys-item-table-box {
    width: 100%;
    height: 100%;
    background: #F6F6F6;
    padding: 8px 16px;

    .wea-new-table {
      background: #FFFFFF;
    }
  }
}

//公式测试
.testModalWrapper {
  .testContent {
    padding: 16px;
    overflow-y: auto;
    max-height: 537px;
    min-height: 100px;

    .testTipWrapper {
      display: flex;
      flex-direction: column;
      padding: 5px 0;
      color: #999;
    }

    .wea-textarea-normal {
      border: 1px solid #e5e5e5 !important;
      padding: 4px 8px !important;
      min-height: 70px !important;
      word-wrap: break-word;
    }
  }
}

.salarySetDialog {
  .salarySetDialogContent {
    background: #f6f6f6;

    .wea-search-group {
      padding: 16px;
    }

    .wea-content {
      padding: 0;

      .wea-form-cell-wrapper {
        background: #FFF;
        border: 1px solid #e5e5e5;
        border-bottom: none;

        .wea-form-cell {
          border-bottom: 1px solid #e5e5e5;
        }
      }
    }

    .wea-select, .ant-select, .ant-select-selection {
      width: 100%;
    }

    .wea-select .wea-select-input .arrow {
      position: absolute;
      right: 4px;
      top: 8px;
      color: #666;
    }

    .wea-select .wdb {
      word-break: break-all !important;
      word-wrap: break-word !important;
      white-space: nowrap !important;
    }

    .wea-select .wea-select-input {
      height: 30px;
      white-space: nowrap;
      min-width: 100px;
      max-width: 237px;
      width: 100%;
      display: inline-block;
      padding: 4px 17px 4px 4px;
      position: relative;
      min-height: 30px;
      border: 1px solid #d9d9d9;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -o-text-overflow: ellipsis;
      text-overflow: ellipsis;
      overflow: hidden;
    }
  }
}
