.flex-static {
  flex-grow: 0;
  flex-shrink: 0;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

// mark
.mark {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  min-width: var(--app-min-width);
  min-height: 600px;

  .mark-main {
    height: calc(100vh - 56px - 58px);
    display: flex;
    justify-content: stretch;
  }
}
// mark-header
.mark-header {
  position: relative;
  height: 56px;
  line-height: 20px;
  background-color: var(--header-bg-color);
  color: rgba(255, 255, 255, 0.5);
  .flex-between;

  &-part {
    &:first-child {
      flex-grow: 2;
      display: flex;
      justify-content: left;
      align-items: center;
    }
    &:last-child {
      flex-grow: 0;
      flex-shrink: 0;

      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

  .header-icon {
    opacity: 0.5;
    cursor: pointer;

    &:hover {
      opacity: 0.8;
    }
  }

  .header-menu {
    min-width: 56px;
    padding: 18px 15px;
    text-align: center;
    cursor: pointer;

    &.header-menu-left {
      min-width: 79px;
    }

    .header-icon {
      display: inline-block;
      vertical-align: middle;
      margin-right: 3px;
      margin-top: -2px;
    }

    &:hover,
    &.is-toggled {
      color: #fff;
      background-color: rgba(62, 64, 87, 1);

      .header-icon {
        opacity: 0.8;
      }
    }
  }
  .header-subject {
    min-width: 160px;
    max-width: 300px;
    height: 18px;
    line-height: 18px;
    font-size: 14px;
    text-align: center;

    > a {
      display: block;
      color: #fff;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      text-align: right;

      &:hover {
        opacity: 0.8;
      }
    }
  }
  .header-programs {
    margin: 0 15px 0 0;
    padding: 6px;
    height: 30px;
    width: 30px;
    border-radius: 4px;
    cursor: pointer;

    &:hover {
      background: #3e4057;

      .header-icon {
        opacity: 0.8;
      }
    }
  }
  .header-secret {
    padding: 0 12px;
    border-left: 1px solid #8c8d9b;
    border-right: 1px solid #8c8d9b;
  }
  .header-total {
    padding: 0 12px;
  }
  .header-noun {
    display: inline-block;
    vertical-align: middle;
    padding: 0 12px;
    color: #fff;
    > span:first-child {
      color: #8c8d9b;
    }
  }
  .header-text-btn {
    height: 32px;
    line-height: 32px;
    border-radius: 4px;
    padding: 0 16px;
    color: #fff;
    cursor: pointer;

    &:hover {
      background: #3e4057;
    }

    .header-icon {
      display: inline;
      margin-right: 8px;
      margin-top: -2px;
      opacity: 0.8;
    }
    .a-icon {
      font-size: 12px;
      vertical-align: 1px;
    }
  }
  .header-logout {
    &:hover {
      background: transparent;
      opacity: 0.8;
    }
  }
}

// mark-tool
.mark-tool {
  .flex-between;
  padding: 8px 10px 5px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;

  &-item {
    display: inline-block;
    vertical-align: middle;
    min-width: 52px;
    color: #8c8c8c;
    cursor: pointer;
    position: relative;

    &:hover {
      color: #000;
      > img {
        background-color: #e7e7e7;
      }
    }
    // &.is-active {
    //   color: #000;
    //   > img {
    //     background-color: #e7e7e7;
    //   }
    // }

    > img {
      display: block;
      width: 24px;
      height: 24px;
      padding: 2px;
      margin: 0 auto;
      border-radius: 2px;
    }
    > p {
      font-size: 12px;
      font-weight: 400;
      margin: 0;
      text-align: center;
      height: 20px;
      line-height: 20px;
    }

    &.tool-scale {
      width: 132px;
      margin: 0 20px;
      > div {
        color: #262626;
        font-weight: 600;
        line-height: 20px;
        font-size: 0;

        > span {
          display: inline-block;
          vertical-align: middle;
          font-size: 14px;
        }
      }
      .ant-slider {
        display: inline-block;
        vertical-align: middle;
        width: 98px;
        margin: 0 0 0 3px;
      }
      .ant-slider-rail {
        background-color: #e5e5e5;
      }
      .ant-slider-track {
        background-color: #165dff;
      }
      .ant-slider-handle {
        border-color: #165dff;
      }
    }
  }
}
// mark-history
.mark-history {
  width: 360px;
  padding: 16px;
  overflow-y: auto;
  background-color: #fff;
  border-right: 1px solid #e5e5e5;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  .flex-static;

  .search-value .ant-input::-webkit-input-placeholder {
    font-size: 12px;
  }
  .ant-input-affix-wrapper {
    padding: 4px 6px;
  }
  &.hide {
    display: none;
  }

  &-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    line-height: 24px;
    margin-bottom: 16px;
    .flex-static;
  }
  &-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    .flex-static;
  }
  &-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    font-size: 14px;
    font-weight: 400;
    color: #8c8c8c;
    .flex-static;
    .head-item {
      &:nth-of-type(1) {
        .flex-static;
        width: 94px;
        padding-left: 16px;
      }
      &:nth-of-type(2) {
        padding-left: 16px;
        flex-grow: 2;
      }
      &:nth-of-type(3) {
        .flex-static;
        width: 60px;
        padding-right: 6px;
        padding-left: 6px;
      }
    }
  }
  &-table-body {
    flex-grow: 2;
    overflow-x: hidden;
    overflow-y: auto;
    color: #262626;
    font-weight: 400;

    .body-row {
      padding: 12px 0;
      border-top: 1px solid #e5e5e5;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;

      &:last-child {
        border-bottom: 1px solid #e5e5e5;
      }

      &:hover {
        color: #165dff;
      }

      &.is-active {
        color: #fff;
        background: #165dff;
      }
    }
    .body-col {
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;

      &:nth-of-type(1) {
        .flex-static;
        width: 94px;
        padding-left: 16px;
      }
      &:nth-of-type(2) {
        padding-left: 16px;
        flex-grow: 2;
      }
      &:nth-of-type(3) {
        .flex-static;
        width: 60px;
        padding-left: 6px;
        padding-right: 6px;
      }
    }
  }
  &-table-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
    .flex-static;

    .ant-pagination-simple {
      .ant-pagination-prev,
      .ant-pagination-next {
        height: 32px;
        .ant-pagination-item-link {
          height: 32px;
          line-height: 32px;
        }
      }
      .ant-pagination-simple-pager {
        height: 32px;
        background: #f0f0f0;
        border-radius: 0px 3px 3px 0px;
        border: 1px solid #d9d9d9;
        width: 132px;
        input {
          padding: 0 12px;
          border: 0;
          width: 66px;
          border-right: 1px solid #d9d9d9;
        }
        .ant-pagination-slash {
          margin: 0;
        }

        &::after {
          content: "页";
        }
      }
      .anticon {
        vertical-align: middle;
      }
    }
  }
}
// mark-board-track
.mark-board-track {
  width: 360px;
  padding: 16px 16px 52px;
  overflow-y: auto;
  background-color: #fff;

  display: flex;
  flex-direction: column;
  border-left: 1px solid #e5e5e5;
  position: relative;
  .flex-static;

  &.is-key-board {
    padding-bottom: 16px;
  }

  &.is-mouse-board {
    padding-bottom: 16px;

    .board-question-full-box {
      padding: 0 8px;
      margin: 16px 0;
    }
    .board-question {
      display: block;
      border: none;
      padding: 0;
      overflow: unset;
      user-select: none;
      cursor: auto;

      &:hover {
        border-color: none;
        color: inherit;
      }

      .question-info {
        .flex-between;
        height: 21px;
        overflow: hidden;
        margin-bottom: 10px;
      }
      .question-no {
        .flex-static;
        margin-left: 10px;
      }
    }
    .board-score {
      margin-bottom: 8px;
    }
  }

  &.in-dialog {
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    border: none;
  }

  &.hide {
    display: none;
  }
  .board-mode {
    .flex-static;
    margin-bottom: 16px;
  }

  .board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .flex-static;
    margin-bottom: 16px;

    &.no-action {
      border-radius: 4px;
      border: 1px solid #e5e5e5;
      padding: 10px 16px;
    }

    &-left {
      width: calc(50% + 8px);
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
      border: 1px solid #e5e5e5;
      border-right: none;
      padding: 10px 16px 10px 10px;
      .flex-between;
    }

    &-info {
      color: #8c8c8c;
      width: 36px;
      text-align: center;

      > img {
        display: inline-block;
        vertical-align: middle;
        width: 16px;
        height: 16px;
      }
      > span {
        display: block;
      }
    }
    &-score {
      background: #f7f7f7;
      border-radius: 3px;
      border: 1px solid #f0f0f0;
      padding: 6px;

      > span {
        display: block;
        min-width: 50px;
        height: 36px;
        font-size: 30px;
        font-weight: 600;
        color: #f53f3f;
        line-height: 36px;
        text-align: center;
      }
    }
    &-submit {
      width: calc(50% - 8px);
      border-radius: 4px;
      height: 100%;
      font-size: 26px;
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
  }

  .board-questions {
    // flex-grow: 2;
    margin: 0 -8px;
    font-size: 0;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 90px;
  }
  .board-question-box {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding: 0 8px 16px;
    font-size: 14px;
  }
  .board-question-full-box {
    padding: 0 8px 16px;
    font-size: 14px;
  }
  .board-question {
    .flex-between;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    padding: 10px 16px;
    min-height: 74px;
    overflow: hidden;
    color: #262626;
    position: relative;
    outline: none;
    cursor: pointer;

    .question-info {
      flex-grow: 2;
      line-height: 21px;
      overflow: hidden;
    }

    .question-title {
      height: 21px;
      overflow: hidden;
      white-space: nowrap;
    }
    .question-score {
      .flex-static;
      margin-left: 10px;
      height: 36px;
      min-width: 42px;
      max-width: 70px;
      text-align: center;
      background: #f7f7f7;
      border-radius: 3px;
      border: 1px solid #f0f0f0;
      line-height: 36px;
      color: #165dff;
      font-size: 20px;
      font-weight: 600;
      padding: 0 5px;
      > span {
        display: block;
        overflow: hidden;
      }
    }

    &.is-current,
    &:hover {
      border-color: #165dff;
      color: #165dff;
    }
  }

  .board-spliter {
    .flex-static;
    .flex-between;
    margin: 16px 0;
    height: 18px;
    img {
      display: block;
      height: 14px;
      width: 14px;
      margin: 2px auto;
    }
    .board-spliter-item {
      background: #f7f7f7;
      cursor: pointer;
      &:hover {
        background-color: #e8f3ff;
      }
    }

    &-up {
      flex-grow: 2;
      border-radius: 4px 0px 0px 4px;
      .board-spliter-item;
    }
    &-bar {
      .flex-static;
      width: 66px;
      height: 18px;
      margin: 0 2px;

      .board-spliter-item;
      cursor: row-resize;

      &::after {
        content: "";
        display: block;
        margin: 2px auto;
        background-image: url(../assets/icons/icon-drag.svg);
        background-size: 100% 100%;
        height: 14px;
        width: 14px;
      }
    }
    &-down {
      flex-grow: 2;
      border-radius: 0px 4px 4px 0px;
      .board-spliter-item;
    }
  }
  .board-scores {
    font-size: 0;
    margin: 0 -5px;
    min-height: 80px;
    max-height: 300px;
    overflow-y: auto;
  }
  .board-score {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    width: 34px;
    height: 34px;
    line-height: 30px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    text-align: center;
    margin: 0 4px 16px;
    cursor: pointer;

    &:hover {
      border-color: #165dff;
      color: #165dff;
    }

    &.is-current {
      border-color: #165dff;
      background-color: #165dff;
      color: #fff;
    }

    &.score-icon {
      &.is-current {
        img {
          filter: brightness(1000%);
        }
      }
    }

    > img {
      display: inline-block;
      vertical-align: middle;
      width: 16px;
      height: 16px;
      &.icon-text {
        height: 20px;
      }
    }
  }

  .board-footer {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    height: 36px;
    z-index: 8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;

    .ant-btn {
      width: 156px;
      border-radius: 4px;

      img {
        display: inline-block;
        vertical-align: middle;
        width: 16px;
        height: 16px;
        margin: -5px 5px 0 0;
      }
    }
    .board-goback {
      background-color: #fff;
      border: 1px solid #e5e5e5;
      color: #262626;

      &:hover {
        background: #f0f0f0;
      }

      &[disabled] {
        color: #999;
        background-color: #f0f0f0;
      }
    }
    .board-clear {
      background-color: #fff2f0;
      color: #f53f3f;
      border: none;
      .icon-common {
        display: inline-block;
      }
      .icon-active {
        display: none;
      }
      img {
        margin: -3px 5px 0 0;
      }
      &:hover {
        background-color: #f53f3f;
        color: #fff;

        .icon-common {
          display: none;
        }
        .icon-active {
          display: inline-block;
        }
      }
    }
  }
}
// mark-body
.mark-body {
  position: relative;
  flex-grow: 2;

  &-status {
    position: absolute;
    width: 56px;
    height: 30px;
    background: #ffece8;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #f53f3f;
    line-height: 30px;
    text-align: center;

    top: 4px;
    right: 4px;
    pointer-events: none;
    z-index: 1000;
  }

  &-none {
    height: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    justify-content: center;

    img {
      display: block;
      width: 200px;
      height: 140px;
    }
    p {
      height: 24px;
      font-size: 16px;
      font-weight: 600;
      color: #7584ac;
      line-height: 24px;
      margin-top: 16px;
      text-align: center;
    }
  }

  &-container {
    position: relative;
    height: 100%;
    overflow: auto;
    background-color: var(--app-container-bg-color);
    background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
      linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
      linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    transform: inherit;
    padding: 16px;
    img {
      width: 100%;
    }
  }
  .single-image-container {
    position: relative;

    > img {
      position: relative;
      z-index: 2;
    }
  }
  .image-seperator {
    border: 2px solid transparent;
  }
}

