﻿.reportview-transport {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.transport-main {
    min-width: 1080px;
    overflow-x: auto !important;
}

.transport-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0px;
    display: table;
    table-layout: fixed;
}

.transport-table-br {
    border: 0.1px solid black;
}

.transport-table-br-left {
    border-left: 0.1px solid black;
}



.transport-table-th {
    border-right: 0.5px solid black;
    padding: 6px;
    text-align: center;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

/* ── Flex-based header (non-table view) ── */
.transport-child-table {
    display: flex;
    flex-direction: column;
    border-right: 1px solid black !important;
    font-weight: bold;
}

.transport-child-label {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 54px;
    padding: 6px;
    padding-left: 10px;
    color: black;
    background-color: #E6E6E5;
}

.transport-child-child {
    white-space: pre-line;
    flex: 1;
    display: flex;
    text-align: left;
    padding: 5px;
}

.transport-child-label2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 5px;
}

/* ── Header band ── */
.transport-container {
    display: flex;
    flex-direction: row;
    background-color: #E6E6E5;
    color: black;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    border-collapse: collapse;
}

/* ── Category / allotment-per-mile row ── */
.transport-category {
    color: black;
    background-color: #E6E6E5;
    border: 0.1px solid black;
    display: flex;
    font-weight: bold;
    font-size: 16px;
    align-content: center;
    align-items: center;
    height: 30px;
    min-height: 32px;
    line-height: 19px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.transport-category-align {
    align-content: stretch;
    justify-content: start;
}

.transport-header {
    color: black;
    background-color: #E6E6E5;
    display: flex;
    font-weight: bold;
    font-size: 16px;
    align-content: center;
    align-items: center;
    height: 30px;
    min-height: 32px;
    line-height: 19px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

/* ── Data grid wrapper ── */
.transport-business-pd {
    padding: 0px;
    margin: 0px;
    touch-action: pan-x;
    border-bottom: 0.1px solid black;
    box-sizing: border-box;
}

/* ── Data grid rows ── */
.transport-datagrid-row {
    display: flex !important;
    flex-direction: row;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    align-content: center;
    align-items: center;
    height: 100%;
    min-height: 32px;
    margin: 0px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    justify-content: flex-start;
    border-top: 0.1px solid black;
}

.transport-datagrid-row-width {
    width: 100%;
}

.transport-datagrid-row-width-pdf {
    width: 100%;
}

.width-4per {
    width: 4%;
}
/* ── Sequence number cell ── */
.transport-datagrid-cell {
    border: 0.1px solid black;
    box-sizing: border-box;
    justify-content: center;
    padding: 0px !important;
    text-overflow: ellipsis;
    overflow: hidden !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.serial-number {
    width: 3%;
    min-width: 3%;
    max-width: 3%;
}

.serial-number-pdf {
    width: 3%;
    min-width: 3%;
    max-width: 3%;
}

/* ── Record name cell ── */
.transport-datagrid-cell2 {
    padding: 5px !important;
    border: 0.1px solid black;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.transport-datagrid-cell-text {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ── Data value cell ── */
.transport-datagrid-cell3 {
    align-content: stretch;
    align-items: center;
    justify-content: end;
    padding: 2px !important;
    white-space: normal;
    border: 0.1px solid black;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Force bottom border on final rendered row cells for PDF */
.transport-datagrid-row:last-child .transport-datagrid-cell,
.transport-datagrid-row:last-child .transport-datagrid-cell2,
.transport-datagrid-row:last-child .transport-datagrid-cell3 {
    border-bottom: 0.1px solid black !important;
}

/* ── Footer row ── */
.transport-datagrid-row-footer {
    color: black;
    background-color: white !important;
    border: 0.5px solid black;
    display: flex !important;
    flex-direction: row !important;
    font-size: 14px;
    align-content: center;
    align-items: stretch;
    min-height: 32px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.transport-datagrid-cell-lf-footer {
    justify-content: start;
    align-content: stretch;
    padding-left: 10px;
    margin-right: auto;
    text-align: left;
    border-bottom: none !important;
    border-top: none !important;
}

.transport-datagrid-cell-rf-footer {
    justify-content: end;
    align-content: stretch;
    padding-left: 10px;
    margin-left: auto;
    text-align: right;
    border-top: none !important;
}

/* ── Utilities ── */
.marg-lf-16 {
    margin-left: 16px;
}

.marg-lf-12 {
    margin-left: 12px;
}

.display-flex {
    display: flex;
}

.font-normal {
    font-weight: normal;
}

.font-bold {
    font-weight: bold;
}

.font-size16 {
    font-size: 16px;
}

.font-color {
    color: #006BA4;
}

.br-right {
    border-right: 0.1px solid black;
}

.br-left {
    border-left: 0.1px solid black !important;
}

.br-left-pdf {
    border-left: 2px solid black !important;
}

.br-bottom {
    border-bottom: 0.1px solid black;
}

.br-top {
    border-top: 0.1px solid black !important;
}

.br-no-right {
    border-right: none !important;
}

.br-no-left {
    border-left: none !important;
}

.br-no-bottom {
    border-bottom: none !important;
}

.br-no-top {
    border-top: none !important;
}

.pad-lf-8per {
    padding-left: 8%;
}

@media (max-width: 1280px) {
    .reportview-transport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        max-width: 100vw;
    }

    .transport-main,
    .transport-asahe,
    .transport-business-pd,
    .transport-category,
    .asahe-table {
        min-width: 1080px;
        flex-wrap: nowrap;
    }

    .transport-datagrid-cell2,
    .transport-datagrid-cell3,
    .transport-datagrid-cell {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
        overflow: visible;
    }

    .transport-business-pd {
        border-left: 0.1px solid;
        border-color: black;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

        .transport-business-pd table {
            -webkit-overflow-scrolling: touch !important;
            touch-action: pan-x;
        }

    .br-left {
        border-left: 2px solid black !important;
    }
}