/* Global styles */
:root {
    --primary-color: #7289da;
    --secondary-color: #43b581;
    --danger-color: #f04747;
    --warning-color: #faa61a;
    --dark-color: #2c2f33;
    --darker-color: #23272a;
    --light-color: #ffffff;
    --gray-color: #b9bbbe;
    --lighter-gray: #f6f6f7;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--lighter-gray);
    color: #333;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
}

/* Homepage Styles */
.home-page {
    background-color: var(--lighter-gray);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--darker-color) 100%);
    color: var(--light-color);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-btn {
    background-color: var(--light-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.2s;
}

.primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light-color);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.features-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.features-section h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
}

footer {
    background-color: var(--darker-color);
    color: var(--gray-color);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-color);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--light-color);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #b9bbbe;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7289da;
}

/* Button styles */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #5f73bc;
    color: var(--light-color);
}

.outline-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.outline-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Additional main site styles */
.navbar {
    background-color: var(--darker-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar-logo img {
    height: 30px;
    width: auto;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
}

.navbar-links a {
    color: var(--gray-color);
    transition: color 0.2s;
}

.navbar-links a:hover, 
.navbar-links a.active {
    color: var(--light-color);
}

/* Content sections */
.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

/* Inner pages */
.inner-page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--darker-color) 100%);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Documentation page styles */
.doc-navigation {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}

.doc-navigation h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.doc-navigation ul {
    list-style: none;
    padding: 0;
}

.doc-navigation ul li {
    margin-bottom: 0.5rem;
}

