/* age-calculator — 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 .tool-section {
            background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
            padding: 25px;
            border-radius: 12px;
            margin-bottom: 30px;
            border: 2px solid #667eea;
        }
.tool-card .tool-section h2 {
            color: #667eea;
            margin-bottom: 15px;
            font-size: 22px;
        }
.tool-card .tool-section p {
            color: #666;
            margin-bottom: 15px;
            font-size: 14px;
        }
.tool-card .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }
.tool-card .input-group input, .tool-card .input-group textarea, .tool-card .input-group select {
            flex: 1;
            min-width: 250px;
            padding: 14px;
            border: 2px solid #667eea;
            border-radius: 8px;
            font-size: 15px;
            font-family: monospace;
        }
.tool-card .input-group textarea {
            min-height: 150px;
            font-family: monospace;
            resize: vertical;
        }
.tool-card .btn {
            padding: 14px 30px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s;
        }
.tool-card .btn:hover {
            transform: translateY(-2px);
        }
.tool-card .btn-secondary {
            background: white;
            color: #667eea;
            border: 1px solid #667eea;
        }
.tool-card .output-area {
            background: white;
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid #667eea;
            margin-top: 15px;
            display: none;
        }
.tool-card .output-area.show {
            display: block;
        }
.tool-card .example-buttons {
            margin-bottom: 15px;
        }
.tool-card .example-buttons button {
            padding: 6px 12px;
            background: white;
            border: 1px solid #667eea;
            border-radius: 6px;
            color: #667eea;
            font-size: 12px;
            cursor: pointer;
            margin-right: 8px;
            margin-bottom: 8px;
        }
.tool-card .example-buttons button:hover {
            background: #667eea;
            color: white;
        }
.tool-card .comparison-table {
            padding: 30px;
            background: #f9f9f9;
        }
.tool-card .comparison-table h2 {
            color: #667eea;
            text-align: center;
            margin-bottom: 20px;
            font-size: 24px;
        }
.tool-card .comparison-table table {
            width: 100%;
            border-collapse: collapse;
            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, #667eea 0%, #764ba2 100%);
            color: white;
        }
.tool-card .comparison-table th, .tool-card .comparison-table td {
            padding: 15px;
            text-align: left;
            font-size: 14px;
        }
.tool-card .comparison-table tbody tr {
            border-bottom: 1px solid #eee;
        }
.tool-card .comparison-table tbody tr:nth-child(even) {
            background: #f8f9fa;
        }
.tool-card .use-cases {
            padding: 30px;
            background: white;
            border-top: 1px solid #eee;
        }
.tool-card .use-cases h2 {
            color: #667eea;
            text-align: center;
            margin-bottom: 20px;
            font-size: 24px;
        }
.tool-card .use-cases-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 15px;
        }
.tool-card .use-case-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
        }
.tool-card .use-case-card .icon {
            font-size: 24px;
            margin-bottom: 10px;
        }
.tool-card .use-case-card h4 {
            color: #667eea;
            margin-bottom: 8px;
            font-size: 16px;
        }
.tool-card .use-case-card p {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
        }
.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) {
.tool-card .input-group {
                flex-direction: column;
            }
.tool-card .input-group input, .tool-card .input-group textarea {
                width: 100%;
            }
.tool-card .header h1 {
                font-size: 22px;
            }
.tool-card .use-cases-grid {
                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;
        }
