// el-input
.el-input {
  // &.is-focus {
  //   .el-input__inner {
  //     border-color: $--color-primary !important;
  //   }
  // }
  .el-input__inner {
    border-radius: 6px;
    border-color: #e8edf3;
    background-color: #f0f4f9;
  }
}
.el-input-group--append {
  .el-input__inner {
    border-radius: 6px 0 0 6px;
  }
  .el-input-group__append {
    border-color: #e8edf3;
  }
}
.el-input-number {
  &.is-without-controls {
    .el-input__inner {
      padding: 0 12px;
    }
  }
}
// el-textarea
.el-textarea {
  .el-textarea__inner {
    border-color: #e8edf3;
    background-color: #f0f4f9;
  }
}

// datepicker
.el-date-editor.el-input__inner {
  border-radius: 6px;
  border-color: #e8edf3;
  background-color: #f0f4f9;

  .el-range-input {
    background-color: #f0f4f9;
  }
}

// .el-button
.el-button {
  border-radius: 6px;

  .icon {
    margin-right: 5px;
    width: 13px;
    height: 13px;
  }
  .icon-view {
    height: 10px;
  }
  .icon-upload {
    height: 12px;
  }
  span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
  }
}
.el-button--small,
.el-button--small.is-round {
  padding: 8px 12px 9px;
}

// .el-table
.el-table {
  color: #626a82;
  font-weight: 400;
  background-color: #fff;
  font-size: 14px;
  border-radius: 6px;

  &__header {
    th {
      color: #202b4b;
      font-weight: bold;
    }
  }
  tr.el-table__row {
    border-top: 1px solid #f0f4f9;
  }
  td,
  th {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  // .el-table__row.row-danger {
  //   color: $--color-danger;
  // }

  .cell {
    .el-checkbox {
      margin-bottom: 0;
    }
    .btn-table-icon {
      padding: 5px 12px 6px;
      font-size: 14px;
      &.el-button--primary {
        background-color: #5fc9fa;
        border-color: #5fc9fa;

        &:hover {
          background-color: mix(#fff, #5fc9fa, 10%);
          border-color: mix(#fff, #5fc9fa, 10%);
        }
      }
    }
  }
}

// el-pagination
.el-pagination-li {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}
.el-pagination {
  &.is-background {
    .btn-prev,
    .btn-next {
      @extend .el-pagination-li;
    }

    .el-pager li {
      color: #8c94ac;
      margin: 0 4px;
      line-height: 32px;

      @extend .el-pagination-li;
      &:not(.disabled).active {
        color: #fff;
        background-color: #5fc9fa;
      }
    }
  }
  span:not([class*="suffix"]) {
    height: 32px;
    line-height: 32px;
  }
  &__total {
    color: #8c94ac;
    margin: 0 16px 0 6px;
  }
  &__sizes {
    color: #8c94ac;
    background-color: #fff;
    .el-input__inner {
      background-color: #fff;
      border-color: #fff;
    }
  }
  &__jump {
    margin-left: 6px;
    color: #8c94ac;
    .el-input__inner {
      background-color: #fff;
      border-color: #fff;
      padding-left: 10px;
      padding-right: 10px;
    }
  }
  &__editor {
    height: 32px;
    &.el-input .el-input__inner {
      height: 32px;
    }
  }
}

// el-dialog
.el-dialog {
  background: #ffffff;
  border-radius: 10px;
  color: #202b4b;
  .el-dialog__header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(240, 244, 249, 1);
  }
  .el-dialog__body {
    padding: 30px;
  }
  .el-dialog__footer {
    .el-button {
      width: 83px;
    }
  }
}

// el-message-box
.el-message-box {
  color: #202b4b;
  border-radius: 10px;
  .el-message-box__header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(240, 244, 249, 1);
  }
  .el-message-box__content {
    padding: 30px;
    min-height: 140px;
  }
  .el-message-box__btns {
    .el-button {
      width: 83px;
    }
  }
  .el-message-box__message {
    padding-left: 50px;
    padding-top: 4px;
    font-size: 16px;
    color: #202b4b;
    line-height: 22px;
  }
  .el-message-box__status {
    font-size: 32px !important;
    top: 0;
    left: 0;
    transform: none;
  }
}
.el-message-box__error {
  width: 540px;
  .el-message-box__status {
    color: #fe5863;
  }
}
.el-message-box__warning {
  .el-message-box__status {
    color: #5fc9fa;
  }
}

// el-tabs
.el-tabs {
  .el-tabs__header {
    margin-bottom: 0;
  }
  .el-tabs__content {
    background-color: #fff;
    padding: 30px;
  }

  .el-tabs__item {
    color: #626a82;
    border: none;
    background-color: #fff;
    border-radius: 6px 6px 0 0;
    margin-right: 12px;

    &.is-active {
      color: #202b4b;
      font-weight: 600;
    }
  }
}
.el-tabs--card > .el-tabs__header .el-tabs__nav {
  border: none;
}

// .el-form
.el-form {
  &-item__label {
    color: #202b4b;
  }
}
