/* Progress bar: title + track (role=progressbar) + fill. Colors/height/radius come from generated CSS. */
.zx-progress-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.zx-progress-bar__title {
  font-weight: 600;
}
.zx-progress-bar__track {
  position: relative;
  width: 100%;
  height: 24px;
  overflow: hidden;
  border-radius: 4px;
  background: #e2e8f0;
}
.zx-progress-bar__fill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  height: 100%;
  max-width: 100%;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--zx-color-primary, #2563eb);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: width 1s ease;
}
.zx-progress-bar__percent {
  margin-inline-start: auto;
}
