/* Essential Goods Proposal Specific Styling */

/* Crisis statistics and key metrics */
.crisis-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.stat-card h4 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-card p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
}

/* Price inflation categories */
.price-inflation {
    margin: 2rem 0;
}

.inflation-category {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.inflation-category h4 {
    color: #e65100;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.inflation-category ul {
    list-style: none;
    padding: 0;
}

.inflation-category li {
    background: white;
    border-left: 4px solid #ff9800;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Household impact scenarios */
.household-impact {
    margin: 2rem 0;
}

.impact-scenario {
    background: white;
    border: 2px solid #d32f2f;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.1);
}

.impact-scenario h4 {
    color: #d32f2f;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.scenario-details h5 {
    color: #c62828;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #ffcdd2;
    padding-bottom: 0.5rem;
}

.impact-total {
    background: #d32f2f;
    color: white;
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.impact-result {
    background: #ffebee;
    color: #d32f2f;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    border-left: 4px solid #d32f2f;
}

/* Profit analysis sections */
.profit-analysis {
    margin: 2rem 0;
}

.company-profits {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.company-profits h4 {
    color: #e65100;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.profit-details h5 {
    color: #ef6c00;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #ffcc02;
    padding-bottom: 0.5rem;
}

.profit-margin {
    background: #ef6c00;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 700;
}

.vs-households {
    background: #d32f2f;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-style: italic;
    text-align: center;
}

/* Profiteering tactics */
.profiteering-tactics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tactic-category {
    background: #ffebee;
    border: 2px solid #f44336;
    border-radius: 12px;
    padding: 2rem;
}

.tactic-category h4 {
    color: #d32f2f;
    margin-bottom: 1rem;
}

.tactic-category ul {
    list-style: none;
    padding: 0;
}

.tactic-category li {
    background: white;
    border-left: 4px solid #f44336;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}

/* Essential goods categories */
.essential-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.criteria-principle {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.criteria-principle h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.essential-categories {
    margin: 2rem 0;
}

.category-group {
    background: #f1f8e9;
    border: 2px solid #8bc34a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.category-group h4 {
    color: #33691e;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.category-group ul {
    list-style: none;
    padding: 0;
}

.category-group li {
    background: white;
    border-left: 4px solid #8bc34a;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}

/* Exclusions */
.non-essential-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.exclusion-category {
    background: #fce4ec;
    border: 1px solid #e91e63;
    border-radius: 8px;
    padding: 2rem;
}

.exclusion-category h4 {
    color: #ad1457;
    margin-bottom: 1rem;
}

.exclusion-category ul {
    list-style: none;
    padding: 0;
}

.exclusion-category li {
    background: white;
    border-left: 4px solid #e91e63;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}

/* Profit cap framework */
.margin-justification {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.justification-point {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.justification-point h4 {
    color: #0d47a1;
    margin-bottom: 1rem;
}

/* Formula box */
.formula-box {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.formula-box h5 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.formula-box p {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #4caf50;
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Calculation framework */
.calculation-framework {
    margin: 2rem 0;
}

.calculation-method {
    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);
}

.calculation-method h4 {
    color: #1976d2;
    margin-bottom: 1.5rem;
}

.calculation-method ul {
    list-style: none;
    padding: 0;
}

.calculation-method li {
    background: #f5f5f5;
    border-left: 4px solid #2196f3;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}

/* Implementation mechanics */
.implementation-mechanics {
    margin: 2rem 0;
}

.mechanism-stage {
    background: #f3e5f5;
    border: 2px solid #9c27b0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.mechanism-stage h4 {
    color: #6a1b9a;
    margin-bottom: 1rem;
}

.mechanism-stage ul {
    list-style: none;
    padding: 0;
}

.mechanism-stage li {
    background: white;
    border-left: 4px solid #9c27b0;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}

/* Household savings */
.household-savings {
    margin: 2rem 0;
}

.savings-calculation {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.savings-calculation h4 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
}

.savings-breakdown h5 {
    color: #1b5e20;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #81c784;
    padding-bottom: 0.5rem;
}

.total-savings {
    background: #2e7d32;
    color: white;
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.savings-impact {
    background: #c8e6c8;
    color: #1b5e20;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
    font-style: italic;
}

.vulnerable-groups-relief {
    background: #fff8e1;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
}

.vulnerable-groups-relief h4 {
    color: #f57c00;
    margin-bottom: 1rem;
}

.vulnerable-groups-relief ul {
    list-style: none;
    padding: 0;
}

.vulnerable-groups-relief li {
    background: white;
    border-left: 4px solid #ffc107;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}

/* Macro benefits */
.macro-benefits {
    margin: 2rem 0;
}

.economic-multiplier {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.economic-multiplier h4 {
    color: #0d47a1;
    margin-bottom: 1.5rem;
}

.multiplier-analysis h5 {
    color: #1565c0;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #bbdefb;
    padding-bottom: 0.5rem;
}

.growth-result {
    background: #1976d2;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
}

.business-benefits,
.government-benefits {
    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);
}

.business-benefits h4,
.government-benefits h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.fiscal-result {
    background: #4caf50;
    color: white;
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Transformation benefits */
.transformation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.structural-change,
.social-benefits {
    background: #f1f8e9;
    border: 2px solid #8bc34a;
    border-radius: 12px;
    padding: 2rem;
}

.structural-change h4,
.social-benefits h4 {
    color: #33691e;
    margin-bottom: 1rem;
}

/* 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, #1976d2 0%, #1565c0 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: #1976d2;
    margin: 1.5rem 0 1rem 0;
    border-bottom: 2px solid #bbdefb;
    padding-bottom: 0.5rem;
}

/* 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;
}

.legislative-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legislative-text li {
    background: white;
    border-left: 4px solid #9c27b0;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 0 6px 6px 0;
}

/* 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: #f44336;
    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 #f44336;
    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, #e8f5e8 0%, #c8e6c8 100%);
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.success-vision h3 {
    color: #1b5e20;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.vision-statement p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #2e7d32;
}

.vision-statement p:last-child {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b5e20;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .crisis-stats,
    .profiteering-tactics,
    .essential-criteria,
    .non-essential-examples,
    .margin-justification,
    .transformation-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card h4 {
        font-size: 1.8rem;
    }
    
    .phase-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .inflation-category,
    .impact-scenario,
    .company-profits,
    .savings-calculation,
    .economic-multiplier,
    .phase-card,
    .framework-section,
    .country-example {
        padding: 1.5rem;
    }
    
    .success-vision {
        padding: 2rem;
    }
    
    .vision-statement p:last-child {
        font-size: 1.1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .crisis-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card h4 {
        font-size: 1.5rem;
    }
    
    .stat-card p {
        font-size: 0.9rem;
    }
}
