/* LESSONS PAGE - Professional and Clean Design */

/* Lessons Container */
.lessons-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.lessons-header {
    text-align: center;
    margin-bottom: 3rem;
}

.lessons-path-page .lessons-header {
    margin-bottom: 1rem;
}

.lessons-path-page .lessons-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.lessons-header h1 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lessons-header p {
    font-size: 1.1rem;
    color: #5c6f68 !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Lessons Grid */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lesson-category {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lesson-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.lesson-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Lesson Category Content */
.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.lesson-category h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.lesson-category p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Lesson Topics */
.lesson-topics {
    margin-bottom: 2rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
}

.topic-item i {
    color: #48bb78;
    font-size: 0.875rem;
}

/* Lesson Progress */
.lesson-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.5rem;
}

/* Start Lesson Button */
.btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

/* Lesson Categories */
.lesson-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.category-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #718096;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lessons-container {
        padding: 1rem;
    }
    
    .lessons-header h1 {
        font-size: 2rem;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lesson-category {
        padding: 1.5rem;
    }
    
    .lesson-categories {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .lessons-header h1 {
        font-size: 1.75rem;
    }
    
    .lesson-category {
        padding: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .lesson-category h2 {
        font-size: 1.25rem;
    }
}

/* Empty state */
.lessons-empty {
    text-align: center;
    max-width: 480px;
    margin: 3rem auto;
    padding: 2.5rem 1.5rem;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: var(--radius, 10px);
    box-shadow: var(--shadow, 0 1px 3px rgba(26, 46, 40, 0.08));
}

.lessons-empty__icon {
    font-size: 2.5rem;
    color: var(--primary, #0f6b56);
    margin-bottom: 1rem;
}

.lessons-empty h2 {
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    color: var(--text, #1a2e28);
}

.lessons-empty p {
    margin: 0;
    color: var(--text-muted, #5c6f68) !important;
    line-height: 1.55;
}

/* --- IND basisexamen lessen (2026) --- */
.lessons-intro {
    max-width: 720px !important;
    margin: 0 auto 1rem !important;
}

.lessons-exam-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.25rem 0;
}

.exam-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border, #d8e2df);
    background: var(--surface, #fff);
    color: var(--text, #1a2e28);
}

.exam-pill--speak { border-color: #9fd4c8; background: #e3f3ef; }
.exam-pill--read { border-color: #b8d4f0; background: #eef5fc; }
.exam-pill--kns { border-color: #e8c9a8; background: #fdf4eb; }

.lessons-count {
    font-size: 0.9rem;
    color: var(--text-muted, #5c6f68) !important;
}

.lessons-category {
    margin-bottom: 2.5rem;
}

.lessons-category__title {
    font-size: 1.25rem;
    color: var(--text, #1a2e28);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-soft, #e3f3ef);
}

.lesson-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: var(--radius, 10px);
    padding: 1.25rem;
    box-shadow: var(--shadow, 0 1px 3px rgba(26, 46, 40, 0.08));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lesson-card h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text, #1a2e28);
}

.lesson-card p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted, #5c6f68) !important;
}

.lesson-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.lesson-card__num {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary, #0f6b56);
}

.exam-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.exam-badge--spreken { background: #e3f3ef; color: #0a5242; }
.exam-badge--lezen { background: #eef5fc; color: #1e4a6e; }
.exam-badge--kns { background: #fdf4eb; color: #8b4513; }
.exam-badge--overzicht { background: #f1f5f4; color: #5c6f68; }

/* Lesson detail page */
.lesson-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.lesson-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--primary, #0f6b56);
}

.lesson-header {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: var(--radius, 10px);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.lesson-header h1 {
    font-size: 1.75rem;
    margin: 0.5rem 0;
    color: var(--text, #1a2e28);
}

.lesson-header > p {
    color: var(--text-muted, #5c6f68) !important;
    margin-bottom: 1rem;
}

.lesson-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted, #5c6f68);
    margin: 0;
}

.lesson-tip {
    background: var(--primary-soft, #e3f3ef);
    border: 1px solid #9fd4c8;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--text, #1a2e28);
    margin-bottom: 1rem;
}

.lesson-section {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: var(--radius, 10px);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.lesson-section h2 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: var(--text, #1a2e28);
}

.lesson-list,
.lesson-exercises {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text, #1a2e28);
}

.lesson-list li,
.lesson-exercises li {
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.vocabulary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

.vocabulary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--surface-muted, #f8faf9);
    border: 1px solid var(--border, #d8e2df);
    border-radius: 8px;
}

.vocabulary-item .word {
    font-weight: 500;
    color: var(--text, #1a2e28);
}

.audio-btn {
    background: var(--primary-soft, #e3f3ef);
    color: var(--primary, #0f6b56);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

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

.lesson-phrases li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border, #d8e2df);
    color: var(--text, #1a2e28);
}

.lesson-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.audio-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* --- Structured lesson view --- */
.lesson-view {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.lesson-view__hero {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: var(--radius, 10px);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.lesson-view__hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.lesson-view__progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted, #5c6f68);
}

.lesson-view__progress {
    height: 6px;
    background: var(--surface-muted, #f8faf9);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.lesson-view__progress span {
    display: block;
    height: 100%;
    background: var(--primary, #0f6b56);
    border-radius: 3px;
    transition: width 0.2s;
}

.lesson-view__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.lesson-view__category {
    font-size: 0.875rem;
    color: var(--text-muted, #5c6f68);
}

.lesson-view__hero h1 {
    font-size: 1.65rem;
    margin: 0 0 0.5rem;
    color: var(--text, #1a2e28);
}

.lesson-view__lead {
    color: var(--text-muted, #5c6f68) !important;
    margin: 0 0 0.75rem;
    line-height: 1.55;
    max-width: 65ch;
}

.lesson-view__notice {
    font-size: 0.8125rem;
    color: var(--text-muted, #5c6f68);
    background: #fff8e6;
    border: 1px solid #f5d9a8;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.lesson-tip p {
    margin: 0.35rem 0 0;
    font-weight: 400;
    color: var(--text, #1a2e28);
}

.lesson-view__layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.lesson-view__nav {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: var(--radius, 10px);
    padding: 0.75rem;
}

.lesson-view__nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted, #5c6f68);
    text-decoration: none;
}

.lesson-view__nav a:hover,
.lesson-view__nav a.is-active {
    background: var(--primary-soft, #e3f3ef);
    color: var(--primary-dark, #0a5242);
}

.lesson-view__nav a i {
    width: 1rem;
    text-align: center;
    font-size: 0.8rem;
}

.lesson-view__panels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.lesson-panel {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: var(--radius, 10px);
    padding: 1.25rem 1.5rem;
    scroll-margin-top: 1rem;
}

.lesson-panel h2 {
    font-size: 1.1rem;
    margin: 0 0 0.85rem;
    color: var(--text, #1a2e28);
}

.lesson-panel__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.lesson-panel__head h2 { margin: 0; }

.lesson-panel__actions {
    display: flex;
    gap: 0.5rem;
}

.lesson-panel__note {
    font-size: 0.875rem;
    color: var(--text-muted, #5c6f68) !important;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.btn-sm {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8125rem !important;
}

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

.lesson-list--checks li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.75rem;
    border-bottom: 1px solid var(--border, #d8e2df);
    line-height: 1.5;
    color: var(--text, #1a2e28);
}

.lesson-list--checks li:last-child { border-bottom: none; }

.lesson-list--checks li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary, #0f6b56);
    font-size: 0.75rem;
    top: 0.65rem;
}

.vocab-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.vocab-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    background: var(--surface-muted, #f8faf9);
    border: 1px solid var(--border, #d8e2df);
    border-radius: 8px;
}

.vocab-row__word {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-dark, #0a5242);
}

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

.phrase-card {
    border: 1px solid var(--border, #d8e2df);
    border-radius: 8px;
    overflow: hidden;
}

.phrase-card__nl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--primary-soft, #e3f3ef);
    font-weight: 600;
    color: var(--text, #1a2e28);
}

.phrase-card__hint {
    margin: 0;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted, #5c6f68) !important;
    background: var(--surface, #fff);
    border-top: 1px solid var(--border, #d8e2df);
}

.lesson-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.lesson-steps li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border, #d8e2df);
    color: var(--text, #1a2e28);
    line-height: 1.5;
}

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

.lesson-steps__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary, #0f6b56);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-dashboard {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    background: #f8fafc;
    border: 1px solid #d8e2e8;
    border-radius: 12px;
}

.exam-dashboard__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #1a2b3c;
}

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

.exam-dashboard__list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #e8ecef;
    font-size: 0.9rem;
}

.exam-dashboard__list li:last-child {
    border-bottom: none;
}

.exam-dashboard__value {
    font-weight: 600;
    color: #0f6b56;
}

.mistakes-bank-card {
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.15rem;
    background: #fff5f5;
    border: 1px solid #f0c8c8;
    border-radius: 12px;
}

.mistakes-bank-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.mistakes-bank-card__empty {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: #5a6c7d;
}

.lessons-gamification-panel {
    margin: 0.75rem 0 1rem;
    padding: 0.75rem 1rem;
    background: #f0f7f5;
    border-radius: 10px;
    font-size: 0.9rem;
}

.lessons-level-badge {
    margin: 0 0 0.35rem;
}

.lessons-badge {
    display: inline-block;
    margin: 0.2rem 0.25rem 0 0;
    padding: 0.2rem 0.5rem;
    background: #fff;
    border: 1px solid #b8d9ce;
    border-radius: 6px;
    font-size: 0.75rem;
}

.lessons-exam-prep-top {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: #fff8e6;
    border: 1px solid #e6d9a8;
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #4a4030;
}

.lessons-exam-prep-top i {
    color: #b8860b;
    margin-right: 0.35rem;
}

.lessons-exam-prep {
    margin: 1.25rem 0 0.5rem;
    padding: 1rem 1.15rem;
    background: #f0f7f5;
    border: 1px solid #b8d9ce;
    border-radius: 12px;
    max-width: 22rem;
}

.lessons-exam-prep__title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: #0f6b56;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lessons-exam-prep__text {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #3d524c;
}

.lessons-exam-prep__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lessons-exam-prep-compact {
    margin: 0.75rem 0 0;
    padding: 0;
    text-align: center;
}

.lessons-exam-prep-compact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary, #12896d);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.lessons-exam-prep-compact__link:hover {
    background: rgba(18, 137, 109, 0.08);
    color: var(--primary-dark, #0f6b56);
    text-decoration: underline;
}

.lessons-exam-prep-compact__link .fa-chevron-right {
    font-size: 0.65rem;
    opacity: 0.85;
}

.lessons-path-milestone {
    flex: 0 0 auto;
    align-self: center;
    padding: 0.35rem 0.65rem;
    margin: 0 0.25rem;
    background: #fff8e6;
    border: 1px dashed #e6b84d;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #7a5a12;
    max-width: 9rem;
    text-align: center;
}

.lessons-path-milestone__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.3;
}

.lesson-node__connector.is-milestone {
    min-width: 12px;
    background: linear-gradient(90deg, var(--primary, #0f6b56), #e6b84d);
}

.access-info-card {
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.15rem;
    background: #f4f8fc;
    border: 1px solid #d0dde8;
    border-radius: 12px;
}

.access-info-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #1a2b3c;
}

.access-info-card__body {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #3d524c;
}

.access-info-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lessons-progress-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.lessons-progress-hero__top h2 {
    margin: 0;
    font-size: 1.1rem;
}

.lessons-share {
    position: relative;
    flex-shrink: 0;
}

.lessons-share-btn {
    min-width: 2.25rem;
    padding: 0.4rem 0.55rem;
    line-height: 1;
}

.lessons-share__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 40;
    min-width: 10.5rem;
    padding: 0.35rem;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #d8e2df);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lessons-share__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text, #1a2e28);
    text-align: left;
    cursor: pointer;
}

.lessons-share__item:hover,
.lessons-share__item:focus-visible {
    background: var(--surface-muted, #f4f8f6);
    outline: none;
}

.lessons-share__item--whatsapp i {
    color: #25d366;
}

.lessons-share__item--facebook i {
    color: #1877f2;
}

.lessons-page-aside {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border, #d8e2df);
}

.lessons-page-aside .exam-dashboard,
.lessons-page-aside .mistakes-bank-card,
.lessons-page-aside .lessons-gamification-panel {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.lessons-page-aside .lessons-daily-goal {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted, #5c6f68);
}

.lessons-trial-banner,
.lesson-trial-notice {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: #eef8f4;
    border: 1px solid #b8d9ce;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #1a4a3a;
}

.lessons-trial-register {
    margin: 1.5rem 0 0;
    text-align: center;
}

.lessons-ind-intro {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: #eef2fa;
    border: 1px solid #c5d4eb;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #2b4c8c;
}

.lessons-translation-note {
    margin: 0 0 1rem;
    color: var(--text-muted, #5c6f68);
}

.lesson-content-source {
    margin-top: 0.75rem;
    color: var(--text-muted, #5c6f68);
    font-style: italic;
}

.lesson-node--trial .lesson-node__circle.is-active {
    box-shadow: 0 0 0 3px rgba(15, 107, 86, 0.35);
}

.auth-top__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Scrollbaar leerpad (ook op publieke preview als lesson-player.css laadt) */
.lessons-path-scroll {
    max-height: min(420px, 55vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0.25rem 0.75rem;
    scroll-padding-block: 1.5rem;
    border-radius: 12px;
    background: var(--surface-muted, #f8faf9);
    border: 1px solid var(--border, #d8e2df);
    -webkit-overflow-scrolling: touch;
}

.lessons-path > .lesson-node:first-child,
.lessons-path > .lesson-node__connector:first-child + .lesson-node {
    margin-top: 0.5rem;
}

.lessons-path > .lesson-node:last-child {
    margin-bottom: 0.5rem;
}

.auth-page-body--trial {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
}

body.auth-page:has(.auth-page-main--lesson-demo) .auth-page-body--trial {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 0;
}

.auth-trial-link {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.9rem;
}

.auth-trial-link a {
    font-weight: 600;
}

@media (max-width: 640px) {
    .lessons-path-scroll {
        max-height: min(360px, 50vh);
    }

    .lessons-track__toggle {
        padding: 0.85rem 1rem;
    }

    .lessons-track__body {
        padding: 0 0.75rem 1rem;
    }

    .lesson-node__label {
        font-size: 0.8rem;
        max-width: 5.5rem;
    }

    .exam-dashboard__list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .access-info-card__actions,
    .share-progress-card .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 800px) {
    .lesson-view__layout {
        grid-template-columns: 1fr;
    }
    .lesson-view__nav {
        position: static;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .lesson-view__nav a {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .vocab-table {
        grid-template-columns: 1fr;
    }
}

.lesson-node__admin-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.lesson-node--admin-preview {
    opacity: 0.72;
    outline: 2px dashed rgba(200, 120, 0, 0.55);
    outline-offset: 2px;
}

.lesson-node__live-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    flex: 0 0 auto;
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-muted, #5a6a72);
    cursor: pointer;
    padding: 0;
    user-select: none;
}

.lesson-node__live-toggle input {
    margin: 0;
    width: 0.95rem;
    height: 0.95rem;
    cursor: pointer;
}

.lesson-node__live-toggle-label {
    text-align: center;
    white-space: nowrap;
}

.lessons-track__lazy-status {
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--text-muted, #5a6a72);
}
