/* ----- "Midnight Blue" থিম এবং কমন স্টাইল ----- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f172a; 
    color: #cbd5e1; 
}

/* ================================================
  ⭐️ নতুন: Accordion নেভিগেশন মেন্যু
================================================
*/
#navbar-placeholder {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    background-color: #1e293b;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #334155;
    height: 40px; /* ফিক্সড হাইট */
}
.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    z-index: 1001; 
}
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; 
}
.menu-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #cbd5e1;
    margin: 5px 0;
    transition: all 0.3s;
}

/* সাইড প্যানেল (মেন্যু) */
#side-menu-panel {
    position: fixed;
    top: 0;
    right: 0; 
    width: 300px; /* মেন্যুর প্রস্থ */
    height: 100vh;
    background-color: #1e293b;
    border-left: 1px solid #334155; 
    z-index: 1002;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto; /* ⭐️ স্ক্রল করার সুবিধা */
    padding-top: 40px; /* navbar এর জন্য জায়গা ছাড়া */
    padding-bottom: 40px; /* ⭐️ এই লাইনটি যোগ করুন */
    box-sizing: border-box;
}
.side-menu-hidden {
    transform: translateX(100%); 
}
.side-menu-visible {
    transform: translateX(0);
}

/* মেন্যুর পেছনের শ্যাডো */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    transition: opacity 0.3s ease;
}
.overlay-hidden {
    opacity: 0;
    pointer-events: none;
}
.overlay-visible {
    opacity: 1;
    pointer-events: auto;
}

/* অ্যাকর্ডিয়ন মেন্যু স্টাইল */
.accordion-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.accordion-menu li {
    margin: 0;
}
.accordion-menu .menu-link {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.1em;
    padding: 15px 20px;
    border-bottom: 1px solid #334155;
    transition: background-color 0.2s;
}
.accordion-menu .menu-link:hover {
    background-color: #334155;
}
.accordion-menu .menu-link.active {
    background-color: #0d6efd;
    color: #fff;
    font-weight: bold;
}

/* সাবমেন্যু হেডার (Fuel, Parts) */
.menu-header {
    background: none;
    border: none;
    color: #f1f5f9;
    font-size: 1.1em;
    font-weight: bold;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #334155;
    transition: background-color 0.2s;
}
.menu-header:hover {
    background-color: #334155;
}
.menu-header .arrow-down {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #cbd5e1;
    transition: transform 0.3s;
}
.menu-header.header-open .arrow-down {
    transform: rotate(180deg);
}

/* সাবমেন্যু */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #0f172a; /* একটু ভিন্ন ব্যাকগ্রাউন্ড */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.submenu.submenu-open {
    max-height: 500px; /* ⭐️ খোলার জন্য হাইট (প্রয়োজনে বাড়াতে হবে) */
}
.submenu li a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 1em;
    padding: 12px 30px; /* ডানদিকে একটু সরানো */
    border-bottom: 1px solid #334155;
    transition: background-color 0.2s;
}
.submenu li a:hover {
    background-color: #334155;
    color: #fff;
}
.submenu li a.active {
    background-color: #0d6efd;
    color: #fff;
    font-weight: normal;
}

