@charset "UTF-8";
:root {
  --primary-color: #0c263e;
  --secondary-color: #fff;
  --background-color: #fff;
  --foreground-color: #000;
  --hover-color: #999;
  --icon-color: #fff;
  --disabled-color: #ccc;
  --text-color: #000;
  --label-color: #000;
  --label-inverted-color: #fff;
  --series1-color: #4171a0;
  --series2-color: #ffc109;
  --series3-color: #61a357;
  --series4-color: #ff6347;
  --series5-color: #4682b4;
  --series6-color: #32cd32;
  --series7-color: #ff69b4;
  --series8-color: #8a2be2;
  --series9-color: #ff4500;
  --series10-color: #daa520;
  --series11-color: #20b2aa;
  --series12-color: #9370db;
  --series13-color: #87cefa;
}

.benchmark-container {
  width: 100%;
  padding: 1rem;
  background-color: var(--background-color, #f9f9f9);
  color: var(--foreground-color, #000);
  box-sizing: border-box; /* Ensure padding is included in the element’s width */
}
.benchmark-container .bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
  flex-wrap: wrap; /* Ensure items wrap and don’t overflow */
}
.benchmark-container .bar {
  background-color: var(--bar-color, #4682b4);
  height: 2rem;
  transition: width 0.5s ease;
  width: 80%; /* Ensure bar width is contained within the container */
  max-width: 100%; /* Ensure it doesn't overflow */
  box-sizing: border-box; /* Include padding and borders in width calculations */
}
.benchmark-container .benchmark-line {
  position: relative;
  background-color: var(--benchmark-color, #ff6347);
  height: 4px;
  width: 100%;
  margin-top: 8px;
}
.benchmark-container .benchmark-line::before {
  content: attr(data-label);
  position: absolute;
  left: var(--benchmark-percentage);
  transform: translateX(-50%);
  bottom: 100%;
  font-size: 0.8rem;
  color: var(--benchmark-color, #ff6347);
  white-space: nowrap;
}
.benchmark-container .bar-label {
  flex-basis: 20%;
  text-align: left;
  font-size: 1rem;
  margin-top: 2rem;
  box-sizing: border-box; /* Ensure padding is included in the width */
}
@media (max-width: 600px) {
  .benchmark-container .bar-label {
    font-size: 0.8rem;
    min-width: 30%;
  }
}
.benchmark-container .chart-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.benchmark-container.dark-theme {
  background-color: var(--dark-background-color, #1e1e1e);
  color: var(--dark-foreground-color, #e0e0e0);
}
.benchmark-container.dark-theme .bar {
  background-color: var(--dark-bar-color, #1e90ff);
}
.benchmark-container.dark-theme .benchmark-line {
  background-color: var(--dark-benchmark-color, #ff4500);
}
.benchmark-container.dark-theme .benchmark-line::before {
  color: var(--dark-benchmark-color, #ff4500);
}
.benchmark-container.dark-theme .chart-title {
  color: var(--dark-text-color, #f0f0f0);
}
.benchmark-container.high-contrast-theme {
  background-color: var(--high-contrast-background-color, #000000);
  color: var(--high-contrast-foreground-color, #FFFFFF);
}
.benchmark-container.high-contrast-theme .bar {
  background-color: var(--high-contrast-bar-color, #FFD700);
}
.benchmark-container.high-contrast-theme .benchmark-line {
  background-color: var(--high-contrast-benchmark-color, #FF0000);
}
.benchmark-container.high-contrast-theme .benchmark-line::before {
  color: var(--high-contrast-benchmark-color, #FF0000);
}
.benchmark-container.high-contrast-theme .chart-title {
  color: var(--high-contrast-text-color, #FFFFFF);
}
.benchmark-container.corporate-theme {
  background-color: var(--corporate-background-color, #0c263e);
  color: var(--corporate-foreground-color, #ffffff);
}
.benchmark-container.corporate-theme .bar {
  background-color: var(--corporate-bar-color, #61a357);
}
.benchmark-container.corporate-theme .benchmark-line {
  background-color: var(--corporate-benchmark-color, #ffc109);
}
.benchmark-container.corporate-theme .benchmark-line::before {
  color: var(--corporate-benchmark-color, #ffc109);
}
.benchmark-container.corporate-theme .chart-title {
  color: var(--corporate-text-color, #ffffff);
}

.comparison-graph {
  display: flex;
}
.comparison-graph .chart-wrapper {
  width: 100%;
  background-color: var(--background-color, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}
.comparison-graph .title-container {
  display: flex;
  color: var(--foreground-color, #000);
  justify-content: center;
  width: 100%;
}
.comparison-graph .graph-container {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 2rem;
  width: 100%;
}
.comparison-graph .circle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50%;
  background-color: var(--circle-color, #ccc);
  margin: 1rem;
  transition: all 0.3s ease;
}
.comparison-graph .circle-text {
  position: absolute;
  text-align: center;
  color: var(--label-color, #fff);
  font-weight: bold;
  font-size: 2.5rem;
  transition: font-size 0.3s ease;
}
.comparison-graph .graph-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: font-size 0.3s ease;
}
.comparison-graph .graph-summary {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--foreground-color, #000);
}
@media (max-width: 768px) {
  .comparison-graph .graph-container {
    padding: 1rem;
  }
  .comparison-graph .circle-wrapper {
    margin: 0.5rem;
    width: calc(50vw - 4rem);
    height: calc(50vw - 4rem);
  }
  .comparison-graph .circle-text {
    font-size: 1.8rem;
  }
  .comparison-graph .graph-title {
    font-size: 1.5rem;
  }
  .comparison-graph .graph-summary {
    font-size: 1rem;
  }
}
@media (max-width: 400px) {
  .comparison-graph .graph-container {
    padding: 0.5rem;
  }
  .comparison-graph .circle-wrapper {
    width: calc(100vw - 6rem);
    height: calc(100vw - 6rem);
  }
  .comparison-graph .circle-text {
    font-size: 1.5rem;
  }
  .comparison-graph .graph-title {
    font-size: 1.2rem;
  }
  .comparison-graph .graph-summary {
    font-size: 0.9rem;
  }
}

:root {
  font-family: Arial, sans-serif;
  line-height: 2;
}

.doughnut-chart-wrapper {
  background-color: var(--background-color, #fff);
  color: var(--text-color, #000);
  padding: var(--padding, 2rem);
  text-align: center;
}
.doughnut-chart-wrapper .doughnut-container {
  background-color: var(--background-color, #fff);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: auto;
}
.doughnut-chart-wrapper .svg-container {
  width: 100%;
  height: auto;
}
.doughnut-chart-wrapper .circle-background {
  fill: none;
  stroke: var(--bg-color, #ccc); /* Use the CSS variable for background color */
  stroke-width: 60;
}
.doughnut-chart-wrapper .circle-foreground {
  fill: none;
  stroke: var(--fg-color, #00bfff); /* Use the CSS variable for foreground color */
  stroke-width: 60;
  stroke-dasharray: var(--stroke-dasharray);
  stroke-dashoffset: 0;
}
.doughnut-chart-wrapper .percentage-text {
  font-size: var(--percentage-size, 4rem); /* Use the CSS variable for percentage size */
  font-weight: bold;
  fill: var(--label-color, #000); /* Use the CSS variable for label color */
  text-anchor: middle;
  dominant-baseline: middle;
}
.doughnut-chart-wrapper .label-text {
  font-size: 1.2rem;
  fill: var(--label-color, #666); /* Use the CSS variable for label color */
  text-anchor: middle;
  dominant-baseline: middle;
}
.doughnut-chart-wrapper .chart-title {
  font-size: var(--title-size, 1.8rem);
  margin-bottom: 1rem;
}
.doughnut-chart-wrapper .chart-summary {
  font-size: var(--summary-size, 1rem);
  color: var(--text-color, #000); /* Use the CSS variable for text color */
  margin-bottom: 2rem;
}

.dumbbell-chart-wrapper {
  background-color: var(--background-color);
  color: var(--foreground-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  position: relative;
  margin: 0 auto;
  height: var(--chart-height);
}
.dumbbell-chart-wrapper .svg-container {
  width: 100%;
  height: 100%;
  display: block;
}
.dumbbell-chart-wrapper text {
  fill: var(--label-color);
}
.dumbbell-chart-wrapper line {
  stroke: var(--foreground-color);
}

.heatmap-wrapper {
  display: grid;
  grid-template-columns: auto repeat(var(--num-columns), 1fr); /* Auto column for row labels */
  grid-template-rows: auto repeat(var(--num-rows), 1fr); /* Auto row for top labels */
  gap: 5px; /* Spacing between cells */
  width: 100%;
  max-width: 100%; /* Ensure it is responsive */
  margin: 0 auto;
  background-color: var(--background-color);
  /* Ensure square ratio between rows and columns */
  aspect-ratio: var(--num-columns)/var(--num-rows);
  /* Responsive adjustments for tablet and smaller screens */
  /* Mobile adjustments for small screens (phones) */
  /* Extra small mobile adjustments (phones <400px) */
}
@media (max-width: 768px) {
  .heatmap-wrapper {
    gap: 3px; /* Reduce gaps */
    padding: 10px; /* Reduce padding */
  }
  .heatmap-wrapper .heatmap-cell {
    height: auto; /* Auto height to maintain ratio */
    font-size: 0.85rem; /* Adjust font size for medium screens */
  }
  .heatmap-wrapper .date-label, .heatmap-wrapper .row-label {
    font-size: 0.85rem; /* Smaller labels for medium screens */
  }
}
@media (max-width: 480px) {
  .heatmap-wrapper {
    gap: 2px; /* Further reduce gaps */
    padding: 5px; /* Reduce padding more for small screens */
    grid-template-columns: auto repeat(var(--num-columns), 1fr); /* Keep the same layout but reduce space */
    grid-template-rows: auto repeat(var(--num-rows), 1fr);
    aspect-ratio: var(--num-columns)/var(--num-rows); /* Retain ratio on smaller screens */
  }
  .heatmap-wrapper .heatmap-cell {
    height: auto; /* Ensure height adjusts based on width for smaller screens */
    font-size: 0.75rem; /* Further reduce font size for small screens */
  }
  .heatmap-wrapper .date-label, .heatmap-wrapper .row-label {
    font-size: 0.75rem; /* Further reduce labels for small screens */
  }
}
@media (max-width: 400px) {
  .heatmap-wrapper {
    gap: 1px; /* Minimum gap */
    padding: 3px; /* Smallest padding */
    grid-template-columns: auto repeat(var(--num-columns), 1fr); /* Maintain grid layout */
    aspect-ratio: var(--num-columns)/var(--num-rows); /* Keep square ratio */
  }
  .heatmap-wrapper .heatmap-cell {
    height: auto; /* Keep auto to maintain aspect ratio */
    font-size: 0.65rem;
  }
  .heatmap-wrapper .date-label, .heatmap-wrapper .row-label {
    font-size: 0.65rem; /* Minimum label font size */
  }
}
.heatmap-wrapper .date-label {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
}
.heatmap-wrapper .row-label {
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.heatmap-wrapper .heatmap-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  height: auto;
  color: var(--value-color);
}

.horizontal-bar {
  /* Small screens (phones, <768px) */
  /* Extra small screens (phones <400px) */
}
.horizontal-bar .list-container {
  background-color: var(--background-color);
  list-style: none;
  padding: 1rem;
  width: 100%; /* Ensure it takes full width */
}
.horizontal-bar .list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap; /* Allow text and bar to wrap on small screens */
}
.horizontal-bar .title {
  font-size: 2rem; /* Increase font size for larger screens */
  color: var(--foreground-color);
  margin-bottom: 1rem;
  text-align: center; /* Center title for smaller screens */
}
.horizontal-bar .summary {
  font-size: 1.2rem;
  color: var(--foreground-color);
  margin-bottom: 2rem;
  text-align: center;
}
.horizontal-bar .year-text {
  font-size: 2.2rem;
  color: var(--foreground-color);
  margin-bottom: 1rem;
  display: inline;
  padding: 0.5rem;
  text-align: center;
  display: block; /* Ensure year text is centered */
}
.horizontal-bar .name-text {
  font-size: 1.2rem;
  color: var(--foreground-color);
  font-weight: bold;
  min-width: 150px;
  flex: 1; /* Allow name text to take available space */
}
.horizontal-bar .line-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-left: 1rem;
  width: 100%; /* Ensure bar takes full width */
}
.horizontal-bar .line {
  height: 2rem;
  background-color: var(--line-color);
  width: var(--line-width);
  position: relative;
  transition: width 0.5s ease-in-out;
  max-width: 100%; /* Ensure bar does not exceed available space */
}
.horizontal-bar .total-value {
  position: absolute;
  color: var(--label-color);
  right: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  .horizontal-bar .title {
    font-size: 1.5rem;
  }
  .horizontal-bar .summary {
    font-size: 1rem;
  }
  .horizontal-bar .year-text {
    font-size: 1.8rem;
    text-align: center;
  }
  .horizontal-bar .name-text {
    font-size: 1rem;
    min-width: 100px; /* Reduce the minimum width for smaller screens */
  }
  .horizontal-bar .line {
    height: 1.5rem; /* Reduce height of the bars */
  }
  .horizontal-bar .total-value {
    font-size: 0.9rem; /* Reduce font size inside bars */
  }
}
@media (max-width: 400px) {
  .horizontal-bar .title {
    font-size: 1.2rem;
  }
  .horizontal-bar .summary {
    font-size: 0.9rem;
  }
  .horizontal-bar .year-text {
    font-size: 1.5rem;
    text-align: center;
  }
  .horizontal-bar .name-text {
    font-size: 0.9rem;
    min-width: 80px; /* Further reduce min-width */
  }
  .horizontal-bar .line {
    height: 1rem; /* Further reduce bar height */
  }
  .horizontal-bar .total-value {
    font-size: 0.8rem; /* Reduce font size inside bars */
  }
}

.horizontal-list .list-container {
  background-color: var(--background-color);
  list-style: none;
  padding: 1rem;
  margin-bottom: 3rem;
}
.horizontal-list .list-item {
  margin-bottom: 1.5rem;
  position: relative;
}
.horizontal-list .title {
  font-size: 1.5rem;
  color: var(--foreground-color);
  margin-bottom: 1rem;
}
.horizontal-list .summary {
  font-size: 1rem;
  color: var(--foreground-color);
  margin-bottom: 2rem;
}
.horizontal-list .name-text {
  font-size: 1.2rem;
  color: var(--label-color);
  font-weight: bold;
  position: absolute;
  top: 0;
}
@media (max-width: 400px) {
  .horizontal-list .name-text {
    top: 0.8rem;
    font-size: 0.8rem;
  }
}
.horizontal-list .line-container {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}
.horizontal-list .line {
  height: 0.5rem;
  background-color: var(--line-color);
  width: var(--line-width);
  margin-top: 3.2rem;
  position: relative;
}
.horizontal-list .circle {
  width: 3.4rem;
  height: 3.4rem;
  background-color: var(--circle-color);
  color: var(--value-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0.5rem;
  position: relative;
  left: -1rem;
  top: 1.5rem;
}

.pie-graph .title-container {
  display: flex;
  justify-content: center;
  background-color: var(--background-color);
}
.pie-graph .graph-title {
  color: var(--foreground-color);
  text-align: center;
  font-size: 2rem;
}
@media (max-width: 900px) {
  .pie-graph .graph-title {
    font-size: 1.4rem;
  }
}
@media (max-width: 400px) {
  .pie-graph .graph-title {
    font-size: 1.2rem;
  }
}
.pie-graph .graph-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.pie-graph .legend-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pie-graph .legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pie-graph .color-box {
  width: 20px;
  height: 20px;
  background-color: var(--box-color);
}
.pie-graph .legend-label {
  color: var(--label-color, black);
  font-size: var(--label-size, 0.8rem);
  font-weight: bold;
}
.pie-graph .accessibility-table {
  position: absolute;
  top: -9999999px;
  left: -9999999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.pie-graph .pie-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pie-graph .source-text {
  text-align: center;
  font-size: 0.9rem;
  padding: 0;
}
.pie-graph .hr {
  margin: 0;
}

.matrix-container {
  display: grid;
  grid-template-columns: 1fr repeat(5, 1fr); /* 1 column for labels + 5 columns for risk levels */
  grid-template-rows: repeat(6, 1fr); /* 1 row for labels + 5 rows for impact levels */
  gap: 2px;
  padding: 2rem;
  background-color: var(--background-color);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* Medium screens (max-width 768px) */
  /* Small screens (max-width 480px) */
  /* Very small screens (max-width 400px) */
}
@media (max-width: 768px) {
  .matrix-container {
    grid-template-columns: 1fr repeat(5, 0.8fr); /* Slightly reduce column width */
    gap: 1px; /* Reduce gaps */
    padding: 1rem; /* Reduce padding for medium screens */
    background: #333333;
  }
}
@media (max-width: 480px) {
  .matrix-container {
    grid-template-columns: 1fr repeat(5, 0.7fr); /* Further reduce column width */
    gap: 1px;
    padding: 0.5rem;
    font-size: 0.8rem; /* Reduce base font size */
  }
}
@media (max-width: 400px) {
  .matrix-container {
    padding: 0; /* Remove padding */
    grid-template-columns: 1fr repeat(5, 0.6fr); /* Reduce grid columns */
    gap: 0; /* Remove gaps */
    width: 100%; /* Full-width */
    margin: 0 auto; /* Center grid */
  }
}
.matrix-container .matrix-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  background-color: var(--cell-background-color);
  color: var(--label-color);
  padding: 0.5rem;
  box-sizing: border-box; /* Ensure padding does not overflow */
}
@media (max-width: 768px) {
  .matrix-container .matrix-cell {
    font-size: 0.6rem;
    padding: 0.4rem;
  }
}
@media (max-width: 480px) {
  .matrix-container .matrix-cell {
    font-size: 0.6rem;
    padding: 0.3rem;
  }
}
@media (max-width: 400px) {
  .matrix-container .matrix-cell {
    font-size: 0.4rem;
    padding: 0.2rem;
  }
}
.matrix-container .axis-label {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--foreground-color);
  padding: 0.5rem;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .matrix-container .axis-label {
    font-size: 0.6rem;
    padding: 0.3rem;
  }
}
@media (max-width: 480px) {
  .matrix-container .axis-label {
    font-size: 0.6rem;
    padding: 0.3rem;
  }
}
@media (max-width: 400px) {
  .matrix-container .axis-label {
    font-size: 0.4rem;
    padding: 0.2rem;
  }
}
.matrix-container .title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--title-color);
  text-align: center;
}
@media (max-width: 768px) {
  .matrix-container .title {
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .matrix-container .title {
    font-size: 1.1rem;
  }
}
@media (max-width: 400px) {
  .matrix-container .title {
    font-size: 1rem;
  }
}

.spline-chart-container {
  width: 100%;
  background-color: var(--chart-background);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.spline-chart-container .svg-container {
  width: 100%;
  height: 100%;
}
.spline-chart-container .area-path {
  opacity: 0.3;
}
.spline-chart-container .spline-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spline-chart-container .axis-label {
  font-size: 0.8rem;
}
.spline-chart-container .vertical-line {
  stroke-width: 1;
  stroke-dasharray: 4, 4;
}

.stacked-area-chart .chart-container {
  width: 100%;
  height: var(--chart-height);
  background-color: var(--chart-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  position: relative;
  margin: 0 auto;
}
.stacked-area-chart .svg-container {
  width: 100%;
  height: 100%;
  display: block;
}
.stacked-area-chart .legend-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  margin-top: 10px;
}
.stacked-area-chart .legend-item {
  color: var(--label-color);
  display: flex;
  align-items: center;
  margin: 0 15px;
  font-size: 1rem; /* Default font size */
}
.stacked-area-chart .legend-item .color-box {
  width: 15px;
  height: 15px;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .stacked-area-chart .legend-item {
    font-size: 0.8rem; /* Scale down font size on tablets */
    margin: 0 10px;
  }
  .stacked-area-chart .legend-item .color-box {
    width: 12px; /* Scale down color box size */
    height: 12px;
  }
}
@media (max-width: 480px) {
  .stacked-area-chart .legend-item {
    font-size: 0.7rem; /* Further reduce font size on mobile */
    margin: 0 5px;
  }
  .stacked-area-chart .legend-item .color-box {
    width: 10px; /* Reduce color box size */
    height: 10px;
  }
}
@media (max-width: 320px) {
  .stacked-area-chart .legend-item {
    font-size: 0.4rem; /* Smallest font size for very small screens */
    margin: 0 3px;
  }
  .stacked-area-chart .legend-item .color-box {
    width: 8px; /* Smallest color box size */
    height: 8px;
  }
}

.stacked-bar-chart .chart-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  position: relative;
}
.stacked-bar-chart .svg-container {
  width: 100%;
  height: 100%;
  display: block;
}
.stacked-bar-chart .legend-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.stacked-bar-chart .legend-item {
  display: flex;
  align-items: center;
  margin: 0 15px;
}
.stacked-bar-chart .color-box {
  width: 15px;
  height: 15px;
  margin-right: 8px;
}
@media (max-width: 600px) {
  .stacked-bar-chart .chart-container {
    padding: 0.5rem;
  }
  .stacked-bar-chart .legend-item {
    margin: 0 10px;
  }
}

.stacked-row-chart .chart-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  background-color: var(--background-color, #f4f4f4);
  box-sizing: border-box; /* Ensures padding doesn't add to the width */
}
.stacked-row-chart .legend-explanation-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Prevents elements from pushing out of the container */
}
@media (max-width: 768px) {
  .stacked-row-chart .legend-explanation-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
.stacked-row-chart .explanation-text {
  font-size: 1rem;
  color: var(--text-color, #333);
  max-width: 60%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .stacked-row-chart .explanation-text {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 10px;
  }
}
.stacked-row-chart .legend-container {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap; /* Ensure items wrap instead of overflowing */
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .stacked-row-chart .legend-container {
    justify-content: flex-start;
  }
}
.stacked-row-chart .legend-item {
  display: flex;
  align-items: center;
  margin-left: 20px;
  color: var(--text-color, #333);
  flex-wrap: nowrap;
}
@media (max-width: 768px) {
  .stacked-row-chart .legend-item {
    margin-left: 0;
    margin-right: 15px;
  }
}
.stacked-row-chart .legend-item .color-box {
  width: 15px;
  height: 15px;
  margin-right: 5px;
  background-color: var(--color, #000); /* Default fallback color */
}
.stacked-row-chart .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap; /* Prevents overflow by wrapping */
}
@media (max-width: 768px) {
  .stacked-row-chart .row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.stacked-row-chart .row .description {
  flex: 0 1 auto;
  text-align: left;
  padding-right: 10px;
  font-size: 1rem;
  color: var(--text-color, #333);
}
@media (max-width: 768px) {
  .stacked-row-chart .row .description {
    padding-right: 0;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }
}
.stacked-row-chart .row .bar-container {
  display: flex;
  flex-grow: 1; /* Ensures it takes the remaining space */
  height: 40px;
  background-color: var(--background-color, #ddd);
  overflow: hidden;
  position: relative;
  max-width: 100%; /* Prevents overflow */
}
@media (max-width: 768px) {
  .stacked-row-chart .row .bar-container {
    width: 100%;
  }
}
.stacked-row-chart .row .bar-container .bar-segment {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-color, #fff);
  position: relative;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
@media (max-width: 768px) {
  .stacked-row-chart .row .bar-container .bar-segment {
    font-size: 0.8rem;
  }
}
.stacked-row-chart .row .bar-container .bar-value {
  padding-left: 10px;
  font-size: 1rem;
  color: var(--text-color, #333);
}
@media (max-width: 768px) {
  .stacked-row-chart .row .bar-container .bar-value {
    padding-left: 0;
    font-size: 0.9rem;
    margin-top: 5px;
  }
}

.waffle-chart-container {
  display: flex;
  background-color: var(--background-color, #fff);
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.waffle-title {
  font-size: 1.5rem;
  color: var(--foreground-color, #000);
  margin-bottom: 1rem;
}

.chart-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  flex-direction: column;
}

@media (max-width: 850px) {
  .chart-content {
    flex-direction: column;
  }
}
.waffle-container {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 20px));
  grid-gap: 0.5rem;
  justify-content: center;
}

@media (max-width: 850px) {
  .waffle-container {
    grid-template-columns: repeat(10, minmax(0, 18px));
  }
}
@media (max-width: 600px) {
  .waffle-container {
    grid-template-columns: repeat(10, minmax(0, 12px));
  }
}
@media (max-width: 400px) {
  .waffle-container {
    grid-template-columns: repeat(10, minmax(0, 8px));
  }
}
.man-icon {
  width: 1.5rem;
  height: 3.2rem;
  fill: var(--icon-color, #ccc);
}

@media (max-width: 600px) {
  .man-icon {
    width: 1rem;
    height: 2rem;
  }
}
@media (max-width: 400px) {
  .man-icon {
    width: 0.8rem;
    height: 1.6rem;
  }
}
.percentage-container {
  font-size: 6rem;
  font-weight: bold;
  margin-left: 20px;
  color: var(--active-color, #4caf50);
}

@media (max-width: 850px) {
  .percentage-container {
    margin-left: 0;
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .percentage-container {
    font-size: 5rem;
  }
}
@media (max-width: 400px) {
  .percentage-container {
    font-size: 4rem;
  }
}
.description {
  font-size: 16px;
  margin-bottom: 2rem;
  color: var(--foreground-color, #000);
}

@media (max-width: 600px) {
  .description {
    font-size: 14px;
  }
}
@media (max-width: 400px) {
  .description {
    font-size: 12px;
  }
}
.sparkbar-chart-container {
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
  position: relative;
  line-height: 1;
  padding: 1rem;
}
.sparkbar-chart-container .sparkbar-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .sparkbar-chart-container .sparkbar-header {
    margin-bottom: 0.8rem;
  }
}
@media (max-width: 480px) {
  .sparkbar-chart-container .sparkbar-header {
    margin-bottom: 0.5rem;
  }
}
.sparkbar-chart-container .sparkbar-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .sparkbar-chart-container .sparkbar-title {
    font-size: 0.9rem;
  }
}
@media (max-width: 400px) {
  .sparkbar-chart-container .sparkbar-title {
    font-size: 0.8rem;
  }
}
.sparkbar-chart-container .sparkbar-total {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}
@media (max-width: 900px) {
  .sparkbar-chart-container .sparkbar-total {
    font-size: 1.2rem;
  }
}
@media (max-width: 400px) {
  .sparkbar-chart-container .sparkbar-total {
    font-size: 1rem;
  }
}
.sparkbar-chart-container .sparkbar-svg {
  width: 100%; /* Responsive width */
  height: 50px;
}
.sparkbar-chart-container .sparkbar-rect {
  stroke-width: 0;
}

.spark-horizontal-bar-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0;
}
.spark-horizontal-bar-container .spark-horizontal-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem; /* Adjust font size */
  margin-bottom: 0.2rem;
}
.spark-horizontal-bar-container .spark-horizontal-bar-title {
  font-weight: bold;
}
.spark-horizontal-bar-container .spark-horizontal-bar-value {
  font-weight: normal;
}
.spark-horizontal-bar-container .spark-horizontal-bar-wrapper {
  width: 100%;
  height: 8px; /* Keep the bar height narrow */
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.spark-horizontal-bar-container .spark-horizontal-bar-fill {
  height: 100%;
  transition: width 0.3s ease; /* Smooth transition when value changes */
}

.sparkline-chart-container {
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
  position: relative;
  line-height: 1;
  padding: 0 1rem;
}
.sparkline-chart-container .sparkline-title {
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  font-size: 1rem;
}
.sparkline-chart-container .sparkline-info {
  text-align: left;
  flex-shrink: 0;
  position: relative;
}
.sparkline-chart-container .sparkline-total {
  margin: 0 0 1rem 0;
  padding-top: 0.5rem;
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  top: 1rem;
}
.sparkline-chart-container .sparkline-svg {
  flex-grow: 1; /* Allow the SVG to grow and fill the remaining space */
  width: 100%; /* Responsive width */
}
.sparkline-chart-container .sparkline-path {
  fill: none;
  stroke-width: 2; /* Default stroke width */
  stroke: #4682b4; /* Default stroke color */
}

.spark-stacked-bar-container {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  line-height: 1;
  padding: 0.3rem;
  background: #fff;
}
.spark-stacked-bar-container .spark-stacked-bar-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.spark-stacked-bar-container .spark-stacked-bar-title {
  font-size: 1rem;
}
.spark-stacked-bar-container .spark-stacked-bar-value {
  font-size: 1rem;
  font-weight: bold;
}
.spark-stacked-bar-container .spark-stacked-bar-wrapper {
  display: flex;
  height: 0.4rem;
  overflow: hidden;
}
.spark-stacked-bar-container .spark-stacked-bar-segment {
  height: 100%;
}

/*# sourceMappingURL=infocharts.css.map */
