.transaction-table {
    background-color: #fff;
    padding: 1rem 2rem 2rem;
    margin-top: 3rem;
    border-radius: 4px;
}

.transaction-table h2 {
    font-size: 1.5rem;
    color: #b5b5b5;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.trac-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trac-row .show {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.trac-row .show span {
    color: #b5b5b5;
    font-size: 1rem;
    font-weight: 500;
}

.trac-row p {
    color: #b5b5b5;
    font-size: 1rem;
}

.trac-row .search span {
    font-size: 1rem;
    color: #b5b5b5;
}

.trac-row .search input {
    border: 1px solid #b5b5b5;
    outline: none;
    padding: 0.3rem;
}

input[type="number"] {
    width: 60px;
    border: 1px solid var(--horizontal-col-1);
    outline: none;
    padding: 0.4rem;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

table {
    margin-top: 2rem;
    width: 100%;
}

table,
th,
td {
    border-collapse: collapse;
}

thead {
    border-top: 1px solid var(--horizontal-col-2);
}

th {
    padding: 1rem 0.7rem;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    vertical-align: top;
}

td {
    font-size: 1rem;
    /* text-align: center; */
}

@media screen and (max-width: 800px) {
    table thead {
        display: none;
    }

    table,
    table tbody,
    table tr,
    table td {
        display: block;
        width: 100%;
    }

    table tr {
        margin-bottom: 1.5rem;
    }

    tbody td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 1.5rem;
        font-size: 1.6rem;
        font-weight: 600;
        text-align: left;
    }

    th,
    td {
        padding: 2rem 0;
    }

    th:not(th:last-child),
    td:not(td:last-child) {
        border-bottom: 1px solid var(--horizontal-col-1);
    }

    .trac-row {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .trac-row p {
        order: 1;
    }
}