:root {
  --secondary-text-color: #3c3c3c;
  --white: #ffffff;
  --progress-bar-background: #e0f0ff;
  --progress-fill-start: #04a4c8;
  --progress-fill-end: #74e3fc;
  --progress-color: #1d3f88;
  --white-color: #ffffff;
}
.progressComponent {
  width: 100%;
  padding: 20px;
}

.progressBarWrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.progressBar {
  flex-grow: 1;
  height: 18px;
  background-color: var(--progress-bar-background);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progressBarFill {
  width: 10%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    var(--progress-fill-start) 0%,
    var(--progress-fill-end) 100%
  );
  transition: width 0.4s ease-in-out;
}

.progressPercentage {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-text-color);
  flex-shrink: 0;
  line-height: 100%;
}

.progressLabel {
  font-size: 12px;
  color: var(--secondary-text-color);
  display: flex;
  font-weight: 700;
}

/* progress circle */
.progress-circle {
  --progress: 10;
  --thickness: 8px;
  width: 77px;
  height: 77px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: #e2e2e2;
}

.progress-circle__rotator {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--progress-color) calc(var(--progress) * 3.6deg),
    transparent 0
  );
}

.progress-circle__rotator::before {
  content: "";
  position: absolute;
  width: var(--thickness);
  height: var(--thickness);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--progress-color);
  border-radius: 50%;
}

.progress-circle__rotator::after {
  content: "";
  position: absolute;
  width: var(--thickness);
  height: var(--thickness);
  top: 0;
  left: 50%;
  transform-origin: center calc(77px / 2);
  transform: translateX(-50%) rotate(calc(var(--progress) * 3.6deg));
  background: var(--progress-color);
  border-radius: 50%;
}

.progress-circle__overlay {
  position: absolute;
  background: var(--white-color);
  border-radius: 50%;
  width: calc(100% - (var(--thickness) * 2));
  height: calc(100% - (var(--thickness) * 2));
  display: grid;
  place-items: center;
}

.progress-circle__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--progress-color);
}
