/* Custom CSS for Flowy documentation */

/* Better code block styling */
.highlight pre {
    padding: 1em;
    border-radius: 4px;
}

/* Add some spacing to parameter lists */
.field-list dd {
    margin-bottom: 0.5em;
}

/* Style for admonitions */
.admonition {
    border-radius: 4px;
}

/* Better inline code styling */
code.literal {
    background-color: rgba(27, 31, 35, 0.05);
    border-radius: 3px;
    padding: 0.2em 0.4em;
    font-size: 85%;
}

/* Improve example code blocks */
.admonition-example pre {
    background-color: #f6f8fa;
}

/* Make type hints more readable */
.sig-param .n {
    font-weight: bold;
}

/* Better styling for class methods */
.py.method {
    margin-top: 1em;
    padding-top: 0.5em;
    border-top: 1px solid #e1e4e8;
}

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

.wy-side-nav-search > a:hover {
    background-color: transparent;
}

/* Navigation improvements */
.wy-nav-content {
    max-width: 1200px;
}

/* Better table styling */
table.docutils {
    border: 1px solid #e1e4e8;
    border-collapse: collapse;
}

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

/* Highlight important notes */
.admonition-note {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.admonition-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.admonition-tip {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}