/* Modern Documentation Styles */

:root {
    /* Corporate Colors: Blue & Orange */
    --primary-color: #2563eb;
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --light-blue: #3b82f6;
    --primary-orange: #f97316;
    --secondary-orange: #ea580c;
    --light-orange: #fb923c;
    --accent-color: #f97316;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-sidebar: #1e293b;
    --bg-gradient: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-sidebar: #e2e8f0;
    
    /* Border & Code Colors */
    --border-color: #e2e8f0;
    --code-bg: #f1f5f9;
    --code-border: #cbd5e1;
    
    /* Shadows */
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-gradient);
    line-height: 1.6;
    animation: fadeInBody 0.6s ease-out;
}

@keyframes fadeInBody {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.documentation-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: var(--text-sidebar);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
    animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}

.back-link {
    color: var(--text-sidebar);
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    margin-top: 0.125rem;
}

.back-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.header-title {
    flex: 1;
}

.header-logo-container {
    margin-bottom: 0.75rem;
}

.header-logo {
    max-width: 100%;
    height: auto;
    max-height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.sidebar-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-sidebar);
    margin: 0 0 0.25rem 0;
}

.header-path {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.sidebar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

/* Ensure mobile menu button is distinct from sidebar-toggle */
.mobile-menu-btn.sidebar-toggle {
    /* This will be overridden in mobile media query */
}

.sidebar-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-sidebar);
    transition: all 0.3s;
    display: block;
}

/* Mobile menu button styling */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background-color: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 12px 10px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    position: fixed;
    top: 1rem;
    left: 1rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    /* Make it very visible */
    opacity: 1;
    visibility: visible;
}

.mobile-menu-btn:hover {
    background-color: #0f172a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s;
    display: block;
    border-radius: 2px;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--text-sidebar);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
}

.sidebar-close span {
    display: block;
    font-weight: 300;
}

.search-box {
    position: relative;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--text-sidebar);
    font-size: 0.875rem;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.search-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.nav-menu {
    padding: 1rem 0;
}

.nav-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-orange));
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.nav-item:hover::before,
.nav-item.active::before {
    transform: scaleY(1);
}
    align-items: center;
}

.nav-item:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(249, 115, 22, 0.05));
    transform: translateX(4px);
    border-left-color: var(--primary-orange);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(249, 115, 22, 0.1));
    border-left-color: var(--primary-orange);
    animation: pulseActive 2s ease-in-out infinite;
}

.nav-section-header {
    font-weight: 600;
}

.nav-item-title {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-sidebar);
    flex: 1;
}

.nav-expand-icon {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s;
    margin-left: 0.5rem;
    user-select: none;
    display: inline-block;
    width: 1rem;
    text-align: center;
}

.nav-submenu {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0;
}

.nav-submenu .nav-item {
    padding-left: 2.5rem;
    font-size: 0.8125rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.nav-submenu .nav-item-title {
    font-weight: 400;
}

.nav-subitem {
    border-left-width: 2px;
}

.nav-subitem.active {
    background-color: rgba(59, 130, 246, 0.15);
    border-left-color: var(--accent-color);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: 300px;
    background-color: var(--bg-primary);
    min-height: 100vh;
}

.content-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb-home {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-home:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-secondary);
}

.breadcrumb-path {
    color: var(--text-secondary);
}

/* Header Search Box */
.header-search-container {
    margin: 1rem 0;
}

.header-search-box {
    position: relative;
    max-width: 600px;
}

.header-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.header-search-input::placeholder {
    color: var(--text-secondary);
}

.header-search-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1), 0 4px 12px rgba(249, 115, 22, 0.15);
    transform: translateY(-1px);
    transition: all var(--transition-base);
}

