.webform-button--submit {
    display: none !important;
  }

/* Style the marker base */
.progress-marker {
  width: 16px !important;
  height: 16px !important;
  position: relative !important;
  background: transparent !important; /* Make the main element transparent */
}

/* Style the visible circle part (::before pseudo-element) */
.progress-marker::before {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  background-color: #e0e0e0 !important; /* Default color */
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

/* Hide the numbers (::after pseudo-element) */
.progress-marker::after {
  content: none !important; /* Hide the number */
}

/* Active step styling */
.progress-step.is-active .progress-marker::before {
  background-color: #5e1b6d !important;
  box-shadow: 0 0 0 3px rgba(94, 27, 109, 0.3) !important;
}

/* Completed step styling */
.progress-step.is-complete .progress-marker::before {
  background-color: #5e1b6d !important;
}

/* Centre buttons */
.webform-button--next,
.webform-button--previous {
    display: block;
    margin: 10px auto;
}

.webform-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}
/*hide built in next and previous buttons*/
.webform-button--next,
.webform-button--previous {
  display: none !important;
}
/*bold questions*/
.fieldset-legend {
  font-weight: bold;
}
.webform-element-help {
  margin-left: 8px  
}

.webform-progress {
  display: none !important;
}

.custom-progress {
  margin-bottom: 20px;
}

.progress-text {
  text-align: center;
  margin-bottom: 5px;
}

.progress-bar {
  height: 10px;
  background-color: #eee;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #666; /* Dark grey outline */
}

.progress-fill {
  height: 100%;
  background-color: #8e44ad; /* Match your theme color */
  transition: width 0.3s ease;
  float: left; /* Ensure the fill starts from the left */
}
.custom-navigation {
  margin: 20px auto;
  display: flex;
  justify-content: center; /* Center by default */
  gap: 10px;
  width: 100%;
}

/* When both buttons are present, use space-between */
.custom-navigation:has(.custom-prev-button) {
  justify-content: space-between;
}

.custom-prev-button,
.custom-next-button {
  padding: 6px 12px;
  background-color: #8e44ad;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  display: inline-block;
  font-size: 13px;
  font-weight: normal;
  text-align: center;
  width: 80px; /* Fixed width for both buttons */
  height: 32px; /* Fixed height for both buttons */
  line-height: 20px; /* Vertically center the text */
  box-sizing: border-box; /* Include padding in width/height calculation */
  margin: 0; /* Reset any margins */
}

/* Hover state */
.custom-prev-button:hover,
.custom-next-button:hover {
  background-color: #7d3c98;
  text-decoration: none;
}   