.generation-tests-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem;
}

.generation-tests-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.generation-tests-header h1 {
    margin-top: 0;
}

.generation-tests-header p {
    max-width: 70rem;
    color: #52606d;
}

.generation-tests-actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
}

.generation-tests-message,
.generation-tests-path {
    margin: 1rem 0;
    padding: .85rem 1rem;
    border-radius: .5rem;
    background: #eef6ff;
}

.generation-tests-path {
    background: #f5f7f9;
}

.generation-tests-group {
    margin-top: 2rem;
}

.generation-tests-group h2 small {
    color: #68737d;
    font-weight: normal;
}

.generation-tests-table-wrap {
    overflow-x: auto;
}

.generation-tests-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.generation-tests-table th,
.generation-tests-table td {
    padding: .7rem .8rem;
    border: 1px solid #d8dee4;
    text-align: left;
    vertical-align: top;
}

.generation-tests-table th {
    background: #f5f7f9;
}

.generation-tests-table td:first-child {
    min-width: 22rem;
}

.generation-tests-table td code {
    display: block;
    margin-top: .25rem;
    color: #66717c;
}

.generation-tests-table td small {
    display: block;
    margin-top: .25rem;
    color: #7b8792;
}

.test-badge {
    display: inline-block;
    padding: .1rem .4rem;
    border-radius: 1rem;
    font-size: .82rem;
}

.test-badge.missing,
.test-error-link {
    color: #9b1c1c;
    background: #fee2e2;
}

.test-badge.neutral {
    color: #58636e;
    background: #edf0f2;
}

.test-evaluation {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
}

.test-evaluation-success {
    color: #166534;
}

.test-evaluation-difference {
    color: #9b1c1c;
}

.test-evaluation-icon {
    display: inline-grid;
    width: 1.3rem;
    height: 1.3rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 24%);
}

.test-evaluation-icon svg {
    width: .82rem;
    height: .82rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
}

.test-evaluation-success .test-evaluation-icon {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.test-evaluation-difference .test-evaluation-icon {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.test-error-link {
    display: inline-block;
    margin-left: .4rem;
    padding: .1rem .4rem;
    border-radius: 1rem;
}

@media (max-width: 800px) {
    .generation-tests-page {
        padding: 1rem;
    }

    .generation-tests-header {
        display: block;
    }

    .generation-tests-actions {
        margin-top: 1rem;
    }
}
