.task-apply-steps {
  min-height: 90px;
  margin-bottom: 20px;
  margin-top: -32px;
  .el-step__title {
    font-size: 14px;
    line-height: 30px;
  }
}
.task-exam-room {
  background-color: #fff;
  border-radius: $--border-radius;
  margin-bottom: 10px;
}
// task-detail
.task-detail {
  .table {
    border-radius: $--border-radius;
    color: $--color-text-dark-1;
    border: 1px solid $--color-border;
    border-bottom: 0;
    border-right: 0;
    border-collapse: separate;
    overflow: hidden;

    th {
      border-left: 0;
      border-top: 0;
      color: $--color-text-gray-2;
      padding: 15px;
    }
    td {
      border-left: 0;
      border-top: 0;
      padding: 10px 15px;

      i {
        display: inline-block;
        vertical-align: middle;
      }
    }
  }
  .icon {
    margin-right: 8px;
  }

  .task-action {
    margin-top: 50px;
    text-align: center;
  }
  .task-audit {
    padding-top: 15px;
    border-top: 2px dashed $--color-border;
    margin-top: 20px;
  }
  // .task-audit-history {
  // }

  .image-item {
    display: inline-block;
    vertical-align: top;
    width: 80px;
    height: 80px;
    margin: 0 10px 10px 0;
    border: 1px solid $--color-text-gray-4;
    position: relative;
    border-radius: 5px;
    overflow: hidden;

    img {
      position: absolute;
      margin: auto;
      max-width: 100%;
      max-height: 100%;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: auto;
      cursor: pointer;
    }

    .image-delete {
      display: none;
      position: absolute;
      z-index: 99;
      width: 100%;
      height: 30px;
      line-height: 30px;
      text-align: center;
      font-size: 20px;
      bottom: 0;
      left: 0;
      background-color: rgba($color: #000000, $alpha: 0.3);
      color: $--color-danger;
      cursor: pointer;
    }

    &:hover {
      .image-delete {
        display: block;
      }
    }
  }
  .image-add {
    font-size: 40px;
    line-height: 1;
    padding: 19px;
    text-align: center;
    border-radius: 5px;
    border-style: dashed;
    overflow: hidden;
    cursor: pointer;
    color: $--color-text-gray-5;

    &:hover {
      color: $--color-text-gray-3;
    }
  }
  .image-list-none {
    color: $--color-text-gray-2;
    margin-bottom: 10px;
  }
}
// apply-audit-history
.apply-audit-history {
  .audit-result {
    margin: 10px 0;
  }
}
// task-list
.task-head {
  font-size: 16px;

  i {
    cursor: pointer;

    &:hover {
      color: $--color-primary;
    }
  }
}
.task-list {
  .task-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: $--border-radius;
    background-color: $--color-background;

    p {
      line-height: 1.5;
      margin-bottom: 5px;
      > span:first-child {
        color: $--color-text-dark-1;
      }
    }
  }
  .task-action {
    cursor: pointer;
    &:hover {
      color: $--color-primary;
    }
  }
}
// create-exam-and-print-task
.create-exam-and-print-task {
  .apply-body {
    width: 1000px;
    margin: 0 auto 30px;
  }
  .apply-part {
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid $--color-text-gray-5;
    margin-bottom: 20px;

    &-title {
      font-weight: 600;
      font-size: 18px;
      line-height: 1;
      margin-bottom: 30px;
    }
  }
}
// flow-timeline
.flow-timeline {
  margin-top: 10px;
  padding: 15px;
  border: 1px solid $--color-text-gray-6;
  border-radius: 10px;
  background-color: $--color-text-gray-7;
  .el-timeline {
    padding: 0 10px;
    &-item__tail {
      border-color: #ddd;
    }
  }
  .timeline-item-stop {
    .el-timeline-item__tail {
      border-left-style: dashed;
    }
  }

  .el-timeline-item__node--success {
    background-color: $--color-success;
  }

  .flow-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    &-time {
      color: #909399;
      line-height: 1;
      font-size: 13px;
      margin-bottom: 8px;
      padding-top: 4px;
    }
    &-title {
      font-size: 16px;
      line-height: 1;
      margin-bottom: 5px;
    }
    &-desc {
      color: $--color-text-gray;

      > span:not(:first-child) {
        margin-left: 10px;
      }
    }

    &-attachment {
      .btn-primary {
        &:hover {
          font-weight: normal;
        }

        & + .btn-primary {
          position: relative;
          margin-left: 20px;

          &::before {
            content: "";
            display: block;
            position: absolute;
            width: 0;
            height: 14px;
            border-left: 1px solid $--color-text-gray-4;
            left: -10px;
            top: 50%;
            margin-top: -7px;
          }
        }
      }
    }

    &-action {
      text-align: center;
    }

    // action
    .user-select {
      width: 40px;
      height: 40px;
      padding: 10px;
      font-size: 18px;
      line-height: 1;
    }
  }
}