.doc-navigation ul li a {
    color: var(--primary-color);
    display: block;
    padding: 0.5rem 0;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.doc-navigation ul li a:hover,
.doc-navigation ul li a.active {
    background-color: rgba(114, 137, 218, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    font-weight: 600;
}

.doc-navigation::-webkit-scrollbar {
    width: 6px;
}

.doc-navigation::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.doc-navigation::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 0.7;
}

.doc-navigation::-webkit-scrollbar-thumb:hover {
    background: #5f73bc;
}

.doc-section {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.doc-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.doc-description {
    margin-bottom: 1.5rem;
}

.doc-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.config-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.config-option {
    background-color: var(--lighter-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.config-option h4 {
    color: var (--dark-color);
    margin-bottom: 0.5rem;
}

.config-option p {
    color: #666;
    margin-bottom: 0.5rem;
}

.config-option ul {
    padding-left: 1.5rem;
    color: #666;
}

.config-option ul li {
    margin-bottom: 0.3rem;
}

.config-option .command-note {
    font-style: italic;
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--primary-color);
}

/* Documentation page layout */
.doc-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.doc-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: relative;
}

.doc-content {
    flex: 1;
    min-width: 0; /* Allows proper shrinking in flex context */
}

/* Updated documentation navigation styles */
.doc-navigation {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}

.doc-navigation h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.doc-navigation ul {
    list-style: none;
    padding: 0;
}

.doc-navigation ul li {
    margin-bottom: 0.5rem;
}

.doc-navigation ul li a {
    color: var(--primary-color);
    display: block;
    padding: 0.5rem 0;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.doc-navigation ul li a:hover,
.doc-navigation ul li a.active {
    background-color: rgba(114, 137, 218, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    font-weight: 600;
}

.doc-navigation::-webkit-scrollbar {
    width: 6px;
}

.doc-navigation::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.doc-navigation::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 0.7;
}

.doc-navigation::-webkit-scrollbar-thumb:hover {
    background: #5f73bc;
}

/* Policy pages styles */
.policy-container {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.policy-section h3 {
    color: var(--dark-color);
    margin: 1.5rem 0 0.5rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-section ul, .policy-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Features page styles */
.feature-category {
    margin-bottom: 4rem;
}

.category-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #666;
    font-size: 1.1rem;
}

.feature-benefits {
    margin-top: 1rem;
    background-color: rgba(114, 137, 218, 0.05);
    padding: 1rem;
    border-radius: 6px;
}

.feature-benefits h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.feature-benefits ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #666;
}

.feature-benefits ul li {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.cta-section {
    background-color: var(--lighter-gray);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 10px;
    margin-top: 3rem;
}

.cta-section h2 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.cta-section p {
    margin-bottom: 2rem;
    color: #666;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .navbar-links {
        margin-top: 1rem;
    }
    
    .config-options {
        grid-template-columns: 1fr;
    }
    
    .doc-navigation {
        position: relative;
        top: 0;
        max-height: 300px; /* Limit height on mobile to make it scrollable */
    }
    
    .inner-page-header {
        margin-top: 80px;
    }
    
    .doc-container {
        flex-direction: column;
    }
    
    .doc-sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .doc-navigation {
        position: relative;
        top: 0;
    }
    
    .inner-page-header {
        margin-top: 80px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn,
    .cta-buttons .outline-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Add dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--gray-color);
    cursor: pointer;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 8px;
    margin-left: 5px;
    position: relative;
    top: -2px;
}

.dropdown-toggle:hover, 
.dropdown-toggle.active {
    color: var(--light-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--dark-color);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 8px 0;
    top: 100%;
    left: 0;
}

.dropdown-menu a {
    color: var(--gray-color);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--darker-color);
    color: var(--light-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Additional dropdown menu styles */
.dropdown-divider {
    height: 1px;
    margin: 8px 16px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-header {
    display: block;
    padding: 5px 16px;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--gray-color);
    white-space: nowrap;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

/* Tool form styles */
.tool-container {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.tool-form {
    margin: 1.5rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var (--dark-color);
}

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

.form-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form-btn:hover {
    background-color: #5f73bc;
}

.result {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.result strong {
    color: var(--primary-color);
}

.tool-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-description p {
    margin-bottom: 1rem;
}

/* New styles */
.feature-note {
    background-color: rgba(114, 137, 218, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 10px 15px;
    margin: 15px 0;
    font-size: 0.95rem;
    border-radius: 0 4px 4px 0;
}

.tool-highlight {
    background-color: var(--lighter-gray);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(114, 137, 218, 0.2);
}

.tool-highlight h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tool-highlight .btn {
    display: inline-block;
    margin-top: 10px;
}

/* Article styles */
.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--darker-color) 100%);
    color: var(--light-color);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.article-header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.article-meta {
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.article-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.article-content {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: #555;
}

.article-content code {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.article-content pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.article-content pre code {
    padding: 0;
    background-color: transparent;
}

.article-cta {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background-color: var(--lighter-gray);
    border-radius: 10px;
}

.article-cta h3 {
    margin-bottom: 1rem;
}

/* Feature card link styling */
.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.2s;
}

.feature-card-link:hover {
    transform: translateY(-5px);
}

.feature-card-link:hover .feature-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--primary-color);
}

.feature-card-link .feature-card {
    height: 100%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.learn-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.2s;
}

.feature-card-link:hover .learn-more {
    margin-left: 5px;
}

/* Updated Dropdown Menu Styles for Nested Dropdowns */
.nested-dropdown {
    position: relative;
    display: block;
    width: 100%;
}

.nested-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-color);
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.nested-dropdown-toggle:after {
    content: '▶';
    font-size: 8px;
    margin-left: 5px;
}

.nested-dropdown-toggle:hover {
    background-color: var(--darker-color);
    color: var(--light-color);
}

.nested-dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--dark-color);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 2;
    border-radius: 5px;
}

.nested-dropdown-menu a {
    color: var(--gray-color);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s, color 0.2s;
}

.nested-dropdown-menu a:hover {
    background-color: var(--darker-color);
    color: var(--light-color);
}

.nested-dropdown:hover .nested-dropdown-menu {
    display: block;
}

/* Mobile Responsiveness for Nested Dropdowns */
@media (max-width: 768px) {
    .nested-dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.15);
        border-radius: 0;
        padding-left: 15px;
    }
    
    .nested-dropdown-toggle:after {
        content: '▼';
    }
    
    .nested-dropdown.active .nested-dropdown-menu {
        display: block;
    }
}

/* Updates & Changelog Styles */
.updates-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.updates-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.updates-content {
    flex: 1;
}

