:root {  
            --code-bg: #1e1e2f;
            --border-color: #e9ecef;
            --text-muted: #6c757d;
        }
        .method-selector {
            display: inline-flex;
            gap: 0.5rem;
            background: #f1f3f5;
            border-radius: 40px;
            padding: 0.25rem;
        }
        .method-btn {
            border: none;
            background: transparent;
            padding: 0.5rem 1.2rem;
            border-radius: 32px;
            font-weight: 600;
            transition: 0.2s;
            font-size: 0.9rem;
        }
        .method-btn.active {
            background: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            color: var(--primary-color);
        }
        .method-get { color: #2c7da0; }
        .method-post { color: #2a9d8f; }
        .method-put { color: #e9c46a; }
        .method-patch { color: #f4a261; }
        .method-delete { color: #e76f51; }
        .url-input {
            font-family: 'Fira Code', 'Cascadia Code', monospace;
            font-size: 0.95rem;
        }
        .headers-editor, .body-editor {
            background: #fafbfc;
            border-radius: 16px;
            border: 1px solid var(--border-color);
            padding: 1rem;
            margin-top: 0.5rem;
        }
        .dynamic-header-row {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            align-items: center;
        }
        .response-viewer {
            background: var(--code-bg);
            border-radius: 16px;
            padding: 1.2rem;
            color: #e2e8f0;
            font-family: 'Fira Code', monospace;
            font-size: 0.85rem;
            overflow-x: auto;
            max-height: 480px;
        }
        .status-badge {
            display: inline-block;
            padding: 0.25rem 0.85rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.8rem;
        }
        .status-2xx { background: #d1fae5; color: #065f46; }
        .status-4xx { background: #fee2e2; color: #991b1b; }
        .status-5xx { background: #ffedd5; color: #9b2c1d; }
        .metric-badge {
            font-size: 0.75rem;
            background: #eef2ff;
            padding: 0.25rem 0.7rem;
            border-radius: 30px;
            font-weight: 500;
        }
        .example-preset {
            background: #f1f5f9;
            border-radius: 40px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid transparent;
        }
        .example-preset:hover {
            background: #e2e8f0;
            transform: translateY(-1px);
            border-color: var(--primary-color);
        }
        .btn-outline-primary {
            border-radius: 40px;
        }
        .json-pretty {
            white-space: pre-wrap;
            font-family: 'Fira Code', monospace;
        }
        .breadcrumb {
            background: transparent;
            padding: 0;
        }
        .loader {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            margin-right: 8px;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .btn-primary:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }