.table_container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
}

.member_table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 18px;
    text-align: left;
}

.member_table thead tr {
    background-color: #902067;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.member_table th, .member_table td {
    padding: 5px 29px;
    border: 1px solid #dddddd;
}

.table-container {
    overflow-x: scroll!important;
    -webkit-overflow-scrolling: touch!important;
}

.member_table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.member_table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.member_table tbody tr:last-of-type {
    border-bottom: 2px solid #902067;
}

.member_table tbody tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    font-family: Arial, sans-serif;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    text-decoration: none;
    color: #902067;
    background-color: #E9E5E7;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #e4c8d3;
}

.pagination .current {
    color: #FFFFFF;
    background-color: #902067;
}

.pagination .ellipsis {
    padding: 6px 12px;
    color: #9E9E9E;
}


/* Скрытие ID по умолчанию */
.id-field {
    display: none;
}

/* Отображение ID при наведении на weekly_registration_number */
.week-field:hover + .id-field {
    display: inline;
}

.title-members {
    margin-top: 20px;
    text-align: center;
}
.inline-container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin: 10px;
}

.link-winners {
    white-space: nowrap;
    max-width: 439px;
}


@media (max-width: 1000px) {
    /*.table-container {*/
    /*    overflow-x: scroll;*/
    /*    -webkit-overflow-scrolling: touch;*/
    /*}*/

    .member_table {
        width: 100%;
        min-width: 450px;
    }

    .member_table th, .member_table td{
        padding: 5px 15px;
    }
}