/* json-to-yaml-online — tool styles scoped to .tool-card */

.tool-card .header h1 {
            font-size: 28px;
            margin-bottom: 10px;
            font-weight: 700;
        }
.tool-card .header p {
            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 .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 .content {
            padding: 30px;
        }
.tool-card .format-selector {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 15px;
            margin-bottom: 20px;
            align-items: end;
        }
.tool-card .format-group {
            display: flex;
            flex-direction: column;
        }
.tool-card .format-group label {
            font-size: 12px;
            font-weight: 600;
            color: #666;
            margin-bottom: 8px;
            text-transform: uppercase;
        }
.tool-card .format-group select {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            background: white;
            cursor: pointer;
        }
.tool-card .swap-btn {
            background: #667eea;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 18px;
            transition: background 0.3s ease;
        }
.tool-card .swap-btn:hover {
            background: #764ba2;
        }
.tool-card .textarea-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }
.tool-card .textarea-wrapper {
            display: flex;
            flex-direction: column;
        }
.tool-card .textarea-wrapper label {
            font-size: 12px;
            font-weight: 600;
            color: #666;
            margin-bottom: 8px;
            text-transform: uppercase;
        }
.tool-card textarea {
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            font-size: 13px;
            resize: vertical;
            min-height: 300px;
            background: white;
            transition: border-color 0.3s ease;
        }
.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 .convert-btn {
            flex: 1;
            padding: 12px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
.tool-card .convert-btn:hover {
            transform: translateY(-2px);
        }
.tool-card .copy-btn {
            padding: 12px 20px;
            background: #f0f0f0;
            border: 1px solid #ddd;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: background 0.3s ease;
        }
.tool-card .copy-btn:hover {
            background: #e0e0e0;
        }
.tool-card .status {
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 20px;
            display: none;
            font-size: 14px;
        }
.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 a {
            color: #667eea;
            text-decoration: none;
            margin: 0 10px;
        }
.tool-card .footer a:hover {
            text-decoration: underline;
        }
.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);
        }
@media (max-width: 768px) {
@media (max-width: 768px) {
.tool-card .textarea-container {
                grid-template-columns: 1fr;
            }
.tool-card .format-selector {
                grid-template-columns: 1fr;
            }
.tool-card .header h1 {
                font-size: 22px;
            }
.tool-card textarea {
                min-height: 200px;
            }
}
.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;
}
