.is-published-true { 
    background: var(--accent-green); 
    color: white; 
    padding: 0.25rem 0.5rem; 
    border-radius: 12px; 
    font-size: 0.75rem; 
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.is-published-false { 
    background: var(--accent-yellow); 
    color: var(--text-primary); 
    padding: 0.25rem 0.5rem; 
    border-radius: 12px; 
    font-size: 0.75rem; 
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.course-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.course-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%25" cy="0%25" r="100%25"><stop offset="0%25" stop-color="%23fff" stop-opacity=".1"/><stop offset="100%25" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>') repeat-x;
    opacity: 0.3;
}

.course-info {
    position: relative;
    z-index: 2;
}

.course-badge {
    background: var(--accent-green);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.progress-bar-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.08);
    margin: -2rem 0 2rem 0;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(51, 102, 153, 0.1);
}

.course-progress {
    background: #f1f5f9;
    border-radius: 50px;
    height: 12px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--accent-green) 0%, #45a049 100%);
    height: 100%;
    border-radius: 50px;
    transition: width 0.6s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.lessons-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.06);
    border: 1px solid rgba(51, 102, 153, 0.08);
}

.lessons-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.lesson-item:hover {
    background: rgba(51, 102, 153, 0.02);
    transform: translateX(4px);
    text-decoration: none;
    color: inherit;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    position: relative;
}

.lesson-available {
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
    color: white;
}

.lesson-completed {
    background: linear-gradient(135deg, var(--accent-green) 0%, #45a049 100%);
    color: white;
}

.lesson-locked {
    background: #e2e8f0;
    color: #64748b;
}

.lesson-content {
    flex-grow: 1;
    min-width: 0;
}

.lesson-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.lesson-locked .lesson-title {
    color: #94a3b8;
}

.lesson-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lesson-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.lesson-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lesson-type {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(51, 102, 153, 0.1);
    color: var(--primary-medium);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.lesson-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-completed {
    color: var(--accent-green);
}

.status-current {
    color: var(--primary-medium);
}

.status-locked {
    color: #94a3b8;
}

.lesson-arrow {
    color: #cbd5e1;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.lesson-item:hover .lesson-arrow {
    color: var(--primary-medium);
    transform: translateX(4px);
}

.course-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-dark);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
    border-color: var(--primary-medium);
    background: var(--primary-medium);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .course-header {
        padding: 2rem 0 1rem;
    }

    .progress-bar-container {
        padding: 1.5rem;
        margin: -1.5rem 0 1.5rem 0;
    }

    .lesson-item {
        padding: 1rem;
        gap: 1rem;
    }

    .lesson-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lesson-title {
        font-size: 1rem;
    }

    .lesson-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .course-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .lessons-header {
        padding: 1rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}