/**
 * Report Simplified AdSense Ad Styles
 * These styles are used for the contextual ads displayed within report summaries
 */

/* Base ad container styling */
.ad-container {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #f9f9f9;
    overflow: hidden;
    clear: both;
    text-align: center;
}

.ad-container.premium-hidden {
    display: none;
}

.ad-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-bottom: 5px;
}

.contextual-ad {
    margin: 20px 0;
}

.sidebar-ad {
    margin: 15px 0;
    min-height: 250px;
}

.top-ad {
    margin: 10px 0 20px 0;
}

.bottom-ad {
    margin: 20px 0 10px 0;
}

@media (max-width: 768px) {
    .ad-container {
        margin: 15px 0;
    }
    
    .sidebar-ad {
        min-height: 100px;
    }
}

/* Report styling classes */
.report-content {
    font-size: 16px; /* Base font size for all report content */
    color: #333;
}

.report-content h3 {
    font-size: 20px; /* Increased from 18px */
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #2a5298;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.report-content p {
    font-size: 16px; /* Explicitly set paragraph font size */
    line-height: 1.6;
    margin-bottom: 15px;
}

.report-content ul, 
.report-content ol {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Mobile responsive font sizes */
@media (max-width: 768px) {
    .report-content {
        font-size: 15px;
    }
    
    .report-content h3 {
        font-size: 18px;
    }
}

/* Checkmark and X mark styling */
.checkmark, span.checkmark {
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
    margin-right: 5px;
}

.x-mark, span.xmark, .xmark {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
    margin-right: 5px;
}

/* Section container styling */
.section-container {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.section-critical {
    border-left: 4px solid #dc3545;
    background-color: #fff9f9;
}

.section-moderate {
    border-left: 4px solid #fd7e14;
    background-color: #fff9f0;
}

.section-minor {
    border-left: 4px solid #28a745;
    background-color: #f0fff5;
}

.section-plumbing {
    border-left: 4px solid #17a2b8;
    background-color: #f0f9ff;
}

.section-electrical {
    border-left: 4px solid #6f42c1;
    background-color: #f5f0ff;
}

.section-hvac {
    border-left: 4px solid #20c997;
    background-color: #f0fffa;
}

.section-roof {
    border-left: 4px solid #6c757d;
    background-color: #f5f5f5;
}

.section-foundation {
    border-left: 4px solid #343a40;
    background-color: #f2f2f2;
}

/* AdSense element styling */
.ad-container .adsbygoogle {
    display: block;
    min-height: 100px;
    width: 100%;
}

/* Specialied styling for different report sections */

/* Style for ads placed after major sections like roof, foundation, etc. */
.ad-container[data-section="roof"],
.ad-container[data-section="foundation"],
.ad-container[data-section="electrical"],
.ad-container[data-section="plumbing"] {
    background-color: #f0f7ff;
    border-left: 3px solid #4285f4;
}

/* Style for ads placed after critical/safety sections */
.ad-container[data-section="critical"],
.ad-container[data-section="safety"] {
    background-color: #fff0f0;
    border-left: 3px solid #ea4335;
}

/* Style for ads placed after maintenance sections */
.ad-container[data-section="maintenance"],
.ad-container[data-section="minor"] {
    background-color: #f0fff5;
    border-left: 3px solid #34a853;
} 