/* Custom styles for project-x-py documentation */

/* Improve code block styling */
.highlight {
    background: #f8f8f8 !important;
    border: 1px solid #e1e4e5;
    border-radius: 4px;
    margin: 1em 0;
}

.highlight pre {
    padding: 12px;
    margin: 0;
    overflow-x: auto;
}

/* Better spacing for method signatures */
.sig-paren {
    color: #999;
}

/* Style warning boxes */
.admonition.warning {
    background-color: #fdf2e6;
    border-left: 4px solid #f39c12;
}

.admonition.note {
    background-color: #e6f3ff;
    border-left: 4px solid #3498db;
}

/* Improve table styling */
table.docutils {
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin: 1em 0;
}

table.docutils th,
table.docutils td {
    border: 1px solid #ddd;
    padding: 8px 12px;
}

table.docutils th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Better sidebar styling */
.wy-menu-vertical li.current a {
    border-right: 2px solid #2980b9;
}

/* Improve breadcrumbs */
.wy-breadcrumbs li {
    display: inline-block;
}

.wy-breadcrumbs li:after {
    content: " / ";
    color: #999;
}

.wy-breadcrumbs li:last-child:after {
    content: "";
}

/* Custom badge styling */
.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 3px;
}

.badge-success {
    background-color: #5cb85c;
}

.badge-warning {
    background-color: #f0ad4e;
}

.badge-danger {
    background-color: #d9534f;
}

.badge-info {
    background-color: #5bc0de;
}

/* Footer improvements */
.rst-footer-buttons {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #e1e4e5;
}

/* Mobile responsiveness improvements */
@media screen and (max-width: 768px) {
    .wy-table-responsive table td,
    .wy-table-responsive table th {
        white-space: normal !important;
    }
} 