@import "../../../../src/theme.less";

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

  .modalBody {
    width: 480px;
    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;

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

        span:nth-child(2) {
          font-size: 12px;
          color: #999;
        }
        .roundRobinTips{
          font-size: 12px;
          margin-bottom: 0;
        }
      }
      .top{
        border-top: 2px solid #eff2f4;
        padding: 16px 0;
      }
      .bottom{
        border-bottom: 2px solid #eff2f4;
        height: 35px;
      }

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

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

        .right {
          padding-left: 23px;
        }

        .item {
          // display: flex;
          // justify-content: space-between;
          // align-items: flex-start;
          margin-bottom: 5px;

          & > span:nth-child(1) {
            color: #666;
            min-width: 70px;
          }

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

    .know {
      margin-top: 10px;
    }
  }

  // 新增
  &.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;
            }
          }
        }
      }

      .btn {
        button {
          // width: 80px;

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

.txtC {
  text-align: center;
}
