/* json-formatter — tool styles scoped to .tool-card */

.tool-card .header h1 { font-size: 28px; margin-bottom: 10px; }
.tool-card .content { padding: 30px; }
.tool-card .formatter-box {
            background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
            padding: 25px;
            border-radius: 12px;
            border: 2px solid #667eea;
            margin-bottom: 30px;
        }
.tool-card .button-group {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
.tool-card .btn {
            flex: 1;
            padding: 12px;
            background: #667eea;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
.tool-card .btn:hover { background: #764ba2; transform: translateY(-2px); }
.tool-card .btn-secondary {
            background: white;
            color: #667eea;
            border: 2px solid #667eea;
        }
.tool-card .btn-secondary:hover {
            background: #667eea;
            color: white;
        }
.tool-card textarea {
            width: 100%;
            padding: 14px;
            border: 2px solid #667eea;
            border-radius: 8px;
            font-size: 13px;
            font-family: 'Courier New', monospace;
            resize: vertical;
            min-height: 200px;
        }
.tool-card .output {
            background: #1a202c;
            color: #e2e8f0;
            padding: 20px;
            border-radius: 8px;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            overflow-x: auto;
            line-height: 1.6;
            min-height: 200px;
            margin-top: 15px;
        }
.tool-card .key { color: #a78bfa; }
.tool-card .string { color: #22c55e; }
.tool-card .number { color: #f97316; }
.tool-card .boolean { color: #3b82f6; }
.tool-card .null { color: #ef4444; }
.tool-card .error {
            background: #fef2f2;
            border: 2px solid #ef4444;
            color: #991b1b;
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
        }
.tool-card .stats {
            display: flex;
            gap: 15px;
            margin-top: 15px;
            font-size: 14px;
            color: #666;
        }
.tool-card .stat-item {
            background: white;
            padding: 10px 15px;
            border-radius: 6px;
        }
.tool-card .info-section {
            background: #f9f9f9;
            padding: 30px;
            border-top: 1px solid #eee;
        }
.tool-card .info-section h3 { color: #667eea; margin-bottom: 15px; }
.tool-card .info-section p { color: #666; line-height: 1.8; margin-bottom: 12px; }
.tool-card .seo-content {
            margin-top: 40px;
            line-height: 1.9;
            color: #444;
            font-size: 15px;
        }
.tool-card .seo-content .container {
            padding: 0 20px;
        }
.tool-card .seo-content h2, .tool-card .seo-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 24px;
            margin-bottom: 10px;
            color: #667eea;
        }
.tool-card .seo-content p {
            margin-bottom: 14px;
            color: #555;
        }
.tool-card .seo-content ul, .tool-card .seo-content ol {
            margin-left: 22px;
            margin-bottom: 16px;
        }
.tool-card .seo-content li {
            margin-bottom: 8px;
            color: #555;
        }
.tool-card .examples-content {
            margin-top: 40px;
            line-height: 1.9;
            color: #444;
            font-size: 15px;
        }
.tool-card .examples-content .container {
            padding: 0 20px;
        }
.tool-card .examples-content h2, .tool-card .examples-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 24px;
            margin-bottom: 10px;
            color: #667eea;
        }
.tool-card .examples-content p {
            margin-bottom: 14px;
            color: #555;
        }
.tool-card .examples-content pre {
            background: #1e1e2e;
            color: #cdd6f4;
            padding: 18px 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin-bottom: 18px;
            font-size: 13px;
            line-height: 1.6;
        }
.tool-card .examples-content code {
            font-family: 'Fira Code', 'Cascadia Code', 'Monaco', 'Menlo', monospace;
        }
.tool-card .examples-content ul, .tool-card .examples-content ol {
            margin-left: 22px;
            margin-bottom: 16px;
        }
.tool-card .examples-content li {
            margin-bottom: 8px;
            color: #555;
        }
