// 配镜申请单打印 / 验光单打印
.application-form-for-glasses,
.optometry-sheet {
  width: 70%;
  height: 100%;
  padding-top: 24px;
  padding-right: 200px;
  box-sizing: border-box;
  margin: 0 auto;

  .affg-print-item,
  .os-print-item {
    border: 1px solid #e8e8e8;
    margin-bottom: 12px;
    padding: 12px;

    p {
      margin-bottom: 12px;
    }
  }

  .affg-print-item {
    .ant-table-thead>tr>th {
      border-bottom: 1px solid #000;
    }

    .ant-table-tbody {
      &>tr>td {
        border-bottom: 0;
      }
    }
  }

  .ant-table-wrapper .ant-table-body {
    height: auto !important;
    overflow-x: auto !important;

    // &:hover::-webkit-scrollbar {
    //   display: block;
    // }

    &::-webkit-scrollbar {
      /*滚动条整体样式*/
      width: 2px;
      /*高宽分别对应横竖滚动条的尺寸*/
      height: 4px;
      background-color: #F5F5F5;
    }

    &::-webkit-scrollbar-track {
      /*滚动条里面轨道*/
      box-shadow: inset 0 0 6px #f1f1f1;
      border-radius: 4px;
      background-color: #F5F5F5;
      cursor: move;
    }

    &::-webkit-scrollbar-thumb {
      border-radius: 10px;
      box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
      background: rgba(0, 0, 0, .2);
    }
  }

  .ant-table-placeholder {
    display: none;
  }

  .ant-table-thead .ant-table-align-center {
    background-color: #fff;
  }

  .affg-row {
    span {
      margin-right: 24px;
    }
  }

  .affg-print-item-optometry {
    line-height: 28px;
  }

  .affg-print-item-footer-row {
    span {
      display: inline-block;
      width: 150px;
    }
  }

  // 验光单
  .os-print-item {
    position: relative;
    font-weight: normal;

    .os-hosp {
      margin-bottom: 0;
    }

    .os-hosp,
    .os-title {
      text-align: center;
    }

    .os-title {
      position: relative;
      font-weight: 900;
      border-bottom: 1px solid #000;

      .os-title-status,
      .os-title-print {
        position: absolute;
        top: -12px;
        right: 0;
        font-weight: normal;
        font-size: 14px;
      }

      .os-title-status {
        color: #007AFF;
      }
    }

    .ant-table-thead>tr {
      height: 32px !important;
    }

    .os-ac-bar-code {
      position: absolute;
      top: 12px;
      left: 10px;
    }

    .os-item-rows {
      line-height: 24px;

      .ant-col>span {
        display: inline-block;
        width: 96px;
        text-align: right;
      }
    }

    .os-footer {
      border-top: 1px solid #000;
      padding-top: 4px;
      margin-top: 8px;
    }
  }
}

// 软镜处方
.soft-mirror-prescription {
  .ant-table-content .ant-table-thead tr th {
    background: #F6EAD2;
  }

  .ant-table-bordered .ant-table-header>table,
  .ant-table-bordered .ant-table-body>table,
  .ant-table-bordered .ant-table-fixed-left table,
  .ant-table-bordered .ant-table-fixed-right table {
    border-color: #000;
  }

  .ant-table-bordered .ant-table-thead>tr>th,
  .ant-table-bordered .ant-table-tbody>tr>td {
    border-right: 1px solid #000;
  }

  .ant-table-tbody>tr>td,
  .ant-table-bordered .ant-table-thead>tr:not(:last-child)>th,
  .ant-table-thead>tr>th {
    border-bottom: 1px solid #000;
  }
}

// 销售单打印
.sales-order-printing {
  width: 86%;
}