﻿:root {
    --primary: #006aa7;
    --primary-light: #4a9bd9;
    --secondary: #fecb00;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border-radius: 16px;
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #0b1120 0%, #111827 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo a {
        text-decoration: none;
        color: inherit;
    }

.flag-icon {
    font-size: 2rem;
}

.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

    .main-nav a {
        color: var(--text-muted);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
        font-size: 1rem;
    }

        .main-nav a:hover,
        .main-nav a.active {
            color: var(--secondary);
        }

.reset-link {
    color: #ef4444 !important;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin: 40px 0 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    color: var(--secondary);
    background: rgba(254, 203, 0, 0.1);
    padding: 0 8px;
    border-radius: 8px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary);
    color: #0b1120;
    box-shadow: 0 4px 15px rgba(254, 203, 0, 0.3);
}

    .btn-primary:hover {
        background: #ffd633;
        transform: translateY(-2px);
    }

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-light);
}

    .btn-secondary:hover {
        border-color: var(--secondary);
        color: var(--secondary);
    }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.floating-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.card-item {
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(4px);
    transition: transform 0.3s;
}

    .card-item:nth-child(odd) {
        transform: rotate(-3deg);
    }

    .card-item:nth-child(even) {
        transform: rotate(2deg);
        background: var(--primary);
        color: white;
    }

/* Features */
.features {
    margin: 80px 0;
}

    .features h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
        text-align: center;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 28px 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

    .feature-card:hover {
        border-color: var(--secondary);
        transform: translateY(-5px);
    }

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Levels Page */
.levels-container {
    flex: 1;
}

.levels-header {
    margin-bottom: 40px;
}

