.container {
  display: flex;
  align-items: center;
  justify-content: center;
  /*padding: 2rem;*/
}

.circular-progress {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-bar {
  stroke-dasharray: 628.318;
  stroke-dashoffset: 628.318;
  transition: stroke-dashoffset 0.5s ease-in-out;
  will-change: stroke-dashoffset;
}

.progress-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.progress-title, .progress-text {
  font-size: 1em;
  font-weight: 500;
  color: #737373;
}

.progress-value {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

/* Archive petition styles */
/* CSS for petitions archive progress bar result */
.progress-bar-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.progress-bar-wrapper > div {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.progress-bar-wrapper div:first-of-type {
	font-size:14px;
	line-height:14px;
	margin-bottom:4px;
}

.progress-bar-container {
  background-color: #1E1E1E;
  border-radius: 999px;
  overflow: hidden;
  height: 18px;
  position: relative;
}

.progress-bar {
  background: linear-gradient(90deg, hsl(270, 80%, 60%), hsl(220, 90%, 60%));
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
  height: 18px;
}

@media (max-width: 767px) {
	.progress-bar-info {
		display: none !important;
	}
}

.progress-bar-text {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 14px;
  line-height:18px;
  color: #fff;
}

.supporters-count, .goal-count, .progress-bar-text {
  font-weight: 400;
}

.voxpop-single-petition-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voxpop-agreement-text {
  font-size: 13px;
  margin-top: 10px;
}

.voxpop-results-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.voxpop-results-btn {
  margin-top: 20px;
  cursor: pointer;
}

#voxpop-show-petition-form {
  text-align: left;
}

#voxpop-show-petition-signs {
  text-align: right;
}

#voxpop-show-petition-form {
  visibility: hidden;
}

/* Petition signatures display */
.signatures-container {
  background-color: #D9D9D9;
  padding: 12px;
  border-radius: 5px;
  font-size: 14px;
}


/* VoxPop Spinner Styles */
.voxpop-loader {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  display: none; /* Initially hidden */
  z-index: 1000;
  gap: 12px;
}
.spinner-svg {
  width: 32px;
  height: 32px;
  display: inline-block;
  animation: spinner-rotate 0.8s linear infinite;
}
@keyframes spinner-rotate {
  100% { transform: rotate(360deg); }
}

.voxpop-loader span {
  line-height: 32px;
}

/* Success message overlay styles */
.voxpop-success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#voxpop-success-email {
  display: none; /* Initially hidden */
}

.success-icon-wrapper {
  margin: 15px;
}

.success-title {
  font-size: 1.2rem;
  text-align: center;
}

.success-text {
  text-align: center;
}

.voxpop-confirm-error {
  background: #ffe6e6;
  color: #d32f2f;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 18px;
}
