.project-progress-widget {
  --primary-color: #003366;
  --secondary-color: #ccc;
  --text-color: #000;
  --progress: 61.92;
  font-family: sans-serif;
  color: var(--text-color);
  margin-bottom: 2em;
}

.project-progress-widget .project-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 1em;
  color: var(--primary-color);
}

.progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}

.progress-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.progress-label .label {
  font-size: 14px;
  margin-bottom: 4px;
}

.progress-label .percentage {
  font-weight: bold;
}

.progress-bar {
  position: relative;
  flex: 1;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 0 20px;
  border-radius: 5px;
}

.bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--primary-color);
  width: calc(var(--progress) * 1%);
  border-radius: 5px;
  transition: width 2s ease; /* Smooth loading animation */
}

.progress-circle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: calc(var(--progress) * 1%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  z-index: 2;
  animation: wave-pulse 2s infinite ease-in-out;
  cursor: pointer;
  transition: left 2s ease;
}

@keyframes wave-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 51, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 51, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 51, 102, 0);
  }
}

.progress-tooltip {
  position: absolute;
  bottom: -130px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  font-size: 14px;
  color: #333;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 3;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-circle:hover .progress-tooltip {
  opacity: 1;
}
