/* Standalone test catalogue styles. The generator versions this file's URL. */
.pey-catalogue-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 24px;
    padding: 26px;
    margin-bottom: 24px;
    border: 1px solid #dce5ea;
    border-radius: 16px;
    background: #f5f9fb;
}
.pey-catalogue-tools[hidden],
.pey-catalogue-pagination[hidden],
.pey-tests-table-wrap[hidden],
.pey-tests-table-wrap tr[hidden] {
    display: none !important;
}
.pey-catalogue-tools label {
    display: block;
    margin-bottom: 10px;
    color: #000d44;
    font-size: 14px;
    font-weight: 600;
}
.pey-catalogue-search {
    display: flex;
    gap: 10px;
}
.pey-catalogue-search input {
    min-width: 0;
    flex: 1;
}
.pey-catalogue-tools input,
.pey-catalogue-tools select {
    height: 50px;
    border: 1px solid #cbd8e0;
    border-radius: 10px;
    background: #fff;
    color: #000d44;
}
.pey-catalogue-tools select {
    padding: 0 34px 0 16px;
}
.pey-catalogue .pey-test-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 10px;
    min-height: 48px;
    min-width: 0;
    margin: 0;
    padding: 13px 22px;
    border: 1px solid #cad8e0;
    border-radius: 10px;
    background: #fff;
    color: #000d44;
    box-shadow: 0 2px 4px #000d4405;
    font-family: var(--body-font, Arial, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition:
        background-color 0.18s,
        border-color 0.18s,
        color 0.18s,
        box-shadow 0.18s;
}
.pey-catalogue .pey-test-button::before,
.pey-catalogue .pey-test-button::after {
    content: none;
}
.pey-catalogue .pey-test-button i {
    margin: 0;
    font-size: 12px;
}
.pey-catalogue .pey-test-button--primary {
    color: #fff;
    background: #000d44;
    border-color: #000d44;
    box-shadow: 0 4px 12px #000d441a;
}
.pey-catalogue .pey-test-button--subtle {
    color: #00683f;
    background: #eaf5ef;
    border-color: #cce5d8;
}
.pey-catalogue .pey-test-button--secondary:hover:not(:disabled),
.pey-catalogue .pey-test-button--subtle:hover:not(:disabled) {
    background: #dcf1e6;
    color: #005b38;
    border-color: #008659;
    box-shadow: 0 3px 8px #00683f12;
}
.pey-catalogue .pey-test-button--primary:hover:not(:disabled) {
    background: #00683f;
    border-color: #00683f;
    color: #fff;
    box-shadow: 0 4px 12px #00683f24;
}
.pey-catalogue .pey-test-button:active:not(:disabled) {
    box-shadow: none;
}
.pey-catalogue .pey-test-button:disabled {
    color: #87939f;
    background: #e9eef2;
    border-color: #dde5eb;
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
}
.pey-catalogue #test-search-clear {
    min-width: 104px;
    height: 50px;
}
.pey-catalogue input:focus-visible,
.pey-catalogue select:focus-visible,
.pey-catalogue .pey-test-button:focus-visible {
    outline: 3px solid #1f5fff;
    outline-offset: 4px;
}
.pey-catalogue-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
    padding: 18px;
    border: 1px solid #dce5ea;
    border-radius: 16px;
    background: #f5f9fb;
}
.pey-catalogue-pagination #test-page-status {
    min-width: 136px;
    margin: 0 4px;
    padding: 14px 20px;
    border: 1px solid #dce5ea;
    border-radius: 10px;
    background: #fff;
    color: #000d44;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.pey-tests-table-wrap tbody td:first-child {
    width: 65px;
    color: #667284;
}
.pey-tests-table-wrap tbody td:nth-child(2) {
    width: 145px;
    font-variant-numeric: tabular-nums;
}
.pey-tests-table-wrap tbody th {
    width: auto;
    background: #fff;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.pey-tests-table-wrap tbody tr:nth-child(even) > * {
    background: #f5f9fb;
}
.pey-catalogue-help {
    margin-top: 32px;
    padding: 24px;
    border-radius: 12px;
    background: #eaf5ef;
}
.pey-catalogue-help p {
    margin-bottom: 8px;
}
@media (max-width: 575px) {
    .pey-catalogue-tools {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
    }
    .pey-catalogue-search input {
        padding: 0 12px;
        font-size: 13px;
    }
    .pey-catalogue #test-search-clear {
        min-width: 82px;
        padding: 12px;
        gap: 7px;
        font-size: 13px;
    }
    .pey-catalogue-pagination {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 14px;
    }
    .pey-catalogue-pagination #test-page-status {
        grid-column: 1 / -1;
        order: -1;
        margin: 0 0 4px;
        padding: 12px;
    }
    .pey-catalogue-pagination .pey-test-button {
        width: 100%;
        padding: 13px 10px;
        font-size: 13px;
    }
    .pey-tests-table-wrap th,
    .pey-tests-table-wrap td {
        padding: 12px 8px;
    }
    .pey-tests-table-wrap tbody td:first-child {
        width: 40px;
    }
    .pey-tests-table-wrap tbody td:nth-child(2) {
        width: 90px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pey-catalogue .pey-test-button {
        transition: none;
    }
}
