@import "../../../../theme.less";
.coop {
  button{
    color: #333;
  }
  span,button {
    display: inline-block;
    padding: 0 8px;
    cursor: pointer;
    position: relative;

    &::after {
      content: "|";
      position: absolute;
      top: 0;
      right: 0;
    }

    &:hover,
    &:active {
      color: @primary-color;
    }

    &:nth-last-child(1) {
      &::after {
        content: "";
      }
    }
  }
}
.tabs{
  width: 100%;
  height: 56px;
  border-bottom: 1px solid #D9D9D9;
  display: flex;
  align-items: center;
  .tab{
    width: 100px;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: #333;
    cursor: pointer;
    &.active{
      color: @primary-color;
      border-bottom: 2px solid @primary-color;
    }
  }
}
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  .tableWrap{
    margin: 0 16px 16px!important;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    width: calc(100% - 32px);
    min-height: 501px;
    padding: 16px 16px 0;
    ::ng-deep .ant-table-body{
      margin: 0!important;
    }
  }
  .hospitalTable {
    width: 100%;
    td {
      text-align: center !important;
      position: relative;
      word-break: break-all;
    }
    .thead {
      background-image: linear-gradient(to right, @bg-start, @bg-end);
      th {
        text-align: center !important;
        color: #fff;
        background: transparent;
      }
    }
  }

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

  .list-template__top{
    div{
      text-align: left!important;
    }
  }

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

        &.pagination {
          font-size: 14px;
          color: #666;
          padding-top: 16px;
          padding-bottom: 16px;
          text-align: right;
        }
      }
    }

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