/* ----- কন্টেন্ট এরিয়া ----- */
.container {
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

h1, h2 {
    color: #f1f5f9;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}

/* ----- নাম্বার ইনপুট অ্যারো বাদ দেওয়া ----- */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* ----- কমন ইনপুট স্টাইল ----- */
input[type="number"], input[type="text"], input[type="date"] {
    width: 95%;
    box-sizing: border-box;
    padding: 5px;
    border: 1px solid #334155; 
    background-color: #1e293b; 
    color: #f1f5f9;
    border-radius: 4px;
}
input[type="date"] {
    width: auto;
    background-color: #1e293b;
    color: #f1f5f9;
    padding: 5px;
    border: 1px solid #334155;
}
input[list] {
    background-color: #1e293b;
    color: #f1f5f9;
}
input::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* ================================================
  সমস্ত টেবিল হেডারের জন্য সাধারণ স্টাইল
================================================
*/
#data-entry-table thead,
#report-table thead,
#summary-table thead,
#service-table thead,
#history-table thead,
#store-balance-table thead,
#receive-report-table thead, 
#issue-report-table thead,
#parts-balance-table thead { /* ⭐️ parts-balance-table যোগ করা হয়েছে */
    position: sticky;
    top: 60px; /* ⭐️ নতুন navbar হাইট অনুযায়ী আপডেট */
    z-index: 50; 
}

#data-entry-table th,
#report-table th,
#summary-table th,
#service-table th,
#history-table th,
#store-balance-table th,
#receive-report-table th, 
#issue-report-table th,
#parts-balance-table th { /* ⭐️ parts-balance-table যোগ করা হয়েছে */
    background-color: #1e293b;
    padding: 8px 4px;
    height: 36px;
    white-space: normal; 
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    border: 1px solid #334155; 
}
#history-table th {
    vertical-align: middle;
}
#store-balance-table th,
#parts-balance-table th { /* ⭐️ parts-balance-table যোগ করা হয়েছে */
    padding: 12px 8px;
}


/* ================================================
  ENTRY.HTML স্টাইল
================================================
*/
#data-entry-table {
    font-size: 0.85em;
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}
#data-entry-table td {
    border: 1px solid #334155;
    padding: 4px;
    overflow: hidden; 
    box-sizing: border-box; 
}
/* ... (বাকি সব টেবিলের স্টাইল অপরিবর্তিত) ... */
#data-entry-table th:nth-child(1) { width: 15%; }
#data-entry-table th:nth-child(2) { width: 7%; }
#data-entry-table th:nth-child(3),
#data-entry-table th:nth-child(4) { width: 7%; }
#data-entry-table th:nth-child(5) { width: 6%; }
#data-entry-table th:nth-child(n+6):nth-child(-n+15) { width: 4.2%; }
#data-entry-table th:nth-child(16) { width: 7%; }
#data-entry-table th:nth-child(17),
#data-entry-table th:nth-child(18),
#data-entry-table th:nth-child(19) { width: 7%; }
#data-entry-table th:nth-child(20) { width: 10%; }

#data-entry-table input {
    text-align: center;
    width: 100%; 
}
#data-entry-table input[type="text"] {
    text-align: left;
}
#data-entry-table input:focus {
    background-color: #334155;
    border: 1px solid #38bdf8;
    outline: none;
    box-shadow: 0 0 5px #38bdf8;
}
#data-entry-table tr.focused-row td {
    background-color: #131f33;
}
#data-entry-table th.focused-header {
    background-color: #0d6efd;
    color: #fff;
}
#data-entry-table td.focused-code {
    background-color: #1e293b;
    font-weight: bold;
    color: #f1f5f9;
}
#data-entry-table input.readonly { 
    background-color: #0f172a; 
    border-color: transparent; 
    text-align: center;
}
tfoot tr { background-color: #0d121f; font-weight: bold; }
tfoot td { padding: 8px 4px; color: #fff; text-align: center; }
tfoot td:first-child { text-align: right; }

/* ================================================
  REPORT.HTML স্টাইল
================================================
*/
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}
.filter-container input { width: auto; }
.filter-container button {
    background-color: #334155;
    color: #f1f5f9;
    border: 1px solid #475569;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}
.filter-container button:hover { background-color: #475569; }

.filter-container .search-wrapper {
    position: relative;
    display: inline-block;
}
.filter-container .search-wrapper input {
    padding: 5px 25px 5px 5px;
    width: 200px; 
}
.filter-container .search-wrapper .clear-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #cbd5e1; 
    font-size: 1.5em; 
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}
.filter-container .search-wrapper .clear-search:hover {
    color: #fff;
}


.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #1e293b;
    border-radius: 8px;
}
.chip {
    background-color: #334155;
    color: #f1f5f9;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}
.chip .value {
    color: #38bdf8;
    margin-left: 8px;
}
#report-table {
    font-size: 0.9em;
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}

#report-table th:nth-child(1) { width: 4%; }
#report-table th:nth-child(2) { width: 7%; }
#report-table th:nth-child(3) { width: 8%; }
#report-table th:nth-child(4) { width: 6%; }
#report-table th:nth-child(5) { width: 6%; }
#report-table th:nth-child(n+6):nth-child(-n+16) { width: 5%; } 
#report-table th:nth-child(17) { width: 6%; }
#report-table th:nth-child(18),
#report-table th:nth-child(19),
#report-table th:nth-child(20) { width: 6%; }
#report-table th:nth-child(21) { width: 10%; }

#report-table td {
    border: 1px solid #334155; 
    text-align: center;
    padding: 8px 4px; 
    height: 25px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}
