﻿.payment-allocation-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.payment-allocation-table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
    border-collapse: collapse;
}

    .payment-allocation-table th,
    .payment-allocation-table td {
        padding: 12px 10px;
        vertical-align: middle;
        overflow-wrap: anywhere;
    }

        .payment-allocation-table th:nth-child(1),
        .payment-allocation-table td:nth-child(1) {
            width: 48%;
        }

        .payment-allocation-table th:nth-child(2),
        .payment-allocation-table td:nth-child(2) {
            width: 18%;
        }

        .payment-allocation-table th:nth-child(3),
        .payment-allocation-table td:nth-child(3) {
            width: 24%;
        }

        .payment-allocation-table th:nth-child(4),
        .payment-allocation-table td:nth-child(4) {
            width: 10%;
        }

    .payment-allocation-table .form-control {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }


/* View Payment Allocation Table */
.payment-view-table {
    min-width: 0 !important;
    width: 100%;
    table-layout: fixed;
}

    .payment-view-table th:nth-child(1),
    .payment-view-table td:nth-child(1) {
        width: 34%;
    }

    .payment-view-table th:nth-child(2),
    .payment-view-table td:nth-child(2) {
        width: 21%;
    }

    .payment-view-table th:nth-child(3),
    .payment-view-table td:nth-child(3) {
        width: 21%;
    }

    .payment-view-table th:nth-child(4),
    .payment-view-table td:nth-child(4) {
        width: 24%;
    }

    .payment-view-table td {
        vertical-align: middle;
        overflow-wrap: anywhere;
    }

.payment-settlement-name {
    font-weight: 600;
    color: #334155;
}

.payment-settlement-trip {
    margin-top: 5px;
    font-size: 13px;
    color: #64748b;
}

.payment-view-table tfoot td {
    padding: 14px 10px;
    border-top: 2px solid #e2e8f0;
    font-weight: 600;
    background: #f8fafc;
}
