.ecpt-progress-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.ecpt-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.ecpt-course-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}
.ecpt-course-label {
    color: #64748b;
    font-weight: 500;
    margin-right: 4px;
}
.ecpt-course-title a {
    color: var(--ecpt-primary, #2563eb);
    text-decoration: none;
}
.ecpt-progress-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
}
.ecpt-pct-badge {
    background: var(--ecpt-primary, #2563eb);
    color: #fff;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
}
.ecpt-bar-track {
    width: 100%;
    height: 12px;
    background: var(--ecpt-bg, #e2e8f0);
    border-radius: 999px;
    overflow: hidden;
}
.ecpt-bar-fill {
    height: 100%;
    background: var(--ecpt-primary, #2563eb);
    border-radius: 999px;
    transition: width 0.5s ease-in-out;
}
.ecpt-progress-subtext {
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
}
.ecpt-sub-warn {
    color: #b91c1c;
}

/* Lesson Footer */
.ecpt-lesson-footer {
    margin-top: 30px;
    padding: 18px 22px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ecpt-timer-badge {
    font-size: 15px;
    color: #1e293b;
}
.ecpt-timer-badge small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}
.ecpt-btn-complete {
    background: var(--ecpt-primary, #2563eb);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.ecpt-btn-complete:hover {
    opacity: 0.9;
}
.ecpt-completed-badge {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.ecpt-early-exit-warning {
    display: inline-block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    margin-right: 8px;
}
.ecpt-in-progress-text {
    font-size: 13px;
    color: #d97706;
    font-weight: 600;
}
.ecpt-login-notice {
    margin-top: 25px;
    padding: 14px 18px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    color: #92400e;
    font-size: 14px;
}

/* Curriculum List */
.ecpt-curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}
.ecpt-curriculum-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.ecpt-curriculum-item.is-completed {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.ecpt-curriculum-item.is-early-exit {
    background: #fef2f2;
    border-color: #fecaca;
}
.ecpt-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ecpt-lesson-num {
    font-weight: 600;
    color: #64748b;
    font-size: 14px;
}
.ecpt-lesson-link {
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    font-size: 15px;
}
.ecpt-lesson-link:hover {
    color: var(--ecpt-primary, #2563eb);
}
.ecpt-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ecpt-item-time {
    font-size: 13px;
    color: #475569;
}
.ecpt-item-badge {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
}
.ecpt-item-badge.done {
    background: #dcfce7;
    color: #166534;
}
.ecpt-item-badge.exit-warn {
    background: #fee2e2;
    color: #991b1b;
}
.ecpt-item-badge.pending {
    background: #f1f5f9;
    color: #475569;
}

/* Multi Course Dashboard Grid */
.ecpt-multi-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.ecpt-multi-course-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}
.ecpt-multi-course-box .ecpt-progress-card {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 14px 0;
}
.ecpt-continue-btn {
    display: inline-block;
    background: var(--ecpt-primary, #2563eb);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
