/* Custom styles for HybridInference documentation */

/* Increase max-width of content area - remove RTD theme's width restriction */
.wy-nav-content {
    max-width: none !important;
}

/* Give more breathing room to content */
.rst-content {
    max-width: 1400px !important;
    margin: 0 auto;
}

/* Make all code elements in tables display on single line */
table.docutils td code {
    white-space: nowrap !important;
}

/* Ensure first column (Model ID) doesn't wrap */
table.docutils tbody tr td:first-child {
    white-space: nowrap !important;
}

/* Optimize table column widths - give more space to Model ID column */
table.docutils colgroup col:first-child {
    width: 25% !important;
}

/* Better table layout */
table.docutils {
    width: 100%;
    table-layout: auto;
}

/* Better spacing for table cells */
table.docutils td,
table.docutils th {
    padding: 10px 12px;
    vertical-align: top;
}

/* Better readability for tables */
table.docutils thead {
    background-color: #e7f2fa;
}

table.docutils tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

table.docutils tbody tr:hover {
    background-color: #f0f8ff;
}

/* Code blocks styling */
.highlight pre {
    border-radius: 4px;
    padding: 12px;
}

/* Better spacing for lists */
.rst-content ul li, .rst-content ol li {
    margin-bottom: 8px;
}
