﻿.pts-table-wrap {
    margin: 1rem 0;
}

.pts-table-toolbar {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.pts-table-title {
    color: #1d2939;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.pts-table-search-wrap {
    flex: 0 1 360px;
}

.pts-search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
}

.pts-search:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

.pts-screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.pts-table-scroll {
    overflow-x: auto;
}

.pts-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dcdcdc;
}

.pts-table th,
.pts-table td {
    border: 1px solid #dcdcdc;
    padding: 0.625rem;
    text-align: left;
}

.pts-table th {
    background: #f4f6f8;
    font-weight: 600;
}

.pts-no-results {
    margin-top: 0.75rem;
    color: #b42318;
}

@media (max-width: 768px) {
    .pts-table-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .pts-table-search-wrap {
        flex-basis: auto;
    }

    .pts-table {
        font-size: 14px;
    }

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