/*
 * Settings → MCP server page (App\Filament\Pages\Settings\McpServer).
 *
 * Plain CSS against Filament's theme variables, like cost-report.css (the
 * panel has no Tailwind build of its own). The connections table reuses the
 * .fi-cost-table styles from cost-report.css.
 *
 * Served from the published copy: run `php artisan filament:assets` after
 * editing this file.
 */

.fi-mcp-stack {
    display: grid;
    gap: 1.25rem;
}

.fi-mcp-label {
    margin-bottom: 0.375rem;
    color: var(--gray-500, #6b7280);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.fi-mcp-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.375rem 0;
}

.fi-mcp-code {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 0.5rem;
    background: var(--gray-50, #f9fafb);
    color: var(--gray-950, #030712);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
    overflow-wrap: anywhere;
}

.fi-mcp-pre {
    overflow-x: auto;
    overflow-wrap: normal;
    white-space: pre;
}

.fi-mcp-note {
    margin: 0;
    color: var(--gray-600, #4b5563);
    font-size: 0.875rem;
}

.fi-mcp-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.fi-mcp-client {
    padding: 1rem;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.fi-mcp-client h3 {
    margin: 0 0 0.5rem;
    color: var(--gray-950, #030712);
    font-size: 0.9375rem;
    font-weight: 600;
}

.fi-mcp-client ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--gray-700, #374151);
    list-style: decimal;
}

.fi-mcp-client li + li {
    margin-top: 0.25rem;
}

.fi-mcp-client code:not(.fi-mcp-code) {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
}

.fi-cost-table .fi-mcp-actions {
    text-align: right;
}

.dark .fi-mcp-code {
    border-color: var(--gray-700, #374151);
    background: var(--gray-900, #111827);
    color: var(--gray-100, #f3f4f6);
}

.dark .fi-mcp-note,
.dark .fi-mcp-label {
    color: var(--gray-400, #9ca3af);
}

.dark .fi-mcp-client {
    border-color: var(--gray-700, #374151);
}

.dark .fi-mcp-client h3 {
    color: var(--gray-100, #f3f4f6);
}

.dark .fi-mcp-client ol {
    color: var(--gray-300, #d1d5db);
}
