.mti-match-table-outer {
    box-sizing: border-box;
}

.mti-match-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mti-match-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 1.35;
}

.mti-match-table th,
.mti-match-table td {
    box-sizing: border-box;
    vertical-align: middle;
    white-space: normal;
}

.mti-match-table thead th {
    position: relative;
}

.mti-match-table tbody tr {
    transition: background-color .15s ease;
}

.mti-mt-empty {
    padding: 14px 16px;
    border: 1px solid #d9dee5;
    background: #f8f9fa;
}

.mti-mt-filters {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid #d9dee5;
    background: #f8f9fa;
    box-sizing: border-box;
}

.mti-mt-filter-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px 12px;
}

.mti-mt-filter-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.mti-mt-filter-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.mti-mt-filter-input {
    display: block;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 7px 10px;
    border-radius: 0;
    background: #fff;
    box-sizing: border-box;
}

.mti-mt-filter-input:focus {
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.mti-mt-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
}

.mti-mt-filter-reset {
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
}

.mti-mt-filter-reset:disabled {
    cursor: default;
    opacity: .55;
}

.mti-mt-filter-count {
    font-size: 12px;
    font-weight: 600;
}

.mti-mt-filter-empty td {
    text-align: center !important;
    font-weight: 600;
}

@media (max-width: 600px) {
    .mti-mt-filter-fields {
        grid-template-columns: 1fr;
    }
}

.mti-mt-page-size {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}

.mti-mt-page-size select {
    min-height: 36px;
    margin: 0;
    padding: 5px 28px 5px 9px;
    border-radius: 0;
    background-color: #fff;
}

.mti-mt-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.mti-mt-pagination[hidden] {
    display: none !important;
}

.mti-mt-page-numbers {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.mti-mt-page-button {
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #d9dee5;
    border-radius: 0;
    background: #fff;
    color: inherit;
    cursor: pointer;
    line-height: 1.2;
}

.mti-mt-page-button:hover:not(:disabled),
.mti-mt-page-button:focus-visible,
.mti-mt-page-button.is-active {
    background: #f0f3f7;
}

.mti-mt-page-button.is-active {
    font-weight: 700;
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

.mti-mt-page-button:disabled {
    cursor: default;
    opacity: .45;
}

.mti-mt-page-ellipsis {
    min-width: 24px;
    text-align: center;
}

.mti-mt-page-info {
    width: 100%;
    margin-top: 2px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .mti-mt-filter-actions {
        align-items: stretch;
    }

    .mti-mt-page-size {
        width: 100%;
        justify-content: space-between;
    }

    .mti-mt-page-size select {
        min-width: 100px;
    }

    .mti-mt-pagination {
        justify-content: space-between;
    }

    .mti-mt-page-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}
