@import "../../../../src/theme.less";
:host {
  .add-button {
    margin: 0 auto 16px !important;
  }
  .targetDept {
    overflow: hidden;
    // width: 90px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dynamic {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    input {
      width: 90%;
    }
    i {
      margin-left: 8px;
      cursor: pointer;
      font-size: 18px;
    }
  }
}

.searchItem-100{
	.label{
		width: 100px !important;
	}
}
.save {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;

  .modalBody {
    width: 350px;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    color: #333;

    .title {
      width: 100%;
      text-align: center;
      font-size: 18px;
      position: relative;

      i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }

    .content {
      width: 100%;
      height: 117px;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;

      div {
        text-align: center;
        margin: 0;

        &.icon {
          margin-top: 17px;

          i {
            color: #34b349;
            font-size: 30px !important;

            &.transport-wenhao {
              color: #f5a523;
            }

            &.transport-shibai {
              color: #ff3a52;
            }
          }
        }

        &.defeat {
          color: #333;
          font-size: 18px;
        }

        &:nth-child(3) {
          font-size: 14px;
          color: #666;
        }
      }
    }

    button {
      margin-top: 10px;

      &.btn {
        margin-left: 8px;
      }
    }
  }

  // 新增
  &.add {
    .modalBody {
      width: 80%;
      height: auto;

      .content {
        width: 100%;
        height: auto;
        padding: 19px 14px 0 14px;
        max-height: 500px;
        overflow-y: auto;
				
				.list-template__bottom {
				  background: #f9fafb;
				  border: 1px solid #e5e9ed;
				  border-radius: 8px;
				  padding-bottom: 56px;
				  position: relative;
				  .list-template__nzTable {
				    padding: 16px 16px 0;
				
				    .thead {
				      background-image: linear-gradient(to right, @bg-start, @bg-end);
				
				      th {
				        background: transparent;
				        color: #fff;
				        text-align: center;
				      }
				    }
				
				    .ant-table-body {
				      border-bottom: 1px solid #e5e9ed;
				    }
				
				    .ant-table-tbody {
				      tr {
				        text-align: center;
				        color: #333;
				
				        td {
				          border: none;
				
				          &.tab_hover:hover{
				            text-decoration: underline;
				            cursor: pointer;
				          }
				
				          .coop {
				            button{
				              color: #333;
				            }
				            span,button {
				              display: inline-block;
				              padding: 0 8px;
				              cursor: pointer;
				              position: relative;
				
				              &::after {
				                content: "|";
				                position: absolute;
				                top: 0;
				                right: 0;
				              }
				
				              &:hover,
				              &:active {
				                color: @primary-color;
				              }
				
				              &:nth-last-child(1) {
				                &::after {
				                  content: "";
				                }
				              }
				            }
				          }
				        }
				      }
				    }
				  }
				  .list-template__pagination {
				    height: 56px;
				    display: flex;
				    align-items: center;
				    position: absolute;
				    right: 8px;
				  }
				}
				
        .addForm {
          .ant-form-item {
            margin-bottom: 14px;

            .ant-form-item-label {
              line-height: 14px;
              text-align: left;
            }
          }
        }

        .editForm {
          .ant-form-item {
            margin-bottom: 14px;

            .ant-form-item-label {
              line-height: 0;
              text-align: left;
            }
          }
        }
      }

      button {
        &:nth-child(1) {
          margin-right: 20px;
        }
      }
    }
  }
}