#report-table-body td {
    background-color: #131f33;
}
#report-table-body tr:hover td {
    background-color: #1e293b;
}
#report-table td:nth-child(3), 
#report-table td:last-child { 
    text-align: left; 
    white-space: normal; 
}
#loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 1.5em;
    display: none; 
}
#report-instructions {
    text-align: center;
    margin-top: 20px;
    color: #94a3b8;
}

/* ================================================
  প্রিন্ট মডাল এবং ফুটার স্টাইল (স্ক্রিনের জন্য)
================================================
*/
@media screen {
    #print-footer-container, #print-date-range {
        display: none;
    }

    .modal-overlay {
        display: none; 
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.6); 
    }

    .modal-content {
        background-color: #1e293b; 
        color: #f1f5f9;
        margin: 10% auto; 
        padding: 25px;
        border: 1px solid #334155;
        width: 80%;
        max-width: 600px;
        border-radius: 8px;
    }
    .modal-content h2 {
        margin-top: 0;
        border-bottom: 1px solid #334155;
        padding-bottom: 10px;
    }

    .modal-input-group {
        margin-bottom: 15px;
    }
    .modal-input-group label {
        display: block;
        margin-bottom: 5px;
        font-size: 0.9em;
        color: #94a3b8;
    }
    .modal-input-group .modal-input {
        width: 95%; 
        padding: 8px;
    }

    .modal-buttons {
        text-align: right;
        margin-top: 20px;
        border-top: 1px solid #334155;
        padding-top: 20px;
    }
    .modal-buttons button {
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
        margin-left: 10px;
    }
    .modal-buttons #cancel-print-btn {
        background-color: #334155;
        color: #f1f5f9;
    }
    .modal-buttons #confirm-print-btn {
        background-color: #0d6efd; 
        color: white;
    }
}

/* ================================================
  প্রিন্ট স্টাইল (প্রিন্টের জন্য)
================================================
*/
@page {
    size: A4 landscape; 
    margin: 0.5in; 
}

