/* python-decode-twitter-snowflake-id — tool styles scoped to .tool-card */

.tool-card .header h1 { font-size: 32px; margin-bottom: 15px; }
.tool-card .header p { font-size: 16px; opacity: 0.95; }
.tool-card .section { margin-bottom: 40px; }
.tool-card .section h2 { color: #1DA1F2; font-size: 28px; margin-bottom: 20px; }
.tool-card .section h3 { color: #0d8bd9; font-size: 22px; margin: 25px 0 15px 0; }
.tool-card .section p { color: #666; line-height: 1.8; margin-bottom: 15px; }
.tool-card .section ul { margin-left: 25px; line-height: 2; color: #666; }
.tool-card .code-block {
            background: #1e1e1e;
            border-radius: 8px;
            overflow: hidden;
            margin: 20px 0;
        }
.tool-card .code-header {
            background: #2d2d2d;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #404040;
        }
.tool-card .code-header span {
            color: #9cdcfe;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }
.tool-card .code-header button {
            background: #1DA1F2;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            transition: background 0.2s;
        }
.tool-card .code-header button:hover { background: #0d8bd9; }
.tool-card .code-block pre {
            margin: 0;
            padding: 20px;
            overflow-x: auto;
        }
.tool-card .code-block code {
            background: transparent;
            padding: 0;
            color: #d4d4d4;
            display: block;
            line-height: 1.6;
            font-family: 'Courier New', monospace;
            font-size: 14px;
        }
.tool-card .output-block {
            background: #f8f9fa;
            border-left: 4px solid #10b981;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            color: #1a202c;
        }
.tool-card .output-block .output-label {
            color: #10b981;
            font-weight: 600;
            margin-bottom: 10px;
        }
.tool-card .example-box {
            background: linear-gradient(135deg, #10b98115 0%, #05966915 100%);
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid #10b981;
            margin: 20px 0;
        }
.tool-card .example-box h4 {
            color: #10b981;
            margin-bottom: 15px;
            font-size: 18px;
        }
.tool-card .tip-box {
            background: #f0fff4;
            border-left: 4px solid #38a169;
            padding: 15px 20px;
            border-radius: 8px;
            margin: 15px 0;
        }
.tool-card .tip-box h4 {
            color: #38a169;
            margin-bottom: 10px;
            font-size: 16px;
        }
.tool-card .tip-box p {
            color: #22543d;
            margin: 5px 0;
            font-size: 14px;
        }
.tool-card .warning-box {
            border-left: 4px solid #f59e0b;
            padding: 15px 20px;
            border-radius: 8px;
            margin: 15px 0;
        }
.tool-card .warning-box h4 {
            color: #f59e0b;
            margin-bottom: 10px;
            font-size: 16px;
        }
.tool-card .warning-box p {
            color: #78350f;
            margin: 5px 0;
            font-size: 14px;
        }
.tool-card .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.tool-card .feature-card {
            background: linear-gradient(135deg, #1DA1F215 0%, #0d8bd915 100%);
            padding: 25px;
            border-radius: 12px;
            border-left: 5px solid #1DA1F2;
        }
.tool-card .feature-card h4 {
            color: #1DA1F2;
            margin-bottom: 12px;
            font-size: 18px;
        }
.tool-card .feature-card p {
            color: #666;
            line-height: 1.6;
            margin: 0;
        }
.tool-card .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
.tool-card .comparison-table thead {
            background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
            color: white;
        }
.tool-card .comparison-table th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
        }
.tool-card .comparison-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
        }
.tool-card .comparison-table tbody tr:hover {
            background: #f8f9fa;
        }
.tool-card .comparison-table code {
            background: #f0f9ff;
            padding: 2px 6px;
            border-radius: 3px;
            color: #0d8bd9;
            font-family: monospace;
            font-size: 13px;
        }
.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;
        }
