:host {
  position: relative;
}
.accident-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #283441;
}
.accident-history-record {
  padding: 20px 20px 12px 20px;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid rgba(85, 147, 255, 0.25);

  thead {
    > tr {
      border-bottom: 1px solid rgba(85, 147, 255, 0.25);
    }
    th {
      // height: 40px;
      background: rgba(85, 147, 255, 0.1);
      border-right: 1px solid rgba(85, 147, 255, 0.25);
      font-weight: 500;
      font-size: 14px;
      color: #ffffff;
      line-height: 20px;
      text-align: left;
      padding: 9px 10px;
      &:last-child {
        border-right: none;
      }
    }
  }
  tbody {
    tr {
      border-bottom: 1px solid rgba(85, 147, 255, 0.25);
      &:last-child {
        border-bottom: none;
      }
      &:nth-child(even) {
        background: rgba(73, 97, 129, 0.1);
      }
    }
    td {
      // height: 40px;
      color: rgba(255, 255, 255, 0.9);
      padding: 9px 10px;
    }
  }
}

.record-btn {
  cursor: pointer;
  margin-right: 12px;
  display: inline-flex;
  line-height: 16px;
  align-items: center;
  position: relative;
  top: 2px;
  color: #5593ff;
  span {
    margin-right: 4px;
  }
  &:hover {
    color: #aac8fc;
  }
}

.pagination {
  padding-top: 12px;
  text-align: center;
  ::ng-deep .ant-pagination {
    li {
      border: 1px solid rgba(255, 255, 255, 0.3);
    }
    .ant-pagination-item-active {
      background: rgba(25, 108, 251, 0.05);
      box-shadow: inset 0px 0px 12px 0px rgba(25, 108, 251, 0.7);
      border: 1px solid #5593ff;
    }
  }
}
