.mps-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.mps-table {
    width: 100%;
    border-collapse: collapse;
}

.mps-table th,
.mps-table td {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.mps-table thead th {
    background: #f5f5f5;
    font-weight: 600;
}

.mps-sortable-th {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 22px !important;
}

.mps-sortable-th:hover {
    background: #ebebeb;
}

.mps-sortable-th:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: -2px;
}

.mps-sortable-th::after {
    content: "⇅";
    position: absolute;
    right: 8px;
    opacity: 0.35;
    font-size: 12px;
}

.mps-sortable-th[data-order="asc"]::after,
.mps-sortable-th[data-order="desc"]::after {
    background: #434141;
    color: #fff;
}

.mps-sortable-th[data-order="asc"]::after {
    content: "▲";
    opacity: 1;
}

.mps-sortable-th[data-order="desc"]::after {
    content: "▼";
    opacity: 1;
}

.mps-notice {
    padding: 12px;
    border-left: 4px solid #d63638;
    background: #fcf0f1;
    font-size: 14px;
}
