/* Custom CSS for permeabledt documentation */

/* Improve code block styling */
.highlight {
    background-color: #f8f8f8;
    border: 1px solid #e1e4e5;
    border-radius: 3px;
    padding: 10px;
    margin: 1em 0;
}

/* Make tables more readable */
.wy-table-responsive table td,
.wy-table-responsive table th {
    white-space: normal;
    padding: 8px;
}

/* Improve navigation */
.wy-nav-content {
    max-width: 1200px;
}

/* Custom styling for admonitions */
.admonition {
    margin: 1em 0;
    padding: 15px;
    border-left: 5px solid #ccc;
}

.admonition.note {
    border-left-color: #6ab0de;
    background-color: #e7f2fa;
}

.admonition.warning {
    border-left-color: #f0b37e;
    background-color: #ffedcc;
}

.admonition.important {
    border-left-color: #a6c;
    background-color: #f3e6ff;
}

/* Code examples */
.highlight-python {
    background-color: #f8f8f8;
}

/* Math equations */
.math {
    text-align: center;
    margin: 1em 0;
}

/* Improve readability */
.rst-content {
    font-size: 16px;
    line-height: 1.6;
}

/* Logo and branding */
.wy-side-nav-search {
    background-color: #27ae60;
}

.wy-side-nav-search > a {
    color: white;
    font-weight: bold;
}

/* API documentation styling */
.py.class > dt,
.py.function > dt,
.py.method > dt {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Parameter lists */
.field-list {
    margin: 1em 0;
}

.field-list > dt {
    font-weight: bold;
    color: #2c3e50;
}

/* Example blocks */
.highlight-default {
    background-color: #f8f8f8;
    border: 1px solid #e1e4e5;
    border-radius: 4px;
    margin: 1em 0;
}

/* Table of contents styling */
.toctree-wrapper ul {
    margin-bottom: 1em;
}

.toctree-wrapper li {
    margin: 0.5em 0;
}