/* Professional Tool Content Styling */
/* This CSS file styles the generated SEO content for all professional tools */

.seo-text,
.dynamic-content,
.seo-content-inner {
    color: #cbd5e1;
    line-height: 1.8;
}

/* Headings */
.seo-text h2,
.dynamic-content h2,
.seo-content-inner h2 {
    color: #ffffff !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    margin-top: 2.5rem !important;
    font-weight: 700 !important;
    padding-bottom: 0.5rem;
}

.seo-text h2:first-child,
.dynamic-content h2:first-child,
.seo-content-inner h2:first-child {
    margin-top: 0 !important;
}

.seo-text h3,
.dynamic-content h3,
.seo-content-inner h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    margin-top: 2rem !important;
    font-weight: 700 !important;
}

.seo-text h4,
.dynamic-content h4,
.seo-content-inner h4 {
    color: #10b981 !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    margin-top: 1.5rem !important;
    font-weight: 700 !important;
}

.seo-text h5,
.dynamic-content h5,
.seo-content-inner h5 {
    color: #cbd5e1 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
    margin-top: 1.25rem !important;
    font-weight: 600 !important;
}

.seo-text h6,
.dynamic-content h6,
.seo-content-inner h6 {
    color: #94a3b8 !important;
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    margin-top: 1rem !important;
    font-weight: 600 !important;
}

/* Paragraphs */
.seo-text p,
.dynamic-content p,
.seo-content-inner p {
    color: #cbd5e1 !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
    font-size: 1.05rem !important;
}

/* Strong/Bold text */
.seo-text strong,
.dynamic-content strong,
.seo-content-inner strong {
    color: #06b6d4 !important;
    font-weight: 700 !important;
}

/* Lists */
.seo-text ul,
.seo-text ol,
.dynamic-content ul,
.dynamic-content ol,
.seo-content-inner ul,
.seo-content-inner ol {
    margin: 1.5rem 0 !important;
    padding-left: 2rem !important;
    color: #cbd5e1 !important;
}

.seo-text li,
.dynamic-content li,
.seo-content-inner li {
    margin-bottom: 1rem !important;
    line-height: 1.7 !important;
    color: #cbd5e1 !important;
}

.seo-text li strong,
.dynamic-content li strong,
.seo-content-inner li strong {
    color: #06b6d4 !important;
}

/* Divs with inline styles (boxes) */
.seo-text > div[style*="background"],
.dynamic-content > div[style*="background"],
.seo-content-inner > div[style*="background"] {
    border-radius: 12px !important;
    margin: 1.5rem 0 !important;
}

/* Feature boxes */
.seo-text > div[style*="rgba(15, 23, 42"],
.dynamic-content > div[style*="rgba(15, 23, 42"],
.seo-content-inner > div[style*="rgba(15, 23, 42"] {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(6, 182, 212, 0.2) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
}

/* Benefit boxes */
.seo-text > div[style*="rgba(16, 185, 129"],
.dynamic-content > div[style*="rgba(16, 185, 129"],
.seo-content-inner > div[style*="rgba(16, 185, 129"] {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
}

/* FAQ boxes */
.seo-text > div[style*="rgba(139, 92, 246"],
.dynamic-content > div[style*="rgba(139, 92, 246"],
.seo-content-inner > div[style*="rgba(139, 92, 246"] {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
}

/* Tips box */
.seo-text > div[style*="rgba(245, 158, 11"],
.dynamic-content > div[style*="rgba(245, 158, 11"],
.seo-content-inner > div[style*="rgba(245, 158, 11"] {
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
}

/* Highlighted text spans */
.seo-text span[style*="background"],
.dynamic-content span[style*="background"],
.seo-content-inner span[style*="background"] {
    background: linear-gradient(120deg, rgba(6, 182, 212, 0.3) 0%, rgba(6, 182, 212, 0.1) 100%) !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    color: #06b6d4 !important;
}

/* Icons in headings */
.seo-text h2 i,
.seo-text h3 i,
.seo-text h4 i,
.dynamic-content h2 i,
.dynamic-content h3 i,
.dynamic-content h4 i,
.seo-content-inner h2 i,
.seo-content-inner h3 i,
.seo-content-inner h4 i {
    margin-right: 0.5rem;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-text h2 {
        font-size: 1.5rem !important;
    }
    
    .seo-text h3 {
        font-size: 1.25rem !important;
    }
    
    .seo-text h4 {
        font-size: 1.1rem !important;
    }
    
    .seo-text p {
        font-size: 1rem !important;
    }
    
    .seo-text > div[style*="background"] {
        padding: 1.5rem !important;
    }
}

/* Smooth transitions */
.seo-text *,
.dynamic-content *,
.seo-content-inner * {
    transition: color 0.3s ease;
}

/* Links */
.seo-text a,
.dynamic-content a,
.seo-content-inner a {
    color: #06b6d4 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: opacity 0.3s ease;
}

.seo-text a:hover,
.dynamic-content a:hover,
.seo-content-inner a:hover {
    opacity: 0.8;
}

/* Nested lists */
.seo-text ul ul,
.seo-text ol ol,
.dynamic-content ul ul,
.dynamic-content ol ol,
.seo-content-inner ul ul,
.seo-content-inner ol ol {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Code blocks (if any) */
.seo-text code,
.dynamic-content code,
.seo-content-inner code {
    background: rgba(6, 182, 212, 0.1) !important;
    color: #06b6d4 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 4px !important;
    font-family: 'Courier New', monospace !important;
    font-size: 0.9em !important;
}

/* Blockquotes (if any) */
.seo-text blockquote,
.dynamic-content blockquote,
.seo-content-inner blockquote {
    border-left: 4px solid #06b6d4 !important;
    padding-left: 1.5rem !important;
    margin: 1.5rem 0 !important;
    color: #94a3b8 !important;
    font-style: italic !important;
}

/* Tables (if any) */
.seo-text table,
.dynamic-content table,
.seo-content-inner table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.5rem 0 !important;
}

.seo-text table th,
.dynamic-content table th,
.seo-content-inner table th {
    background: rgba(6, 182, 212, 0.2) !important;
    color: #ffffff !important;
    padding: 0.75rem !important;
    text-align: left !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.seo-text table td,
.dynamic-content table td,
.seo-content-inner table td {
    padding: 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

.seo-text table tr:hover,
.dynamic-content table tr:hover,
.seo-content-inner table tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Horizontal rules */
.seo-text hr,
.dynamic-content hr,
.seo-content-inner hr {
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 2rem 0 !important;
}

/* First paragraph special styling */
.seo-text > p:first-of-type,
.dynamic-content > p:first-of-type {
    font-size: 1.15rem !important;
    color: #e2e8f0 !important;
}

/* Section spacing */
.seo-text > div + div,
.dynamic-content > div + div {
    margin-top: 1.5rem !important;
}

/* Emoji and icon spacing */
.seo-text li::before,
.dynamic-content li::before {
    margin-right: 0.5rem;
}

/* Print styles */
@media print {
    .seo-text {
        color: #000 !important;
    }
    
    .seo-text h2,
    .seo-text h3,
    .seo-text h4 {
        color: #000 !important;
    }
    
    .seo-text > div[style*="background"] {
        border: 1px solid #ccc !important;
        background: #f5f5f5 !important;
    }
}
