/**
 * api-docs.css
 * ------------------------------------------------------------
 * API documentation page styles.
 *
 * Contains:
 * - Card spacing
 * - Code block styling
 * - Inline code typography
 * - API information table styling
 * - Badge sizing
 *
 * This file provides the visual styling for the
 * API Documentation page.
 * ------------------------------------------------------------
 */

/* Add spacing between consecutive cards */
.card + .card {
    margin-top: 1.5rem;
}

/* Code block styling */
pre {
    margin: 0;
    padding: 1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.88rem;
    overflow: auto;
}

/* Monospace font for inline code and code blocks */
code {
    font-family: Consolas, Monaco, monospace;
}

/* Emphasize the first column of API information tables */
.table td:first-child {
    font-weight: 600;
    white-space: nowrap;
    width: 220px;
}

/* Remove bottom margin from tables */
.table {
    margin-bottom: 0;
}

/* Remove the bottom border and extra padding from the final table row */
.table tbody tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
}

/* Compact badge styling */
.badge {
    font-size: 0.75rem;
}