/* style/docs_page_style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    background-color: #f9f9f9; /* Light background for the page */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header and Footer will inherit from style.css, but we can add specifics if needed */
/* Note: The original header styles (lines 16-41) have been removed. */

/* Header styles from style.css */
header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #1a1a1a !important; 
}

header h1 a {
    color: inherit;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 5px;
}

header nav ul li a {
    font-weight: bold;
    font-size: 1.0em;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #007bff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
}

header nav ul li a.active-nav-link {
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
}
/* End of header styles from style.css */

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}
footer a {
    color: #fff;
}

/* --- Documentation Specific Styles --- */
.docs-layout {
    display: flex;
    margin-top: 20px;
}

.docs-sidebar {
    width: 250px;
    min-width: 220px;
    background-color: #fff; /* White background for sidebar */
    border-right: 1px solid #eee;
    padding: 20px;
    height: calc(100vh - 140px); /* Adjust based on header/footer height */
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.docs-sidebar h2 {
    margin-top: 0;
    font-size: 1.4em;
    color: #007bff; /* Accent color for sidebar heading */
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.docs-sidebar ul {
    list-style-type: none;
    padding: 0;
}

.docs-sidebar ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
}

.docs-sidebar ul li a:hover,
.docs-sidebar ul li a.active { /* Style for active link */
    background-color: #e9ecef; /* Light highlight for hover/active */
    color: #0056b3;
}

.docs-main-content {
    flex-grow: 1;
    padding: 20px 40px;
    background-color: #fff; /* White background for content area */
    margin-left: 20px; /* Space between sidebar and content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 5px;
}

/* Markdown content styling */
.docs-main-content h1,
.docs-main-content h2,
.docs-main-content h3,
.docs-main-content h4,
.docs-main-content h5,
.docs-main-content h6 {
    color: #1a1a1a; /* Darker headings for content */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.docs-main-content h1 { font-size: 2.2em; }
.docs-main-content h2 { font-size: 1.8em; }
.docs-main-content h3 { font-size: 1.5em; }

.docs-main-content p {
    margin-bottom: 1em;
    color: #34495e; /* Slightly softer text color */
}

.docs-main-content ul,
.docs-main-content ol {
    margin-bottom: 1em;
    padding-left: 20px;
}

.docs-main-content li {
    margin-bottom: 0.5em;
}

.docs-main-content code {
    background-color: #e8e8e8;
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    border-radius: 3px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.docs-main-content pre {
    background-color: #2d2d2d; /* Dark background for code blocks */
    color: #f8f8f2; /* Light text for code blocks */
    padding: 1em;
    overflow: auto;
    border-radius: 5px;
    margin-bottom: 1.5em;
}

.docs-main-content pre code {
    background-color: transparent;
    padding: 0;
    font-size: inherit;
    color: inherit;
}

.docs-main-content blockquote {
    border-left: 4px solid #007bff; /* Accent color for blockquotes */
    padding-left: 1em;
    margin-left: 0;
    color: #555;
    background-color: #f8f9fa;
}

.docs-main-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.docs-main-content th,
.docs-main-content td {
    border: 1px solid #dfe2e5;
    padding: 0.6em 1em;
}

.docs-main-content th {
    background-color: #f6f8fa;
    font-weight: bold;
}

.docs-main-content a {
    color: #007bff;
    text-decoration: none;
}

.docs-main-content a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .docs-layout {
        flex-direction: column;
    }
    .docs-sidebar {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        box-shadow: none;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .docs-main-content {
        margin-left: 0;
    }
    header li {
        padding: 0 10px;
    }
    header nav {
        float: none;
        text-align: center;
        margin-top: 10px;
    }
    header h1 {
        float: none;
        text-align: center;
    }
} 