.pagespeed-container {
    padding: 0;
}

.pagespeed-header {
    margin-bottom: 1.5rem;
}

.pagespeed-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.pagespeed-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.pagespeed-strategy {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.strategy-title h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.overall-score {
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    background: #f8f9fa;
}

.overall-score .score-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.overall-score .score-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-top: 0.25rem;
}

.score-good { color: #0cce6b; }
.score-average { color: #ffa400; }
.score-poor { color: #ff4e42; }

.pagespeed-info-section,
.pagespeed-lab-metrics,
.pagespeed-opportunities {
    margin-bottom: 1.25rem;
}

.pagespeed-info-section .alert {
    margin: 0;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagespeed-info-section .alert i {
    font-size: 1rem;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    font-size: 1rem;
}

.metrics-table,
.opportunities-table {
    width: 100%;
    border-collapse: collapse;
}

.metrics-table tr,
.opportunities-table tr {
    border-bottom: 1px solid #e9ecef;
}

.metrics-table tr:last-child,
.opportunities-table tr:last-child {
    border-bottom: none;
}

.metrics-table td,
.opportunities-table td {
    padding: 0.65rem 0.5rem;
}

.metric-label,
.opportunity-title {
    color: #555;
    font-size: 0.9rem;
}

.metric-value {
    text-align: right;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.opportunity-savings {
    text-align: right;
    font-weight: 600;
    color: #0cce6b;
    font-size: 0.9rem;
    white-space: nowrap;
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .pagespeed-strategies {
        grid-template-columns: 1fr;
    }
    
    .strategy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .overall-score {
        width: 100%;
    }
}