// wait-task
.wait-task {
  .wait-module {
    height: 100%;
  }
}
// card-title-rule-edit
.card-title-rule-edit {
  .field-item {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px 10px 0;
    padding: 8px 10px;
    border-radius: 4px;
    line-height: 1;
    background-color: $--color-background;
    cursor: pointer;

    &:hover {
      color: $--color-primary;
    }
    &-act {
      background-color: $--color-primary;
      color: #fff !important;
    }
    &-disabled {
      cursor: not-allowed;

      &:hover {
        color: $--color-text-dark;
      }
    }
  }
  .field-textarea {
    border-radius: $--border-radius;
    border: 1px solid $--color-text-gray-4;
    min-height: 60px;
    padding: 2px;
    overflow: hidden;

    &:focus {
      border-color: $--color-primary;
    }

    span.var-field {
      display: inline-block;
      vertical-align: middle;
      padding: 3px 5px;
      background-color: $--color-primary;
      color: $--color-white;
      line-height: 1;
      border-radius: 3px;
    }
  }
}

// page-preview
.preview-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
}
// label-edit
.label-edit {
  min-height: 60px;
  .label-item {
    display: inline-block;
    vertical-align: top;
    border: 1px solid $--color-text-gray-6;
    border-radius: $--border-radius;
    padding: 5px 40px 5px 10px;
    position: relative;
    margin: 0 10px 10px 0;
    line-height: 21px;
  }
  .label-item-content {
    margin: 0;
    line-height: 21px;
    vertical-align: middle;
  }
  .label-item-delete {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    font-size: 16px;
    color: $--color-text-gray-5;
    cursor: pointer;
    &:hover {
      color: $--color-danger;
    }
  }
  .label-add {
    display: inline-block;
    vertical-align: top;
    border: 1px solid $--color-text-gray-6;
    border-radius: $--border-radius;
    padding: 0 10px;
    color: $--color-text-gray-2;
    cursor: pointer;
    &:hover {
      border-color: $--color-primary;
      color: $--color-primary;
    }
  }
}

// rule-exam

// select-orgs
.select-orgs {
  position: relative;

  &-disabled {
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 99;
      background-color: #f5f7fa;
      opacity: 0.3;
      cursor: not-allowed;
    }
  }

  .el-checkbox.is-disabled + span.el-tree-node__label {
    color: $--color-text-gray-4;
  }
}
// privilege-set
.privilege-set {
  .cell-check-list {
    text-align: left;
    padding-left: 20px;
  }
}
// organization-manage
.organization-manage {
  .org-tree-head {
    height: 40px;
    line-height: 40px;
    color: $--color-text-gray-2;
    border-bottom: 1px solid $--color-border;
    padding: 0 8px;

    > div {
      float: right;
      font-weight: 500;
      &:first-child {
        float: left;
      }

      &:nth-of-type(2) {
        width: 200px;
        text-align: right;
      }
      &:nth-of-type(3) {
        width: 100px;
      }
    }
  }
  .el-tree-node__content {
    height: auto;
    padding: 4px 0;
    border-bottom: 1px solid $--color-border;
  }
  .org-edit {
    .org-type {
      width: 100px;
      display: inline-block;
    }
    .org-actions {
      width: 200px;
      display: inline-block;
      text-align: right;
    }
    .el-button--text:hover {
      transform: scale(1.1);
    }
  }
}
// modify-print-plan
.modify-print-plan {
  .part-box {
    margin-bottom: 40px;
  }
}

