/* Enbeatz 세련된 프로그레스바 스타일 - 기존 위치 대체 */

/* 기존 WPLMS 프로그레스바 완전히 숨기기 - 최강 선택자 */
.progress.course_progressbar,
.course_progressbar.progress,
div.progress.course_progressbar,
.col-md-3 .progress.course_progressbar,
.col-sm-6 .progress.course_progressbar,
.clear4 .progress.course_progressbar,
body .progress.course_progressbar,
html body .progress.course_progressbar,
* .progress.course_progressbar,
[class*="progress"][class*="course_progressbar"],
.progress[class*="course_progressbar"],
.course_progressbar[class*="progress"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0px !important;
    max-height: 0px !important;
    min-height: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -1 !important;
}

/* 기존 프로그레스바의 자식 요소들도 숨기기 */
.progress.course_progressbar *,
.course_progressbar.progress *,
.progress.course_progressbar .bar,
.course_progressbar.progress .bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* 기존 위치에 들어갈 커스텀 프로그레스바 */
.enbeatz-custom-progressbar {
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.enbeatz-progress-label {
    font-size: 11px !important;
    color: #666 !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.enbeatz-progress-track {
    height: 8px !important;
    background: #f0f0f0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !important;
}

.enbeatz-progress-track .enbeatz-progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #42a1f4 0%, #2d8ce8 100%) !important;
    border-radius: 4px !important;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    box-shadow: 0 1px 3px rgba(66, 161, 244, 0.3) !important;
}

/* 완료된 강의 특별 스타일 */
.enbeatz-progress-track .enbeatz-progress-fill[style*="100%"] {
    background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%) !important;
    box-shadow: 0 1px 3px rgba(0, 255, 136, 0.3) !important;
}

/* 프로그레스바에 빛나는 효과 추가 */
.enbeatz-progress-track .enbeatz-progress-fill::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 2px !important;
    height: 100% !important;
    background: rgba(255,255,255,0.8) !important;
    border-radius: 1px !important;
    box-shadow: 0 0 4px rgba(255,255,255,0.5) !important;
}

/* 강의 카드 래퍼 스타일 */
.enbeatz-course-card-wrapper {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.enbeatz-course-card-wrapper:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}

/* 프로그레스 오버레이 */
.enbeatz-progress-overlay {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 20 !important;
}

/* 프로그레스 배지 */
.enbeatz-progress-badge {
    background: rgba(0,0,0,0.75) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* 프로그레스 텍스트 */
.progress-text {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    margin: 0 !important;
}

/* 프로그레스 링 */
.progress-ring {
    width: 24px !important;
    height: 4px !important;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* 프로그레스 채우기 */
.progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #00d4ff 0%, #42a1f4 100%) !important;
    border-radius: 2px !important;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.progress-fill::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 2px !important;
    height: 100% !important;
    background: rgba(255,255,255,0.8) !important;
    border-radius: 1px !important;
    box-shadow: 0 0 4px rgba(255,255,255,0.5) !important;
}

/* 완료된 강의 특별 스타일 */
.progress-fill[style*="100%"] {
    background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%) !important;
}

.progress-fill[style*="100%"]::after {
    background: rgba(255,255,255,1) !important;
    box-shadow: 0 0 6px rgba(255,255,255,0.8) !important;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .enbeatz-progress-badge {
        padding: 6px 10px !important;
        gap: 6px !important;
    }
    
    .progress-text {
        font-size: 11px !important;
    }
    
    .progress-ring {
        width: 20px !important;
        height: 3px !important;
    }
}
