/**
 * Sustainability Dashboard Styles
 */

.sustainability-dashboard {
    padding: 2rem 0;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary, #0A3242);
}

.dashboard-subtitle {
    font-size: 1.125rem;
    color: var(--text-light, #444);
    max-width: 600px;
    margin: 0 auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border, #E8E8E8);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.metric-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary, #0A3242);
    font-family: var(--font-heading, 'Playfair Display', serif);
}

.metric-suffix {
    font-size: 1.25rem;
    color: var(--text-light, #444);
}

.metric-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary, #0A3242);
    margin-bottom: 0.5rem;
}

.metric-description {
    font-size: 0.875rem;
    color: var(--text-light, #444);
    line-height: 1.5;
    margin-top: 0.5rem;
}

.charts-container {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .metric-card {
        padding: 1.5rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .metric-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header h2 {
        font-size: 2rem;
    }
}