// short-cut-container
.short-cut-container {
  .cut-item {
    display: flex;
    font-size: 14px;
    font-weight: 400;
    color: #262626;
    line-height: 22px;
    min-height: 22px;

    &:not(:first-child) {
      margin-top: 16px;
    }

    > div:nth-of-type(1) {
      width: 80px;
    }
    > div:nth-of-type(2) {
      font-size: 0;
      span {
        font-size: 12px;
      }
    }
    h4 {
      color: #8c8c8c;
      margin: 0;
    }
    span {
      display: inline-block;
      vertical-align: middle;

      &:not(:first-child) {
        margin-left: 4px;
      }
    }
    .cut-key {
      min-width: 22px;
      padding: 0 7px;
      height: 22px;
      background: #ffffff;
      border-radius: 2px;
      border: 1px solid #e5e5e5;
      line-height: 20px;
      text-align: center;
      font-size: 12px;
    }
  }
}
// all-paper-modal
.all-paper-modal {
  .common-dialog-title {
    display: inline-block;
    vertical-align: middle;
  }
  .paper-menu {
    margin-left: 16px;
    display: inline-block;
    vertical-align: middle;

    span {
      display: inline-block;
      vertical-align: middle;
      width: 32px;
      height: 32px;
      border-radius: 4px;
      border: 1px solid #e5e5e5;
      font-size: 14px;
      font-weight: 400;
      padding: 4px;
      color: #262626;
      line-height: 22px;
      text-align: center;
      cursor: pointer;

      &:not(:first-child) {
        margin-left: 8px;
      }

      &:hover {
        color: #134fdb;
        border-color: #134fdb;
      }
      &.is-active {
        color: #fff;
        background-color: #134fdb;
        border-color: #134fdb;
      }
    }
  }
}
// board-track-dialog
.board-track-dialog {
  &.qm-dialog {
    .qm-dialog-body {
      padding: 8px;
    }
    .mark-board-track {
      border: none;
    }
    .board-scores {
      min-height: 58px;
      max-height: none;
    }
  }
}

