$stakes-table-th-background: #f5f6fa !default;
$stakes-table-cell-separation: 25px !default;

.stakes-table-container {
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.addresses-table-container {
  margin-left: -30px;
  margin-right: -30px;
  .stakes-table-container {
    table {
      width: 100%;
      th:first-child {
        padding-left: 25px;
      }
      td:first-child {
        padding-left: 25px;
      }
    }
  }
  .color-lighten {
    color: #828ba0;
  }
}

// Loader
.table-content-loader {
  display: inline-block;
  height: 24px;
  width: 100%;
  border-radius: 4px;
  background-color: #f5f6fa;
  overflow: hidden;
  position: relative;
  &:before {
    width: inherit;
    height: inherit;
    content: '';
    position: absolute;
    background: linear-gradient(to right, #f5f6fa 2%, #eee 18%, #f5f6fa 33%);
    animation-duration: 1.7s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: placeholderAnimate;
    background-size: 1300px;
  }
}

@keyframes placeholderAnimate {
  0%{ background-position: -650px 0; }
  100% { background-position: 650px 0; }
}

.table-content-pseudo {
  td {
    &:last-child {
      padding-right: 24px !important;
    }
  }
}

.stakes-table {
  min-width: fit-content;
  width: 100%;
}

.stakes-table-th {
  background-color: $stakes-table-th-background;
  color: #a3a9b5;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  text-align: left;

  &:first-child {
    min-width: 15px;
  }
}

.stakes-table-th-content {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  padding: 21px $stakes-table-cell-separation 21px 0;
  position: relative;
  z-index: 0;
}

.stakes-th-text {
  margin-right: 10px;
  white-space: nowrap;
}

.stakes-td {
  border-bottom: 1px solid #f5f6fa;
  font-size: 14px;
  font-weight: normal;
  height: 60px;
  line-height: 1.2;
  padding-right: $stakes-table-cell-separation;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;

  &:last-child {
    padding-right: 0;
  }

  .stakes-tr-banned & {
    background-color: $stakes-banned-background;
    color: $stakes-banned-color;
  }
}

.stakes-td-order {
  min-width: 50px;
  padding-left: 30px;
  text-align: left;
}

.stakes-td-link-style {
  color: $primary;

  .stakes-tr-banned & {
    color: $stakes-banned-color;
  }
}
