/* Rose Python SDK Documentation - Custom Styles */

/* Method badges */
.method-badge {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.method-badge.get {
    background: #10b981;
}

.method-badge.post {
    background: #2563eb;
}

.method-badge.put {
    background: #f59e0b;
}

.method-badge.delete {
    background: #ef4444;
}

.method-badge.patch {
    background: #3b82f6;
}

/* Response codes */
.response-code {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.response-code.success {
    background: #dcfce7;
    color: #166534;
}

.response-code.error {
    background: #fef2f2;
    color: #dc2626;
}

.response-code.warning {
    background: #fef3c7;
    color: #d97706;
}

/* Issue numbers */
.issue-number {
    background: #2563eb;
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 0.25rem;
}

/* Custom brand colors */
:root {
    --theme-color: #2563eb;
    --sidebar-nav-link-color: #475569;
    --sidebar-nav-link-active-color: #2563eb;
}

/* Code block improvements */
pre[class*="language-"] {
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Table improvements */
table {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .method-badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
    }
}

/* Custom cover page background */
.cover.show {
    background: linear-gradient(to left bottom, hsl(5, 100%, 85%) 0%, hsl(240, 100%, 85%) 100%) !important;
}
