/**
 * Languages Section & Notes Page Styles
 * For Seven Scribes Theme
 */

/* ========================================
   Languages Full-Width Sections on Home Page
   ======================================== */

.languages-sections-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Full-width language sections */
.language-full-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    min-height: 500px;
}

.language-section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.95;
}

/* Gradient variations for each section */
.language-section-1 .language-section-background {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.language-section-2 .language-section-background {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.language-section-3 .language-section-background {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.language-section-4 .language-section-background {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.language-section-5 .language-section-background {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.language-section-6 .language-section-background {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.language-section-7 .language-section-background {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.language-section-8 .language-section-background {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.language-section-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.language-full-section.reverse .language-section-content {
    flex-direction: row-reverse;
}

.language-section-text {
    flex: 1;
    color: #ffffff;
}

.language-section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.language-section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 600px;
}

.language-section-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.language-section-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.language-section-button.primary {
    background: #ffffff;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.language-section-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.language-section-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: blur(10px);
}

.language-section-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.language-section-button svg {
    flex-shrink: 0;
}

.language-section-image {
    flex: 1;
    max-width: 500px;
}

.language-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.language-full-section.reverse .language-image-wrapper {
    transform: perspective(1000px) rotateY(5deg);
}

.language-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.language-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.language-image-wrapper:hover img {
    transform: scale(1.1);
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* ========================================
   Language Notes Page Layout
   ======================================== */

.language-notes-page {
    padding: 0;
    max-width: 100%;
}

.language-notes-container {
    display: flex;
    min-height: calc(100vh - var(--header-height, 80px));
    position: relative;
}

/* Topics Sidebar - 20% */
.topics-sidebar {
    width: 20%;
    background: var(--card-bg-color, #f9f9f9);
    border-right: 1px solid var(--border-color, #e0e0e0);
    overflow-y: auto;
    position: sticky;
    top: var(--header-height, 80px);
    height: calc(100vh - var(--header-height, 80px));
    z-index: 100;
}

.topics-sidebar-header {
    padding: 25px 20px;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
    background: var(--background-color, #ffffff);
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topics-sidebar-header .language-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color, #333);
    margin: 0;
}

.topics-close {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-color, #333);
}

.topics-nav {
    padding: 20px 0;
}

.topics-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-item {
    margin: 0;
}

.topic-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color, #333);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.topic-link:hover {
    background: var(--background-color, #ffffff);
    border-left-color: var(--primary-color, #3498db);
}

.topic-item.active .topic-link {
    background: var(--primary-color, #3498db);
    color: #ffffff;
    border-left-color: var(--primary-color-dark, #2980b9);
    font-weight: 600;
}

.topic-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--border-color, #e0e0e0);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 10px;
    flex-shrink: 0;
}

.topic-item.active .topic-number {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.topic-title {
    flex: 1;
    line-height: 1.4;
    font-size: 0.9rem;
}

.no-topics {
    padding: 20px;
    text-align: center;
    color: var(--text-color-secondary, #666);
}

/* Content Area - 70% */
.notes-content-area {
    width: 70%;
    padding: 40px;
    background: var(--background-color, #ffffff);
    overflow-y: auto;
}

.topic-content {
    max-width: 900px;
    margin: 0 auto;
}

.topic-content-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
}

.topic-content-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color, #333);
    margin-bottom: 15px;
    line-height: 1.3;
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topic-number-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color, #3498db);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.topic-content-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color, #333);
    margin-bottom: 60px;
}

/* Headings */
.topic-content-body h1,
.topic-content-body h2,
.topic-content-body h3,
.topic-content-body h4,
.topic-content-body h5,
.topic-content-body h6 {
    color: var(--text-color, #333);
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 18px;
    line-height: 1.3;
    position: relative;
}

.topic-content-body h1 {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color, #3498db), var(--secondary-color, #2ecc71));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 40px;
}

.topic-content-body h2 {
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary-color, #3498db);
    padding-bottom: 12px;
    margin-top: 40px;
}

.topic-content-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 3px;
    background: var(--secondary-color, #2ecc71);
}

.topic-content-body h3 {
    font-size: 1.3rem;
    color: var(--primary-color, #3498db);
    padding-left: 15px;
    border-left: 4px solid var(--primary-color, #3498db);
}

.topic-content-body h4 {
    font-size: 1.15rem;
    color: var(--text-color, #333);
}

.topic-content-body h5 {
    font-size: 1.05rem;
    color: var(--text-color-secondary, #666);
}

.topic-content-body h6 {
    font-size: 0.95rem;
    color: var(--text-color-secondary, #666);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Paragraphs */
.topic-content-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.topic-content-body p:first-of-type {
    font-size: 1rem;
    color: var(--text-color-secondary, #666);
}

/* Strong and emphasis */
.topic-content-body strong,
.topic-content-body b {
    font-weight: 700;
    color: var(--primary-color, #3498db);
}

.topic-content-body em,
.topic-content-body i {
    font-style: italic;
    color: var(--text-color-secondary, #666);
}

/* Links */
.topic-content-body a {
    color: var(--primary-color, #3498db);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.topic-content-body a:hover {
    color: var(--secondary-color, #2ecc71);
    border-bottom-color: var(--secondary-color, #2ecc71);
}

.topic-content-body a:visited {
    color: #9b59b6;
}

/* Buttons in content */
.topic-content-body .button,
.topic-content-body button,
.topic-content-body input[type="button"],
.topic-content-body input[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color, #3498db);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
}

.topic-content-body .button:hover,
.topic-content-body button:hover,
.topic-content-body input[type="button"]:hover,
.topic-content-body input[type="submit"]:hover {
    background: var(--primary-color-dark, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.topic-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 3px solid var(--border-color, #e0e0e0);
}

.topic-content-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    border-color: var(--primary-color, #3498db);
}

.topic-content-body figure {
    margin: 30px 0;
}

.topic-content-body figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color-secondary, #666);
    font-style: italic;
    margin-top: 10px;
}

.topic-content-body pre {
    background: var(--card-bg-color, #f9f9f9);
    border: 2px solid var(--border-color, #e0e0e0);
    border-left: 4px solid var(--primary-color, #3498db);
    border-radius: 8px;
    padding: 24px;
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.topic-content-body code {
    background: var(--card-bg-color, #f9f9f9);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 0.92em;
    color: #e74c3c;
    border: 1px solid var(--border-color, #e0e0e0);
}

.topic-content-body pre code {
    background: transparent;
    padding: 0;
    border: none;
    color: inherit;
    font-size: 0.95em;
    line-height: 1.6;
}

.topic-content-body ul,
.topic-content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.topic-content-body li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.topic-content-body blockquote {
    border-left: 4px solid var(--primary-color, #3498db);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--text-color-secondary, #666);
}

.topic-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.topic-content-body table th,
.topic-content-body table td {
    padding: 12px;
    border: 1px solid var(--border-color, #e0e0e0);
    text-align: left;
}

.topic-content-body table th {
    background: var(--card-bg-color, #f9f9f9);
    font-weight: 600;
}

/* Content Buttons */
.topic-content-body .content-button {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.topic-content-body .content-button-primary {
    background: linear-gradient(135deg, var(--primary-color, #3498db), var(--secondary-color, #2980b9));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.topic-content-body .content-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.topic-content-body .content-button-secondary {
    background: var(--card-bg-color, #f9f9f9);
    color: var(--text-color, #333);
    border-color: var(--border-color, #e0e0e0);
}

.topic-content-body .content-button-secondary:hover {
    background: var(--primary-color, #3498db);
    color: #ffffff;
    border-color: var(--primary-color, #3498db);
    transform: translateY(-2px);
}

.topic-content-body .content-button-outline {
    background: transparent;
    color: var(--primary-color, #3498db);
    border-color: var(--primary-color, #3498db);
}

.topic-content-body .content-button-outline:hover {
    background: var(--primary-color, #3498db);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Topic Navigation */
.topic-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color, #e0e0e0);
}

.topic-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.topic-nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--card-bg-color, #f9f9f9);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color, #333);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 48%;
    font-size: 0.9rem;
}

.topic-nav-button:hover {
    background: var(--primary-color, #3498db);
    color: #ffffff;
    border-color: var(--primary-color, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.topic-nav-button.next {
    justify-content: flex-end;
    text-align: right;
}

.topic-nav-button span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.topic-nav-button small {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-nav-button strong {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.topic-nav-button svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.topic-nav-button-placeholder {
    flex: 1;
    max-width: 48%;
}

/* Ad Space - 10% */
.ad-space {
    width: 10%;
    background: var(--card-bg-color, #f9f9f9);
    border-left: 1px solid var(--border-color, #e0e0e0);
    padding: 20px 10px;
}

.ad-placeholder {
    position: sticky;
    top: calc(var(--header-height, 80px) + 20px);
    min-height: 600px;
    background: var(--background-color, #ffffff);
    border: 2px dashed var(--border-color, #e0e0e0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-secondary, #666);
    font-size: 0.85rem;
}

/* Mobile Toggle Button */
.topics-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    background: var(--primary-color, #3498db);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.topics-mobile-toggle:hover {
    background: var(--primary-color-dark, #2980b9);
    transform: translateY(-2px);
}

.topics-mobile-toggle svg {
    flex-shrink: 0;
}

.no-content {
    padding: 40px;
    text-align: center;
}

.no-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color, #333);
}

/* ========================================
   Dark Theme Support
   ======================================== */

body.dark-theme .languages-section,
body.dark-mode .languages-section {
    background: var(--background-color, #1a1a1a);
}

body.dark-theme .languages-section .section-title,
body.dark-mode .languages-section .section-title {
    color: var(--text-color, #ffffff);
}

body.dark-theme .language-card,
body.dark-mode .language-card {
    background: var(--card-bg-color, #2a2a2a);
    border-color: var(--border-color, #3a3a3a);
}

body.dark-theme .language-title,
body.dark-mode .language-title {
    color: var(--text-color, #ffffff);
}

body.dark-theme .topics-sidebar,
body.dark-mode .topics-sidebar {
    background: var(--card-bg-color, #2a2a2a);
    border-color: var(--border-color, #3a3a3a);
}

body.dark-theme .topics-sidebar-header,
body.dark-mode .topics-sidebar-header {
    background: var(--background-color, #1a1a1a);
}

body.dark-theme .topic-link,
body.dark-mode .topic-link {
    color: var(--text-color, #ffffff);
}

body.dark-theme .topic-link:hover,
body.dark-mode .topic-link:hover {
    background: var(--background-color, #1a1a1a);
}

body.dark-theme .notes-content-area,
body.dark-mode .notes-content-area {
    background: var(--background-color, #1a1a1a);
}

body.dark-theme .topic-content-title,
body.dark-mode .topic-content-title,
body.dark-theme .topic-content-body,
body.dark-mode .topic-content-body,
body.dark-theme .topic-content-body h1,
body.dark-mode .topic-content-body h1,
body.dark-theme .topic-content-body h2,
body.dark-mode .topic-content-body h2,
body.dark-theme .topic-content-body h3,
body.dark-mode .topic-content-body h3 {
    color: var(--text-color, #ffffff);
}

body.dark-theme .topic-content-body pre,
body.dark-mode .topic-content-body pre,
body.dark-theme .topic-content-body code,
body.dark-mode .topic-content-body code {
    background: var(--card-bg-color, #2a2a2a);
    border-color: var(--border-color, #3a3a3a);
}

body.dark-theme .topic-nav-button,
body.dark-mode .topic-nav-button {
    background: var(--card-bg-color, #2a2a2a);
    border-color: var(--border-color, #3a3a3a);
    color: var(--text-color, #ffffff);
}

body.dark-theme .content-button-secondary,
body.dark-mode .content-button-secondary {
    background: var(--card-bg-color, #2a2a2a);
    color: var(--text-color, #ffffff);
    border-color: var(--border-color, #3a3a3a);
}

body.dark-theme .ad-space,
body.dark-mode .ad-space {
    background: var(--card-bg-color, #2a2a2a);
}

body.dark-theme .ad-placeholder,
body.dark-mode .ad-placeholder {
    background: var(--background-color, #1a1a1a);
    border-color: var(--border-color, #3a3a3a);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
    .language-section-title {
        font-size: 3rem;
    }
    
    .language-section-subtitle {
        font-size: 1.2rem;
    }
    
    .language-section-content {
        gap: 40px;
    }
    
    .notes-content-area {
        width: 70%;
    }
    
    .ad-space {
        width: 5%;
    }
}

@media (max-width: 992px) {
    .language-full-section {
        padding: 60px 0;
    }
    
    .language-section-content {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }
    
    .language-section-title {
        font-size: 2.5rem;
    }
    
    .language-section-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .language-section-buttons {
        justify-content: center;
    }
    
    .language-section-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .language-image-wrapper {
        transform: none !important;
    }
    
    /* Mobile: Hide ad space, show toggle button */
    .ad-space {
        display: none;
    }
    
    .topics-sidebar {
        position: fixed;
        left: -100%;
        top: var(--header-height, 60px);
        width: 80%;
        max-width: 350px;
        height: calc(100vh - var(--header-height, 60px));
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 0;
    }
    
    .topics-sidebar.active {
        left: 0;
    }
    
    .topics-sidebar-header {
        position: relative;
        top: 0;
        padding: 25px 20px;
    }
    
    .topics-close {
        display: block;
    }
    
    .topics-nav {
        padding-top: 0;
    }
    
    .notes-content-area {
        width: 100%;
        padding: 20px;
    }
    
    .topics-mobile-toggle {
        display: flex;
    }
    
    .topic-content-title {
        font-size: 2rem;
    }
    
    .topic-nav-buttons {
        flex-direction: column;
    }
    
    .topic-nav-button,
    .topic-nav-button-placeholder {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .language-full-section {
        padding: 50px 0;
    }
    
    .language-section-title {
        font-size: 2rem;
    }
    
    .language-section-subtitle {
        font-size: 1rem;
    }
    
    .language-section-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .language-section-button {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .language-section-image {
        max-width: 100%;
    }
    
    .topic-content-title {
        font-size: 1.6rem;
    }
    
    .topic-content-body {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .language-full-section {
        padding: 40px 0;
    }
    
    .language-section-title {
        font-size: 1.6rem;
    }
    
    .language-section-subtitle {
        font-size: 0.95rem;
    }
    
    .language-section-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .notes-content-area {
        padding: 15px;
    }
    
    .topic-content-header {
        margin-bottom: 25px;
    }
    
    .topic-content-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   Code Copy Button
   ======================================== */

.code-copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color, #3498db);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.code-copy-button:hover {
    background: var(--primary-color-dark, #2980b9);
}

.code-copy-button.copied {
    background: var(--secondary-color, #2ecc71);
}

/* ========================================
   Reading Progress Bar
   ======================================== */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color, #3498db), var(--secondary-color, #2ecc71));
    width: 0%;
    transition: width 0.1s ease;
}

