/* Solar Proposal Specific Styling */

/* Cost inflation and analysis */
.cost-inflation {
    margin: 2rem 0;
}

.inflation-factor {
    background: #fff8e1;
    border: 2px solid #ffa000;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.inflation-factor h4 {
    color: #e65100;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.margin-breakdown h5,
.mcs-cost-analysis h5,
.retrofit-costs h5 {
    color: #ef6c00;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #ffcc02;
    padding-bottom: 0.5rem;
}

.cost-result,
.certification-result,
.retrofit-result {
    background: #ff5722;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
}

/* Market manipulation tactics */
.market-manipulation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.manipulation-tactic {
    background: #ffebee;
    border: 2px solid #f44336;
    border-radius: 12px;
    padding: 2rem;
}

.manipulation-tactic h4 {
    color: #d32f2f;
    margin-bottom: 1rem;
}

.manipulation-tactic ul {
    list-style: none;
    padding: 0;
}

.manipulation-tactic li {
    background: white;
    border-left: 4px solid #f44336;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}

/* Cost breakdown analysis */
.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.true-costs {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
}

.installation-costs {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 2rem;
}

.realistic-total {
    background: #f3e5f5;
    border: 2px solid #9c27b0;
    border-radius: 12px;
    padding: 2rem;
    grid-column: 1 / -1;
}

.component-total,
.labour-total {
    background: #2e7d32;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 700;
}

.labour-total {
    background: #1976d2;
}

.pricing-conclusion {
    background: #6a1b9a;
    color: white;
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

/* New build savings */
.new-build-savings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.construction-savings,
.volume-benefits {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
}

.construction-savings h4,
.volume-benefits h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.construction-total,
.volume-result {
    background: #4caf50;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 700;
}

/* MCS analysis */
.mcs-analysis {
    margin: 2rem 0;
}

.certification-overview {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.certification-overview h4 {
    color: #e65100;
    margin-bottom: 1rem;
}

.mcs-reality {
    background: #ff5722;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
}

/* Price comparison table */
.comparison-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background: #ff9800;
    color: white;
    font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
    background: #fff8e1;
}

.comparison-table tbody tr:hover {
    background: #ffecb3;
}

.comparison-result {
    background: #d84315;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
}

/* Quality analysis */
.quality-analysis {
    margin: 2rem 0;
}

.performance-comparison,
.manufacturing-standards {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.performance-comparison h4,
.manufacturing-standards h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.standards-conclusion {
    background: #1976d2;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
}

/* Construction advantages */
.construction-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.timing-benefits,
.access-benefits,
.integration-benefits {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
}

.timing-benefits h4,
.access-benefits h4,
.integration-benefits h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

/* Legislative framework */
.legislative-framework {
    margin: 2rem 0;
}

.framework-section {
    background: #f3e5f5;
    border: 2px solid #9c27b0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.framework-section h4 {
    color: #6a1b9a;
    margin-bottom: 1.5rem;
}

.legislative-text h5 {
    color: #4a148c;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #ce93d8;
    padding-bottom: 0.5rem;
}

.legislative-text p {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #9c27b0;
    margin: 1rem 0;
}

/* Household benefits */
.household-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.energy-savings {
    background: #fff8e1;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
}

.property-value {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
}

.energy-savings h4 {
    color: #f57c00;
    margin-bottom: 1rem;
}

.property-value h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.savings-total {
    background: #ff9800;
    color: white;
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.payback-period,
.value-increase {
    background: #4caf50;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
}

/* National benefits */
.national-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.economic-impact,
.environmental-impact {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.economic-impact h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.environmental-impact h4 {
    color: #388e3c;
    margin-bottom: 1rem;
}

.environmental-result {
    background: #388e3c;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
}

/* Implementation phases */
.implementation-phases {
    margin: 2rem 0;
}

.phase-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.phase-header {
    background: linear-gradient(135deg, #ffa000 0%, #ff8f00 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phase-header h4 {
    margin: 0;
    color: white;
}

.phase-duration {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.phase-content {
    padding: 2rem;
}

.phase-content h5 {
    color: #ff8f00;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #ffcc02;
    padding-bottom: 0.5rem;
}

/* International examples */
.international-examples {
    margin: 2rem 0;
}

.country-example {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.country-example h4 {
    color: #1976d2;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.example-details h5 {
    color: #1565c0;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #bbdefb;
    padding-bottom: 0.5rem;
}

/* Action strategy */
.action-strategy {
    margin: 2rem 0;
}

.immediate-actions,
.sustained-campaign,
.political-strategy {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.immediate-actions h4 {
    color: #ff5722;
    margin-bottom: 1.5rem;
}

.sustained-campaign h4 {
    color: #ff9800;
    margin-bottom: 1.5rem;
}

.political-strategy h4 {
    color: #4caf50;
    margin-bottom: 1.5rem;
}

.immediate-actions ul,
.sustained-campaign ul,
.political-strategy ul {
    list-style: none;
    padding: 0;
}

.immediate-actions li {
    background: #ffebee;
    border-left: 4px solid #ff5722;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
    color: #333;
}

.sustained-campaign li {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
    color: #333;
}

.political-strategy li {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
    color: #333;
}

.immediate-actions li strong,
.sustained-campaign li strong,
.political-strategy li strong {
    color: #333;
    font-weight: 600;
}

/* Success vision */
.success-vision {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffa000;
    border-radius: 12px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.success-vision h3 {
    color: #e65100;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.vision-statement p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #ef6c00;
}

.vision-statement p:last-child {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d84315;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .cost-breakdown,
    .new-build-savings,
    .market-manipulation,
    .construction-advantages,
    .household-benefits,
    .national-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .phase-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .realistic-total {
        grid-column: auto;
    }
    
    .inflation-factor,
    .energy-savings,
    .property-value,
    .phase-card,
    .country-example {
        padding: 1.5rem;
    }
    
    .success-vision {
        padding: 2rem;
    }
    
    .vision-statement p:last-child {
        font-size: 1.1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}
