// 初始化
.el-tag--small{
  padding: 0 5px !important;
}
.text-danger {
  color: #ff3d0b !important;
}
.text-primary {
  color: #fb8c1e !important;
}
a:focus,
a {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
// size css
.font-ext-12 {
  font-size: 12px !important;
}
.font-ext-13 {
  font-size: 13px !important;
}
.font-ext-14 {
  font-size: 14px !important;
}
.font-ext-16 {
  font-size: 16px !important;
}
.font-ext-18 {
  font-size: 18px !important;
}
.font-ext-20 {
  font-size: 20px !important;
}
.font-ext-22 {
  font-size: 22px !important;
}
// margin css
.mt-ext-4 {
  margin-top: 4px !important;
}
.mt-ext-3 {
  margin-top: 3px !important;
}
.mt-ext-5 {
  margin-top: 5px !important;
}
.mt-ext-6 {
  margin-top: 6px !important;
}
.mb-ext-02 {
  margin-bottom: 3px !important;
}
.mb-ext-04 {
  margin-bottom: 4px !important;
}
.mb-ext-24 {
  margin-bottom: 24px !important;
}
.mt-ext-1 {
  margin-top: 14px !important;
}
.mr-ext-3 {
  margin-right: 3px !important;
}
.mr-ext-6 {
  margin-right: 6px !important;
}
.mr-ext-1 {
  margin-right: 10px !important;
}
.mt-ext-24 {
  margin-top: 24px !important;
}
.mb-ext-1 {
  margin-bottom: 14px !important;
}
.mb-ext-08 {
  margin-bottom: 8px !important;
}
.mb-ext-06 {
  margin-bottom: 6px !important;
}
.mb-ext-12 {
  margin-bottom: 12px !important;
}
.ml-ext-5 {
  margin-left: 5px !important;
}
.ml-ext-2 {
  margin-left: 2px !important;
}
.ml-ext-4 {
  margin-left: 4px !important;
}
.ml-ext-3 {
  margin-left: 3px !important;
}
.ml-ext-6 {
  margin-left: 6px !important;
}
.ml-ext-10 {
  margin-left: 10px !important;
}
.ml-ext-20 {
  margin-left: 20px !important;
}
.mr-ext-5 {
  margin-right: 5px !important;
}
.mr-ext-2 {
  margin-right: 2px !important;
}
.mr-ext-4 {
  margin-right: 4px !important;
}
.mr-ext-6 {
  margin-right: 6px !important;
}
.mr-ext-8 {
  margin-right: 8px !important;
}
.mr-ext-15 {
  margin-right: 15px !important;
}
.ml-ext-12 {
  margin-left: 12px !important;
}
.ml-ext-40 {
  margin-left: 40px !important;
}
.pl-ext-15 {
  padding-left: 15px !important;
}
.pl-ext-20 {
  padding-left: 20px !important;
}
.pl-ext-5 {
  padding-left: 5px !important;
}
.pr-etx-5 {
  padding-right: 5px !important;
}
.pr-etx-30 {
  padding-right: 30px !important;
}
.pr-etx-20 {
  padding-right: 20px !important;
}
.pr-etx-10 {
  padding-right: 10px !important;
}
.pb-ext-5 {
  padding-bottom: 5px !important;
}

.ext-mr-3 {
  margin-right: 3px !important;
}
.ext-pl-2 {
  padding-left: 2px !important;
}

// color css
.ext-h4-muted {
  color: #696f75 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}
// btn css
.btn-ext {
  display: inline-block !important;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 6px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  color: #fff;
  span,
  .iconfont-ext {
    display: inline-block;
    vertical-align: middle;
    color: #fff !important;
  }
}
.text-ext-danger {
  color: red !important;
}
.text-ext-gray {
  color: #86898c !important;
}
.text-ext-lightred {
  color: #ff3d0b !important;
}
.exts-color-gray {
  color: #9fa3a8 !important;
}
.exts-color-black {
  color: #3f4245 !important;
}
.exts-color-blue{
  margin-right: 3px!important;
}
.exts-color-blue,
.exts-color-border-blue {
  color: #146cbe !important;
}
.exts-color-red,
.exts-color-border-red {
  color: #f58181 !important;
}
.exts-color-green {
  color: #50ad55 !important;
}
.text-ext-center {
  text-align: center !important;
}
.u-link-ss-grey {
  color: #8c98a4 !important;
}
.u-link-ss {
  color: #f28c00 !important;
}
.text-ext-lightOrang {
  color: rgb(255, 174, 73) !important;
}
.btn-ext-primary {
  background-color: #ff9001 !important;
}
.btn-ext-green {
  background-color: #00c9a7 !important;
  border-color: #00c9a7 !important;
}
.btn-ext-green[href]:active,
.btn-ext-green[href]:focus,
.btn-ext-green[href]:hover,
.btn-ext-green[type]:active,
.btn-ext-green[type]:focus,
.btn-ext-green[type]:hover {
  box-shadow: 0 4px 11px rgba(0, 201, 167, 0.35);
  background-color: #25a779 !important;
  border-color: #25a779 !important;
}
//ext input
// #main-sellersprite-extension {
input,
input:focus {
  outline: none;
}
// }

.etx-w100 {
  width: 100% !important;
}
.form-ext-control {
  display: block;
  width: 100%;
  font-size: 14px;
  height: 44px;
  color: #1e2334;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #e6e8ec;
  border-radius: 5px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.custom-ext-select:focus,
.form-ext-control:focus {
  box-shadow: 0 0 25px rgba(251, 140, 30, 0.1);
  border-color: rgba(251, 140, 30, 0.5);
}
.justify-content-start {
  -ms-flex-pack: start !important;
  justify-content: start !important;
}
.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}
.justify-content-end {
  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}
.justify-content-between {
  align-items: center;
  justify-content: space-between !important;
}
.btn-ext:focus {
  outline: none;
}
.align-items-top {
  align-content: baseline !important; //主轴居中对齐
  align-items: baseline !important; //交叉轴的中点对齐
}
.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}
.d-flex-1 {
  flex: 1;
}
.flex-wrap{
  flex-wrap: wrap;
}
.d-block {
  display: block;
}
.btn-ext-primary[href]:active,
.btn-ext-primary[href]:focus,
.btn-ext-primary[href]:hover,
.btn-ext-primary[type]:active,
.btn-ext-primary[type]:focus,
.btn-ext-primary[type]:hover {
  box-shadow: 0 4px 11px rgba(251, 140, 30, 0.35);
  background-color: #ec7906 !important;
  border-color: #ec7906 !important;
}
.btn-ext:not(:disabled):not(.disabled) {
  cursor: pointer;
}
//
.fn-clear::after,
.fn-clear::after {
  content: '';
  display: block;
  clear: both;
}
.fn-fr {
  float: right !important;
}
.fn-fl {
  float: left !important;
}
.fn-text-right {
  text-align: right !important;
}
.fn-text-left {
  text-align: left !important;
}
.fn-text-center {
  text-align: center !important;
}
.show-hand-shape {
  cursor: pointer !important;
}
.icon-svg-ext {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
}
.defualt-icon {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
}
.hide-nickname-more {
  display: inline-block;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.show-ellipsis-nowrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.show-ellipsis-twoline {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.fn-block {
  display: block !important;
}
table .fixed-table-header-ext {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  z-index: 100;
}
.loading-more {
  text-align: center;
  color: rgb(159, 163, 168);
  padding: 15px 0 !important;
  .ext-line-isLoaing {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: 15px;
  }
  p {
    text-align: center !important;
    line-height: 14px;
  }
}
.central-element-table-ext,
.el-table__body {
  tr:first-child,
  tr:nth-child(2) {
    .chart-list > div {
      div:last-child {
        top: auto !important;
      }
    }
  }
}

// e-charts
.position-relative-ext {
  position: relative;
}
.prompt-empty-ext {
  position: absolute;
  top: 46%;
  text-align: center;
  width: 71%;
  left: 12%;
  color: #86929e;
  font-size: 12px;
}
.prompt-empty-ext .link {
  color: #fb8c1e;
  border-bottom: 1px #fb8c1e dashed;
}
.ext-popover-custom {
  z-index: 10000 !important;
  a{
    color: #fb8c1e !important;
    vertical-align: baseline !important;
  }
}
.ext-popover-custom2 {
  z-index: 10000 !important;
  padding: 0 !important;
}
// 自定义ext-popover-custom
.el-tooltip__popper.ext-popover-custom,
.el-select-dropdown.ext-popover-custom,
.el-popover.ext-popover-custom {
  z-index: 10000 !important;
}
.el-select-dropdown.ext-popover-custom{
  background: white !important;
}
.el-tooltip__popper.ext-popover-custom {
  max-width: 700px;
  background: rgba(60, 60, 60, 0.9);
  line-height: 24px !important;
  color: #f8f9fa !important;
  word-break: normal;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
  font-family: WorkSans, Helvetica Neue, PingFang SC, Microsoft YaHei, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-break: auto;
}
.el-tooltip__popper.custom-width-ext600 {
  max-width: 600px;
}
.el-tooltip__popper.text-center-popover {
  text-align: center;
  min-width: 92px;
}
.el-tooltip__popper[x-placement^='top'] .popper__arrow::after {
  border-top-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='top'] .popper__arrow {
  border-top-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='right'] .popper__arrow::after {
  border-right-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='right'] .popper__arrow {
  border-right-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='left'] .popper__arrow::after {
  border-left-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='left'] .popper__arrow {
  border-left-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='bottom'] .popper__arrow::after {
  border-bottom-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='bottom'] .popper__arrow {
  border-bottom-color: rgb(79, 79, 79);
}

//
.ext-vertical-middle {
  vertical-align: middle !important;
}
.ext-vertical-5px {
  vertical-align: -5px !important;
}
.prompt-content-ext a,
.loading-more p a {
  color: #fb8c1e !important;
  border-bottom: 1px #fb8c1e dashed;
  vertical-align: 1px;
}
.loading-more p a {
  vertical-align: 0px;
}
.el-image__inner {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: 100% !important;
  display: block;
}
.middle-two-px {
  vertical-align: -2px !important;
}
.close-popup-btn {
  color: #a6aab3;
  &:hover {
    color: #91959f;
  }
}
.version-upgrading {
  .text-ext-lightred {
    color: #f3552d;
    border-bottom: 1px #f3552d solid;
    margin-left: 2px !important;
    vertical-align: 1px;
  }
  &:focus,
  &:active {
    outline: none;
  }
}
.el-tooltip__popper.ext-popover-custom a {
  color: #fb8c1e !important;
  border-bottom: 1px #fb8c1e solid !important;
  vertical-align: baseline !important;
  &:hover {
    text-decoration: none !important;
  }
}
.icon-link-amazon,
.icon-google-trends {
  color: #bfc6cd;
  font-size: 12px;
  vertical-align: 1px !important;
  &:hover {
    color: #fb8c1e;
  }
}
.main-ext .el-table__header .gutter {
  background: rgb(245, 247, 248);
}
.main-ext .el-table tbody tr:hover > td {
  background-color: transparent !important;
}
.exts-color-blue,
.exts-color-border-blue,
.exts-color-border-red,
.ext_link_gray {
  cursor: pointer;
  max-width: 96%;
  vertical-align: middle;
  height: 16px;
  line-height: 16px;
  border-bottom: 1px transparent dashed;
  &.exts-color-border-blue {
    border-bottom-color: #146cbe;
  }
  &.exts-color-border-blue:not(.hide-hover):hover {
    color: #0c579d !important;
    border-bottom-color: #0c579d;
  }
  &.exts-color-border-red {
    border-bottom-color: #f58181;
  }
  &.exts-color-border-red:not(.hide-hover):hover {
    color: #f58181 !important;
    border-bottom-color: #f58181;
  }
  &.ext_link_gray {
    color: #606266 !important;
    border-bottom-color: #606266;
  }
  &.ext_link_gray:not(.hide-hover):hover {
    color: #0c579d !important;
    border-bottom-color: #0c579d;
  }
}

.hide-hover {
  cursor: auto !important;
}

.main-ext .caret-wrapper {
  width: 12px;
  transform: scale(0.8);
}
.main-ext .el-table .sort-caret {
  left: 2px;
}
.el-table__expand-icon {
  display: none;
}

.btn-ext {
  height: 30px;
  line-height: 1;
  min-width: 76px;
  box-sizing: border-box;
}
.btn-group {
  margin-top: 12px !important;
}
.text-ext-gray {
  font-size: 14px;
  font-weight: 500;

  .text-danger {
    color: #ff3d0b;
  }
}
#seller-sprite-extension-app input {
  padding-left: 6px !important;
}
.el-loading-spinner .circular {
  width: 20px !important;
}
// 分页样式修改
.el-pagination__sizes {
  margin-left: 10px !important;
}
.el-pagination__editor {
  margin: 0 10px !important;
}
// 多选下拉样式问题
.el-tag--light {
  margin-left: 5px !important;
}
.el-tag--light .el-icon-close {
  right: 0 !important;
}
.el-tag__close {
  margin-left: 3px !important;
}

//按钮
.warning-tag {
  background-color: #fff6e8 !important;
  border-color: #fbca8b !important;
  color: #ff9d24 !important;
  font-size: 0.725rem;
  font-weight: normal !important;
  margin-right: 6px !important;
  margin-left: 0 !important;
  border-radius: 2px !important;
  &:hover {
    background-color: #ffeac7 !important;
    border-color: #fbca8b !important;
    color: #ff9d24 !important;
  }
}
// 无边框
.warning-none-border-tag {
  background-color: #fef8f2 !important;
  border-color: #fde5c6 !important;
  color: #f3ac54 !important;
  font-size: 0.725rem;
  margin-right: 4px !important;
  margin-left: 0 !important;
  border-radius: 2px !important;
  &:hover {
    background-color: #fde5c6 !important;
    border-color: #fde5c6 !important;
    color: #f3ac54 !important;
  }
}
.danger-tag {
  background-color: #fdf1ef !important;
  border-color: #fdf1ef !important;
  color: #fb8b78 !important;
  font-size: 0.725rem;
  margin-right: 6px !important;
  margin-left: 0 !important;
  border-radius: 2px !important;
  &:hover {
    background-color: #fadcd8 !important;
    border-color: #fadcd8 !important;
    color: #fb8b78 !important;
  }
}
.blue-tag {
  background-color: #f3f9ff !important;
  border-color: #e2f0fe !important;
  color: #72acf5 !important;
  border-radius: 2px !important;
  margin-right: 6px !important;
  margin-left: 0 !important;
  &:hover {
    background-color: #e2efff !important;
    border-color: #72acf5 !important;
    color: #72acf5 !important;
  }
}
.purple-tag {
  background-color: #f9f8ff !important;
  border-color: #d2cfff !important;
  color: #a5a0f9 !important;
  border-radius: 2px !important;
  margin-right: 6px !important;
  margin-left: 0 !important;
  &:hover {
    background-color: #f9f8ff !important;
    border-color: #a5a0f9 !important;
    color: #a5a0f9 !important;
  }
}
.danger-tag {
  margin-right: 6px !important;
  margin-left: 0 !important;
  border-radius: 2px !important;
}

.el-table tr:hover {
  background: #fff6ea;
}

.FilterProduct {
  .el-select__caret {
    line-height: 20px;
  }
  input[type='text'] {
    text-align: center !important;
    border: 1px solid #e6e8ec !important;
    font-weight: 500;
    color: #86898c;
    font-size: 13px;
    box-shadow: none;
    padding-right: 10px !important;
  }
  input[type='number'] {
    text-align: center !important;
    border: 1px solid #e6e8ec !important;
    font-weight: 500;
    color: #86898c;
    font-size: 13px;
    box-shadow: none;
  }
  input {
    cursor: pointer;
  }
  input:focus {
    box-shadow: 0 0 25px rgba(251, 140, 30, 0.1) !important;
    border-color: rgba(251, 140, 30, 0.5) !important;
  }

  .el-input__suffix {
    display: flex;
    align-items: center;
  }
  .language-select-ext {
    cursor: pointer;
  }
}
input[type='number'] {
  &::-webkit-outer-spin-button,
  &::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }
  -moz-appearance: textfield;
}

//  过滤显示
.placeholderCenter {
  input::-ms-input-placeholder {
    text-align: center;
    margin-left: -20px;
  }
  input::-webkit-input-placeholder {
    text-align: center;
    margin-left: -20px;
  }
}
.placeholderCenter10 {
  input::-ms-input-placeholder {
    text-align: center;
  }
  input::-webkit-input-placeholder {
    text-align: center;
  }
}
.inputLeft {
  input[type='text'] {
    text-align: left !important;
  }
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover {
  background-color: #fffbf5 !important;
}

.el-select-dropdown__item.selected{
  color: #ff9001 !important;
  font-weight: 500;
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after {
  background-color: #ff9001 !important;
}
.el-select-dropdown__item.is-selected {
  color: #ff9001 !important;
}
.el-select-dropdown__item:hover {
  background-color: #fffbf5 !important;
}
// 超出隐藏
.el-select__tags {
  white-space: nowrap !important;
  overflow: hidden !important;
}
.language-select-ext {
  height: 30px !important;
  &:first-child span:first-child {
    display: flex;
    span {
      display: flex;
      align-items: center;
    }
  }
}

.el-table::before {
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 0px;
}
.el-table--group::after,
.el-table--border::after,
.el-table::before {
  content: '';
  position: absolute;
  background-color: #fff;
  z-index: 1;
}
.el-loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}
.el-popover {
  padding: 12px !important;
  z-index: 10000 !important;
  overflow: inherit !important;
  width: initial !important;
  max-width: 1050px;
  max-height: inherit;
}
.ext-popover-custom-no-padding {
  padding: 0 !important;
}
.ext-popover-custom-new-border {
  border: 1px solid #ffffff;
  box-shadow: 0px 0px 8px 0px rgba(93, 93, 93, 0.25);
}
.el-popover.ext-popover-width-161 {
  width: 161px !important;
}
.el-checkbox__input.is-checked .el-checkbox__inner,.el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner{
  background-color: rgb(251, 140, 30) !important;
  border-color: rgb(251, 140, 30) !important;
}
.el-checkbox__inner:hover {
  border-color: rgb(251, 140, 30) !important;
}
.el-popper.is-dark{
  opacity: 0.9;
}
.el-popper label{
  height: 24px !important;
}
.el-popper label .el-checkbox__input{
  width: 27px !important;
  margin-right: 7px;
  margin-left: -13px;
}
input:focus{
  box-shadow: none !important;
  background-color: #fff !important;
}
select:checked,select:focus{
  border-color: rgba(251, 140, 30, 0.5) !important;
}
select:focus-visible{
  outline: none;
}
.ml-ext-12 {
  margin-left: 12px !important;
}
.mr-ext-20 {
  margin-right: 20px !important;
}
.pr-ext-20 {
  padding-right: 20px !important;
}
.ext-icon:focus{
  outline: none !important;
}
.el-pager li.btn-quicknext{
  color: #86898c;
}
.el-pager li.btn-quickprev {
  color: #86898c;
}
.exts-color-border-black {
    border-bottom: 1px #d3d3d3 dashed;
    cursor: pointer;
  }

.grade-hover {
  &:hover {
    color: #ff9d24;
    border-bottom: 1px dashed #ff9d24;
  }
}
.el-dialog__headerbtn .el-dialog__close {
  font-size: 18px !important;
  color: #a6aab3 !important;
  font-weight: 500;
}
// .el-dialog__headerbtn {
//   top: 12px !important;
//   right: 13px !important;
// }
.el-dialog__headerbtn .el-dialog__close:hover {
  color: #fb8c1e !important;
}

.version-update-dialog{
  background-image: url(chrome-extension://__MSG_@@extension_id__/assets/images/img/bg-update.png) !important;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 8px !important;
}
/* 滚动条整体 */
.list-container::-webkit-scrollbar {
  width: 7px;
  height: 12px;
  cursor: pointer;
}
/* 两个滚动条交接处 -- x轴和y轴 */
.list-container::-webkit-scrollbar-corner {
  background-color: none;
}

/* 滚动条滑块 */
.list-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 5px rgba(144, 147, 153, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

/* 滚动条轨道 */
.list-container::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px white;
  border-radius: 10px;
  background: white;
}

/* 滚动条两端按钮 */
.list-container::-webkit-scrollbar-button {
  display: none;
}
.search-common-searchbox {
  z-index: 1000 !important;
}