/* Test Status Styles */

/* Test status table */
.test-status-table {
    width: 100%;
    margin: 20px 0;
}

.test-status-table th {
    background-color: #f0f0f0;
    font-weight: bold;
    padding: 10px;
    text-align: left;
}

.test-status-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Low pass rate highlighting */
.low-pass-rate {
    color: #d32f2f;
    font-weight: bold;
}

/* Test metrics inline display */
.test-metrics {
    color: #666;
    font-size: 0.9em;
    margin-left: 8px;
}

/* Status badge variants for tests */
.status-stable {
    background-color: #4caf50;
    color: white;
}

.status-quarantined {
    background-color: #ff9800;
    color: white;
}

.status-flaky {
    background-color: #f44336;
    color: white;
}

.status-new {
    background-color: #2196f3;
    color: white;
}

.status-failing {
    background-color: #b71c1c;
    color: white;
    font-weight: bold;
}

.status-unknown {
    background-color: #9e9e9e;
    color: white;
}

/* Dark mode support for test statuses */
@media (prefers-color-scheme: dark) {
    .test-status-table th {
        background-color: #333;
    }
    
    .test-status-table td {
        border-bottom-color: #555;
    }
    
    .test-metrics {
        color: #aaa;
    }
}