// check-paper
.check-paper {
  .mark-main {
    height: calc(100vh - 56px);
  }
  .mark-body {
    position: relative;
  }
  .paper-menu {
    padding-right: 15px;
    span {
      display: inline-block;
      vertical-align: middle;
      width: 32px;
      height: 32px;
      border-radius: 4px;
      font-size: 14px;
      font-weight: 400;
      border: 1px solid #3e4057;
      padding: 4px;
      color: #8c8d9b;
      line-height: 22px;
      text-align: center;
      cursor: pointer;

      &:not(:first-child) {
        margin-left: 8px;
      }

      &:hover {
        color: #fff;
      }
      &.is-active {
        color: #000;
        border-color: #fff;
        background-color: #fff;
      }
    }
  }

  .page-action {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    margin-top: -40px;
    font-size: 40px;
    line-height: 70px;
    padding: 15px 0;
    text-align: center;
    border: 5px solid transparent;
    border-radius: 50%;
    color: #8c8c8c;
    z-index: 9;
    opacity: 0.3;
    cursor: pointer;

    .anticon {
      display: block;
      margin: 0 auto;
    }

    &:hover {
      opacity: 1;
      border-color: #8c8c8c;
      background-color: #e0e0e0;
      color: #8c8c8c;
    }

    &.page-prev {
      left: 10px;
    }
    &.page-next {
      right: 10px;
    }
  }
  .zoom-container.tw-fixed {
    left: auto !important;
    right: 370px !important;
  }
  .board-header {
    margin-bottom: 16px;
  }
  .paper-topics {
    flex-grow: 2;
    overflow-x: hidden;
    overflow-y: auto;

    .paper-topic {
      &:not(:first-child) {
        margin-top: 16px;
      }

      &-title {
        font-weight: 600;
        line-height: 20px;
        margin-bottom: 5px;
      }

      &-body {
        margin-right: -5px;
        font-size: 0;
      }

      &-question {
        display: inline-block;
        vertical-align: middle;
        font-size: 14px;
        margin-bottom: 5px;
        margin-right: 5px;
      }
    }

    .question-number {
      display: inline-block;
      vertical-align: middle;
      width: 20px;
      margin-right: 8px;
      text-align: right;
    }
    .normal-input {
      display: inline-block;
      vertical-align: middle;
      width: 48px;

      &.long-input {
        width: 128px;
      }
    }
  }

  .board-tips {
    .flex-static;
    p {
      margin-bottom: 5px;
      color: #ff4d4f;
    }
  }
  .board-footer {
    &.is-simple {
      .ant-btn {
        width: 100%;
      }
    }
  }

  .student-switch {
    .ant-btn {
      width: 75px;
      &:not(:first-child) {
        margin-left: 6px;
      }
    }
  }
}

