/* csv-to-json — tool styles scoped to .tool-card */

.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 .breadcrumb a { color: #667eea; text-decoration: none; font-size: 14px; }
.tool-card .breadcrumb a:hover { text-decoration: underline; }
.tool-card .breadcrumb span { color: #666; margin: 0 8px; }
.tool-card .content { padding: 30px; }
.tool-card .controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 20px; }
.tool-card .form-group label { display: block; font-size: 12px; font-weight: 600; color: #666; margin-bottom: 8px; text-transform: uppercase; }
.tool-card .form-group select { width: 100%; padding: 10px; border: 2px solid #ddd; border-radius: 6px; font-size: 14px; }
.tool-card .editor-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.tool-card .editor-wrapper { display: flex; flex-direction: column; }
.tool-card .editor-wrapper label { font-size: 12px; font-weight: 600; color: #666; margin-bottom: 8px; text-transform: uppercase; }
.tool-card textarea { width: 100%; padding: 15px; border: 2px solid #ddd; border-radius: 6px; font-family: 'Monaco', 'Menlo', monospace; font-size: 13px; min-height: 400px; resize: vertical; background: white; }
.tool-card textarea:focus { outline: 2px solid #4a90e2; border-color: #667eea; background: white; }
.tool-card .button-group { display: flex; gap: 10px; margin-bottom: 20px; }
.tool-card .btn { flex: 1; padding: 12px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 0.2s; }
.tool-card .btn:hover { transform: translateY(-2px); }
.tool-card .btn-secondary { background: #f0f0f0; color: #333; }
.tool-card .status { padding: 12px; border-radius: 6px; margin-bottom: 20px; display: none; }
.tool-card .status.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.tool-card .status.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }
.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 .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;
        }
.tool-card .page-intro h2 {
            font-size: 32px;
            color: #667eea;
            margin-bottom: 15px;
        }
.tool-card .page-intro p {
            font-size: 16px;
            line-height: 1.8;
            color: #333;
            margin-bottom: 10px;
        }
.tool-card .floating-sponsor a {
            display: flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #ea4aaa 0%, #d946a6 100%);
            color: white;
            padding: 12px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            box-shadow: 0 4px 20px rgba(234, 74, 170, 0.4);
            transition: transform 0.2s, box-shadow 0.2s;
        }
.tool-card .floating-sponsor a:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(234, 74, 170, 0.6);
        }
.tool-card .footer a:hover { text-decoration: underline; }
@media (max-width: 768px) {
.tool-card .editor-container { grid-template-columns: 1fr; }
.tool-card .controls { grid-template-columns: 1fr; }
}
.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;
        }