@media print {
    body, .container {
        margin: 0;
        padding: 0;
        background-color: #fff;
        color: #000;
        width: 100%;
    }
    
    h1 {
        color: #000; 
        border: none;
        font-size: 16pt;
    }
    
    #print-date-range {
        display: block !important;
        text-align: center;
        font-size: 12pt;
        font-weight: bold;
        color: #000;
        margin-bottom: 10px; 
    }
    
    .chip {
        border: 1px solid #ccc; 
        background-color: #eee;
    }
    .chip .value { color: #000; }

    .navbar, #navbar-placeholder, .filter-container, #report-instructions, #loading-spinner, #print-modal {
        display: none !important;
    }

    #report-table-container {
        margin: 0;
        padding: 0;
        border: none;
        width: 100%;
    }

    #report-table, #summary-table, #service-table, #history-table, #store-balance-table,
    #receive-report-table, #issue-report-table,
    #parts-balance-table { /* ⭐️ parts-balance-table যোগ করা হয়েছে */
        width: 100%;
        font-size: 8pt; 
        position: static !important;
        color: #000;
        border-collapse: collapse;
        table-layout: auto; 
    }

    #report-table th, #report-table td,
    #summary-table th, #summary-table td,
    #service-table th, #service-table td,
    #history-table th, #history-table td,
    #store-balance-table th, #store-balance-table td,
    #receive-report-table th, #receive-report-table td, 
    #issue-report-table th, #issue-report-table td,
    #parts-balance-table th, #parts-balance-table td { /* ⭐️ parts-balance-table যোগ করা হয়েছে */
        border: 1px solid #000 !important;
        color: #000 !important;
        background-color: #fff !important;
        padding: 3px 2px; 
        white-space: normal; 
        text-align: center;
        vertical-align: middle; 
    }
    
    #report-table td:nth-child(3),
    #report-table td:nth-child(21) {
        text-align: left;
    }
    
    #summary-table td:nth-child(2),
    #summary-table td:nth-child(3),
    #summary-table td:last-child {
        text-align: left;
    }
    
    #service-table td:nth-child(2),
    #service-table td:nth-child(3),
    #service-table td:nth-child(10), 
    #service-table td:nth-child(14) { 
        text-align: left; 
    }
    
    #history-table td:nth-child(2),
    #history-table td:nth-child(3),
    #history-table td:last-child {
        text-align: left;
    }
    
    #store-balance-table td:nth-child(2) {
        text-align: left;
    }

    /* ⭐️ নতুন টেবিলের প্রিন্ট স্টাইল (বাম দিকে অ্যালাইন) */
    #receive-report-table td:nth-child(3), /* Item Desc */
    #receive-report-table td:nth-child(4), /* Part Num */
    #receive-report-table td:nth-child(9), /* Use For */
    #receive-report-table td:nth-child(10), /* Supplier */
    #receive-report-table td:nth-child(13), /* Remarks */
    #issue-report-table td:nth-child(3), /* Item Desc */
    #issue-report-table td:nth-child(4), /* Part Num */
    #issue-report-table td:nth-child(6), /* Issued To */
    #issue-report-table td:nth-child(8), /* Remarks */
    #parts-balance-table td:nth-child(2), /* ⭐️ Item Name */
    #parts-balance-table td:nth-child(3) { /* ⭐️ Part Number */
        text-align: left;
    }

    #report-table thead, 
    #summary-table thead, 
    #service-table thead,
    #history-table thead,
    #store-balance-table thead,
    #receive-report-table thead, 
    #issue-report-table thead,
    #parts-balance-table thead { /* ⭐️ parts-balance-table যোগ করা হয়েছে */
        display: table-header-group; 
    }
    
    #report-table-body tr,
    #summary-table-body tr,
    #service-table-body tr,
    #history-table-body tr,
    #store-balance-table-body tr,
    #receive-report-table tbody tr, 
    #issue-report-table tbody tr,
    #parts-balance-table tbody tr { /* ⭐️ parts-balance-table যোগ করা হয়েছে */
        page-break-inside: avoid; 
    }
    
    #print-footer-container {
        display: block !important; 
        width: 100%;
        margin-top: 80px; 
        font-size: 10pt;
        color: #000;
        page-break-inside: avoid; 
    }
    
    #signature-footer {
        display: flex;
        justify-content: space-between; 
        width: 100%;
        margin-bottom: 60px; 
    }
    
    .signature-box {
        width: 24%; 
        text-align: center;
        padding-top: 10px;
        border-top: 1px solid #000; 
    }
    
    #static-footer {
        text-align: left;
        font-weight: bold;
    }
}

/* ================================================
  SUMMARY.HTML স্টাইল
================================================
*/
#summary-table {
    font-size: 0.8em; 
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}

