/* Container: flex & wrap */
.muc-user-courses-list {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem; /* counter item padding */
    gap: 20px;
}

/* Each course card: 50% width minus padding */
.muc-course-row {
    width: calc(50% - 2rem);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    background-color: #ffffff;
    border-radius: 43px;
    padding: 20px;
    align-items: center;
}

/* Left (image + progress): 30% of the card */
.muc-course-left {
    width: 30%;
    position: relative;
}

/* Image styling with your custom class */
.muc-course-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px !important;
}

/* Progress overlay inside image */
.muc-course-progress {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Progress bar background */
.progress-bar-container {
    flex: 1;
    background-color: #e0e0e0;
    border-radius: 9999px;
    overflow: hidden;
    height: 12px;
}

/* Animated fill */
.progress-bar {
    height: 100%;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

/* Percentage label inline */
.progress-label {
    font-size: 0.9em;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
       background-color: white;
    padding: 5px;
    border-radius: 90px;
}

/* Right (text): 70% of the card */
.muc-course-right {
    width: 70%;
    padding-left: 1rem;
}

/* Short description styling */
.muc-course-short-desc {
    margin: 0.5rem 0;
    color: #555;
}

/* Tablet: single column override */
@media (max-width: 1024px) {
    .muc-course-row {
        width: calc(100% - 2rem) !important;
    }
}

/* Mobile: single column */
@media (max-width: 767px) {
    .muc-course-row {
        width: calc(100% - 2rem) !important;
    }
}