/* Custom CSS for ManipulaPy documentation */

.highlight {
    background-color: #f8f8f8;
    border: 1px solid #e1e4e5;
    padding: 10px;
    border-radius: 4px;
    margin: 1em 0;
}

.descname {
    font-weight: bold;
    color: #2980b9;
}

.field-list {
    margin: 1em 0;
}

.field-name {
    font-weight: bold;
    color: #8e44ad;
}

.admonition {
    margin: 1em 0;
    padding: 12px;
    border-left: 4px solid #3498db;
    background-color: #f1f8ff;
}

.class > dt,
.function > dt,
.method > dt {
    background-color: #f8f9fa;
    border: 1px solid #e1e4e5;
    padding: 8px;
    margin-top: 1em;
    border-radius: 4px;
}
/* Badge Styling */
.project-badges {
    text-align: center;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.project-badges img {
    height: 28px;
    transition: transform 0.2s ease;
}

.project-badges img:hover {
    transform: scale(1.05);
}

/* Responsive badges */
@media (max-width: 768px) {
    .project-badges {
        flex-direction: column;
        align-items: center;
    }

    .project-badges img {
        width: 100%;
        max-width: 200px;
    }}