#summary-table th:nth-child(1) { width: 3%; }
#summary-table th:nth-child(2) { width: 12%; }
#summary-table th:nth-child(3) { width: 8%; }
#summary-table th:nth-child(4) { width: 5%; }
#summary-table th:nth-child(5) { width: 5%; }
#summary-table th:nth-child(n+6):nth-child(-n+14) { width: 4%; }
#summary-table th:nth-child(15) { width: 5%; }
#summary-table th:nth-child(16) { width: 6%; }
#summary-table th:nth-child(17) { width: 6%; }
#summary-table th:nth-child(18) { width: 7%; }
#summary-table th:nth-child(19) { width: 8%; }

#summary-table td {
    border: 1px solid #334155; 
    text-align: center;
    padding: 8px 4px; 
    height: 25px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}
#summary-table-body td {
    background-color: #131f33;
}
#summary-table-body tr:hover td {
    background-color: #1e293b;
}
#summary-table td:nth-child(2), 
#summary-table td:nth-child(3), 
#summary-table td:last-child { 
    text-align: left; 
    white-space: normal; 
}


/* ================================================
  SERVICING.HTML স্টাইল
================================================
*/
#service-table {
    font-size: 0.85em; 
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}

#service-table th:nth-child(1) { width: 3%; }
#service-table th:nth-child(2) { width: 15%; }
#service-table th:nth-child(3) { width: 7%; }
#service-table th:nth-child(4) { width: 4%; }
#service-table th:nth-child(5) { width: 7%; }
#service-table th:nth-child(6) { width: 7%; }
#service-table th:nth-child(7) { width: 7%; }
#service-table th:nth-child(8) { width: 7%; }
#service-table th:nth-child(9) { width: 5%; }
#service-table th:nth-child(10) { width: 8%; }
#service-table th:nth-child(11) { width: 7%; }
#service-table th:nth-child(12) { width: 7%; }
#service-table th:nth-child(13) { width: 7%; }
#service-table th:nth-child(14) { width: 9%; }

#service-table td {
    border: 1px solid #334155; 
    text-align: center;
    padding: 8px 4px; 
    height: 25px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}
#service-table-body td {
    background-color: #131f33;
}
#service-table-body tr:hover td {
    background-color: #1e293b;
}
#service-table td:nth-child(2), 
#service-table td:nth-child(3), 
#service-table td:nth-child(10),
#service-table td:nth-child(14) { 
    text-align: left; 
    white-space: normal; 
}

/* ================================================
  HISTORY.HTML স্টাইল
================================================
*/
#history-table {
    font-size: 0.85em; 
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}

#history-table th:nth-child(1) { width: 4%; }
#history-table th:nth-child(2) { width: 16%; }
#history-table th:nth-child(3) { width: 8%; }
#history-table th:nth-child(4) { width: 10%; }
#history-table th:nth-child(5) { width: 10%; }
#history-table th:nth-child(6) { width: 10%; }
#history-table th:nth-child(7) { width: 8%; }
#history-table th:nth-child(8) { width: 8%; }
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 0.07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}

#history-table th:nth-child(9) { width: 7%; }
#history-table th:nth-child(10) { width: 19%; }

#history-table td {
    border: 1px solid #334155; 
    text-align: center;
    padding: 8px 4px; 
    height: 25px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}
#history-table-body td {
    background-color: #131f33;
}
#history-table-body tr:hover td {
    background-color: #1e293b;
}
#history-table td:nth-child(2), 
#history-table td:nth-child(3), 
#history-table td:last-child { 
    text-align: left; 
    white-space: normal; 
}
/* ================================================
  STORE_RECEIVE.HTML / PARTS_RECEIVE.HTML স্টাইল
================================================
*/
.form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #1e293b;
    border-radius: 8px;
    border: 1px solid #334155;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #94a3b8;
}
.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="text"],
.form-group select {
    width: 100%; /* Full width */
    box-sizing: border-box; /* Proper padding */
    padding: 10px;
    font-size: 1.1em;
    background-color: #0f172a; /* ⭐️ ইনপুট ব্যাকগ্রাউন্ড ডার্ক করা হলো */
    color: #f1f5f9; /* ⭐️ ইনপুট টেক্সট সাদা করা হলো */
    border: 1px solid #334155;
}
.form-group select {
    appearance: none;
}
.form-group.submit-container {
    text-align: center;
}
.form-group button {
    background-color: #0d6efd;
    color: white;
    font-size: 1.2em;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.form-group button:hover {
    background-color: #0b5ed7;
}
.form-group button:disabled {
    background-color: #334155;
    cursor: not-allowed;
}
#status-message {
    margin-top: 20px;
    font-size: 1.1em;
}

