@import "../../../../src/theme.less";
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  .drugsBag{
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 40px;
    padding: 16px 24px 0;
    border-top: 1px solid #E8EBEF;
  }
  .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;
    }
  }

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

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

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

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

  .modalBody {
    width: 700px;
    background: #fff;
    border-radius: 5px;
    color: #333;
    &.modalBody-search {
      width: 480px;
      min-height: 250px;
    }

    .title {
      width: 100%;
      height: 53px;
      line-height: 53px;
      border-bottom: 1px solid #E8EBEF;
      padding: 0 28px;
      text-align: center;
      font-size: 18px;
      position: relative;

      i {
        position: absolute;
        right: 28px;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }

    .content {
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin: 16px 24px 0;
      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;
        }
      }
    }

    button {
      margin-top: 10px;
      margin-bottom: 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;
        }
      }
    }
  }
}
