@import "../../../../src/theme.less";
.detail {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .4);
  z-index: 9999;

  .modalBody {
    width: 600px;
    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%;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;
      padding: 9px 24px;

      .top {
        height: 35px;
        border-bottom: 2px solid #eff2f4;
        font-weight: bold;

        span:nth-child(1) {
          font-size: 14px;
          color: @primary-color;
        }

        span:nth-child(2) {
          font-size: 12px;
          color: #999;
        }
      }

      .info {
        margin-top: 15px;
        margin-bottom: 4px;

        &>div {
          &.left {
            border-right: 2px dashed #eff2f4;
            padding-right: 23px;
          }

          &.right {
            padding-left: 23px;
          }

          .item {
            // display: flex;
            // // height: 28px;
            // justify-content: space-between;
            // align-items: flex-start;

            span:nth-child(1) {
              color: #666;
              display: inline-block;
              min-width: 80px;
            }

            span:nth-child(2) {
              color: #333;
            }
          }

        }
      }

    }

    button {
      margin-top: 10px;

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

    }
  }

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

      .content {
        width: 100%;
        height: auto;
        padding: 18px 14px 0 14px;

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

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

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

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

      }

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

    }
  }

}

.txtC {
  text-align: center;
}
