/* =========================
   My Courses – Progress bar (card)
   ========================= */

/* Wrapper in card context */
.mp .mp-progress--card {
  width: 100%;
}

/* Bar (on top) – white pill with inner grey track */
.mp .mp-progress--card .c-progress {
  margin-bottom: 8px;          /* space between bar and text */
  height: 16px;
  background-color: #ffffff;   /* white outer pill */
  border-radius: 999px;
  padding: 4px;                /* white padding around inner track */
  box-sizing: border-box;
}

.mp .mp-progress--card .c-progress__track {
  width: 100%;
  height: 100%;
  background-color: #ffffff;   
  border-radius: 999px;
}

.mp .mp-progress--card .c-progress__value {
  height: 100%;
  border-radius: 999px;
  background-color: #00A2C2;   /* teal/blue for in-progress */
  transition: width 0.25s ease;
}

/* When completed, use green fill */
.mp .mp-progress--card .c-progress.is-complete .c-progress__value {
  background-color: #00B140;
}

/* Text row under bar */
.mp .mp-progress--card .mp-progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0;                   /* no extra vertical spacing */
  font-size: 14px;
  line-height: 1.4;
}

/* Left: "XX% complete" */
.mp .mp-progress--card .mp-progress__stat-left {
  color: var(color-text-primary);
    font-weight: 700;
}



/* Right: "Last activity: ..." */
.mp .mp-progress--card .mp-progress__stat-right {
  color: #4b5563;              /* softer grey */
  font-size: 14px;
}

/* Small screens: stack text */
@media (max-width: 520px) {
  .mp .mp-progress--card .mp-progress__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
