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

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

.detail {
  display: flex;
  flex-direction: column;
  width: 1200px;
  // min-height: 580px;
  border-radius: 5px;
  background: #fff;
  color: #333;
  font-size: 14px;
  padding: 12px 20px;
  position: relative;
  padding-bottom: 70px;

  .pagination{
    margin: 8px;
    text-align: right;
  }

  .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;
    }
  }

  & > .box {
    width: 1160px;
    border: 1px solid #e5e9ed;
    border-radius: 5px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    .tab {
      width: 100%;
      height: 60px;
      border-bottom: 1px solid #e5e9ed;

      .item {
        text-align: center;
        line-height: 60px;
        height: 100%;
        border-right: 1px solid #e5e9ed;

        &:nth-last-child(1) {
          border: none;
        }

        &.checked {
          background: #f9fafb;
        }
      }
    }

    .content {
      width: 100%;
      // min-height: 453px;
      display: flex;
      flex-direction: column;

      &.orders {
        background: #f9fafb;
      }

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

        .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;
          }

          .jiaji {
            margin: 0;
            margin-top: 8px;
          }
        }
      }

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

        .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 {
        flex: 1;
        padding: 25px 32px;
        background: #f9fafb;

        .amplification {
          display: flex;
          justify-content: flex-end;
          margin-bottom: 8px;
        }

        .urgent {
          input {
            width: 600px;
          }

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

        .table {
          width: 100%;
          height: 100%;
          min-height: 160px;
          background: #fff;
          border-radius: 5px;

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

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

          .detailDrugTable {
            .thead {
              background-image: repeating-linear-gradient(
                to right,
                @bg-start,
                @bg-end 50%
              ) !important;
            }
          }

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

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

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

        .info {
          width: 100%;
          height: 100%;
          background: #fff;
          border-radius: 5px;
          border: 1px solid #e5e9ed;
          padding: 24px 28px 14px 28px;
          margin-bottom: 8px;

          .top {
            .left {
              border-right: 1px dashed #e5e9ed;

              p {
                padding: 0 70px 0 102px;
                overflow: hidden;

                & > span:nth-child(1) {
                  float: left;
                }

                & > span:nth-child(2) {
                  float: right;
                  color: #666;
                  text-align: right;
                  max-width: 175px;
                }
              }
            }

            .right {
              p {
                padding: 0 102px 0 70px;
                overflow: hidden;

                span:nth-child(1) {
                  float: left;
                }

                span:nth-child(2) {
                  float: right;
                  color: #666;
                  text-align: right;
                }
              }
            }
          }

          .wait {
            text-align: center;
            margin-top: 7px;

            i {
              font-size: 24px;
              color: #62c26d;
            }

            span {
              color: #62c26d;
            }
          }
        }
      }

      &.pingjia {
        .msg {
          width: 100%;
          height: 50px;
          line-height: 50px;
          padding-left: 32px;
          border-bottom: 1px solid #e5e9ed;

          div {
            display: inline-block;
            margin-right: 100px;
          }
        }

        .con {
          padding: 16px 32px;
          min-height: 360px;
        }
      }

      & > .form {
        .ant-form-item {
          padding: 0 32px 13px 32px;
          margin-bottom: 0;
          border-bottom: 1px solid #e5e9ed;

          &:nth-last-child(1) {
            border: none;
          }
        }

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

      & > .mediation {
        padding: 16px 32px;

        .item {
          border-bottom: 1px solid #e5e9ed;
          padding-top: 10px;

          .label {
            line-height: 28px;
            margin-top: 10px;
          }

          .info {
            line-height: 28px;
            color: #999;
            padding-bottom: 20px;
          }
        }
      }

      &.jifen {
        padding: 32px;

        & > .table {
          width: 100%;
          height: 100%;
          min-height: 160px;
          padding: 6px;
          background: #fff;
          border: 1px solid #e5e9ed;
          border-radius: 5px;
          overflow: hidden;

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

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

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

              td {
                border: none;
              }
            }

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

  .btns {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 20px;

    .btn {
      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;
        }
      }
    }

    button {
      margin-top: 10px;

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

.txtC {
  text-align: center;
}
.ji {
  position: absolute;
  right: 0px;
  top: -3px;
  width: 30px;
}
