/* Course Page Specific Styles */
.course-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.course-cover {
    flex-shrink: 0;
}

.course-image {
    width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.course-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.meta-separator {
    color: var(--text-secondary);
    margin: 0 0.5rem;
    font-weight: bold;
}

.course-section {
    margin-bottom: 3rem;
}

.course-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.course-section h2 i {
    color: var(--accent);
}

.learning-objectives {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learning-objectives li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--card-bg-light);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-primary);
}

body.dark .learning-objectives li {
    background: var(--card-bg-dark);
}

.course-outline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.outline-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.outline-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--card-bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.outline-item:hover {
    background: var(--hover-bg-light);
    transform: translateX(5px);
}

body.dark .outline-item {
    background: var(--card-bg-dark);
}

body.dark .outline-item:hover {
    background: var(--hover-bg-dark);
}

.outline-number {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
    min-width: 30px;
    flex-shrink: 0;
}

.outline-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.coming-soon-notice {
    background: var(--card-bg-light);
    border-left: 4px solid #f5576c;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

body.dark .coming-soon-notice {
    background: var(--card-bg-dark);
}

.coming-soon-notice i {
    font-size: 3rem;
    color: #f5576c;
    margin-bottom: 1rem;
}

.coming-soon-notice h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.coming-soon-notice p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
    margin-bottom: 2rem;
}

.notice-box i {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.notice-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.notice-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.warning-notice {
    background: #fff9e6;
    border-left-color: #ffc107;
}

.warning-notice i {
    color: #ffc107;
}

body.dark .warning-notice {
    background: rgba(255, 193, 7, 0.1);
}

.course-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-btn {
    background: var(--accent);
    color: white;
}

.primary-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.secondary-btn {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.secondary-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Updated styles for progress bar */
.progress-bar-container {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.progress-bar {
    display: block;
    width: 100%;
    height: 12px;
    background: var(--card-bg-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.dark .progress-bar {
    background: var(--card-bg-dark);
}

.progress-bar-fill {
    display: block;
    height: 100%;
    width: 59.5%;
    background: linear-gradient(90deg, #185adb 0%, #2196f3 100%);
    border-radius: 6px;
    position: relative;
    transition: width 0.3s ease;
}

.progress-bar-fill::after {
    content: '59.5%';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Design for Course Page */
@media (max-width: 768px) {
    .course-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .course-image {
        width: 100%;
        max-width: 300px;
    }

    .course-info h1 {
        font-size: 2rem;
    }

    .course-section h2 {
        font-size: 1.5rem;
    }

    .course-actions {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .outline-item:hover {
        transform: none;
    }

    .course-outline {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}