// paper-track-preview-dialog
.paper-track-preview-dialog {
  .paper-preview {
    overflow: auto;
    canvas {
      display: block;
      margin: 0 auto;
    }
  }
  .preview-loading {
    position: absolute;
    top: 100px;
    width: 100%;
    z-index: auto;
    font-size: 100px;
    text-align: center;
    color: #aaa;
  }
  .el-dialog__body {
    padding: 70px 20px 80px !important;
  }
  .el-dialog__footer {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 9;
    padding: 15px 20px;
    border-top: 1px solid #eff0f5;
    background-color: #fff;
    .el-button {
      float: none;
    }
  }
}

// marker-login
.marker-login {
  .part-box {
    padding: 100px 50px;
    text-align: center;
  }
  .auth-item {
    padding: 80px;
    margin: 0 20px;
    font-size: 40px;
  }
}

// modify-exam
.modify-exam {
  .tips-info {
    font-size: 14px;
  }
  .el-radio-v {
    display: block;
    margin-bottom: 8px;
  }
}
// modify-exam-config

// modify-flow-detail
.modify-flow-detail {
  .flow-box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
  }
  .flow-property {
    width: 300px;
    min-height: 400px;
    flex-grow: 0;
    flex-shrink: 0;
    border: 1px solid $--color-text-gray-5;
    border-radius: 10px;
    padding: 15px;
    background-color: #fff;

    &-title {
      font-size: 16px;
      line-height: 1;
      padding-bottom: 10px;
      margin-bottom: 10px;
      border-bottom: 1px solid $--color-text-gray-5;
    }
  }
  .property-part {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid $--color-text-gray-5;

    &-title {
      font-size: 14px;
      line-height: 1;
      margin-bottom: 10px;
    }
  }
  .property-desc {
    margin-bottom: 10px;
  }
  .flow-radio-v {
    .el-radio {
      display: block;
      margin-bottom: 8px;
    }
  }
  .flow-users {
    margin-top: 10px;
  }
  .user-list {
    margin-top: 10px;

    .el-tag {
      margin: 3px;
    }
  }
  .user-clear {
    padding: 5px 10px;
    width: 68px;
    margin: 3px;
  }

  .flow-content {
    margin-right: 20px;
    flex-grow: 1;
    border: 1px solid $--color-text-gray-5;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    background-color: #fff;
  }
  .flow-main {
    width: 200px;
    margin: 30px auto 0;
  }
  .flow-node {
    position: relative;
    box-shadow: 0 0 0 1px #ccc;
    border-radius: 10px;
    margin-bottom: 60px;
    cursor: pointer;

    &:hover {
      opacity: 0.9;
    }
    &.is-active {
      opacity: 1;
      box-shadow: 0 0 0 2px $--color-blue;
    }

    &-title {
      padding: 8px 10px;
      border-bottom: 1px solid #ccc;
      background-color: $--color-blue;
      color: #fff;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }
    &-content {
      padding: 10px;
      min-height: 40px;
    }
  }
  .node-start {
    cursor: default;
    .flow-node-content {
      background-color: mix(#fff, $--color-success, 20%);
      text-align: center;
      font-size: 18px;
      border-radius: 10px;
      color: #fff;
    }
  }
  .node-end {
    cursor: default;

    .flow-node-content {
      background-color: mix(#fff, $--color-danger, 20%);
      text-align: center;
      font-size: 18px;
      border-radius: 10px;
      color: #fff;
    }
  }
  .flow-link {
    position: absolute;
    width: 30px;
    left: 50%;
    margin-left: -15px;
    height: 52px;
    bottom: -56px;

    &::before {
      content: "";
      display: block;
      position: absolute;
      border-left: 2px solid $--color-text-gray-2;
      top: 0;
      bottom: 2px;
      left: 50%;
      margin-left: -1px;
      z-index: 8;
    }
    &::after {
      content: "";
      display: block;
      position: absolute;
      width: 0;
      height: 0;
      border-width: 8px;
      border-style: solid;
      border-color: $--color-text-gray-2 transparent transparent transparent;
      left: 50%;
      margin-left: -8px;
      bottom: -8px;
      z-index: 9;
    }

    .node-add {
      position: absolute;
      width: 24px;
      height: 24px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      z-index: 99;
      background-color: $--color-primary;
      color: #fff;
      font-size: 16px;
      line-height: 25px;
      text-align: center;
      cursor: pointer;

      &:hover {
        background-color: mix(#000, $--color-primary, 10%);
      }
    }
  }
}
.select-user-dialog {
  .user-search {
    margin-bottom: 5px;
  }
  .user-types {
    font-size: 0;
    margin-bottom: 5px;
  }
  .user-type {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    height: 28px;
    width: 50%;
    padding: 0 10px;
    line-height: 26px;
    border: 1px solid #e0e0e0;
    text-align: center;
    cursor: pointer;
    &:hover {
      border-color: $--color-primary;
      color: $--color-primary;
    }

    &.is-active {
      background-color: $--color-primary;
      border-color: $--color-primary;
      color: #fff;
    }
  }
  .user-tree {
    padding: 5px;
    border: 1px solid #e0e0e0;
    height: 300px;
    overflow: auto;
  }
  .user-part-title {
    height: 28px;
    line-height: 26px;
    border-radius: 5px;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    text-align: center;
    margin-bottom: 5px;
  }
  .user-list {
    border: 1px solid #e0e0e0;
    padding: 5px;
    height: 333px;
    overflow: auto;
  }
  .user-item {
    margin: 3px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 3px;
  }
  .user-cont {
    line-height: 20px;
    padding: 4px 6px;
  }
  .user-delete {
    padding: 0;
    color: $--color-danger;

    &:hover {
      color: mix(#000, $--color-danger, 10%);
    }
  }
}

// card-manage
.card-create-type {
  .card-types {
    font-size: 0;
    text-align: center;
  }
  .card-type {
    display: inline-block;
    vertical-align: top;
    font-size: 20px;
    margin: 0 5px;
    height: 70px;
    width: 150px;
    line-height: 1;
    padding: 25px 0;
    border-radius: $--border-radius;
    color: #fff;
    cursor: pointer;

    &:hover {
      opacity: 0.8;
    }

    &:nth-of-type(1) {
      background-color: $--color-primary;
    }
    &:nth-of-type(2) {
      background-color: $--color-success;
    }
    &:nth-of-type(3) {
      background-color: $--color-cyan;
    }
  }
}
// modify-card
.modify-card {
  .el-dialog.is-fullscreen {
    border: none;
    .el-dialog__body {
      border: none;
      padding: 0;
    }
  }
}
// modify-mark-params
.modify-mark-params {
  .mark-body {
    margin: 40px 0;
  }
  .structure-desc {
    margin-bottom: 10px;
  }
  .expand-btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 19px;
    font-size: 13px;
    border: 1px solid #6f7482;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;

    &:hover {
      color: $--color-primary;
      border-color: $--color-primary;
    }

    &-unexpand {
      background-color: #ebeffc;
    }
  }
  .total-info {
    text-align: right;
    padding-top: 10px;
    padding-right: 210px;
    > span {
      color: $--color-danger;
      font-weight: 600;
      margin: 0 2px;
    }
  }
  .row-unexpand-sub {
    display: none;
  }
  .marker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
}
// modify-marker-question
.modify-marker-question {
  .el-dialog {
    width: 900px;
    margin: 0 auto;

    &__header,
    &__footer {
      display: none;
    }
    &__body {
      padding: 20px;
    }
  }

  .marker-box {
    height: 600px;
    background-color: $--color-background;
    border-radius: $--border-radius;
    padding: 15px;
    display: flex;
    flex-direction: column;

    &-uq {
      display: block;
      height: 100%;
      overflow: auto;
      background-color: #fff;
      border: 1px solid $--color-background;

      .el-tag {
        margin: 3px;
      }
    }
  }
  .user-title {
    margin-bottom: 10px;
    flex-grow: 0;
  }
  .user-search {
    margin-bottom: 10px;
    flex-grow: 0;
  }
  .user-tree {
    padding: 10px;
    border-radius: 4px;
    background-color: #fff;
    overflow: auto;
    flex-grow: 2;
  }

  .marker-footer {
    margin-top: 15px;
    text-align: center;
  }
}
// modify-student-simple
.modify-student-simple {
  .tab-body {
    min-height: 300px;
  }
}
// modify-mark-area
.modify-mark-area {
  .el-dialog__body {
    background-color: $--color-background;
    position: relative;
    z-index: 3;
  }
  .el-dialog__footer {
    display: none;
  }
}
.area-cropper {
  position: relative;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  margin: 10px 0;

  .cropper-img img {
    display: block;
    width: 100%;
    height: auto;
  }
  .cropper-areas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
  }

  .area-selection {
    position: absolute;
    z-index: 999;
    border: 1px solid $--color-blue;
    background-color: rgba($color: #000000, $alpha: 0.2);
  }

  .element-item-body {
    position: absolute;
    background-color: rgba($color: #000000, $alpha: 0.2);
  }
  .element-delete {
    position: absolute;
    height: 20px;
    width: 20px;
    top: 0;
    right: -20px;
    line-height: 20px;
    text-align: center;
    font-size: 18px;
    display: none;
    z-index: 9;
    color: $--color-danger;
    cursor: pointer;
    &:hover {
      color: mix(#fff, $--color-danger, 20%);
    }
  }

  .element-resize {
    background-color: transparent;
    > .resize-control {
      > .control-point,
      > .control-line {
        display: none;
      }
    }

    &:hover {
      > .resize-control {
        > .control-line {
          display: block;
        }
      }
    }

    &-act {
      > .resize-control {
        > .control-point,
        > .control-line {
          display: block;
        }
      }
      .element-delete {
        display: block;
      }
    }
  }
  .element-resize-compact {
    > .resize-control {
      > .control-line {
        display: block;
      }
    }

    &:hover {
      > .resize-control {
        > .control-line {
          border-color: $--color-primary;
        }
      }
    }

    &.element-resize-act {
      > .resize-control {
        > .control-line {
          border-color: $--color-primary;
          &-left,
          &-right {
            border-left-style: solid;
          }
          &-top,
          &-bottom {
            border-top-style: solid;
          }
        }
      }
    }
  }
}
// answer-popover
.answer-popover {
  line-height: 24px;
  padding: 15px;

  .answer-divider {
    margin: 10px 0;
    height: 1px;
    border-bottom: 1px dashed $--color-text-gray-5;
  }
  .el-checkbox__label,
  .el-radio__label {
    width: 24px;
    text-align: center;
  }
  .el-radio__label {
    display: inline-block;
  }
}
// ecs-exam-select
.ecs-exam-select {
  display: inline-block;
  vertical-align: middle;
  .el-select .el-input__inner {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width: 300px;
  }
  .el-button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

// assignment-calculate
.assignment-calculate-detail {
  .ass-part {
    margin-bottom: 20px;
  }
  .ass-summary {
    &-tags {
      margin-bottom: 20px;
    }
    &-tag {
      padding: 15px 30px 15px 50px;
      border-radius: 5px;
      border: 1px solid $--color-border;
      min-width: 160px;
      display: inline-block;
      vertical-align: top;
      margin-left: 10px;
      min-height: 84px;

      &:first-child {
        background-color: $--color-cyan;
        color: #fff;
        margin-left: 0;
      }
      > h6 {
        font-weight: normal;
        margin-bottom: 8px;
        font-size: 14px;
      }
      > p {
        font-size: 20px;
        margin: 0;
      }
    }

    &-noun {
      margin-bottom: 8px;
      overflow: hidden;
    }
    .noun-label {
      width: 100px;
      text-align: right;
      float: left;
    }
    .noun-content {
      margin-left: 100px;
    }
  }
}
.assign-config {
  position: relative;
  &.is-disabled {
    &::before {
      content: "";
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 9;
      background-color: rgba(255, 255, 255, 0.1);
    }
  }

  .formula-tips {
    margin-top: 10px;
    line-height: 20px;
    color: $--color-text-gray-1;
  }

  .rate-detail {
    > div {
      display: inline-block;
      vertical-align: middle;
    }
    &-label {
      width: 120px;
      line-height: 1.2;
    }
  }
}
.assign-result {
  .el-form {
    border-bottom: 1px solid $--color-border;
  }
}
.score-detail-dialog {
  .el-dialog__body {
    padding: 20px;
  }
  .table {
    margin-bottom: 20px;
    td,
    th {
      padding: 6px 8px;
    }
  }
  h4 {
    margin: 0 0 10px;
  }
}
