/* ===============================
   Application Progress Header
   =============================== */

.application-progress {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.progress-title {
  font-weight: 600;
  color: #1f2937;
}

.progress-count {
  font-size: 13px;
  color: #6b7280;
}

/* Progress bar */
.application-progress .progress {
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.application-progress .progress-bar {
  background-color: #006fcf;
}
.application-progress .progress-percent {
  margin-left: 6px;
  color: #6b7280;
  font-size: 13px;
}

.application-progress .progress-bar {
  font-weight: 600;
  font-size: 12px;
  line-height: 8px;           /* matches bar height */
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Fallback if sr-only isn't present in your theme */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}


/* ===============================
   Application Step Navigation
================================ */

.nav-profile.panel {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
  background: #ffffff;
}

.nav-profile .list-group {
  margin: 0;
}

/* Base list item */
.nav-profile .list-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #f1f3f5;
  background: #ffffff;
  font-weight: 500;
  color: #1f2937;
}

/* Remove last divider */
.nav-profile .list-group-item:last-child {
  border-bottom: 0;
}

/* Text alignment fix */
.nav-profile .xrm-attribute {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ===============================
   Status Icons (override glyphicons)
================================ */

/* Reset glyphicons */
.nav-profile .glyphicon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Completed steps */
.nav-profile .list-group-item.complete .glyphicon {
  background: #e6f4ea;
  color: #137333;
}

.nav-profile .list-group-item.complete .glyphicon:before {
  content: "✓";
  font-family: inherit;
}

/* Incomplete steps */
.nav-profile .list-group-item:not(.complete) .glyphicon {
  border: 2px solid #cbd5e1;
  background: #ffffff;
  color: transparent;
}

/* ===============================
   Current Step
================================ */

/* Power Pages usually adds .active to current */
.nav-profile .list-group-item.active {
