.ch-donation-progress {
  --chdp-track: rgba(255, 255, 255, 0.85);
  --chdp-fill: #1f86c7;
  --chdp-bubble: #1f86c7;
  --chdp-text: #ffffff;
  --chdp-muted: rgba(255, 255, 255, 0.9);
  --chdp-radius: 999px;
  --chdp-bar-height: 20px;
  --chdp-bubble-pad-y: 6px;
  --chdp-bubble-pad-x: 12px;

  width: 100%;
  color: var(--chdp-text);
  padding-left: 20px;
  padding-right: 20px;
}

.ch-donation-progress__bar {
  position: relative;
  width: 100%;
  height: var(--chdp-bar-height);
  border-radius: var(--chdp-radius);
  overflow: visible;
}

.ch-donation-progress__track {
  position: absolute;
  inset: 0;
  border-radius: var(--chdp-radius);
  background: var(--chdp-track);
}

.ch-donation-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: var(--chdp-radius);
  background: var(--chdp-fill);
  width: 0%;
  transition: width 450ms ease;
}

.ch-donation-progress__heart {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffd400;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: left 450ms ease;
  pointer-events: none;
}

.ch-donation-progress__heartIcon {
  fill: #1f86c7;
}

.ch-donation-progress__bubble {
  position: absolute;
  top: calc(-1 * (var(--chdp-bar-height) + 25px));
  transform: translateX(-50%);
  background: var(--chdp-bubble);
  color: #fff;
  border-radius: 999px;
  padding: var(--chdp-bubble-pad-y) var(--chdp-bubble-pad-x);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: left 450ms ease;
}

.ch-donation-progress__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--chdp-bubble);
}

.ch-donation-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: nowrap;
}

.ch-donation-progress__metaItem {
  min-width: 0;
}

.ch-donation-progress__metaItem--goal {
  text-align: right;
}

.ch-donation-progress__label {
  font-size: 14px;
  color: var(--chdp-muted);
  margin-bottom: 6px;
}

.ch-donation-progress__value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .ch-donation-progress {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 30px;
  }
}

@media (max-width: 820px) {
  .ch-donation-progress {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .ch-donation-progress {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 25px;
  }
  .ch-donation-progress__value {
    font-size: 18px;
  }
  .ch-donation-progress__heart {
    width: 30px;
    height: 30px;
  }
  .ch-donation-progress__bubble {
    top: calc(-1 * (var(--chdp-bar-height) + 18px));
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .ch-donation-progress {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 25px;
  }
  .ch-donation-progress__meta {
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
  }
  .ch-donation-progress__bubble {
    font-size: 12px;
    padding: 5px 10px;
  }
}


