/* CPU Benchmark Styles */

.table th {
    font-weight: 600;
}

.table tbody tr[data-test] {
    transition: background-color 0.3s ease;
}

.table tbody tr[data-test]:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

[data-bs-theme="dark"] .table tbody tr[data-test]:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

.badge {
    padding: 0.35em 0.65em;
    font-size: 0.85em;
    font-weight: 500;
}

.card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

[data-bs-theme="dark"] .card {
    border-color: rgba(255, 255, 255, 0.125);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
}

.card-header {
    background-color: rgba(102, 126, 234, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

[data-bs-theme="dark"] .card-header {
    background-color: rgba(102, 126, 234, 0.15);
    border-bottom-color: rgba(255, 255, 255, 0.125);
}

.toolOutput.fw-bold {
    font-size: 1.25rem;
    color: var(--bs-primary-text-emphasis);
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9rem;
    }

    .table th,
    .table td {
        padding: 0.5rem;
    }

    .badge {
        font-size: 0.75em;
        padding: 0.25em 0.5em;
    }
}

/* Animation for running tests */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.badge.bg-primary {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Score highlight */
.text-center[id$="-score"]:not(:empty) {
    font-weight: 600;
    color: var(--bs-success-text-emphasis);
}

[data-bs-theme="dark"] .text-center[id$="-score"]:not(:empty) {
    color: var(--bs-success);
}
