@import "../../../../src/theme.less";
:host {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9;

  display: flex;
  justify-content: center;
  align-items: center;
}

.detail {
  width: 1000px;
  height: calc(100vh - 100px);
  min-height: 530px;
  border-radius: 5px;
  background: #fff;
  color: #333;
  font-size: 14px;
  padding: 12px 20px;
  position: relative;
  padding-bottom: 70px;

  .imgViewHelp {
    ul {
      margin: 0;
      padding: 0;
      img {
        margin-right: 8px;
      }
    }
  }

  // 流程 start
  .processBox {
    width: 100%;
    margin-top: 12px;
  }
  .process {
    padding: 0 12px;
    display: flex;
  }
  .process .status {
    width: 12%;
    font-size: 14px;
    text-align: center;
  }
  .process .ico {
    width: 6%;
    text-align: center;
  }
  .process .ico i {
    font-size: 14px;
  }
  .process .last {
    color: #005359;
  }
  .process .now {
    color: #48a843;
  }
  .process .time {
    width: 80%;
    font-size: 12px;
    color: #999999;
    padding-left: 2%;
  }
  .processCont {
    padding: 0 12px;
    display: flex;
    margin: 4px 0;
  }
  .processCont .status {
    width: 12%;
  }
  .processCont .conents {
    width: 80%;
    margin-left: 3%;
    font-size: 12px;
    color: #666666;
    padding: 4px 0;
    padding-left: 5%;
    border-left: 1px #999999 solid;
    line-height: 15[x];
    word-break: break-all;
  }
  .processCont .lastConents {
    border-left: none;
  }
  // 流程 end

  .title {
    font-size: 18px;
    text-align: center;
    line-height: 24px;
    margin: 0;
    margin-bottom: 12px;
    position: relative;

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

  .content {
    width: 960px;
    height: 100%;
    overflow: hidden;
    background-color: #f9fafb;

    & > .top {
      height: calc(100% - 46px);
      display: flex;
      .top_list{
        flex: 1;
        height: 100%;
        border-right: 1px solid #C6C6C6;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        &:last-of-type{
          border-right: none;
        }
        .top_header{
          height: 36px;
          display: flex;
          align-items: center;
          padding: 0 16px;
          background: #EFEFEF;
          color: @primary-color;
          font-size: 16px;
        }
        .top_body{
          overflow-y: auto;
          display: flex;
          flex-direction: column;
          &.borderLeft{
            border-left: 1px solid #C6C6C6;
            .top_item{
              margin-left: 16px;
              padding: 8px 16px 8px 0;
            }
          }
          &.borderRight{
            border-right: 1px solid #C6C6C6;
            .top_item{
              margin-right: 16px;
              padding: 8px 0 8px 16px;
            }
          }
          .top_item{
            border-bottom: 1px solid #C6C6C6;
            .top_row{
              display: flex;
              justify-content: space-between;
              span:first-of-type{
                flex: 1;
              }
            }
          }
        }
        .top_total{
          flex: 1;
          font-size: 16px;
          padding: 8px 16px;
          &.borderLeft{
            border-left: 1px solid #C6C6C6;
          }
          &.borderRight{
            border-right: 1px solid #C6C6C6;
          }
          .top_row{
            display: flex;
            justify-content: space-between;
            span:first-of-type{
              flex: 1;
            }
          }
        }
      }
    }

    & > .center{
      height: 46px;
      padding: 0 16px;
      border: 1px solid #C6C6C6;
      border-top: none;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      &:before{
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        height: 1px;
        width: calc(100% - 32px);
        background-color: #C6C6C6;
        transform: translateX(-50%);
      }
    }

  }

  .btns {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 20px;

    button {
      margin: 9px;
      margin-bottom: 0;
    }
  }

  .ant-table {
    border: none !important;
  }
}

// 撤回工单
.recallOrder {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;

  .modalBody {
    width: 350px;
    height: 220px;
    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;
      height: 117px;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      overflow: hidden;
      margin-top: 12px;

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

        &.icon {
          margin-top: 17px;

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

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

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

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

      .conditions {
        padding: 16px 20px;

        div {
          text-align: left;
        }
      }
    }

    .btns {
      button {
        margin-top: 10px;

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

.txtC {
  text-align: center;
}
