@import "../../../../../src/theme.less";
:host{
  display: inline-block;
  width: 100%;
  color: #333;
  .incident_handle_order{
    .orderList{
      .title{
        color: @primary-color;
        padding: 8px 16px;
        border-bottom: 1px solid #E9E9E9;
      }
      .orderItem{
        padding: 8px 8px 16px 24px;
        border-bottom: 1px solid #E9E9E9;
        .row{
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 8px;
          &:first-of-type{
            margin-top: 0;
          }
          .value{
            display: flex;
            align-items: center;
          }
          .num{
            width: 162px;
            display: flex;
            align-items: center;
            justify-content: space-between;
          }
          .btn{
            min-width: 65px;
            width: 65px;
            height: 30px;
            line-height: 30px;
          }
        }
      }

      .totalPrice{
        padding: 8px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
      }

      .add{
        text-align: center;
        background: #FAFAFA;
        border: 1px dashed rgba(0,0,0,0.25);
        cursor: pointer;
      }
    }

    .allTotalPrice{
      font-size: 20px;
      color: @primary-color;
      font-weight: bold;
      padding: 16px;
      text-align: center;
    }
  }

  .content{
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #EEF3F9;
    &.priority{
      margin: 24px 118px 0;
      background-color: #fff;
      .contentInner{
        padding: 48px 206px;
        border: 1px solid #E8EBEF;
      }
    }
    .contentItem{
      padding: 4px 16px;
      cursor: pointer;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      &.active{
        color: @primary-color;
        background-color: #F0F6ED;
        border-radius: 4px;
      }
    }
    .contentInner{
      flex: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 16px;
      gap: 16px;
      .contentHead{
        height: 45px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 0 16px;
        font-size: 16px;
        font-weight: bold;
        border-bottom: 1px solid #D9D9D9;
        .title{
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .btns{
          flex-shrink: 0;
        }
      }
      .contentBody{
        padding: 0 8px;
        margin: 4px 0;
        flex: 1;
      }
      .address{
        flex: 1;
        height: 100%;
        background: #FFFFFF;
        border: 1px solid #E8EBEF;
        display: flex;
        flex-direction: column;
        width: 0;
      }
      .addressAssign{
        flex: 3;
        height: 100%;
        background: #FFFFFF;
        border: 1px solid #E8EBEF;
        display: flex;
        flex-direction: column;
        width: 0;
      }
      .list-template__searchItem {
        margin-bottom: 16px;
        .label {
          color: #333;
          display: inline-block;
          width: 70px;
          text-align-last: justify;
          text-align: justify;
          &.label--big {
            width: 100px;
          }
        }
        .formItem {
          width: 135px;
        }
      }
    }
    .contentBtns{
      margin-bottom: 16px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }

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

    .tips{
      margin-bottom: 16px!important;
    }

    .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: 310px;
        background: #f9fafb;
        border: 1px solid #e5e9ed;
        border-radius: 5px;
        overflow: hidden;
        margin-top: 12px;
        padding: 16px 0;

        .busyList{
          display: flex;
          margin-bottom: 8px;
          .busyContent{
            margin-right: 8px;
            flex: 1;
          }
        }

        & > 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: 14px;
          }

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

      button {
        margin-top: 10px;

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

    // 新增
    &.add {
      .modalBody {
        width: 480px;
        height: auto;

        .content {
          width: 100%;
          height: auto;
          padding: 16px;
          max-height: 497px;
          overflow-y: auto;

          .addForm {
            .ant-form-item {
              margin-bottom: 0;

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

              .desc {
                margin-top: 5px;
              }
            }

            .datesControl {
              margin-top: -16px;

              .ant-form-item-label {
                line-height: 40px;
              }
            }

            .timer {
              .ant-form-item-label {
                width: 100%;
                text-align: left;
              }

              .numInp {
                margin-right: 5px;
              }

              .line {
                margin-right: 5px;
              }
            }

            .timer2 {
              .ant-form-item-label {
                line-height: 20px;
              }
            }
          }

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

              .ant-form-item-label {
                line-height: 14px;
                text-align: left;
              }
            }
          }
        }
      }
			
			
			.modalLogBody {
			  width: 80%;
			  height: auto;
			
			  .content {
			    width: 100%;
			    height: auto;
			    padding: 19px 14px 20px 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: "";
					                }
					              }
					            }
					          }
					        }
					      }
					    }
					  }
					}
										
			    .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;
			        }
			      }
			    }
					.list-template__pagination {
						text-align: right;
						padding: 20px 0;
					}
			  }
				
				
			  button {
			    &:nth-child(1) {
			      margin-right: 20px;
			    }
			  }
			}
    }
  }
}
