/* Custom styles for ossify documentation */

/* Color scheme for different function types */
.text-primary {
    color: #1976d2 !important;
}

.text-secondary { 
    color: #388e3c !important;
}

.text-accent {
    color: #f57c00 !important;
}

/* Custom heading styles for API sections */
.doc-heading {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Enhanced code blocks */
.highlight {
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Function signature styling */
.doc-heading + .highlight {
    margin-top: 1rem;
    border-left: 4px solid #1976d2;
}

/* Parameter tables */
.doc-heading + .highlight + table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}

.doc-heading + .highlight + table th {
    background-color: #f5f5f5;
    font-weight: 600;
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.doc-heading + .highlight + table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    vertical-align: top;
}

/* Overview tables */
table:first-of-type {
    margin-top: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table:first-of-type th:first-child {
    background-color: #1976d2;
    color: white;
}

table:first-of-type th:nth-child(2) {
    background-color: #388e3c; 
    color: white;
}

table:first-of-type th:nth-child(3) {
    background-color: #f57c00;
    color: white;
}

/* Enhanced admonitions */
.admonition.info {
    border-left: 4px solid #1976d2;
}

.admonition.tip {
    border-left: 4px solid #388e3c;
}

.admonition.warning {
    border-left: 4px solid #f57c00;
}

/* Navigation enhancements */
.md-nav--primary .md-nav__title {
    font-weight: 600;
}

.md-nav__item .md-nav__link--active {
    color: #1976d2;
    font-weight: 500;
}

/* Code copy button styling */
.md-clipboard {
    color: #666;
}

.md-clipboard:hover {
    color: #1976d2;
}

/* Enhanced search */
.md-search-result__title {
    font-weight: 500;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Print styles */
@media print {
    .md-header,
    .md-nav,
    .md-footer {
        display: none;
    }
    
    .md-main {
        margin: 0;
    }
    
    .md-content {
        padding: 0;
    }
}