/* ⭐️ নতুন: 2-কলাম গ্রিড এবং লাইভ ক্যালকুলেশন */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* মোবাইলের জন্য (800px এর নিচে) */
@media (max-width: 800px) {
    .form-grid-2col {
        grid-template-columns: 1fr; /* এক কলামে পরিণত হবে */
    }
}
.live-calc-display {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 4px;
    padding: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #34d399; /* সবুজ রঙ */
    text-align: right;
}


/* ================================================
  STORE_BALANCE.HTML স্টাইল
================================================
*/
#store-balance-table {
    font-size: 1em; 
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}

#store-balance-table th:nth-child(1) { width: 10%; }
#store-balance-table th:nth-child(2) { width: 30%; }
#store-balance-table th:nth-child(3) { width: 20%; }
#store-balance-table th:nth-child(4) { width: 20%; }
#store-balance-table th:nth-child(5) { width: 20%; }

#store-balance-table td {
    border: 1px solid #334155; 
    text-align: center;
    padding: 10px 8px; 
    height: 25px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    font-size: 1.1em;
}
#store-balance-table-body td {
    background-color: #131f33;
}
#store-balance-table-body tr:hover td {
    background-color: #1e293b;
}
#store-balance-table td:nth-child(2) { 
    text-align: left; 
}

/* ⭐️ নতুন: parts_receive_report.js এবং parts_issue_report.js এর টেবিলের জন্য স্টাইল */
/* (এই স্টাইলগুলো report.js এর টেবিলের মতোই) */

#receive-report-table,
#issue-report-table {
    font-size: 0.9em;
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}

#receive-report-table td,
#issue-report-table td {
    border: 1px solid #334155; 
    text-align: center;
    padding: 8px 4px; 
    height: 25px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}
#receive-report-table tbody td,
#issue-report-table tbody td {
    background-color: #131f33;
}
#receive-report-table tbody tr:hover td,
#issue-report-table tbody tr:hover td {
    background-color: #1e293b;
}

/* টেক্সট কলামগুলো বাম দিকে অ্যালাইন করা */
#receive-report-table td:nth-child(3), /* Item Desc */
#receive-report-table td:nth-child(4), /* Part Num */
#receive-report-table td:nth-child(9), /* Use For */
#receive-report-table td:nth-child(10), /* Supplier */
#receive-report-table td:nth-child(13), /* Remarks */
#issue-report-table td:nth-child(3), /* Item Desc */
#issue-report-table td:nth-child(4), /* Part Num */
#issue-report-table td:nth-child(6), /* Issued To */
#issue-report-table td:nth-child(8) { /* Remarks */
    text-align: left; 
    white-space: normal; 
}

/* ⭐️ নতুন: PARTS_BALANCE.HTML এর জন্য স্টাইল */
#parts-balance-table {
    font-size: 1em; 
    table-layout: fixed; 
    width: 100%;
    border-collapse: collapse;
}
#parts-balance-table td {
    border: 1px solid #334155; 
    text-align: center;
    padding: 10px 8px; 
    height: 25px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    font-size: 1.1em;
}
#parts-balance-table tbody td {
    background-color: #131f33;
}
#parts-balance-table tbody tr:hover td {
    background-color: #1e293b;
}
#parts-balance-table td:nth-child(2), /* Item Name */
#parts-balance-table td:nth-child(3) { /* Part Number */
    text-align: left; 
    white-space: normal;
}