// arbitrate
.arbitrate {
  .arbitrate-mark {
    .flex-static;
    width: 260px;
    padding: 16px;
    overflow-y: auto;
    background-color: #fff;
    border-right: 1px solid #e5e5e5;
  }

  .arbitrate-mark-item {
    background-color: #e8f3ff;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 16px;
  }

  .noun-item {
    overflow: hidden;

    &-title {
      line-height: 20px;
      float: left;
      width: 60px;
      padding-right: 10px;
      text-align: right;
      font-weight: 600;
    }
    &-content {
      margin-left: 60px;
      line-height: 20px;
    }
  }
}

// common
.mark-tooltip {
  padding-top: 0px !important;
  .ant-tooltip-arrow {
    display: none;
  }
  .ant-tooltip-inner {
    background-color: #fff;
    color: #000;
    padding: 9px 14px;
    line-height: 28px;
    border-radius: 4px;
  }
}

// mark-dialog
.mark-dialog {
  .ant-modal-content {
    background: #ffffff;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    position: relative;
  }
  .ant-modal-close {
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    background-image: url(../assets/icons/icon-close.svg);
    background-size: 100% 100%;

    &:hover {
      background-color: #f0f0f0;
    }

    .ant-modal-close-x {
      display: none;
    }
  }
  .ant-modal-header {
    padding: 24px 24px 0;
    border: none;

    .ant-modal-title {
      font-size: 16px;
      font-weight: bold;
      color: #262626;
      line-height: 24px;
    }
  }
  .ant-modal-body {
    padding: 24px;
  }
  .ant-modal-footer {
    padding: 0 24px 24px;
    border: none;
  }
}
// qm-dialog
.qm-dialog {
  z-index: 1020;
  position: absolute;
  min-width: 100px;
  background: #ffffff;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  .resize-handler {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
    border-left: 1px solid #666;
    padding: 3px;
    transform: rotate(45deg);
    &::before {
      content: "";
      display: block;
      height: 100%;
      border-left: 1px solid #666;
    }
  }

  .qm-dialog-header {
    .flex-static;
    .flex-between;
    padding: 24px 24px 0;
    cursor: move;

    .qm-dialog-title {
      font-size: 16px;
      font-weight: bold;
      color: #262626;
      line-height: 24px;
      flex-grow: 2;
    }

    .qm-dialog-close {
      .flex-static;
      margin-left: 10px;
      width: 24px;
      height: 24px;
      background-image: url(../assets/icons/icon-close.svg);
      background-size: 100% 100%;
      padding: 0;
      border: none;
      visibility: visible;

      &:hover {
        background-color: #f0f0f0;
      }
    }
  }
  .qm-dialog-body {
    padding: 24px;
    flex-grow: 2;
    overflow: auto;
  }
  .qm-dialog-footer {
    .flex-static;
    padding: 0 24px 24px;
    border: none;
  }
}
// common-dialog
.common-dialog {
  z-index: 1020;
  position: absolute;
  top: 10px;
  min-height: 400px;
  background: #ffffff;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  display: flex;
  flex-direction: column;

  &.is-fullscreen {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    overflow: hidden;
  }

  &-header {
    .flex-static;
    .flex-between;
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
  }
  &-title {
    font-size: 16px;
    font-weight: bold;
    color: #262626;
    line-height: 24px;
    flex-grow: 2;
  }
  &-close {
    .flex-static;
    margin-left: 10px;
    width: 24px;
    height: 24px;
    background-image: url(../assets/icons/icon-close.svg);
    background-size: 100% 100%;
    padding: 0;
    border: none;
    visibility: visible;

    &:hover {
      background-color: #f0f0f0;
    }
  }
  &-body {
    padding: 16px;
    flex-grow: 2;
    overflow: auto;
  }
  &-footer {
    .flex-static;
    padding: 16px;
    border-top: 1px solid #e5e5e5;
  }
}
// table
.table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
  color: #262626;

  td,
  th {
    border-bottom: 1px solid #e5e5e5;
    padding: 12px;
    line-height: 22px;
  }
  th {
    color: #8c8c8c;
    font-weight: 400;
  }

  tr.is-current {
    background-color: #e8f3ff;
  }
}
.btn-primary {
  &.ant-btn-text {
    padding: 0;
    border: none;
    height: auto;
  }
  &.ant-btn-text:not([disabled]) {
    color: #165dff !important;
    &:hover {
      color: #134fdb !important;
    }
  }
}
.btn-cancel {
  &.ant-btn {
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    color: #262626 !important;
    line-height: 22px;
    border: none;

    &:hover {
      background-color: #e5e5e5;
    }
  }
}

.count-animation-enter-active,
.count-animation-leave-active {
  transition: all 1.2s ease-in-out;
}

.count-animation-enter-from,
.count-animation-leave-to {
  opacity: 0;
  transform: translateY(18px);
}

.question-mark-animation {
  animation: pluse 2s ease-in-out infinite alternate;
}

@keyframes pluse {
  0% {
    scale: 0.7;
  }

  100% {
    scale: 1.3;
  }
}
