.coce-progress-box {
  background-color: #f9f9f9;
  padding: 16px 24px;
  border-radius: 12px;
  /* Keep block or flex if you want more control */
  /* display: block; */
  /* align-items: center; */ /* no effect with block */
  gap: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #e0e0e0;
  max-width: 300px;
  margin: 0;
  float:right;
}

.coce-women-treated {
  display: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap; /* Avoid wrapping here */
  width: 100%;
}

.coce-progress-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;  /* Prevent breaking */
  /* optional width */
  /* width: auto; */
}

.coce-progress-bar {
  flex-grow: 1;
  min-width: 150px; /* Add a min-width so it expands */
  height: 20px;
  position: relative;
  background-color: #7d7c7c;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.coce-progress-fill {
  background-color: #4caf50;
  height: 100%;
  border-radius: 10px 0 0 10px;
  transition: width 0.4s ease;
}

.coce-progress-label {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%; /* vertically center */
  left: 0;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: normal; /* override */
}

.coce-labour-label {
  margin: 12px auto 0 auto;
  max-width: 600px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: left;
}


.coce-complete-message {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 0;
  padding: 5px 8px;
  background-color: #e6f4ea;      /* very light green */
  border-left: 4px solid #34a853; /* Google-success green */
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #256029;                 /* dark green text */
  position: relative;
  margin-bottom: 20px;
}

/* add a checkmark before the text */
.coce-complete-message::before {
  content: "✔";
  font-size: 16px;
  color: #34a853;
}

/* if you’d like a slightly different style for the labour message, you can override it */
.coce-complete-message.labour {
  background-color: #e8f4fd;      /* very light blue */
  border-left-color: #1a73e8;     /* Google-blue */
  color: #174ea6;                 /* dark blue text */
}

.coce-complete-message.labour::before {
  content: "🎉";                  /* a little party popper */
}