.updates-filter h3,
.version-list h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.filter-options label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    margin-right: 0.5rem;
}

.version-list {
    margin-top: 2rem;
}

.version-list ul {
    list-style: none;
    padding: 0;
}

.version-list ul li {
    margin-bottom: 0.5rem;
}

.version-list ul li a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.version-list ul li a:hover,
.version-list ul li a.active {
    background-color: rgba(114, 137, 218, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.update-entry {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.update-date {
    color: #666;
    font-size: 0.9rem;
}

.update-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.changelog-item {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 6px;
    background-color: var(--lighter-gray);
    border-left: 4px solid var(--primary-color);
}

.changelog-item[data-type="feature"] {
    border-left-color: var(--primary-color);
}

.changelog-item[data-type="enhancement"] {
    border-left-color: var(--secondary-color);
}

.changelog-item[data-type="bugfix"] {
    border-left-color: var(--warning-color);
}

.changelog-item[data-type="security"] {
    border-left-color: var(--danger-color);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.feature-tag {
    background-color: var(--primary-color);
}

.enhancement-tag {
    background-color: var(--secondary-color);
}

.bugfix-tag {
    background-color: var(--warning-color);
}

.security-tag {
    background-color: var(--danger-color);
}

.changelog-item h4 {
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.changelog-item ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.update-feedback {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: rgba(114, 137, 218, 0.05);
    border-radius: 8px;
    text-align: center;
}

.feedback-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: var(--light-color);
    border-radius: 8px;
    border: 1px dashed var(--primary-color);
}

.feedback-cta img {
    width: 32px;
    height: 32px;
}

.feedback-cta code {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    margin-top: 0.2rem;
}

/* Responsive Adjustments for Updates Page */
@media (max-width: 768px) {
    .updates-container {
        flex-direction: column;
    }
    
    .updates-sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .update-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .update-date {
        margin-top: 0.5rem;
    }
    
    .feedback-cta {
        flex-direction: column;
    }
}

/* System Status and Maintenance Styles */
.system-status-container {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.system-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.status-indicator {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-indicator.operational {
    background-color: var(--secondary-color);
    color: white;
}

.status-indicator.maintenance {
    background-color: var(--warning-color);
    color: white;
}

.status-indicator.degraded {
    background-color: #ff9800;
    color: white;
}

.status-indicator.outage {
    background-color: var(--danger-color);
    color: white;
}

.maintenance-alerts {
    margin-bottom: 1.5rem;
}

.maintenance-card {
    background-color: var(--lighter-gray);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--warning-color);
}

.maintenance-card.upcoming {
    border-left-color: var(--warning-color);
}

.maintenance-card.in-progress {
    border-left-color: #ff9800;
}

.maintenance-card.completed {
    border-left-color: var(--secondary-color);
    background-color: rgba(67, 181, 129, 0.05);
}

.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.maintenance-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: #f1f1f1;
}

.maintenance-card.upcoming .maintenance-status {
    background-color: var(--warning-color);
    color: white;
}

.maintenance-card.in-progress .maintenance-status {
    background-color: #ff9800;
    color: white;
}

.maintenance-card.completed .maintenance-status {
    background-color: var(--secondary-color);
    color: white;
}

.maintenance-times {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.maintenance-details {
    font-size: 0.95rem;
    line-height: 1.5;
}

.affected-features {
    margin-top: 0.75rem;
}

.affected-features ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.maintenance-history h3 {
    margin-bottom: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.maintenance-history .maintenance-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.maintenance-history .maintenance-card h4 {
    font-size: 1rem;
    margin: 0;
}

.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.toggle-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.toggle-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.hidden {
    display: none;
}

.no-history {
    text-align: center;
    color: #666;
    padding: 1rem;
}

/* Make maintenance history items more compact */
#maintenance-history-content .maintenance-card {
    margin-bottom: 0.75rem;
}

#maintenance-history-content .maintenance-details {
    font-size: 0.9rem;
}

/* Responsive adjustments for maintenance section */
@media (max-width: 768px) {
    .system-status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .maintenance-times {
        flex-direction: column;
        gap: 0.5rem;
    }
}
