.bar-chart.range-field {
  padding: 20px;
  padding-bottom: 0;
}

.bar-chart .dcl.mana:not(.mana-label-icon) {
  position: absolute;
  top: 10px;
  left: 12px;
  margin-top: 0;
}

.bar-chart .ui.header.dcl.mana.mana-label-icon {
  font-size: 17px;
}

.bar-chart .dcl.mana.mana-label-icon .symbol {
  opacity: 0.5;
}

.bar-chart .dcl.mana .symbol .ethereum {
  transform: scale(0.8) translateY(0.2em);
}

.bar-chart .dcl.mana .symbol .matic {
  /* obtained using https://codepen.io/sosuke/pen/Pjoqqp */
  filter: invert(44%) sepia(18%) saturate(249%) hue-rotate(219deg)
    brightness(95%) contrast(87%);
  transform: scale(0.8) translateY(0.2em);
  width: 16px;
  height: 16px;
}

.bar-chart .dcl.field.full .ui.input input {
  text-overflow: ellipsis;
  padding-right: 4px !important;
  padding-left: 29px !important;
  font-size: 15px;
}

.bar-chart .ui.min-max-field {
  column-gap: 8px;
}

.bar-chart .dcl.field .ui.sub.header {
  padding: 4px 0;
}

.bar-chart .dcl.field .message {
  /* we won't show any message for this inputs */
  display: none;
}

/* Hide input arrows for Chrome, Safari, Edge, Opera */
.bar-chart .dcl.field.full .ui.input input::-webkit-outer-spin-button,
.bar-chart .dcl.field.full .ui.input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide input arrows for Firefox */
.bar-chart .dcl.field.full .ui.input input[type='number'] {
  -moz-appearance: textfield;
}

.bar-chart-error {
  display: block;
  margin-top: 12px;
  color: var(--summer-red);
}

.bar-chart .bar-chart-input-container {
  max-width: 100%;
}

.bar-chart .recharts-responsive-container {
  background-color: #161419;
  border-radius: 6px;
  margin-top: 16px;
}

.bar-chart .dcl.sliderfield-track .slider-value .slider-label {
  font-weight: 400;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: -0.2px;

  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  top: -5px;
  left: 0;
}

.bar-chart
  .dcl.sliderfield-wrapper
  > input[type='range'].sliderfield-input-left
  ~ .dcl.sliderfield-rail
  .slider-value.slider-from,
.bar-chart
  .dcl.sliderfield-wrapper
  > input[type='range'].sliderfield-input-right
  ~ .dcl.sliderfield-rail
  .slider-value.slider-to {
  visibility: hidden;
}

.bar-chart
  .dcl.sliderfield-wrapper
  > input[type='range'].sliderfield-input-left:focus
  ~ .dcl.sliderfield-rail
  .slider-value.slider-from,
.bar-chart
  .dcl.sliderfield-wrapper
  > input[type='range'].sliderfield-input-left:hover
  ~ .dcl.sliderfield-rail
  .slider-value.slider-from,
.bar-chart
  .dcl.sliderfield-wrapper
  > input[type='range'].sliderfield-input-right:focus
  ~ .dcl.sliderfield-rail
  .slider-value.slider-to,
.bar-chart
  .dcl.sliderfield-wrapper
  > input[type='range'].sliderfield-input-right:hover
  ~ .dcl.sliderfield-rail
  .slider-value.slider-to {
  visibility: visible;
}

.bar-chart .dcl.sliderfield-track .slider-value .ui.header.dcl.mana {
  font-size: 15px;
}

.bar-chart .dcl.sliderfield {
  padding-left: 5px;
}

.bar-chart .dcl.sliderfield > p {
  display: none;
}

.bar-chart .loader-container {
  height: 150px;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 52px;
  border-radius: 6px;
}

.bar-chart .loading-layer {
  height: 150px;
  background-color: black;
  width: 100%;
  opacity: 0.5;
  border-radius: 6px;
  height: 100%;
}

.bar-chart .no-data-loading-layer {
  position: relative;
  left: 0;
  bottom: 0;
  margin-top: 24px;
}

.bar-chart .custom-tooltip {
  display: flex;
  color: var(--popup-text);
  background-color: var(--card);
  border: var(--popup-outline);
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.38;
  padding: 7px 12px;
  border-radius: 0.28571429rem;
  border-top-left-radius: 0.285714rem;
  border-top-right-radius: 0.285714rem;
  border-bottom-right-radius: 0.285714rem;
  border-bottom-left-radius: 0.285714rem;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-1);
}

.bar-chart .custom-tooltip .ui.header.dcl.mana {
  position: initial;
  font-size: 17px;
  margin-bottom: 0;
  white-space: nowrap;
}

.bar-chart .custom-tooltip .ui.header.dcl.mana span {
  font-size: 14px;
}

.bar-chart .custom-tooltip .custom-tooltip-separator {
  padding: 0 6px;
}
