.goal_progress_block {
}
.goal_progress_heading {
  text-align: center;
  margin-bottom: var(--halfSpacing);
}
.goal_progress_description {
  margin-bottom: var(--halfSpacing);
}

.goal_progress_outer {
  display: grid;
  grid-template-columns: 1fr min-content;
  gap: var(--doubleSpacing);
  align-items: center;
}

.goal_progress {
  height: 10px;
  background: var(--bg-color-light);
  border-radius: 50px;
  //   overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.goal_progress_inner {
  height: 100%;
  border-radius: 50px;
  width: calc(var(--percentage) * 100%);
  background: var(--link-color);
}

.goal_progress_marker_wrapper {
  position: relative;
  //   height: 20px;
}
.goal_progress_marker_goal {
  font-size: 1.6rem;
  text-align: center;
  //   border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  //   gap: var(--halfSpacing);
  justify-content: center;
  figure {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
  }
  span {
    font-size: 1rem;
  }
}

.goal_progress_marker_current {
  position: absolute;
  top: 10px;
  left: calc(var(--percentage) * 100%);
  border: 1px solid transparent;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
  transform: translateX(-50%);
  border-color: var(--border-color);
  white-space: nowrap;
  &:after {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-bottom-color: var(--border-color);
    border-width: 6px;
    margin-left: -6px;
  }
}
