/* diff-checker — tool styles scoped to .tool-card */

.tool-card .tool-container h1 { color: white !important; }
.tool-card .tool-container {max-width:1200px;margin:0 auto;padding:20px}
.tool-card .editor-section {display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:30px}
.tool-card .editor-panel {background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.tool-card .editor-panel h3 {color:#667eea;margin-bottom:15px}
.tool-card .code-editor {width:100%;min-height:400px;padding:15px;border:2px solid #e0e0e0;border-radius:8px;font-family:'Courier New',monospace;font-size:13px;resize:vertical}
.tool-card .btn {padding:12px 24px;border:none;border-radius:8px;font-size:16px;cursor:pointer;transition:all .3s;font-weight:600;margin-right:10px;margin-bottom:10px}
.tool-card .btn-primary {background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}
.tool-card .btn-primary:hover {transform:translateY(-2px)}
.tool-card .btn-secondary {background:#f0f0f0;color:#333}
.tool-card .diff-output {background:#f8f9fa;padding:20px;border-radius:8px;font-family:'Courier New',monospace;font-size:13px;white-space:pre-wrap;min-height:200px}
.tool-card .diff-added {background:#d1fae5;color:#065f46}
.tool-card .diff-removed {background:#fee2e2;color:#991b1b}
.tool-card .how-to-use {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin:30px 0}
.tool-card .step {background:#fff;padding:25px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.1);text-align:center}
.tool-card .step-number {width:50px;height:50px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;margin:0 auto 15px}
.tool-card .features-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;margin:30px 0}
.tool-card .feature-item {display:flex;align-items:start;gap:10px;padding:15px;background:#f8f9fa;border-radius:8px}
.tool-card .feature-item::before {content:"✓";color:#10b981;font-weight:700;font-size:20px}
.tool-card .content-section {background:rgba(255,255,255,0.95);padding:35px;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,0.1);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.2);margin-bottom:30px;transition:transform 0.3s,box-shadow 0.3s}
.tool-card .content-section:hover {transform:translateY(-2px);box-shadow:0 12px 48px rgba(102,126,234,0.15)}
.tool-card .content-section h2 {color:#667eea;margin-bottom:20px;font-size:28px;font-weight:700;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.tool-card .content-section h3 {font-size:19px;color:#444;margin:20px 0 10px 0;font-weight:600}
.tool-card .content-section p {line-height:1.9;color:#444;margin-bottom:15px}
@media (max-width:968px) {
.tool-card .editor-section {grid-template-columns:1fr}
}
.tool-card .footer p {
            margin: 10px 0;
        }
.tool-card .footer a {
            color: #667eea;
            text-decoration: none;
            margin: 0 5px;
        }
.tool-card .footer a:hover {
            text-decoration: underline;
        }
@media (max-width: 768px) {
.tool-card .header h1 {
                color: white; font-size: 24px;
            }
.tool-card .content {
                padding: 20px;
            }
}
.tool-card .header h1 {
            color: white; font-size: 28px;
            margin-bottom: 10px;
            font-weight: 700;
        }
.tool-card .header p {
            color: white; font-size: 14px;
            opacity: 0.9;
        }
.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;
        }