.next-level-progress {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border-left: 6px solid var(--secondary);
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.arrow {
    color: var(--secondary);
}

.progress-bar-wrapper {
    height: 12px;
    background: #334155;
    border-radius: 20px;
    overflow: hidden;
    margin: 15px 0 10px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 20px;
    transition: width 0.5s ease;
}

.progress-percent {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.progress-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.level-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

    .level-card:hover {
        border-color: var(--primary-light);
        background: #1e2a4a;
    }

    .level-card h3 {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .level-card .status {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        background: #334155;
        color: #cbd5e1;
        margin: 12px 0;
    }

    .level-card.completed .status {
        background: #166534;
        color: #bbf7d0;
    }

    .level-card.active .status {
        background: var(--primary);
        color: white;
    }

/* Lesson Page - Full screen style */
.lesson-page {
    flex: 1;
    width: 100%;
}

.lesson-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 1.1rem;
    transition: color 0.2s;
}

    .back-link:hover {
        color: var(--secondary);
    }

.lesson-header {
    margin-bottom: 40px;
}

    .lesson-header h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

.lesson-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

    .lesson-item h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: var(--secondary);
    }

.lesson-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.action-card {
    background: linear-gradient(135deg, #1e2a4a 0%, #1e293b 100%);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

    .action-card:hover {
        border-color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(254, 203, 0, 0.1);
    }

    .action-card h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .action-card p {
        color: var(--text-muted);
        margin-bottom: 15px;
    }

    .action-card .badge {
        display: inline-block;
        background: var(--primary);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }

.extra-materials {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a2538 0%, #1e293b 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(254, 203, 0, 0.1);
}

    .extra-materials h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .extra-materials ul {
        list-style: none;
        padding: 0;
    }

    .extra-materials li {
        padding: 12px;
        margin: 8px 0;
        background: rgba(0,0,0,0.2);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s;
    }

        .extra-materials li:hover {
            background: rgba(254, 203, 0, 0.1);
            padding-left: 20px;
        }

/* Custom Modal (Site-styled) */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-modal {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 30px;
    overflow-y: auto;
    border: 2px solid var(--secondary);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

    .modal-close:hover {
        background: rgba(255,255,255,0.1);
        color: var(--secondary);
    }

.modal-header {
    margin-bottom: 30px;
    padding-right: 40px;
}

    .modal-header h2 {
        font-size: 2rem;
        color: var(--secondary);
        margin-bottom: 10px;
    }

.modal-body {
    min-height: 300px;
}

.theory-content {
    line-height: 1.8;
}

    .theory-content h3 {
        color: var(--primary-light);
        margin: 20px 0 15px;
        font-size: 1.4rem;
    }

    .theory-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        background: rgba(0,0,0,0.2);
        border-radius: 8px;
        overflow: hidden;
    }

    .theory-content th,
    .theory-content td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #334155;
    }

    .theory-content th {
        background: var(--primary);
        color: white;
        font-weight: 600;
    }

    .theory-content tr:hover {
        background: rgba(254, 203, 0, 0.05);
    }

    .theory-content ul,
    .theory-content ol {
        margin: 15px 0 15px 25px;
    }

    .theory-content li {
        margin: 8px 0;
    }

.practice-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.practice-question {
    margin: 20px 0;
}

.practice-options {
    display: grid;
    gap: 10px;
    margin: 15px 0;
}

.practice-option {
    padding: 12px 20px;
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

    .practice-option:hover {
        background: #2d3a52;
    }

    .practice-option.selected {
        border-color: var(--secondary);
        background: rgba(254, 203, 0, 0.1);
    }

    .practice-option.correct {
        border-color: #10b981;
        background: rgba(16, 185, 129, 0.1);
    }

    .practice-option.incorrect {
        border-color: #ef4444;
        background: rgba(239, 68, 68, 0.1);
    }

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pagination-btn {
    background: none;
    border: 1px solid var(--text-muted);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

    .pagination-btn:hover:not(:disabled) {
        border-color: var(--secondary);
        color: var(--secondary);
    }

    .pagination-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.page-indicator {
    color: var(--text-muted);
    font-weight: 500;
}

.feedback-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

    .feedback-message.correct {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
        border: 1px solid #10b981;
        display: block;
    }

    .feedback-message.incorrect {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        border: 1px solid #ef4444;
        display: block;
    }

.footer {
    margin-top: auto;
    padding: 30px 0 10px;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .custom-modal {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

/* Стили для полноэкранного урока */
.lesson-fullscreen {
    background: linear-gradient(145deg, #0b1120 0%, #111827 100%);
    min-height: 100vh;
}

.lesson-app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Минимальный хедер урока */
.lesson-header-mini {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.lesson-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.lesson-progress-info {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
}

.lesson-actions-top {
    display: flex;
    gap: 15px;
}

/* Контент урока на весь экран */
.lesson-content-fullscreen {
    flex: 1;
    padding: 20px 0 40px;
}

.lesson-page-container {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для контента урока */
.lesson-content-block {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow);
}

    .lesson-content-block h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--secondary);
    }

    .lesson-content-block h2 {
        font-size: 1.8rem;
        margin: 30px 0 20px;
        color: var(--primary-light);
    }

    .lesson-content-block h3 {
        font-size: 1.4rem;
        margin: 25px 0 15px;
        color: var(--text-light);
    }

    .lesson-content-block p {
        margin-bottom: 15px;
        line-height: 1.8;
        color: var(--text-muted);
    }

    .lesson-content-block strong {
        color: var(--text-light);
    }

/* Таблицы в уроке */
.lesson-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    overflow: hidden;
}

    .lesson-table th {
        background: var(--primary);
        color: white;
        padding: 15px;
        text-align: left;
        font-weight: 600;
    }

    .lesson-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #334155;
    }

    .lesson-table tr:last-child td {
        border-bottom: none;
    }

    .lesson-table tr:hover {
        background: rgba(254, 203, 0, 0.05);
    }

/* Списки в уроке */
.lesson-list {
    margin: 20px 0 20px 25px;
}

    .lesson-list li {
        margin: 10px 0;
        color: var(--text-muted);
    }

    .lesson-list ul {
        margin: 10px 0 10px 25px;
    }

/* Блоки с примерами */
.example-block {
    background: rgba(0,106,167,0.1);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

    .example-block p {
        margin: 5px 0;
    }

.swedish-word {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1em;
}

/* Практические задания */
.practice-block {
    background: linear-gradient(135deg, #1e2a4a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    border: 2px solid rgba(254, 203, 0, 0.1);
}

.practice-question {
    margin: 20px 0;
}

.practice-options {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.practice-option {
    padding: 15px 20px;
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

    .practice-option:hover {
        background: #2d3a52;
        border-color: var(--primary-light);
    }

    .practice-option.selected {
        border-color: var(--secondary);
        background: rgba(254, 203, 0, 0.1);
    }

    .practice-option.correct {
        border-color: #10b981;
        background: rgba(16, 185, 129, 0.1);
    }

    .practice-option.incorrect {
        border-color: #ef4444;
        background: rgba(239, 68, 68, 0.1);
    }

.feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

    .feedback.show {
        display: block;
    }

    .feedback.correct {
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid #10b981;
        color: #10b981;
    }

    .feedback.incorrect {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid #ef4444;
        color: #ef4444;
    }

.check-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .check-btn:hover {
        background: var(--primary-light);
        transform: translateY(-2px);
    }

    .check-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Футер с навигацией */
.lesson-footer-nav {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.page-indicator {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Типы уроков (словарь/грамматика/тест) */
.lesson-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.lesson-type-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

    .lesson-type-card:hover {
        border-color: var(--secondary);
        transform: translateY(-5px);
    }

    .lesson-type-card h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .lesson-type-card p {
        color: var(--text-muted);
        margin-bottom: 20px;
    }

    .lesson-type-card .badge {
        display: inline-block;
        background: var(--primary);
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }

/* Доп материалы */
.extra-materials-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a2538 0%, #1e293b 100%);
    border-radius: var(--border-radius);
}

    .extra-materials-section h3 {
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

.extra-materials-list {
    list-style: none;
    padding: 0;
}

    .extra-materials-list li {
        padding: 15px;
        margin: 10px 0;
        background: rgba(0,0,0,0.2);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s;
    }

        .extra-materials-list li:hover {
            background: rgba(254, 203, 0, 0.1);
            padding-left: 25px;
        }

/* Адаптивность */
@media (max-width: 768px) {
    .lesson-nav-top {
        flex-direction: column;
        text-align: center;
    }

    .lesson-content-block {
        padding: 25px;
    }

        .lesson-content-block h1 {
            font-size: 2rem;
        }

    .lesson-table {
        font-size: 0.9rem;
    }

        .lesson-table th,
        .lesson-table td {
            padding: 10px;
        }
}

/* Кастомные модальные окна */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.custom-alert {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    border: 2px solid var(--secondary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-alert-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.custom-alert h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.custom-alert p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.custom-alert-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

    .custom-alert-buttons .btn {
        min-width: 100px;
    }

/* Отметка пройденных разделов */
.lesson-type-card {
    position: relative;
    overflow: hidden;
}

    .lesson-type-card.completed {
        border-color: #10b981 !important;
        background: linear-gradient(135deg, #1e2a4a 0%, rgba(16, 185, 129, 0.1) 100%);
    }

        .lesson-type-card.completed::before {
            content: '✓';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background: #10b981;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
        }

        .lesson-type-card.completed .badge {
            background: #10b981;
        }

/* Статус урока в списке */
.lesson-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

    .lesson-status-badge.completed {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
        border: 1px solid #10b981;
    }

    .lesson-status-badge.in-progress {
        background: rgba(254, 203, 0, 0.2);
        color: var(--secondary);
        border: 1px solid var(--secondary);
    }

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Стили для кастомных модальных окон */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.custom-alert {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    border: 2px solid var(--secondary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.custom-alert-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.custom-alert h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.custom-alert p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.custom-alert-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

    .custom-alert-buttons .btn {
        min-width: 100px;
    }

/* Отметка пройденных разделов с прогрессом */
.lesson-type-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

    .lesson-type-card.completed {
        border-color: #10b981 !important;
        background: linear-gradient(135deg, #1e2a4a 0%, rgba(16, 185, 129, 0.15) 100%);
    }

        .lesson-type-card.completed::before {
            content: '✓';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background: #10b981;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
            z-index: 2;
        }

    .lesson-type-card.in-progress {
        border-color: var(--secondary) !important;
        background: linear-gradient(135deg, #1e2a4a 0%, rgba(254, 203, 0, 0.1) 100%);
    }

/* Прогресс-бар внутри карточки */
.lesson-progress-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lesson-progress-bar {
    height: 6px;
    background: #334155;
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0;
}

.lesson-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.lesson-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lesson-progress-percent {
    font-weight: 600;
    color: var(--secondary);
}

/* Статус урока в списке */
.lesson-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

    .lesson-status-badge.completed {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
        border: 1px solid #10b981;
    }

    .lesson-status-badge.in-progress {
        background: rgba(254, 203, 0, 0.2);
        color: var(--secondary);
        border: 1px solid var(--secondary);
    }

/* Общий прогресс урока */
.lesson-overall-progress {
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

    .lesson-overall-progress .label {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-bottom: 5px;
    }

/* Анимация для завершения */
.celebration-animation {
    animation: celebrate 0.6s ease;
}

@keyframes celebrate {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Стили для заблокированных уровней */
.level-card.locked {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
    border-color: #ef4444;
}

    .level-card.locked:hover {
        transform: none;
        border-color: #ef4444;
        background: var(--bg-card);
    }

.level-card .lock-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.8;
}

/* Стили для заданий на соответствие */
.matching-block {
    padding: 25px;
}

.matching-instruction {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.matching-hint {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.matching-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.matching-left h4,
.matching-right h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.matching-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid #334155;
}

.matching-text {
    font-weight: 500;
    color: var(--text-light);
}

.matching-select {
    padding: 8px 12px;
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
    min-width: 200px;
}

    .matching-select:focus {
        outline: none;
        border-color: var(--secondary);
    }

    .matching-select:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.matching-correct {
    color: #10b981;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}

.matching-incorrect {
    color: #ef4444;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}

.matching-right-item {
    padding: 14px 12px;
    margin-bottom: 10px;
    background: rgba(74, 155, 217, 0.1);
    border-radius: 8px;
    border: 1px solid #334155;
    color: var(--text-light);
}

.matching-explanation {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    line-height: 1.8;
}

/* Анимация для модальных окон */
.custom-alert-overlay {
    transition: opacity 0.2s ease;
}

/* Адаптивность для matching */
@media (max-width: 768px) {
    .matching-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .matching-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .matching-select {
        width: 100%;
        min-width: unset;
    }
}

/* Стили для подсказки прогресса */
.progress-hint-locked {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Улучшенные стили для карточек уровней */
.level-card {
    position: relative;
    overflow: hidden;
}

    .level-card.locked::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient( 45deg, transparent, transparent 10px, rgba(239, 68, 68, 0.03) 10px, rgba(239, 68, 68, 0.03) 20px );
        pointer-events: none;
    }

/* Стили для модального окна "О проекте" */
.about-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.about-modal {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border: 2px solid var(--secondary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.about-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10;
}

    .about-modal-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary);
        transform: rotate(90deg);
    }

.about-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-modal-icon {
    font-size: 2.5rem;
}

.about-modal-header h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 0;
}

.about-modal-body {
    padding: 25px 30px;
}

.about-section {
    margin-bottom: 25px;
}

    .about-section:last-child {
        margin-bottom: 0;
    }

    .about-section h3 {
        font-size: 1.3rem;
        color: var(--primary-light);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .about-section p {
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .about-section strong {
        color: var(--text-light);
    }

.about-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

    .about-list li {
        padding: 8px 0 8px 28px;
        color: var(--text-muted);
        position: relative;
        line-height: 1.6;
    }

        .about-list li::before {
            content: '•';
            color: var(--secondary);
            font-size: 1.5rem;
            position: absolute;
            left: 8px;
            top: 4px;
        }

.about-contacts {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid rgba(254, 203, 0, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    color: var(--text-light);
    font-size: 1.05rem;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.about-note {
    font-style: italic;
    color: var(--secondary) !important;
    margin-top: 15px;
    padding: 10px;
    border-left: 3px solid var(--secondary);
    background: rgba(254, 203, 0, 0.05);
}

.about-version {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

    .about-version p {
        margin-bottom: 0;
    }

.about-modal-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

    .about-modal-footer .btn {
        min-width: 180px;
    }

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .about-modal {
        max-height: 90vh;
    }

    .about-modal-header {
        padding: 20px 20px 15px;
    }

        .about-modal-header h2 {
            font-size: 1.5rem;
        }

    .about-modal-body {
        padding: 20px;
    }

    .about-modal-footer {
        padding: 15px 20px 20px;
    }

        .about-modal-footer .btn {
            width: 100%;
        }

    .contact-item {
        font-size: 0.95rem;
        word-break: break-all;
    }
}

/* Toast уведомления */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--secondary);
    z-index: 10002;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-icon {
    font-size: 1.8rem;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.toast-close {
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s;
}

    .toast-close:hover {
        color: var(--secondary);
    }

/* Стили для кастомных алертов */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.custom-alert {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    border: 2px solid var(--secondary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.custom-alert-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.custom-alert h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.custom-alert p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.custom-alert-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

    .custom-alert-buttons .btn {
        min-width: 100px;
    }

/* Стили для карточек уроков */
.lesson-item-card {
    background: linear-gradient(135deg, #1a2538 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

    .lesson-item-card:hover {
        border-color: var(--primary-light);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .lesson-item-card.lesson-locked {
        opacity: 0.7;
        cursor: not-allowed;
        border-color: #ef4444;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }

        .lesson-item-card.lesson-locked:hover {
            transform: none;
            border-color: #ef4444;
            box-shadow: none;
        }

.lesson-item-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

    .lesson-item-header h2 {
        font-size: 1.5rem;
        color: var(--text-light);
        margin: 0;
    }

.lesson-lock-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.lesson-locked-message {
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

    .lesson-locked-message p {
        color: var(--text-muted);
        margin-bottom: 15px;
    }

    .lesson-locked-message .progress-hint {
        margin-top: 10px;
        font-size: 0.9rem;
        color: var(--secondary);
    }

/* Стили для заблокированных уровней */
.level-card.locked {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
    border-color: #ef4444;
}

    .level-card.locked:hover {
        transform: none;
        border-color: #ef4444;
        background: var(--bg-card);
    }

.level-card .lock-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.8;
}

/* Стили для заданий на соответствие */
.matching-block {
    padding: 25px;
}

.matching-instruction {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.matching-hint {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.matching-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.matching-left h4,
.matching-right h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.matching-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid #334155;
}

.matching-text {
    font-weight: 500;
    color: var(--text-light);
}

.matching-select {
    padding: 8px 12px;
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
    min-width: 200px;
}

    .matching-select:focus {
        outline: none;
        border-color: var(--secondary);
    }

    .matching-select:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.matching-correct {
    color: #10b981;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}

.matching-incorrect {
    color: #ef4444;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}

.matching-right-item {
    padding: 14px 12px;
    margin-bottom: 10px;
    background: rgba(74, 155, 217, 0.1);
    border-radius: 8px;
    border: 1px solid #334155;
    color: var(--text-light);
}

.matching-explanation {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    line-height: 1.8;
}

/* Адаптивность для matching */
@media (max-width: 768px) {
    .matching-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .matching-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .matching-select {
        width: 100%;
        min-width: unset;
    }
}

/* Стили для модального окна с дополнительными материалами */
.extra-material-modal {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 2px solid var(--secondary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideUp 0.3s ease;
}

.extra-material-content {
    padding: 30px;
    position: relative;
}

.extra-material-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10;
}

    .extra-material-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary);
        transform: rotate(90deg);
    }

/* Стили для самой статьи */
.extra-article-content {
    color: var(--text-light);
}

    .extra-article-content h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: var(--secondary);
        border-bottom: 2px solid rgba(254, 203, 0, 0.3);
        padding-bottom: 15px;
    }

    .extra-article-content .article-subtitle {
        font-size: 1.2rem;
        color: var(--text-muted);
        margin-bottom: 30px;
        font-style: italic;
    }

    .extra-article-content h2 {
        font-size: 1.8rem;
        margin: 30px 0 20px;
        color: var(--primary-light);
        border-left: 4px solid var(--secondary);
        padding-left: 20px;
    }

    .extra-article-content h3 {
        font-size: 1.4rem;
        margin: 25px 0 15px;
        color: var(--text-light);
    }

    .extra-article-content p {
        margin-bottom: 15px;
        line-height: 1.8;
        color: var(--text-muted);
    }

    .extra-article-content strong {
        color: var(--text-light);
    }

    .extra-article-content .example-block {
        background: rgba(0, 106, 167, 0.1);
        border-left: 4px solid var(--primary);
        padding: 20px;
        margin: 20px 0;
        border-radius: 8px;
    }

    .extra-article-content .swedish-word {
        color: var(--secondary);
        font-weight: 600;
        font-size: 1.1em;
    }

    .extra-article-content .article-footer {
        margin-top: 30px;
        text-align: right;
        font-style: italic;
        color: var(--secondary);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
    }

/* Адаптивность */
@media (max-width: 768px) {
    .extra-material-modal {
        width: 95%;
        max-height: 90vh;
    }

    .extra-material-content {
        padding: 20px;
    }

    .extra-article-content h1 {
        font-size: 1.8rem;
    }

    .extra-article-content h2 {
        font-size: 1.4rem;
    }
}

/* Стили для страницы статьи */
.extra-article-content {
    color: var(--text-light);
}

    .extra-article-content h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: var(--secondary);
        border-bottom: 2px solid rgba(254, 203, 0, 0.3);
        padding-bottom: 15px;
    }

    .extra-article-content .article-subtitle {
        font-size: 1.2rem;
        color: var(--text-muted);
        margin-bottom: 30px;
        font-style: italic;
    }

    .extra-article-content h2 {
        font-size: 1.8rem;
        margin: 30px 0 20px;
        color: var(--primary-light);
        border-left: 4px solid var(--secondary);
        padding-left: 20px;
    }

    .extra-article-content h3 {
        font-size: 1.4rem;
        margin: 25px 0 15px;
        color: var(--text-light);
    }

    .extra-article-content p {
        margin-bottom: 15px;
        line-height: 1.8;
        color: var(--text-muted);
    }

    .extra-article-content strong {
        color: var(--text-light);
    }

    .extra-article-content .example-block {
        background: rgba(0, 106, 167, 0.1);
        border-left: 4px solid var(--primary);
        padding: 20px;
        margin: 20px 0;
        border-radius: 8px;
    }

    .extra-article-content .swedish-word {
        color: var(--secondary);
        font-weight: 600;
        font-size: 1.1em;
    }

    .extra-article-content .article-footer {
        margin-top: 30px;
        text-align: right;
        font-style: italic;
        color: var(--secondary);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
    }

    .extra-article-content .lesson-table {
        width: 100%;
        border-collapse: collapse;
        margin: 25px 0;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        overflow: hidden;
    }

        .extra-article-content .lesson-table th {
            background: var(--primary);
            color: white;
            padding: 15px;
            text-align: left;
            font-weight: 600;
        }

        .extra-article-content .lesson-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #334155;
        }

        .extra-article-content .lesson-table tr:last-child td {
            border-bottom: none;
        }

        .extra-article-content .lesson-table tr:hover {
            background: rgba(254, 203, 0, 0.05);
        }

    .extra-article-content .lesson-list {
        margin: 20px 0 20px 25px;
    }

        .extra-article-content .lesson-list li {
            margin: 10px 0;
            color: var(--text-muted);
        }

/* Адаптивность */
@media (max-width: 768px) {
    .extra-article-content h1 {
        font-size: 1.8rem;
    }

    .extra-article-content h2 {
        font-size: 1.4rem;
    }

    .extra-article-content .lesson-table {
        font-size: 0.9rem;
    }

        .extra-article-content .lesson-table th,
        .extra-article-content .lesson-table td {
            padding: 10px 8px;
        }
}