.table-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    font-weight: bold;
    color: #333;
}

.table-row {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.table-row:nth-child(even) {
    background-color: #fffafa;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    gap: 10px;
}

.page-num,
.page-nav {
    background: white;
    border: 1px solid #a65d4a;
    color: #a65d4a;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
}

.page-num.active {
    background-color: #a65d4a;
    color: white;
}

.page-num:hover:not(.active) {
    background-color: #f8f0ef;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.table-header,
.table-row {
    display: flex;
    min-width: 700px;
    align-items: center;
}

.table-responsive-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-responsive-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: #a65d4a;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .table-row {
        align-items: flex-start;
        gap: 12px;
        padding: 20px 15px;
    }

    .pagination {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    .page-num,
    .page-nav {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .table-wrapper {
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .table-row {
        border-radius: 8px;
        margin-bottom: 10px;
        border: 1px solid #eee;
    }
}
