/**
 * MonetizePro AI Blocks Frontend Styles
 * 
 * Styles for AI blocks on the frontend.
 *
 * @package MonetizeProAI
 * @version 2.0.0
 */

/* AI Generated Content */
.ai-generated-content {
    line-height: 1.6;
    color: #333;
}

.ai-generated-content h1,
.ai-generated-content h2,
.ai-generated-content h3,
.ai-generated-content h4,
.ai-generated-content h5,
.ai-generated-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.ai-generated-content p {
    margin-bottom: 1em;
}

.ai-generated-content ul,
.ai-generated-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.ai-generated-content li {
    margin-bottom: 0.5em;
}

/* AI Generated Images */
.ai-generated-image {
    text-align: center;
    margin: 2em 0;
}

.ai-generated-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* AI Email Capture */
.ai-email-capture {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2em;
    border-radius: 12px;
    text-align: center;
    margin: 2em 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ai-email-capture-minimal {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.ai-email-capture-bold {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    transform: scale(1.02);
}

.ai-email-capture-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.ai-email-capture-title {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 0.5em 0;
    line-height: 1.2;
}

.ai-email-capture-subtitle {
    font-size: 1.1em;
    margin: 0 0 1.5em 0;
    opacity: 0.9;
    line-height: 1.4;
}

.ai-email-capture-form {
    max-width: 400px;
    margin: 0 auto;
}

.ai-email-capture-fields {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ai-email-capture-fields input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.ai-email-capture-fields input[type="email"]:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.ai-email-capture-button {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ai-email-capture-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.ai-email-capture-minimal .ai-email-capture-button {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

.ai-email-capture-minimal .ai-email-capture-button:hover {
    background: #005a87;
    border-color: #005a87;
}

/* AI Affiliate Showcase */
.ai-affiliate-showcase {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 1.5em;
    margin: 2em 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-affiliate-showcase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ai-affiliate-product {
    display: flex;
    gap: 1.5em;
    align-items: flex-start;
}

.ai-affiliate-image {
    flex-shrink: 0;
    width: 120px;
}

.ai-affiliate-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.ai-affiliate-content {
    flex: 1;
}

.ai-affiliate-title {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    color: #333;
    line-height: 1.3;
}

.ai-affiliate-rating {
    color: #ffa500;
    font-size: 1.1em;
    margin-bottom: 0.5em;
}

.ai-affiliate-price {
    font-size: 1.4em;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 1em;
}

.ai-affiliate-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5em;
}

.ai-affiliate-cta {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.ai-affiliate-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    text-decoration: none;
    color: #fff;
}

/* AI Smart CTA */
.ai-smart-cta {
    text-align: center;
    margin: 2em 0;
}

.ai-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.ai-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 124, 186, 0.4);
    text-decoration: none;
    color: #fff;
}

.ai-cta-primary .ai-cta-button {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
}

.ai-cta-secondary .ai-cta-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.ai-cta-success .ai-cta-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.ai-cta-warning .ai-cta-button {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: #333;
}

.ai-cta-danger .ai-cta-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* AI One-Click Blog Result */
.ai-one-click-blog-result {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5em;
    margin: 2em 0;
    text-align: center;
}

.ai-one-click-blog-result h3 {
    color: #155724;
    margin: 0 0 0.5em 0;
}

.ai-one-click-blog-result p {
    color: #155724;
    margin: 0 0 1em 0;
}

.ai-one-click-blog-result a {
    color: #155724;
    font-weight: 600;
    text-decoration: none;
}

.ai-one-click-blog-result a:hover {
    text-decoration: underline;
}

/* AI Content Series Result */
.ai-content-series-result {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5em;
    margin: 2em 0;
}

.ai-content-series-result h3 {
    color: #495057;
    margin: 0 0 1em 0;
}

.ai-series-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-series-list li {
    padding: 0.5em 0;
    border-bottom: 1px solid #dee2e6;
}

.ai-series-list li:last-child {
    border-bottom: none;
}

.ai-series-list a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
}

.ai-series-list a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ai-email-capture {
        padding: 1.5em;
    }
    
    .ai-email-capture-fields {
        flex-direction: column;
    }
    
    .ai-email-capture-fields input[type="email"] {
        min-width: auto;
        margin-bottom: 10px;
    }
    
    .ai-affiliate-product {
        flex-direction: column;
        text-align: center;
    }
    
    .ai-affiliate-image {
        width: 150px;
        margin: 0 auto;
    }
    
    .ai-cta-button {
        padding: 14px 28px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .ai-email-capture-title {
        font-size: 1.5em;
    }
    
    .ai-email-capture-subtitle {
        font-size: 1em;
    }
    
    .ai-affiliate-title {
        font-size: 1.2em;
    }
    
    .ai-affiliate-price {
        font-size: 1.2em;
    }
}

