/* Enhanced Changelog Styling */
.changelog-enhanced {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.changelog-enhanced h1,
.changelog-enhanced h2,
.changelog-enhanced h3,
.changelog-enhanced h4,
.changelog-enhanced h5,
.changelog-enhanced h6 {
    color: #2c3e50;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.changelog-enhanced h1 {
    font-size: 1.8em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.3em;
}

.changelog-enhanced h2 {
    font-size: 1.5em;
    color: #2980b9;
    border-left: 4px solid #3498db;
    padding-left: 0.8em;
}

.changelog-enhanced h3 {
    font-size: 1.3em;
    color: #34495e;
}

.changelog-enhanced h4 {
    font-size: 1.1em;
    color: #7f8c8d;
}

.changelog-enhanced p {
    margin-bottom: 1em;
}

.changelog-enhanced ul,
.changelog-enhanced ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.changelog-enhanced li {
    margin-bottom: 0.5em;
}

.changelog-enhanced ul li {
    list-style-type: disc;
    color: #555;
}

.changelog-enhanced ol li {
    list-style-type: decimal;
    color: #555;
}

.changelog-enhanced ul ul,
.changelog-enhanced ol ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.changelog-enhanced ul ul li {
    list-style-type: circle;
    color: #666;
}

.changelog-enhanced strong,
.changelog-enhanced b {
    color: #2c3e50;
    font-weight: 600;
}

.changelog-enhanced em,
.changelog-enhanced i {
    color: #7f8c8d;
    font-style: italic;
}

.changelog-enhanced code {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    padding: 0.2em 0.4em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.changelog-enhanced pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1em;
    overflow-x: auto;
    margin: 1em 0;
}

.changelog-enhanced pre code {
    background: none;
    border: none;
    padding: 0;
    color: #333;
}

.changelog-enhanced blockquote {
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
    padding: 1em;
    margin: 1em 0;
    border-radius: 0 4px 4px 0;
}

.changelog-enhanced blockquote p {
    margin: 0;
    color: #555;
    font-style: italic;
}

/* Feature sections */
.changelog-enhanced .feature-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1em;
    border-radius: 8px;
    margin: 1em 0;
}

.changelog-enhanced .feature-section h2,
.changelog-enhanced .feature-section h3 {
    color: white;
    border: none;
    padding: 0;
    margin-top: 0;
}

.changelog-enhanced .feature-section ul li {
    color: #f8f9fa;
}

/* Improvement sections */
.changelog-enhanced .improvement-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1em;
    border-radius: 8px;
    margin: 1em 0;
}

.changelog-enhanced .improvement-section h2,
.changelog-enhanced .improvement-section h3 {
    color: white;
    border: none;
    padding: 0;
    margin-top: 0;
}

.changelog-enhanced .improvement-section ul li {
    color: #f8f9fa;
}

/* Bug fix sections */
.changelog-enhanced .bugfix-section {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 1em;
    border-radius: 8px;
    margin: 1em 0;
}

.changelog-enhanced .bugfix-section h2,
.changelog-enhanced .bugfix-section h3 {
    color: white;
    border: none;
    padding: 0;
    margin-top: 0;
}

.changelog-enhanced .bugfix-section ul li {
    color: #f8f9fa;
}

/* Navigation sections */
.changelog-enhanced .navigation-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2c3e50;
    padding: 1em;
    border-radius: 8px;
    margin: 1em 0;
}

.changelog-enhanced .navigation-section h2,
.changelog-enhanced .navigation-section h3 {
    color: #2c3e50;
    border: none;
    padding: 0;
    margin-top: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .changelog-enhanced {
        font-size: 0.9em;
    }
    
    .changelog-enhanced h1 {
        font-size: 1.5em;
    }
    
    .changelog-enhanced h2 {
        font-size: 1.3em;
    }
    
    .changelog-enhanced h3 {
        font-size: 1.1em;
    }
    
    .changelog-enhanced ul,
    .changelog-enhanced ol {
        padding-left: 1em;
    }
}

/* Print styles */
@media print {
    .changelog-enhanced {
        color: #000;
    }
    
    .changelog-enhanced h1,
    .changelog-enhanced h2,
    .changelog-enhanced h3,
    .changelog-enhanced h4,
    .changelog-enhanced h5,
    .changelog-enhanced h6 {
        color: #000;
    }
    
    .changelog-enhanced .feature-section,
    .changelog-enhanced .improvement-section,
    .changelog-enhanced .bugfix-section,
    .changelog-enhanced .navigation-section {
        background: #f8f9fa !important;
        color: #000 !important;
        border: 1px solid #dee2e6;
    }
}
