.custom-chart-box .content--disclaimer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 16px;
  margin-top: 18px;
}
.custom-chart-box .content--disclaimer .disclaimer-item {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 12px;
}
.custom-chart-box .content--disclaimer .disclaimer-item img,
.custom-chart-box .content--disclaimer .disclaimer-item i,
.custom-chart-box .content--disclaimer .disclaimer-item svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
}
.custom-chart-box .content--disclaimer .disclaimer-item span {
  color: #2F3137;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
.custom-chart-box .content--disclaimer .disclaimer-item a {
  color: #7d8794;
}
.custom-chart-box .chart-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  min-height: 400px;
}
.custom-chart-box .legend-container {
  font-family: Figtree, sans-serif;
  background-color: #f2f2f2;
  padding: 24px;
  border-radius: 10px;
  width: 100%;
  height: -moz-min-content;
  height: min-content;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  align-self: center;
}
.custom-chart-box .legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.custom-chart-box .legend-text {
  display: flex;
  align-items: center;
}
.custom-chart-box .legend-details {
  font-size: 16px;
}
.custom-chart-box .legend-value {
  font-size: 16px;
  margin-right: 12px;
}
.custom-chart-box .legend-color {
  width: 20px;
  height: 20px;
  border-radius: 3px;
}
.custom-chart-box .legend-right {
  display: flex;
  align-items: center;
}
.custom-chart-box .legend-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 7px;
}
.custom-chart-box .total-container {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.custom-chart-box .total-container span {
  font-size: 16px;
}
.custom-chart-box .chart-pie-revenue {
  position: relative;
  width: 100%;
  margin-top: 0;
  align-self: center;
  overflow: visible;
}
.custom-chart-box .custom-chart-canvas-bar-line {
  position: relative;
  width: 100%;
  min-height: 360px;
}
.custom-chart-box .custom-chart-pane--hidden {
  display: none;
}
.custom-chart-box .custom-chart-consolidated-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#custom-chart-consolidated .custom-chart-pane {
  position: relative;
  z-index: 1;
}
#custom-chart-consolidated .custom-chart-consolidated-tabs ~ .custom-chart-pane .chart-pie-revenue {
  margin-top: 0;
}
#custom-chart-consolidated .filters.forced-mobile .years-select-container {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100%;
}
@media (max-width: 767px) {
  #custom-chart-consolidated > .header:has(.filters.forced-mobile) + .content {
    padding-top: 96px !important;
  }
}

@media (max-width: 767px) {
  .custom-chart-box {
    overflow-x: clip;
  }
  .custom-chart-box .content--disclaimer .disclaimer-item span {
    font-size: 12px;
    line-height: 20px;
  }
  .custom-chart-box .chart-container {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
  }
  .custom-chart-box .chart-pie-revenue {
    margin: -28px 0 !important;
  }
  .custom-chart-box .legend-container {
    margin-bottom: 0;
  }
  .custom-chart-box:has(.content--disclaimer) .legend-container {
    margin-bottom: 10px;
  }
}