.header-search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.content-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.breadcrumbs {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.content-body {
    padding: 2rem;
    max-width: 1200px;
}

/* Content Typography */
.content-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-section p {
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.75;
    text-align: left;
    max-width: none;
    word-wrap: break-word;
}

.content-section p:first-of-type {
    margin-top: 0;
}

.content-section p:last-of-type {
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    margin: 1.25rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.content-section ul li {
    list-style-type: disc;
}

.content-section ol li {
    list-style-type: decimal;
    padding-left: 0.5rem;
}

/* Code Blocks */
.code-block {
    background-color: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    position: relative;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: pre;
}

.command-block {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
    position: relative;
}

.command-block::before {
    content: '$';
    color: #64748b;
    margin-right: 0.5rem;
}

.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-sidebar);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}

.copy-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-caption {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(249, 115, 22, 0.05));
    border-bottom: 2px solid var(--primary-orange);
    font-size: 0.9375rem;
    color: var(--text-primary);
    border-radius: 0.5rem 0.5rem 0 0;
}

.table-caption strong {
    color: var(--primary-blue);
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0 0 0.5rem 0.5rem;
    overflow: hidden;
    min-width: 100%;
}

table th {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(249, 115, 22, 0.1));
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-orange);
    border-right: 1px solid var(--border-color);
}

table th:last-child {
    border-right: none;
}

table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    vertical-align: top;
}

table td:last-child {
    border-right: none;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

table tr:hover {
    background-color: rgba(37, 99, 235, 0.05);
    transition: background-color var(--transition-fast);
}

/* Search Results */
.search-results {
    padding: 1rem;
}

.search-result-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.search-result-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.search-result-snippet {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.highlight {
    background-color: #fef08a;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

/* Mobile Menu Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        background-color: #1e293b !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    }
    
    .mobile-menu-btn span {
        background-color: #ffffff !important;
        width: 24px !important;
        height: 3px !important;
        display: block !important;
    }
    
    .sidebar-close {
        display: flex;
    }

    .mobile-overlay {
        display: block;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .content-header {
        padding: 1rem;
        padding-top: 4rem; /* Space for mobile menu button */
    }

    .content-header h1 {
        font-size: 1.5rem;
    }

    .header-search-container {
        margin: 0.75rem 0;
    }

    .header-search-box {
        max-width: 100%;
    }

    .content-body {
        padding: 1rem;
    }
    
    /* Ensure sidebar is above content on mobile */
    .sidebar {
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }
}

    .doc-footer {
        margin-left: 0;
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-info {
        text-align: center;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

/* Image Blocks */
.image-block {
    margin: 2.5rem 0;
    text-align: center;
    clear: both;
}

.image-block figure {
    margin: 0;
    display: inline-block;
    max-width: 100%;
}

.documentation-image {
    max-width: 100%;
    max-width: min(100%, 900px);
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 0.75rem;
    display: block;
    margin: 1.5rem auto;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.documentation-image:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.image-block figcaption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.image-block figcaption strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Additional spacing for content elements */
.content-section > * + * {
    margin-top: 1rem;
}

.content-section > p + ul,
.content-section > p + ol {
    margin-top: 0.75rem;
}

.content-section > ul + p,
.content-section > ol + p {
    margin-top: 1.5rem;
}

.content-section > .image-block {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.content-section > p + .image-block {
    margin-top: 2rem;
}

.content-section > .image-block + p {
    margin-top: 1.5rem;
}

/* Better spacing for consecutive paragraphs */
.content-section p + p {
    margin-top: 1.25rem;
}

/* Highlighted Subsection */
.highlighted-subsection {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-left: -1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0.5rem;
    animation: highlightFade 2s ease-out;
}

@keyframes highlightFade {
    0% {
        background-color: rgba(37, 99, 235, 0.2);
    }
    100% {
        background-color: rgba(37, 99, 235, 0.05);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Footer Styles */
.doc-footer {
    margin-left: 300px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.8);
    transition: opacity 0.3s;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-info {
    flex: 1;
    text-align: right;
}

.footer-company {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.image-modal-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-caption {
    margin-top: 1rem;
    color: white;
    text-align: center;
    font-size: 1rem;
    max-width: 800px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.main-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
