/* Custom CSS for ROS2 RobotFramework Documentation */

/* Add any custom styling here */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Custom styling for code blocks */
.highlight pre {
    border-radius: 6px;
    padding: 1em;
}

/* Custom styling for API documentation */
.py.class, .py.function {
    margin-bottom: 2em;
    border-bottom: 1px solid #eee;
    padding-bottom: 1em;
}

/* Custom styling for panels */
.sd-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .wy-nav-content {
        padding: 1rem;
    }
}

/* GitHub link in footer */
.rst-footer-buttons {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.rst-footer-buttons a {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    background-color: #24292e;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.rst-footer-buttons a:hover {
    background-color: #0366d6;
    color: white;
}
