/* ==================== MINILAB 3 CRASH COURSE STYLES ==================== */

/* Lesson Styles */
.lesson {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lesson:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.lesson-header {
    margin-bottom: 2rem;
}

.lesson-number {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.lesson-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.lesson-objective {
    color: var(--muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Prose Content */
.prose-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--muted);
}

.prose-content p {
    margin-bottom: 1.25rem;
}

.prose-content h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose-content h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose-content strong {
    color: var(--light);
    font-weight: 600;
}

.prose-content ul,
.prose-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose-content li {
    margin-bottom: 0.5rem;
}

.prose-content ul li {
    list-style-type: disc;
}

.prose-content ol li {
    list-style-type: decimal;
}

/* Callout Box (What's Included) */
.callout-box {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.callout-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

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

.included-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
}

.included-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.included-list li strong {
    color: var(--light);
}

/* Quick Win Box */
.quick-win {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.quick-win-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-win-title::before {
    content: '\1F3AF';
}

.quick-win p {
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.quick-win p:last-child {
    margin-bottom: 0;
}

/* Reference Tables */
.reference-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.reference-table h4,
.reference-table h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.75rem;
}

.reference-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.reference-table th,
.reference-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--dark-border);
}

.reference-table th {
    background: var(--dark-surface);
    color: var(--light);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reference-table td {
    color: var(--muted);
}

.reference-table tr:hover td {
    background: rgba(167, 139, 250, 0.05);
}

/* Course Complete */
.course-complete {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.course-complete h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
}

.course-complete p {
    color: var(--muted);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.course-complete ul {
    text-align: left;
    max-width: 500px;
    margin: 1.5rem auto;
    padding-left: 1.5rem;
}

.course-complete li {
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.course-complete li strong {
    color: var(--light);
}

/* Support CTA */
.support-cta {
    text-align: center;
    padding: 2rem 0;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.support-link:hover {
    opacity: 0.8;
}

/* Sidebar Navigation */
.lesson-nav-link.active {
    background: var(--dark-surface);
    color: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lesson-title {
        font-size: 1.25rem;
    }

    .reference-table th,
    .reference-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .callout-box {
        padding: 1.25rem;
    }

    .quick-win {
        padding: 1.25rem;
    }

    .course-complete {
        padding: 1.5rem;
    }
}
