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

:host {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #F0F2F5;
  display: flex;
  flex-direction: column;
  .header{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 0;
    font-size: 16px;
    .dept{
      margin-right: 24px;
      margin-bottom: 16px;
      i{
        font-size: 24px;
        color: #8A8A8A;
        cursor: pointer;
      }
    }
    .patient{
      margin-right: 16px;
      display: flex;
      align-items: center;
      margin-bottom: 16px;
    }
    .label{
      padding-right: 16px;
      font-size: 14px;
      flex-shrink: 0;
    }
    .formItem{
      min-width: 120px;
    }
    .info{
      margin-left: 48px;
    }
    .btn{
      margin-bottom: 16px;
    }
  }
  .table{
    flex: 1;
    min-height: 0;
    margin-top: 10px;
    background-color: #fff;
    overflow: auto;
    padding: 8px 16px;
    .patient{
      position: relative;
      .circle{
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: @primary-color;
        position: absolute;
        top: 50%;
        left: -8px;
        transform: translate(-50%,-50%);
        &.red{
          background-color: red;
        }
      }
    }
    .transport-weibiaoti2010104{
      font-size: 15px;
      color: #999;
      margin-left: 10px;
      margin-top: 3px;
      cursor: pointer;
    }
    .transport-shanchu1{
      font-size: 15px;
      color: #999;
      margin-left: 5px;
      margin-top: 3px;
      cursor: pointer;
    }
    .thead{
      background-image: linear-gradient(to right, @bg-start, @bg-end);
      th {
        background: transparent;
        color: #fff;
        text-align: center;
      }
    }
    .ant-table-body {
      border-bottom: 1px solid #e5e9ed;
    }

    .ant-table-tbody {
      tr {
        text-align: center;
        color: #333;

        td {
          border: none;

          &.tab_hover:hover{
            text-decoration: underline;
            cursor: pointer;
          }

          .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: "";
                }
              }
            }
          }
        }
      }
    }
  }
  .footer{
    height: 60px;
    background-color: #fff;
  }
}
