.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.course-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
}

.course-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* Video Section */
.video-content-section h3 {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-player-wrapper {
    margin-bottom: 2rem;
}

.video-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Tabs Section */
.tab-headers {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.tab-link {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1rem;
    padding: 1rem 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-link.active,
.tab-link:hover {
    color: var(--text-white);
    border-bottom-color: var(--primary-green);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tab-pane p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instructor-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.instructor-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

#recursos ul {
    list-style: none;
}

#recursos li a {
    color: var(--primary-green);
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0;
}

#recursos li a i {
    margin-right: 0.5rem;
}

/* Lessons Playlist */
.lessons-playlist {
    background: var(--darker-bg);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
}

.lessons-playlist h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.module {
    margin-bottom: 1.5rem;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.module-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.lessons-list {
    list-style: none;
}

.lessons-list li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--text-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lessons-list li a:hover {
    background: var(--dark-bg);
    color: var(--text-white);
}

.lessons-list li a.active {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary-green);
    font-weight: 600;
}

.lessons-list li a.done {
    color: #00d4aa;
}

.lessons-list li a i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .course-layout {
        grid-template-columns: 1fr;
    }

    .lessons-playlist {
        order: -1; /* Move a playlist para cima em telas menores */
        margin-bottom: 2rem;
    }
}

/* Course Content */
.course-content {
    max-width: 1200px;
    margin: 0 auto;
}

.course-intro {
    background: var(--darker-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.course-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.course-info p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.course-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.stat i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Modules Section */
.modules-section {
    margin-bottom: 2rem;
}

.modules-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.module {
    background: var(--darker-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.module-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.module-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.module-toggle {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-toggle:hover {
    color: var(--primary-green);
}

.module-toggle.active {
    transform: rotate(180deg);
    color: var(--primary-green);
}

.module-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.module-content.active {
    display: block;
}

.lesson-content {
    color: var(--text-gray);
    line-height: 1.7;
}

.lesson-content h5 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.lesson-content h6 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 1.5rem 0 0.75rem 0;
}

.lesson-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lesson-content ul,
.lesson-content ol {
    margin: 1rem 0 1rem 1.5rem;
}

.lesson-content li {
    margin-bottom: 0.5rem;
}

.lesson-content strong {
    color: var(--text-white);
    font-weight: 600;
}

/* Course Actions */
.course-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--darker-bg);
    border-radius: 12px;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: #00b894;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-green);
}

/* Back Link */
.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-info h2 {
        font-size: 1.5rem;
    }
    
    .course-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .module-header {
        padding: 1rem;
    }
    
    .module-info h4 {
        font-size: 1.1rem;
    }
    
    .course-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
} 