@import "../../../../src/theme.less";
.coop span {
  display: inline-block;
  padding: 0 8px;
  cursor: pointer;
  position: relative;
}
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 8;
  .ji {
    position: absolute;
    right: 0px;
    top: -3px;
    width: 30px;
  }
  .hospitalTable {
    width: 100%;
    td {
      text-align: center !important;
      position: relative;
    }
    .thead {
      background-image: linear-gradient(to right, @bg-start, @bg-end);
      th {
        text-align: center !important;
        color: #fff;
        background: transparent;
      }
    }
  }

  .modalBody {
    width: 1094px;
    min-height: 220px;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    color: #333;
    &.modalBody-search {
      width: 480px;
      min-height: 250px;
    }

    .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 {
      min-height: 117px;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      &.content-search {
        min-height: 147px;
        justify-content: start;
        .defeat-search {
          width: 100%;
          height: 52px;
          display: flex;
          justify-content: center;
          align-items: center;
          border-bottom: solid 1px #e5e9ed;
          em {
            color: #666;
            font-style: normal;
          }
        }
        .form {
          width: 100%;
          padding: 0 16px;
          .ant-form-item-label,
          .ant-form-explain {
            text-align: left !important;
          }
        }
      }

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

        &.defeat {
          color: #333;
          font-size: 28px;
        }
        &.countDown {
          font-size: 14px;
          color: 666;
          em {
            font-style: normal;
            color: @primary-color;
          }
        }

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

    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: 15px;

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

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

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

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