/**
 * Developer portal styles
 */

.developer-portal {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.tier-comparison-table {
    margin: 2rem 0;
}

.tier-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s;
}

.tier-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tier-card.recommended {
    border-color: #0d6efd;
    border-width: 2px;
}

.quota-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.quota-progress {
    height: 24px;
    border-radius: 4px;
    margin: 1rem 0;
}

.api-key-display {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.api-key-prefix {
    font-family: 'Courier New', monospace;
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.config-snippet {
    background-color: #282c34;
    color: #abb2bf;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
}

.config-snippet code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.copy-button,
.copy-mcp-config-btn,
.copy-url-btn {
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.copy-button:hover,
.copy-mcp-config-btn:hover,
.copy-url-btn:hover {
    transform: translateY(-1px);
}

/* Copy success animation - brief scale pulse */
.copy-button.btn-success,
.copy-mcp-config-btn.btn-success,
.copy-url-btn.btn-success {
    animation: copy-pulse 0.3s ease-out;
}

@keyframes copy-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.warning-banner {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.upgrade-cta {
    background-color: #d1ecf1;
    border: 1px solid #0dcaf0;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
a:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-main:focus {
    left: 0;
    top: 0;
    background: #0d6efd;
    color: white;
    padding: 1rem;
}

/* MCP Tools Reference - Parameter list
 * Uses site color palette: brown primary, teal secondary, beige/tan accents
 */
.mcp-param-list {
    margin: 0;
    font-size: 0.875rem;
}

.mcp-param-list dt {
    padding: 0.5rem 0 0.25rem;
    border-top: 1px solid var(--bs-border-color, #D2B48C);
}

.mcp-param-list dt:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Required parameter highlight - left accent + subtle background */
.mcp-param-list dt.required {
    margin-left: -0.75rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--bs-primary, #8B4513);
    background: linear-gradient(90deg, rgba(139, 69, 19, 0.06) 0%, transparent 50%);
}

.mcp-param-list dt.required + dd {
    margin-left: -0.75rem;
    padding-left: 0.75rem;
    background: linear-gradient(90deg, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
}

.mcp-param-list dd {
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    color: #5c5c5c;
}

.mcp-param-list dd:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.mcp-param-name {
    font-family: 'Courier New', monospace;
    color: var(--bs-secondary, #2F4F4F);
    background-color: rgba(47, 79, 79, 0.08);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.8125rem;
}

.mcp-param-required {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--bs-primary, #8B4513);
    text-transform: uppercase;
    margin-left: 0.375rem;
}

.mcp-param-type {
    font-size: 0.75rem;
    color: #7a7a7a;
    margin-left: 0.5rem;
}

/* Anchor scroll offset moved to global rule in layout.css */
