.noi_dung_in {
    padding: 15px 0px;
}

.noi_dung_in h1 {
    font-size: 24px;
    padding-bottom: 10px;
}

.noi_dung_in p {
    padding: 5px 0px;
    line-height: 1.7;
}

.noi_dung_in h2 {
    padding: 10px 0px;
    color: #3b9b1a;
}

.supplier-header ul li {
    list-style: disc;
    margin-left: 20px;
    padding-bottom: 7px;
    text-align: justify;
}

/* ===== Table Styling & Formatting ===== */
table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.5;
    background-color: #ffffff;
    border: 1px solid #d1d5db !important;
}

table td,
table th {
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    vertical-align: middle !important;
    /* word-wrap: break-word;
    word-break: break-word; */
    color: #1e293b;
}

/* Header row / First row styling */
table tr:first-child td,
table thead th,
table th {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    text-align: center !important;
    vertical-align: middle !important;
    /* border-bottom: 2px solid #cbd5e1; */
}

/* Remove default spacing inside <p> tags generated by WYSIWYG editor */
table td p,
table th p {
    margin: 0 !important;
    padding: 2px 0 !important;
    line-height: 1.5 !important;
}

/* ===== Smart Column Width Balancing for 2, 3, 4, 5+ Column Tables ===== */

/* 2 Columns Table */
table tr:first-child td:first-child:nth-last-child(2),
table tr:first-child th:first-child:nth-last-child(2) {
    width: 35%;
}

table tr:first-child td:first-child:nth-last-child(2)~td,
table tr:first-child th:first-child:nth-last-child(2)~th {
    width: 65%;
}

/* 3 Columns Table */
table tr:first-child td:first-child:nth-last-child(3),
table tr:first-child th:first-child:nth-last-child(3) {
    width: 10%;
    min-width: 50px;
    text-align: center;
}

table tr:first-child td:first-child:nth-last-child(3)~td:nth-child(2),
table tr:first-child th:first-child:nth-last-child(3)~th:nth-child(2) {
    width: 45%;
}

table tr:first-child td:first-child:nth-last-child(3)~td:nth-child(3),
table tr:first-child th:first-child:nth-last-child(3)~th:nth-child(3) {
    width: 45%;
}

/* 4 Columns Table */
table tr:first-child td:first-child:nth-last-child(4),
table tr:first-child th:first-child:nth-last-child(4) {
    width: 8%;
    min-width: 50px;
    text-align: center;
}

table tr:first-child td:first-child:nth-last-child(4)~td:nth-child(2),
table tr:first-child th:first-child:nth-last-child(4)~th:nth-child(2) {
    width: 32%;
}

table tr:first-child td:first-child:nth-last-child(4)~td:nth-child(3),
table tr:first-child th:first-child:nth-last-child(4)~th:nth-child(3) {
    width: 30%;
}

table tr:first-child td:first-child:nth-last-child(4)~td:nth-child(4),
table tr:first-child th:first-child:nth-last-child(4)~th:nth-child(4) {
    width: 30%;
}

/* 5 Columns Table */
table tr:first-child td:first-child:nth-last-child(5),
table tr:first-child th:first-child:nth-last-child(5) {
    width: 60px;
    text-align: center;
}

table tr:first-child td:first-child:nth-last-child(5)~td:nth-child(2),
table tr:first-child th:first-child:nth-last-child(5)~th:nth-child(2) {
    width: 25%;
}

table tr:first-child td:first-child:nth-last-child(5)~td:nth-child(3),
table tr:first-child th:first-child:nth-last-child(5)~th:nth-child(3) {
    width: 15%;
    text-align: center;
}

table tr:first-child td:first-child:nth-last-child(5)~td:nth-child(4),
table tr:first-child th:first-child:nth-last-child(5)~th:nth-child(4) {
    width: 24%;
}

table tr:first-child td:first-child:nth-last-child(5)~td:nth-child(5),
table tr:first-child th:first-child:nth-last-child(5)~th:nth-child(5) {
    width: 30%;
}

/* Zebra striping & hover effects */
/* table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

table tbody tr:hover {
    background-color: #f1f5f9;
} */