/* Fluid layout: use full screen real estate */
.wy-nav-content-wrap {
    background: #fff !important; /* Match content background to remove gray bars */
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

.wy-nav-content {
    max-width: none !important; /* Truly fluid */
    padding: 1.6em 3.2em !important;
    flex: 1 0 auto !important; /* Grow to fill space */
}

/* Ensure footer sticks to the bottom */
footer {
    margin-top: auto !important;
    padding-bottom: 2em !important;
}

/* Fix for horizontal scrollbars on code blocks */
.rst-content .highlight pre, .rst-content pre.literal-block {
    overflow-x: auto !important;
    padding: 12px !important;
    background: #f5f5f5 !important;
    border: 1px solid #e1e4e6 !important;
}

/* Clean up the scrollbar appearance */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}
