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

:host {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #D9D9D9;
  display: flex;
  flex-direction: column;
  .header{
    height: 73px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 20px;
    .specimenCode{
      width: 365px;
      height: 40px;
    }
    .dept{
      margin-right: 48px;
      color: @primary-color;
    }
    .patient{
      margin-left: 24px;
    }
    .label{
      padding-right: 16px;
      font-size: 14px;
    }
    .formItem{
      width: 173px;
    }
    .info{
      margin-left: 48px;
    }
  }
  .table{
    flex: 1;
    min-height: 0;
    margin-top: 1px;
    background-color: #fff;
    padding: 8px 16px;
    .filter{
      width: 176px;
      margin-right: 10px;
      .total{
        height: 30px;
        display: flex;
        align-items: center;
        font-size: 16px;
        background: rgba(0,0,0,0.06);
        font-weight: bold;
        padding: 0 16px;
      }
      .block{
        margin-top: 10px;
        font-size: 14px;
        &.patient{
          flex: 1;
          min-height: 0;
          .block_content{
            height: auto;
            flex: 1;
          }
        }
        .block_title{
          border: 1px solid #D9D9D9;
          font-weight: bold;
          height: 40px;
          display: flex;
          align-items: center;
          padding: 0 16px;
        }
        .block_content{
          border: 1px solid #D9D9D9;
          border-top: none;
          overflow-y: auto;
          height: 113px;
          .block_item{
            padding: 0 16px;
            height: 28px;
            display: flex;
            align-items: center;
            cursor: pointer;
            &.active,
            &:hover{
              background: #F0F6ED;
              color: @primary-color;
            }
          }
        }
      }
    }
    .filter_table{
      flex: 1;
      overflow-y: auto;
    }
    .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: "";
                }
              }
            }
          }
        }
      }
    }
  }
	.bottom-content{
		padding-left: 200px;
		background: #fff;
		.mal-50{
			margin-right: 50px;
		}
	}
  .footer{
    height: 60px;
    background-color: #fff;
  }
}
