body{font-family:AngsanaNew,Kanit,Noto Sans Thai,Tahoma,sans-serif;font-size:14px;padding:0;margin:0}@font-face{font-family:AngsanaNew;src:url(/assets/AngsanaNew-01-FdOcLW_6.ttf) format("truetype");font-weight:400;font-style:normal}[lang=th],.lang-th{font-family:"AngsanaNew" "Kanit","Noto Sans Thai","Arial Unicode MS",sans-serif!important;line-height:1.6;letter-spacing:.02em}thead{display:table-header-group;break-inside:avoid}[lang=th] .dynamic-table td,.lang-th .dynamic-table td{padding:8px 6px;line-height:1.5}[lang=th] .header,.lang-th .header,[lang=th] .company-header,.lang-th .company-header{font-family:AngsanaNew,Kanit,Noto Sans Thai,sans-serif!important;line-height:1.8}.header{text-align:center;font-size:18px;font-weight:700;margin-bottom:20px}.company-info,.customer-info,.summary,.signatures{width:100%;border-collapse:collapse;margin-bottom:15px}.company-info td,.customer-info td,.summary td{padding:6px}.product-table{width:100%;border-collapse:collapse;margin-bottom:15px}.product-table th,.product-table td{border:1px solid #000;padding:6px;text-align:center}.summary td{border:1px solid #000}.note{font-size:10px;margin-top:10px;padding:8px;text-align:right}.signatures td{text-align:center;padding:20px}.row{margin-bottom:8px}.label{font-weight:700}.expire{display:flex;justify-content:space-between;align-items:center}.container{display:flex;border:2px solid #000;border-radius:10px;overflow:hidden;max-width:1000px;margin:20px auto}.box{flex:1;border-right:2px solid #000;padding:20px}.box:last-child{border-right:none}.label{display:inline-block;font-weight:700;width:120px}.expire-date{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-top:10px}.expire-date span:last-child{font-weight:400}.hilight-txt{font-weight:700}table.contact-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #000;border-radius:10px;overflow:hidden;margin-top:20px}table.contact-table td{padding:6px;vertical-align:top}table.contact-table tr td:first-child{border-left:none}table.contact-table tr:first-child td:first-child{border-top-left-radius:10px}table.contact-table tr:first-child td:last-child{border-top-right-radius:10px}table.contact-table tr:last-child td:first-child{border-bottom-left-radius:10px}table.contact-table tr:last-child td:last-child{border-bottom-right-radius:10px}@media print{body{counter-reset:page}.print-header{position:fixed;top:0;left:0;right:0;height:100px;background:#fff;padding:10px 20px;font-size:12px;border-bottom:1px solid #ccc}.print-footer{position:fixed;bottom:0;left:0;right:0;height:60px;background:#fff;padding:10px 20px;text-align:center;font-size:10px;border-top:1px solid #ccc}#pageCounter{position:fixed;top:10px;right:20px;font-size:10px}@page{margin-top:120px;margin-bottom:80px}.page-number:before{content:"หน้า "counter(page);position:fixed;top:10px;right:20px;font-size:10px}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background-color:#f5f5f5}.loading-spinner{display:inline-block;position:relative;width:80px;height:80px}.spinner{width:64px;height:64px;border:8px solid #f3f3f3;border-radius:50%;border-top:8px solid #0066cc;animation:spin 1s linear infinite}.loading-text{margin-top:20px;font-size:18px;color:#333;font-family:Arial,sans-serif}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.paginated-table-container{width:100%;margin:0 auto;height:100%}.page-container{box-sizing:border-box;border:1px solid #000;border-radius:10px;overflow:hidden;position:relative;min-height:200px;display:flex;flex-direction:column;justify-content:flex-start}.dynamic-table{width:755px!important;border-collapse:separate;border-spacing:0}.dynamic-table *{overflow-wrap:anywhere}.dynamic-table th{padding:6px;font-size:13px;font-weight:700;border-bottom:.25px solid #000000;border-right:1px solid #000000;text-align:center;box-sizing:border-box}.dynamic-table th:first-child{border-top-left-radius:10px}.dynamic-table th:last-child{border-right:none;border-top-right-radius:10px;text-align:center}.dynamic-table td{border-right:1px solid #0000FF;padding:6px;font-size:12px;box-sizing:border-box;text-align:center;vertical-align:top}.dynamic-table td:last-child{border-right:none;text-align:right}.dynamic-table td[data-column=description]{word-break:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.4;vertical-align:top}.dynamic-table .description-cell{overflow:visible;word-wrap:break-word;line-height:1.4}.lang-th .dynamic-table{font-family:AngsanaNew,Kanit,Noto Sans Thai,Arial Unicode MS,sans-serif}.lang-th .dynamic-table th,.lang-th .dynamic-table td{font-family:AngsanaNew,Kanit,Noto Sans Thai,Arial Unicode MS,sans-serif;line-height:1.5}.lang-th .dynamic-table .description-cell{line-height:1.5}.page-number{position:absolute;bottom:8px;right:16px;font-size:12px;color:#888}.empty-table-message{padding:32px;text-align:center;color:#888}@media (max-width: 600px){.page-container{margin:12px 0;border-radius:4px;height:100vh}.dynamic-table th,.dynamic-table td{padding:4px;font-size:12px}.dynamic-table th{font-size:13px}}.paginated-table-container{padding:0}.page-container{page-break-after:always;box-shadow:none;border:0px!important;margin-bottom:0;max-height:none;min-height:0}.page-number{display:none}@media print,(-webkit-min-device-pixel-ratio: 0){.dynamic-table .description-cell{word-break:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.4}.lang-th .dynamic-table .description-cell{line-height:1.5}.dynamic-table .description-cell p{margin:0!important;line-height:inherit!important}.dynamic-table .description-cell span{display:block;font-weight:700;margin-bottom:4px}}
