
/* Container */
.table-container {
    max-width: 1100px;
    margin: auto;
    overflow-x: auto;
}

/* Table */
.birla-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

/* Header */
.birla-table thead {
    background: #AD2627; 
}

.birla-table th {
    color: #ffffff;
    padding: 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.2);
}

/* Cells */
.birla-table td {
    padding: 14px;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

/* Hover */
.birla-table tbody tr:hover {
    background: #ffeae3;
}

/* Last column border fix */
.birla-table th:last-child,
.birla-table td:last-child {
    border-right: none;
}

/* Responsive */
@media (max-width: 768px) {
    .birla-table, 
    .birla-table thead, 
    .birla-table tbody, 
    .birla-table th, 
    .birla-table td, 
    .birla-table tr {
        display: block;
    }

    .birla-table thead {
        display: none;
    }

    .birla-table tr {
        margin-bottom: 15px;
        border: 1px solid #e5e5e5;
        background: #fff;
    }

    .birla-table td {
        text-align: right;
        padding: 12px;
        position: relative;
    }

    .birla-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        font-weight: 600;
        color: #2f5d62;
        text-align: left;
    }
}


/*second table*/

.bom-light-table-wrap-v2 {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 10px;
}

/* Table */
.bom-light-table-v2 {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    font-family: "Open Sans", Arial, sans-serif;
}

/* Header */
.bom-light-table-v2 thead {
    background: #AD2627;
}

.bom-light-table-v2 th {
    color: #ffffff;
    padding: 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
}

/* Cells */
.bom-light-table-v2 td {
    padding: 14px;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #e5e5e5;
    vertical-align: top;
    word-break: break-word;
}

/* First column bold */
.bom-light-table-v2 td:first-child {
    font-weight: 600;
    color: #000;
}

/* Hover */
.bom-light-table-v2 tbody tr:hover {
    background: #ffeae3;
}

/* ========== MOBILE FIX ========== */
@media (max-width: 768px) {

    .bom-light-table-v2 {
        border: none;
    }

    .bom-light-table-v2 thead {
        display: none;
    }

    .bom-light-table-v2 tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .bom-light-table-v2 td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        border: none;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    .bom-light-table-v2 td:last-child {
        border-bottom: none;
    }

    /* Label */
    .bom-light-table-v2 td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #2f5d62;
        min-width: 45%;
        flex-shrink: 0;
    }
}




/*Third table*/

/* Container */
.bom-table-wrap-v3 {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 10px;
}

/* Table */
.bom-table-v3 {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    font-family: "Open Sans", Arial, sans-serif;
}

/* Header */
.bom-table-v3 thead {
    background: #AD2627;
}

.bom-table-v3 th {
    color: #ffffff;
    padding: 14px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
}

/* Cells */
.bom-table-v3 td {
    padding: 14px;
    font-size: 14px;
    color: #333;
    border-top: 1px solid #e5e5e5;
    vertical-align: top;
    word-break: break-word;
}

/* First column bold */
.bom-table-v3 td:first-child {
    font-weight: 600;
    color: #000;
}

/* Hover */
.bom-table-v3 tbody tr:hover {
    background: #ffeae3;
}

/* ========== MOBILE VIEW ========== */
@media (max-width: 768px) {

    .bom-table-v3 {
        border: none;
    }

    .bom-table-v3 thead {
        display: none;
    }

    .bom-table-v3 tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .bom-table-v3 td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .bom-table-v3 td:last-child {
        border-bottom: none;
    }

    .bom-table-v3 td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #2f5d62;
        min-width: 45%;
        flex-shrink: 0;
    }
}