/* ========================================= */
/* Layout Specific Styles (Adjust as needed) */
/* ========================================= */

/* General content padding within the main content area */
/* These values are defaults and can be overridden by specific page styles */
.main-content {
    padding: 2.5rem; /* Default padding for all content sections */
    box-sizing: border-box; /* Ensure padding is included in element's total width/height */
}

/* Sections within the main content */
.content-section {
    margin-bottom: 3rem; /* Spacing between major content blocks */
    /* Add other common styles for your content sections here, e.g., background, border-radius */
}

/* Code block styling (consistent across docs) */
pre[class*="language-"] {
    background-color: var(--bg-input); /* A subtle dark input background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem; /* Slightly more padding */
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-mono); /* Apply monospace font */
    font-size: 0.95rem; /* Slightly larger font for readability */
    line-height: 1.6; /* Improved line height */
    overflow-x: auto; /* Enable horizontal scrolling for long lines */
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4); /* Deeper inset shadow */
}

code[class*="language-"] {
    color: var(--color-accent); /* Accent color for code highlighting */
    font-family: var(--font-family-mono); /* Apply monospace font */
}

/* Inline code styling */
:not(pre) > code {
    background-color: rgba(var(--color-primary-rgb), 0.15); /* Slightly more prominent background */
    color: var(--color-accent-light);
    padding: 0.25em 0.5em; /* Slightly more padding */
    border-radius: 6px; /* Slightly more rounded */
    font-family: var(--font-family-mono);
    font-size: 0.9em;
    white-space: nowrap; /* Prevent inline code from wrapping */
}

/* Other general layout components */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
    text-align: center;
    margin-bottom: 2rem;
}

/* Media queries for specific layout adjustments if needed */
@media (max-width: 991.98px) {
    .main-content {
        padding: 1.5rem; /* Smaller padding for mobile */
    }
}

@media (max-width: 767.98px) {
    .main-content {
        padding: 1rem; /* Even smaller padding for very small screens */
    }
}


/* Add/Adjust this section in your assets/docs/css/layout.css */

.main-header {
    background-color: var(--bg-card); /* Consistent header background */
    color: var(--text-light);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Pushes the nav-list to the right */
    height: var(--header-height); /* Fixed height from your variables */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


.desktop-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Arranges items horizontally */
    gap: 1.5rem; /* Creates space between links */
    align-items: center; /* Vertically aligns items with their icons */
}
