/* Custom CSS for Porcupy documentation */

/* Main content area */
.wy-nav-content {
    max-width: 1200px !important;
}

/* Code blocks */
.highlight {
    background: #f8f8f8;
    border-radius: 4px;
    border: 1px solid #e1e4e5;
    margin: 1em 0;
    padding: 0.5em;
}

/* Code in text */
code {
    color: #e74c3c;
    background-color: #f9f2f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Tables */
.wy-table-responsive table td, .wy-table-responsive table th {
    white-space: normal;
}

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

.wy-nav-side {
    background: #34495e;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Admonitions */
.admonition {
    margin: 1.5em 0;
    padding: 1em;
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
}

.admonition.warning {
    border-left-color: #f39c12;
    background-color: #fff3cd;
}

.admonition.danger {
    border-left-color: #e74c3c;
    background-color: #fde8e8;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Footer */
.footer {
    margin-top: 2em;
    padding: 1em 0;
    border-top: 1px solid #e1e4e5;
    font-size: 0.9em;
    color: #7f8c8d;
}
