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

  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;

  .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;
    min-height: 400px;
    border: 1px solid #e5e9ed;
    border-radius: 5px;
    overflow: hidden;

    & > .top {
      padding: 10px 32px;
      border-bottom: 1px solid #e5e9ed;

      .num {
        font-size: 16px;
        overflow: hidden;
        margin-bottom: 6px;

        .left {
          float: left;
          font-weight: 600;
        }

        .right {
          float: right;
        }
      }

      .info {
        color: #666;

        & > div {
          margin: 4px 0;
        }
      }
    }

    & > .center {
      padding: 27px 0 17px 0;
      border-bottom: 1px solid #e5e9ed;
      font-size: 12px;

      .box {
        display: flex;
        justify-content: center;

        .steps {
          &:nth-last-child(1) {
            .line {
              display: none !important;
            }
          }

          .step {
            .info {
              width: 90px;
              text-align: center;
              display: inline-block;
              vertical-align: top;

              i {
                color: #e5e9ed;

                &.green {
                  color: @primary-color;
                }
              }
            }

            p {
              margin: 0;
            }

            .line {
              display: inline-block;
              width: 60px;
              height: 2px;
              background: #e5e9ed;
            }
          }
        }
      }
    }

    & > .bottom {
      padding: 28px 32px;
      background: #f9fafb;

      .urgent {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        input {
          width: 600px;
        }

        .candelBtn {
          margin-left: 20px;
        }
      }

      .table {
        width: 100%;
        height: 160px;
        // padding: 6px;
        background: #fff;
        // border: 1px solid #e5e9ed;
        border-radius: 5px;
        margin-top: 16px;

        .thead {
          background: linear-gradient(to right, @bg-start, @bg-end) !important;

          th {
            color: #fff !important;
            text-align: center;
            font-size: 12px;
            border: none;
          }
        }

        .ant-table-tbody {
          tr {
            text-align: center;
            font-size: 12px;
            border: none;

            td {
              border: none;
              position: relative;
            }
          }

          tr:nth-child(2n) {
            background: #f9fafb;
          }
        }
      }
    }
  }

  .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;
      border-radius: 5px;
      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;
}
