/* base64-encoder-decoder — tool styles scoped to .tool-card */

.tool-card .header h1 { font-size: 28px; margin-bottom: 10px; }
.tool-card .content { padding: 30px; }
.tool-card .converter-box {
            background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
            padding: 25px;
            border-radius: 12px;
            border: 2px solid #667eea;
            margin-bottom: 30px;
        }
.tool-card .tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
.tool-card .tab {
            flex: 1;
            padding: 12px;
            background: white;
            border: 2px solid #667eea;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            font-weight: 600;
            transition: all 0.3s;
        }
.tool-card .tab.active {
            background: #667eea;
            color: white;
        }
.tool-card textarea {
            width: 100%;
            padding: 14px;
            border: 2px solid #667eea;
            border-radius: 8px;
            font-size: 14px;
            font-family: 'Courier New', monospace;
            margin-bottom: 15px;
            resize: vertical;
            min-height: 120px;
        }
.tool-card .btn {
            width: 100%;
            padding: 14px;
            background: #667eea;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
.tool-card .btn:hover { background: #764ba2; transform: translateY(-2px); }
.tool-card .result {
            display: none;
            background: white;
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid #667eea;
            margin-top: 20px;
        }
.tool-card .result-label {
            font-size: 12px;
            color: #666;
            margin-bottom: 8px;
            text-transform: uppercase;
            font-weight: 600;
        }
.tool-card .result-value {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            word-break: break-all;
            line-height: 1.6;
        }
.tool-card .copy-btn {
            margin-top: 10px;
            padding: 8px 16px;
            background: #667eea;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
        }
.tool-card .copy-btn:hover { background: #764ba2; }
.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;
        }
