/* Comparison Table Styles */
.latency-comparison {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.comparison-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr.highlight {
    background-color: rgba(42, 82, 152, 0.05);
}

.comparison-table tr.highlight td {
    color: #2a5298;
    font-weight: 600;
}

/* Performance level indicators */
.performance-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}

.performance-average {
    background-color: #FFF9C4;
    color: #FFA000;
}

.performance-good {
    background-color: #C8E6C9;
    color: #388E3C;
}

.performance-excellent {
    background-color: #BBDEFB;
    color: #1976D2;
}

.performance-elite {
    background-color: #D1C4E9;
    color: #512DA8;
}

.performance-needs-improvement {
    background-color: #FFCDD2;
    color: #D32F2F;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comparison-table th, 
    .comparison-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .performance-indicator {
        min-width: 60px;
        font-size: 11px;
    }
}
