.scroll-up-wrapper {
  position: fixed;
  right: 2.5rem;
  bottom: 2.5rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white; /* Changed from gradient to white */
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  /* Ensure your CSS variable is defined somewhere globally, e.g., :root { --primary-color: #yourColor; } */
}
.scroll-up-wrapper.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.progress-ring {
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 64px;
}
.progress-ring .bg {
  fill: none;
  stroke: #f2f2f2;
  stroke-width: 5;
}
.progress-ring .progress {
  fill: none;
  /* Use CSS var for stroke */
  stroke: var(--primary-color);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 175;
  stroke-dashoffset: 175;
  transition: stroke-dashoffset 0.3s;
}
.scroll-up-wrapper img{
  position: absolute;
  width: 2rem;
  pointer-events: none;
  user-select: none;
  left: 1rem;
  right: 0;
}
