// table
div.easyv-table {
  color: #333;

  .easyv-table-thead {
    tr > th {
      color: #333;
      border-bottom: none;
      border-top: 1px solid #dddddd;
      padding-top: 8px;
      padding-bottom: 8px;

      &.easyv-table-selection-column {
        padding-left: 20px;
        padding-right: 4px;
      }
    }
  }

  .easyv-table-tbody {
    tr {
      td {
        &.easyv-table-selection-column {
          padding-left: 20px;
          padding-right: 4px;
        }
      }

      &.easyv-table-row-selected {
        td {
          background: #fff;
        }
      }
    }
  }

  .easyv-table-column-sorters {
    padding-top: 0;
    padding-bottom: 0;
  }
}

// pagination
li.easyv-pagination-item,
li.easyv-pagination-prev,
li.easyv-pagination-next {
  height: 28px;
  line-height: 28px;
  min-width: 28px;
}

// .anticon.anticon-loading {
//   animation: loadingCircle2 1s infinite linear !important;

//   @keyframes loadingCircle2 {
//     100% {
//       transform: translate(-50%, -50%) rotate(360deg);
//     }
//   }
// }
.easyv_modal_confirm {
  .easyv-modal-content {
    background-color: var(--easyv-background-6);
  }
  .easyv-modal-confirm-body .easyv-modal-confirm-title {
    color: #fff;
  }
  .easyv-modal-confirm-body .easyv-modal-confirm-content {
    color: #b4b7c1;
  }
  .easyv-modal-confirm-body > .anticon,
  .easyv-modal-confirm-body > .anticon {
    color: var(--easyv-primary-color) !important;
  }
  .easyv-modal-confirm-btns {
    .easyv-btn:first-of-type {
      background-color: #3d404c;
      color: #fff;
      border-color: transparent;
      &:hover {
        opacity: 0.8;
      }
    }
  }
}

input.easyv-input {
  background: #181a24;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  border-radius: 2px;
}

.easyv-table.easyv-table-bordered > .easyv-table-container > .easyv-table-content > table,
.easyv-table.easyv-table-bordered > .easyv-table-container > .easyv-table-header > table {
  border-top: 0 !important;
}

button.easyv-switch-checked:focus {
  box-shadow: none;
}
.easyv-switch:not(.easyv-switch-checked) {
  background-color: #5a5d69 !important;
}
.easyv-popover {
  .easyv-popover-inner,
  .easyv-popover-arrow-content {
    background-color: #2a2e3d;
  }
  .easyv-popover-message {
    color: #fff;
  }
  .easyv-btn-default,
  .easyv-btn-default:hover {
    background-color: #596181;
    color: #fff;
    border-color: #596181;
  }
}
.easyv-btn.easyv-btn-primary.easyv-btn-background-ghost[disabled] {
  border-color: #28527a;
  color: #28527a;
  background-color: transparent;
  &:hover {
    border-color: #28527a;
    color: #28527a;
    background-color: transparent;
  }
}
.easyv-btn-background-ghost.easyv-btn-primary[disabled] {
  border-color: #28527a;
  color: #28527a;
  &:hover {
    border-color: #28527a;
    color: #28527a;
  }
}

.easyv-input:hover {
  border-color: var(--easyv-primary-color);
}

.easyv-radio-button-wrapper-checked:not(.easyv-radio-button-wrapper-disabled):focus-within,
.easyv-radio-button-wrapper:focus-within {
  box-shadow: none !important;
}

.easyv-radio-wrapper .easyv-radio-inner {
  background-color: #232630;
  border-color: rgba(255, 255, 255, 0.16);
  width: 14px;
  height: 14px;
}
.easyv-radio-wrapper .easyv-radio-input:focus + .easyv-radio-inner {
  box-shadow: none;
}

.easyv-radio-wrapper {
  color: var(--easyv-text-4);
}

.easyv-radio-wrapper-checked {
  color: #fff;
}

// input type= number 移除 上下箭头
/* chrome */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
/* 火狐浏览器 */
input[type='number'] {
  -moz-appearance: textfield;
}
.easyv-checkbox .easyv-checkbox-inner{
  background-color: var(--easyv-background-6);
  border-color: rgba(255, 255, 255, 0.12);
}


.easyv-select-multiple .easyv-select-selection-placeholder{
  color: rgba(180, 183, 193, 0.5);
}

.easyv-radio-group  .easyv-radio-button-wrapper{
  background-color: var(--easyv-background-6);
  color: var(--easyv-text-base);
  border-color: rgba(255, 255, 255, 0.12);
}
.easyv-radio-group .easyv-radio-button-wrapper:not(:first-child)::before{
  background-color: rgba(255, 255, 255, 0.12) !important;
}
.easyv-radio-group .easyv-radio-button-wrapper:first-child{
  border-color: rgba(255, 255, 255, 0.12) ;
}
