/* Custom CSS for XRayLabTool Documentation */

/* Enhanced code blocks */
.highlight {
    border-radius: 8px;
    border: 1px solid var(--color-background-border);
}

.highlight pre {
    padding: 1rem;
    margin: 0;
    overflow-x: auto;
}

/* Performance table styling */
.performance-table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}

.performance-table th,
.performance-table td {
    border: 1px solid var(--color-background-border);
    padding: 0.75rem;
    text-align: left;
}

.performance-table th {
    background-color: var(--color-background-secondary);
    font-weight: 600;
}

/* API documentation enhancements */
.py.class,
.py.function,
.py.method {
    margin-bottom: 2rem;
}

.py.class > dt,
.py.function > dt,
.py.method > dt {
    background-color: var(--color-background-secondary);
    border-left: 4px solid var(--color-brand-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Admonitions styling */
.admonition {
    border-radius: 8px;
    border-left: 4px solid var(--color-brand-primary);
    background-color: var(--color-background-secondary);
    padding: 1rem;
    margin: 1rem 0;
}

.admonition-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Scientific notation and equations */
.math {
    font-family: 'Computer Modern', 'Times New Roman', serif;
}

/* CLI command styling */
.cli-command {
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-background-border);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-family: var(--font-stack-monospace);
    margin: 0.5rem 0;
}

/* Responsive tables */
@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
    }

    .performance-table th,
    .performance-table td {
        padding: 0.5rem;
    }
}

/* Enhanced navigation */
.toctree-wrapper .toctree-l1 > a {
    font-weight: 600;
}

/* Logo placeholder styling */
.logo img {
    max-height: 40px;
    width: auto;
}
