#content,
#content * {
  box-sizing: border-box;
}

#content .client-shell {
  margin-top: 70px;
  height: calc(100vh - 70px);
}

#content .client-shell > .el-aside {
  flex: 0 0 240px;
  width: 240px !important;
  height: 100%;
  background: #f7fbff;
}

#content .client-main {
  height: calc(100vh - 70px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#content .client-page {
  width: calc(100% - 90px);
  max-width: 913px;
  min-width: 760px;
  margin: 30px auto 60px;
}

#content .client-tabs {
  display: flex;
  align-items: flex-end;
  height: 27px;
  border-bottom: 1px solid #e1e4eb;
}

#content .client-tab {
  position: relative;
  height: 27px;
  margin-right: 40px;
  color: #1d2129;
  font-size: 14px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

#content .client-tab.is-active {
  color: #161ede;
  font-weight: 600;
}

#content .client-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #161ede;
  content: '';
}

#content .client-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 30px 0 15px;
}

#content .client-select,
#content .client-keyword {
  position: relative;
  display: block;
  flex: 0 0 134px;
  width: 134px;
  height: 44px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
}

#content .client-select::after {
  position: absolute;
  top: 16px;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #c0c4cc;
  border-bottom: 1px solid #c0c4cc;
  content: '';
  pointer-events: none;
  transform: rotate(45deg);
}

#content .client-select select,
#content .client-keyword {
  width: 100%;
  height: 42px;
  padding: 0 32px 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #606266;
  font: inherit;
  font-size: 14px;
}

#content .client-select select {
  appearance: none;
  cursor: pointer;
}

#content .client-select select:invalid,
#content .client-keyword::placeholder {
  color: #c0c4cc;
}

#content .client-keyword {
  flex-basis: 134px;
  padding-right: 15px;
}

#content .client-query {
  width: 68px;
  height: 44px;
  padding: 0;
  border: 1px solid #161ede;
  border-radius: 3px;
  background: #161ede;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

#content .client-table-scroll {
  width: 100%;
  overflow-x: auto;
}

#content .client-table {
  width: 100%;
  min-width: 1023px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #1d2129;
  font-size: 14px;
}

#content .client-table th {
  height: 49px;
  padding: 0 12px;
  border-right: 2px solid #fff;
  background: #62677f;
  color: #fff;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

#content .client-table th:last-child {
  border-right: 0;
}

#content .client-table td {
  height: 70px;
  padding: 12px;
  border-bottom: 1px solid #eef0f3;
  color: #4e5969;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

#content .client-table .col-index { width: 62px; }
#content .client-table .col-name { width: 190px; }
#content .client-table .col-type { width: 88px; }
#content .client-table .col-time { width: 125px; }
#content .client-table .col-due { width: 125px; }
#content .client-table .col-amount { width: 82px; }
#content .client-table .col-domain { width: 220px; }
#content .client-table .col-action { width: 131px; }

#content .client-table .client-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#content .client-table .client-domain {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 20px;
}

#content .client-table .client-actions {
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal;
  overflow: visible;
}

#content .client-actions a {
  display: inline-block;
  margin: 3px 6px;
  color: #161ede;
  text-decoration: none;
  white-space: nowrap;
}

#content .client-actions a:hover {
  color: #0058ff;
}

#content .client-empty td {
  height: 68px;
  color: #909399;
}

#content .client-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 48px;
  color: #757575;
  font-size: 12px;
}

#content .client-total {
  margin-right: auto;
}

#content .client-page-size,
#content .client-page-number,
#content .client-page-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid #e6e7eb;
  border-radius: 3px;
  background: #fff;
  color: #4e5969;
  text-decoration: none;
}

#content .client-page-size {
  width: 100px;
  margin-right: 12px;
}

#content .client-page-number,
#content .client-page-arrow {
  width: 36px;
  font-weight: 600;
}

#content .client-page-number.is-current {
  border-color: #dfe7f7;
  background: #f4f7fc;
  color: #2b6df3;
}

#content .client-page-arrow {
  border-color: transparent;
  font-size: 24px;
  font-weight: 400;
}

#content .client-page-arrow.is-disabled {
  color: #c9cdd4;
}

#content .client-ellipsis {
  padding: 0 3px;
  color: #4e5969;
}

@media only screen and (max-width: 1149px) {
  #content .client-shell > .el-aside.market-aside-open {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 20;
    width: 240px !important;
    height: calc(100vh - 70px);
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.12);
  }
}

@media only screen and (max-width: 850px) {
  #content .client-page {
    width: calc(100% - 40px);
    min-width: 0;
  }

  #content .client-table {
    min-width: 1023px;
  }
}

@media only screen and (max-width: 750px) {
  #content .client-page {
    width: calc(100% - 30px);
    margin-top: 20px;
  }

  #content .client-filter {
    flex-wrap: wrap;
  }

  #content .client-pagination {
    justify-content: flex-start;
    overflow-x: auto;
  }

  #content .client-total {
    margin-right: 20px;
  }
}
