/* AI SEO Optimizer Pro - Frontend Styles */

/* Callouts */
.ai-seo-callout {
    border-radius: 10px;
    padding: 20px 24px;
    margin: 24px 0;
    border-left: 4px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.ai-seo-callout h2,
.ai-seo-callout h3 {
    margin: 0 0 10px !important;
    font-size: 1.15em !important;
}

.ai-seo-callout p {
    margin: 6px 0 !important;
}

.ai-seo-callout--takeaway {
    background: #eef2ff;
    border-color: #4f46e5;
    color: #312e81;
}

.ai-seo-callout--tip {
    background: #ecfdf5;
    border-color: #059669;
    color: #064e3b;
}

.ai-seo-callout--warning {
    background: #fefce8;
    border-color: #d97706;
    color: #78350f;
}

/* Table of Contents */
.ai-seo-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 24px 0;
}

.ai-seo-toc h3 {
    margin: 0 0 12px !important;
    font-size: 1.1em !important;
}

.ai-seo-toc ul {
    margin: 0 !important;
    padding-left: 20px !important;
    list-style-type: disc !important;
}

.ai-seo-toc li {
    margin: 4px 0 !important;
}

.ai-seo-toc a {
    color: #4f46e5;
    text-decoration: none;
}

.ai-seo-toc a:hover {
    text-decoration: underline;
}

/* Data Tables */
.ai-seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ai-seo-table th {
    background: #f1f5f9;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    color: #1e293b;
}

.ai-seo-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.ai-seo-table tr:hover td {
    background: #f8fafc;
}

/* FAQ Section */
.ai-seo-faq {
    background: #fafbff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    margin: 28px 0;
}

.ai-seo-faq h2 {
    margin: 0 0 16px !important;
}

.ai-seo-faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}

.ai-seo-faq-item:last-child {
    border-bottom: 0;
}

.ai-seo-faq-item h3 {
    margin: 0 0 8px !important;
    font-size: 1em !important;
    color: #1e293b;
    font-weight: 600;
}

.ai-seo-faq-item p {
    margin: 4px 0 !important;
    color: #475569 !important;
}

/* Inline Images */
.ai-seo-inline-image {
    margin: 32px 0;
}

.ai-seo-inline-image img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ai-seo-inline-image figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #64748b;
    margin-top: 8px;
}