.statistics-wrapper {
  border-radius: 20px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 8px 14px 0px rgba(0, 20, 83, 0.15);
}
.statistics-wrapper table {
  margin: 0;
  font-size: 18px;
  color: var(--e-global-color-text);
  table-layout: fixed;
}
.statistics-wrapper table thead {
  text-align: center;
  border-bottom: 2px solid #85d0e5;
}
.statistics-wrapper table thead tr:first-of-type {
  border-bottom: 10px solid #fff;
}
.statistics-wrapper table tbody tr:hover {
  background: #edfafc;
  cursor: pointer;
}
.statistics-wrapper table tr th {
  padding: 0 0 10px;
  border: none !important;
}
.statistics-wrapper table thead tr:first-of-type th:not(:first-of-type) {
  border-left: 1px solid #c2e7f2 !important;
  border-right: 1px solid #c2e7f2 !important;
}
.statistics-wrapper table td,
.statistics-wrapper table th {
  padding: 10px;
  border: none;
  background: transparent !important;
  text-align: center;
}
.statistics-wrapper tbody:before,
.statistics-wrapper tbody:after {
  content: "";
  height: 10px;
  display: block;
}
.statistics-wrapper tbody tr td.buy_profit.win span,
.statistics-wrapper tbody tr td.sell_profit.win span,
.statistics-wrapper tbody tr td.total_profit.win span {
  display: block;
  width: 90%;
  border-radius: 10px;
  border: 1px solid #00fb83;
  box-shadow: 0px 3px 6px 0px rgba(0, 29, 82, 0.15);
  padding: 2px 0px;
}
.statistics-wrapper tbody tr td.buy_profit.lost span,
.statistics-wrapper tbody tr td.sell_profit.lost span,
.statistics-wrapper tbody tr td.total_profit.lost span {
  display: block;
  width: 90%;
  border-radius: 10px;
  border: 1px solid #ff3535;
  box-shadow: 0px 3px 6px 0px rgba(0, 29, 82, 0.15);
  padding: 2px 0px;
}
.statistics-wrapper tbody tr td.total_won.win span {
  display: block;
  width: 90%;
  border-radius: 10px;
  background: #00fb83;
  box-shadow: 0px 3px 6px 0px rgba(0, 29, 82, 0.15);
  padding: 2px 0px;
  color: #fff;
}
.statistics-wrapper tbody tr td.total_lost.lost span {
  display: block;
  width: 90%;
  border-radius: 10px;
  background: #ff3535;
  box-shadow: 0px 3px 6px 0px rgba(0, 29, 82, 0.15);
  padding: 2px 0px;
  color: #fff;
}
.statistics-checkboxes {
  display: none;
  flex-wrap: wrap;
  gap: 15px;
  position: absolute;
  background: #fff;
  z-index: 9;
  border-radius: 15px;
  box-shadow: 0px 8px 14px 0px rgba(0, 20, 83, 0.15);
  padding: 20px;
}
.statistics-checkboxes.active {
  display: flex;
}
.statistics-checkboxes label {
  cursor: pointer;
}
.statistics-filter-wrapper {
  display: flex;
  margin-bottom: 50px;
}
.statistics-button {
  border: 1px solid #001d52;
  color: #001d52;
}
.statistics-button:focus {
  outline: none;
  background: transparent;
  border: 1px solid #001d52;
  color: #001d52;
}
.statistics-button:hover,
.statistics-button.active {
  color: #fff;
  background: #40b5d6;
  border-color: #40b5d6;
}
#filter_by_currency {
  margin-left: 50%;
  padding: 10px 50px;
  text-align: center;
}
#filter-submit {
  width: 100%;
}
@media (max-width: 1024px) {
  .statistics-filter-wrapper {
    flex-direction: column;
    margin-bottom: 20px;
  }
  .statistics-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  #filter_by_currency {
    display: flex;
    justify-content: center;
    margin: 10px auto;
  }
  .statistics-wrapper {
    overflow-x: scroll;
  }
  .statistics-wrapper table td,
  .statistics-wrapper table th {
    padding: 5px;
  }
  .statistics-wrapper table {
    font-size: 14px;
    width: 1000px;
  }
}
