.new-order-page{display:grid;grid-template-columns:1fr 360px;grid-template-rows:auto 1fr;min-height:100%}.new-order-subnav{grid-column:1 / -1;display:flex;overflow-x:auto;padding:8px 24px;gap:10px;border-bottom:1px solid var(--border-color);background:#fff;scrollbar-width:none}.new-order-subnav::-webkit-scrollbar{display:none}.new-order-products{overflow-y:auto;padding:8px 12px 24px 24px}.new-order-cart-col{position:sticky;top:0;height:calc(100vh - 70px);display:flex;flex-direction:column;padding:8px 24px 24px 0;box-sizing:border-box}.new-order-cart-col .cart-panel{flex:1;min-height:0;overflow:hidden}@media(max-width:1024px){.new-order-page{grid-template-columns:1fr 300px}}@media(max-width:820px){.new-order-page{grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.new-order-subnav{grid-column:1}.new-order-cart-col{position:fixed;bottom:80px;left:12px;right:12px;height:auto;padding:0;z-index:900;pointer-events:none}.new-order-cart-col .cart-panel{pointer-events:auto}.new-order-products{padding-bottom:300px}}.home-dashboard{display:flex;flex-direction:column;gap:2rem;max-width:1200px;margin:0 auto}.dashboard-title{margin-top:0;margin-bottom:.5rem;color:#333}.stats-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.stat-card{background:#fff;border-radius:12px;padding:1.5rem;display:flex;align-items:center;gap:1.5rem;box-shadow:0 4px 6px #0000000d;border:1px solid #eee;transition:transform .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 12px #00000014}.earning-card .stat-icon{background:#e8f5e9;color:#2e7d32}.bills-card .stat-icon{background:#e3f2fd;color:#1565c0}.stat-icon{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem}.stat-details{display:flex;flex-direction:column}.stat-label{font-size:.9rem;color:#666;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.stat-value{font-size:2rem;font-weight:700;color:#222;margin-top:.3rem}.actions-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}.mobile-primary-action{display:none}.mobile-only-action{display:none!important}.action-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:1.5rem;display:flex;align-items:flex-start;gap:1rem;cursor:pointer;text-align:left;transition:all .2s ease;min-height:120px}.action-card:hover{border-color:#bdbdbd;box-shadow:0 4px 15px #00000014;transform:translateY(-2px)}.action-card.primary{background:linear-gradient(135deg,var(--primary-orange, #f97316),#ea580c);color:#fff;border:none}.action-card.primary .action-text h3,.action-card.primary .action-text p{color:#fff}.action-card.primary .action-icon{background:#fff3}.action-icon{width:50px;height:50px;border-radius:12px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.action-text{flex:1}.action-text h3{margin:0 0 .4rem;font-size:1.1rem;color:#333}.action-text p{margin:0;font-size:.85rem;color:#777;line-height:1.4}.top-selling-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000a;border:1px solid #eee}.section-subtitle{margin-top:0;margin-bottom:1.5rem;color:#333;font-size:1.2rem;display:flex;align-items:center;gap:.5rem}.top-items-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1rem}.top-item{display:flex;align-items:center;padding:.8rem 1rem;background:#fafafa;border-radius:8px;border:1px solid #f0f0f0;transition:background .2s}.top-item:hover{background:#f0f4f8}.item-rank{width:30px;height:30px;background:#ffe0b2;color:#e65100;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:1rem;flex-shrink:0}.item-name{flex:1;font-weight:500;color:#444;font-size:1.05rem}.item-qty{font-weight:600;color:#1976d2;background:#e3f2fd;padding:.3rem .8rem;border-radius:20px;font-size:.9rem}@media(max-width:820px){.actions-section{grid-template-columns:1fr 1fr;gap:1rem}.stats-section{grid-template-columns:1fr 1fr;gap:.8rem}.stat-card{padding:1rem;gap:.8rem;flex-direction:column;align-items:flex-start}.stat-icon{width:44px;height:44px;font-size:1.5rem}.stat-value{font-size:1.05rem;line-height:1.3}.desktop-only-action{display:none!important}.mobile-only-action{display:flex!important}.mobile-primary-action{display:block;margin-bottom:1rem;margin-top:-.5rem}.btn-massive-primary{width:100%;background:linear-gradient(135deg,var(--primary-orange, #f97316),#ea580c);color:#fff;border:none;border-radius:12px;padding:1rem;font-size:1.1rem;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 10px #ee573233;cursor:pointer}.btn-massive-primary:active{transform:scale(.98)}.action-card{flex-direction:column;align-items:center;text-align:center;padding:.8rem;min-height:auto;gap:.4rem}.mobile-center-text h3{font-size:.9rem;margin:0}.action-icon{width:40px;height:40px;margin:0 auto;font-size:1.25rem}}.dashboard-container{display:flex;flex-direction:column;gap:20px;animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.metric-card{background:#fff;border-radius:16px;padding:24px;border:1px solid var(--border-color);box-shadow:0 4px 12px #00000005;display:flex;flex-direction:column;justify-content:center}.metric-title{color:#6c727f;font-size:14px;font-weight:700;margin-bottom:8px}.metric-value{font-size:28px;font-weight:900;color:#19191c}.metric-value.highlight{color:var(--primary-orange)}.dashboard-row{display:grid;grid-template-columns:2fr 1fr;gap:20px}@media(max-width:900px){.dashboard-row{grid-template-columns:1fr}}.chart-card,.top-products-card,.payment-card,.category-card{background:#fff;border-radius:16px;padding:24px;border:1px solid var(--border-color)}.card-title{font-size:16px;font-weight:900;color:#19191c;margin-bottom:20px}.empty-text{color:#9ea3ae;font-size:14px;text-align:center;padding:20px 0}.top-products-list{display:flex;flex-direction:column;gap:12px}.top-product-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f9fafb;border-radius:10px}.tp-left{display:flex;align-items:center;gap:12px}.tp-rank{width:24px;height:24px;background:var(--primary-orange);color:#fff;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px}.tp-name{font-weight:700;color:#19191c;font-size:14px}.tp-right{text-align:right}.tp-qty{font-size:12px;color:#6c727f;font-weight:600}.tp-rev{font-weight:900;color:var(--primary-green);font-size:14px}.payment-row,.category-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f1f3f5}.payment-row:last-child,.category-row:last-child{border-bottom:none}.pm-name,.cat-name{font-weight:700;color:#6c727f}.pm-val,.cat-val{font-weight:900;color:#19191c}@media(max-width:820px){.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.metric-value{font-size:22px}.metric-card,.chart-card,.top-products-card,.payment-card,.category-card{padding:16px}}.cashier-page{padding:24px;height:100%;overflow-y:auto;box-sizing:border-box}.cashier-page .cashier-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.cashier-page .cashier-title{font-size:24px;font-weight:900;color:#19191c}.cashier-page .cashier-actions{display:flex;gap:12px}.cashier-page .cashier-tabs{display:flex;gap:8px;background:#f1f3f5;padding:4px;border-radius:12px}.cashier-page .cashier-tab-btn{padding:8px 16px;border-radius:8px;border:none;background:transparent;font-weight:700;color:#6c727f;cursor:pointer;transition:all .2s;font-size:14px}.cashier-page .cashier-tab-btn:hover{color:#19191c}.cashier-page .cashier-tab-btn.active{background:#fff;color:var(--primary-orange);box-shadow:0 2px 4px #0000000d}.cashier-page .cashier-btn{padding:12px 20px;border-radius:14px;font-weight:900;cursor:pointer;border:1px solid var(--border-color);background:#fff;transition:all .2s}.cashier-page .cashier-btn:hover{background:#fafafa}.cashier-page .cashier-btn.primary{background:var(--primary-orange);border-color:var(--primary-orange);color:#fff}.cashier-page .cashier-btn.primary:hover{background:var(--primary-hover)}.cashier-page .cashier-btn.success{background:var(--primary-green);border-color:var(--primary-green);color:#fff}.cashier-page .cashier-btn.success:hover{background:#189960}.cashier-page .cashier-status-card,.cashier-page .cashier-history-card{background:#fff;border:1px solid var(--border-color);border-radius:18px;padding:24px;margin-bottom:24px}.cashier-page .cashier-history-card .table-container{max-height:500px;overflow-y:auto;border-radius:8px}.cashier-page .cashier-history-card .inv-table th{position:sticky;top:0;z-index:10;background-color:#f1f3f5;box-shadow:0 1px 2px #0000000d}.cashier-page .status-badge{display:inline-block;padding:6px 14px;border-radius:999px;font-size:13px;font-weight:700;margin-bottom:16px}.cashier-page .status-badge.open{background:#e8f5e9;color:var(--primary-green)}.cashier-page .status-badge.closed{background:#fff3e0;color:#f57c00}.cashier-page .status-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:16px}.cashier-page .info-item{padding:12px;background:#f9fafb;border-radius:12px}.cashier-page .info-label{font-size:12px;color:#9ea3ae;margin-bottom:4px}.cashier-page .info-value{font-size:18px;font-weight:900;color:#19191c}.cashier-page .info-value.highlight{color:var(--primary-orange)}.cashier-page .cashier-summary-card{background:#fff;border:1px solid var(--border-color);border-radius:18px;padding:24px}.cashier-page .summary-title{font-size:18px;font-weight:900;margin-bottom:16px;color:#19191c}.cashier-page .summary-grid{display:grid;gap:12px}.cashier-page .summary-row{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:12px;background:#f9fafb}.cashier-page .summary-row.total{background:#fdf0ec;border:1px solid var(--primary-orange);font-weight:900}.cashier-page .summary-label{font-weight:700;color:#6c727f}.cashier-page .summary-value{font-weight:900;color:#19191c}.cashier-page .summary-row.total .summary-label,.cashier-page .summary-row.total .summary-value{color:var(--primary-orange)}.cashier-page .cashier-modal-backdrop{position:fixed;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:9999}.cashier-page .cashier-modal-card{width:520px;max-width:92vw;background:#fff;border-radius:18px;border:1px solid var(--border-color);box-shadow:0 20px 60px #0000002e;padding:24px;position:relative}.cashier-page .cashier-modal-card.wide{width:680px}.cashier-page .cashier-modal-x{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:12px;border:1px solid var(--border-color);background:#fff;cursor:pointer;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center}.cashier-page .cashier-modal-title{font-weight:1000;font-size:20px;margin-bottom:8px;color:#19191c}.cashier-page .cashier-modal-subtitle{color:#9ea3ae;font-size:13px;margin-bottom:20px}.cashier-page .cashier-input-group{margin-bottom:20px}.cashier-page .cashier-input-group label{display:block;font-size:14px;margin-bottom:8px;font-weight:700;color:#19191c}.cashier-page .cashier-input-group input{width:100%;padding:12px 16px;border-radius:12px;border:1px solid var(--border-color);box-sizing:border-box;font-size:16px}.cashier-page .cashier-input-group input:focus{outline:none;border-color:var(--primary-orange)}.cashier-page .cashier-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.cashier-page .cashier-error{color:#dc3545;background:#fff5f5;padding:10px 14px;border-radius:8px;margin-bottom:15px;font-size:14px}.cashier-page .cashier-success{color:var(--primary-green);background:#e8f5e9;padding:10px 14px;border-radius:8px;margin-bottom:15px;font-size:14px}.cashier-page .payment-breakdown{margin-top:20px;padding-top:20px;border-top:1px solid var(--border-color)}.cashier-page .payment-breakdown-title{font-size:14px;font-weight:900;color:#6c727f;margin-bottom:12px}.cashier-page .payment-item{display:flex;justify-content:space-between;padding:10px 12px;background:#f9fafb;border-radius:10px;margin-bottom:8px}.cashier-page .payment-item-label{font-weight:700;color:#6c727f}.cashier-page .payment-item-value{font-weight:900;color:#19191c}@media(max-width:820px){.cashier-page .cashier-header{flex-direction:column;align-items:flex-start;gap:16px}.cashier-page .cashier-actions{width:100%;justify-content:space-between}.cashier-page .cashier-tabs{flex-wrap:wrap}.cashier-page .cashier-tab-btn{flex:1;text-align:center}.cashier-page .status-info{grid-template-columns:1fr 1fr}.cashier-page .cashier-history-card .table-container{overflow-x:hidden}.cashier-page .cashier-history-card .inv-table{min-width:0!important;width:100%}.cashier-page .cashier-history-card .inv-table thead{display:none}.cashier-page .cashier-history-card .inv-table,.cashier-page .cashier-history-card .inv-table tbody,.cashier-page .cashier-history-card .inv-table tr,.cashier-page .cashier-history-card .inv-table td{display:block;width:100%;box-sizing:border-box;text-align:left!important}.cashier-page .cashier-history-card .inv-table tbody tr{background:#fff;border:1px solid var(--border-color);border-radius:14px;margin-bottom:12px;padding:14px 16px;box-shadow:0 4px 10px #00000005;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;transition:background .2s}.cashier-page .cashier-history-card .inv-table tbody tr:active{background:#f9fafb}.cashier-page .hide-on-mobile{display:none!important}.cashier-page .cashier-history-card .inv-table td{padding:0;border:none;position:relative;margin-bottom:8px}.cashier-page .cashier-history-card .inv-table td.col-date{width:60%;order:1;font-size:15px;font-weight:800;color:#19191c;margin-bottom:12px}.cashier-page .cashier-history-card .inv-table td.col-status{width:40%;order:2;text-align:right!important;margin-bottom:12px}.cashier-page .cashier-history-card .inv-table td.col-users{width:100%;order:3;background:#f9fafb;padding:10px;border-radius:8px;margin-bottom:12px}.cashier-page .cashier-history-card .inv-table td.col-sales{width:100%;order:4;font-size:20px;text-align:right!important;margin-bottom:0;display:flex;justify-content:flex-end;align-items:baseline;gap:8px}.cashier-page .cashier-history-card .inv-table td.col-sales:after{content:"ดูรายละเอียด ❯";color:var(--primary-orange);font-size:12px;font-weight:700;margin-left:12px}}@media(max-width:480px){.cashier-page .status-info{grid-template-columns:1fr}}.inventory-desktop-wrapper{max-width:1000px;margin:0 auto}.inventory-tabs{display:flex;gap:12px;margin-bottom:24px}.inv-tab{padding:10px 16px;border-radius:8px;background:#fff;border:1px solid var(--border-color);color:#6c727f;font-weight:600;cursor:pointer;transition:all .2s;font-size:14px;white-space:nowrap}.inv-tab.active{background:var(--primary-orange);border-color:var(--primary-orange);color:#fff}.inv-form-container{max-width:600px}.inv-table{width:100%;border-collapse:collapse;margin-top:16px}.inv-table th,.inv-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border-color)}.inv-table th{color:var(--text-muted);font-weight:600}.inv-badge{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:700}.inv-badge.pending{background:#fff3cd;color:#856404}.inv-badge.received{background:#d4edda;color:#155724}@media(max-width:820px){.inventory-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:8px}.inventory-tabs::-webkit-scrollbar{display:none}.inv-tab{flex:0 0 auto}}.print-document{font-family:MyCustomFont,Sarabun,Kanit,sans-serif;font-size:14px;color:#000;background:#fff;line-height:1.6}.print-doc-page{width:210mm;min-height:297mm;padding:15mm 18mm;margin:0 auto;background:#fff;box-sizing:border-box}@media print{@page{size:A4 portrait;margin:0}body>*{visibility:hidden!important}#print-portal{visibility:visible!important;position:fixed!important;inset:0!important;z-index:99999!important;background:#fff!important}#print-portal *{visibility:visible!important}.print-no-print{display:none!important}.print-doc-page{width:100%;min-height:100vh;padding:15mm 18mm;margin:0;page-break-after:always}}.doc-header{text-align:center;margin-bottom:6mm;padding-bottom:4mm;border-bottom:2px solid #000}.doc-store-name{font-size:18px;font-weight:700;margin:0 0 2px}.doc-store-sub{font-size:12px;margin:0;color:#333}.doc-title{font-size:20px;font-weight:700;text-align:center;margin:4mm 0 2mm;letter-spacing:1px}.doc-title-en{font-size:13px;text-align:center;color:#555;margin:0 0 4mm;letter-spacing:1px}.doc-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:3mm;margin-bottom:5mm}.doc-info-box{border:1px solid #999;padding:3mm 4mm;font-size:13px}.doc-info-row{display:flex;gap:6px;margin-bottom:2px}.doc-info-label{font-weight:700;white-space:nowrap;min-width:90px}.doc-info-value{flex:1}.doc-table{width:100%;border-collapse:collapse;margin-bottom:4mm;font-size:13px}.doc-table th,.doc-table td{border:1px solid #666;padding:4px 6px;vertical-align:middle}.doc-table thead th{background:#f0f0f0;font-weight:700;text-align:center}.doc-table td.center{text-align:center}.doc-table td.right{text-align:right}.doc-summary{display:flex;justify-content:flex-end;margin-bottom:4mm}.doc-summary-box{width:200px;border:1px solid #999;font-size:13px}.doc-summary-row{display:flex;justify-content:space-between;padding:3px 8px;border-bottom:1px solid #ddd}.doc-summary-row:last-child{border-bottom:none;font-weight:700;font-size:14px;background:#f5f5f5}.doc-amount-words{border:1px solid #999;padding:3mm 4mm;margin-bottom:4mm;font-size:13px}.doc-notes{margin-bottom:6mm;font-size:13px}.doc-notes-label{font-weight:700;margin-bottom:2px}.doc-notes-box{border:1px solid #ccc;padding:2mm 3mm;min-height:12mm;background:#fafafa}.doc-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:5mm;margin-top:8mm}.doc-sig-col{text-align:center;font-size:13px}.doc-sig-line{border-bottom:1px solid #000;margin:0 10px 3px;height:12mm}.doc-sig-name{font-style:italic;color:#555;font-size:12px;min-height:18px}.doc-sig-date{margin-top:2px;color:#333}.promo-page-grid{margin-top:16px}.promo-form-panel{max-height:calc(100vh - 160px);overflow-y:auto;padding-right:8px}.promo-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--border-color)}.promo-row:last-child{border-bottom:none}.promo-left{display:flex;flex-direction:column;gap:4px}.promo-name{font-weight:900;font-size:15px}.promo-sub{font-size:12px;color:var(--text-muted)}.promo-dates{font-size:12px;background:var(--bg-hover);padding:2px 6px;border-radius:4px;display:inline-block;margin-top:4px;color:var(--text-color);font-weight:600}.promo-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:800;display:inline-block;margin-top:4px}.promo-status.active{background:#d4edda;color:#155724}.promo-status.expired{background:#f8d7da;color:#721c24}.promo-status.future{background:#cce5ff;color:#004085}.promo-actions{display:flex;gap:8px}.menu-checklist{max-height:200px;overflow-y:auto;border:1px solid var(--border-color);border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:6px}.menu-check-item{display:flex;align-items:center;gap:8px;font-size:14px}.option-group-item{background:#f8f9fc;border:1px solid var(--border-color);border-radius:8px;padding:12px}.startup-loader-container{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:99999;background-color:#0f172a;font-family:Kanit,sans-serif;overflow:hidden}.startup-loader-backdrop{position:absolute;inset:0;background:radial-gradient(circle at center,rgba(238,87,50,.15),transparent 60%);animation:pulse-bg 4s infinite alternate ease-in-out}@keyframes pulse-bg{0%{transform:scale(1);opacity:.5}to{transform:scale(1.5);opacity:1}}.startup-loader-content{position:relative;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:#ffffff0d;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:32px;box-shadow:0 30px 60px #0006;max-width:90vw;width:480px}.fancy-spinner{position:relative;width:120px;height:120px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}.spinner-ring{position:absolute;width:100%;height:100%;border-radius:50%;border:4px solid transparent}.spinner-ring:nth-child(1){border-top-color:var(--primary-orange);animation:spin1 2s cubic-bezier(.68,-.55,.265,1.55) infinite}.spinner-ring:nth-child(2){width:80%;height:80%;border-right-color:#fea08a;animation:spin2 2.5s cubic-bezier(.68,-.55,.265,1.55) infinite reverse}.spinner-ring:nth-child(3){width:60%;height:60%;border-bottom-color:var(--primary-green);animation:spin3 1.5s linear infinite}.spinner-core{width:24px;height:24px;background:#fff;border-radius:50%;box-shadow:0 0 20px 5px var(--primary-orange);animation:pulse-core 1.5s ease-in-out infinite alternate}@keyframes spin1{to{transform:rotate(360deg)}}@keyframes spin2{to{transform:rotate(360deg)}}@keyframes spin3{to{transform:rotate(360deg)}}@keyframes pulse-core{0%{transform:scale(.8);box-shadow:0 0 10px 2px var(--primary-orange)}to{transform:scale(1.4);box-shadow:0 0 30px 10px #ee5732cc}}.startup-title{color:#fff;font-size:28px;font-weight:900;margin:0 0 8px;letter-spacing:1px}.startup-title span{color:var(--primary-orange)}.startup-message-box{height:60px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;width:100%}.startup-message{color:#cbd5e1;font-size:16px;font-weight:500;margin:0;animation:fade-in-up .5s ease-out forwards;will-change:transform,opacity}@keyframes fade-in-up{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.loading-progress{width:100%;height:6px;background:#ffffff1a;border-radius:10px;overflow:hidden;position:relative}.loading-bar-fill{position:absolute;top:0;left:0;height:100%;width:30%;background:linear-gradient(90deg,var(--primary-orange),#ff8a65);border-radius:10px;animation:loading-bounce 2s ease-in-out infinite alternate}@keyframes loading-bounce{0%{width:5%;transform:translate(0)}50%{width:40%}to{width:10%;transform:translate(900%)}}.bottom-nav-bar{display:none}@media(max-width:820px){.bottom-nav-bar{display:flex;justify-content:space-around;align-items:center;position:fixed;bottom:0;left:0;width:100%;height:70px;background:#fff;box-shadow:0 -2px 10px #0000000d;z-index:1000;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:#8b90a0;flex:1;transition:color .2s}.bottom-nav-item span{font-size:11px;font-weight:600}.bottom-nav-item.active{color:var(--primary-orange)}.bottom-nav-item.active svg{stroke-width:2.5}.bottom-nav-fab-container{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:-30px;flex:1;gap:6px}.bottom-nav-fab{width:60px;height:60px;border-radius:50%;background:var(--primary-orange);border:4px solid #F4F7FE;box-shadow:0 4px 10px #ee57324d;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s}.bottom-nav-fab:active{transform:scale(.95)}.fab-label{font-size:11px;font-weight:700;color:var(--primary-orange)}.bottom-nav-settings-wrapper{position:relative;flex:1;display:flex;justify-content:center}.bottom-nav-dropdown{position:absolute;bottom:80px;right:10px;background:#fff;border:1px solid var(--border-color);border-radius:12px;box-shadow:0 -4px 15px #00000014;display:flex;flex-direction:column;min-width:180px;max-height:70vh;overflow-y:auto;overflow-x:hidden;z-index:1010;padding:8px}.bottom-dropdown-link{color:#6c727f;text-decoration:none;font-weight:600;font-size:14px;padding:10px 14px;border-radius:8px;transition:all .2s;display:block;text-align:left}.bottom-dropdown-link:hover{background:#f4f7fe;color:#19191c}.bottom-dropdown-link.active{color:var(--primary-orange);background:#fff1eb;font-weight:700}}@font-face{font-family:MyCustomFont;src:url(/assets/anakotmai-light-opqZnjhY.woff2) format("woff2"),url(/assets/anakotmai-light-7-zkiWD9.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:MyCustomFont;src:url(/assets/anakotmai-bold-DAPGwlZb.woff2) format("woff2"),url(/assets/anakotmai-bold-CoOSqFZi.woff) format("woff");font-weight:700;font-style:normal}:root{font-family:MyCustomFont,Kanit,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#19191c;background-color:#f4f7fe;--primary-orange: #EE5732;--primary-hover: #d64d2b;--primary-green: #1BA672;--grey-bg: #F9FAFB;--border-color: #E5E6EB}body{margin:0;min-width:320px;min-height:100vh}.auth-container{display:flex;width:1000px;max-width:95vw;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 10px 40px #00000014}.auth-image-side{flex:1;background-color:#fff9f5;display:flex;align-items:center;justify-content:center;padding:40px}.auth-image-side img{max-width:100%;height:auto}.auth-form-side{flex:1;padding:60px}.auth-title{font-size:2rem;font-weight:700;margin-bottom:8px;color:#333}.auth-subtitle{color:#888;margin-bottom:32px}.btn-auth-primary{width:100%;padding:14px;background-color:var(--primary-orange);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-auth-primary:hover{background-color:var(--primary-hover)}.auth-error{color:#dc3545;background:#fff5f5;padding:10px;border-radius:8px;margin-bottom:15px;font-size:.85rem}.app-layout{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden}.main-wrapper{display:flex;flex:1;overflow:hidden}.navbar-container{padding:0 40px;height:70px;background:#fff;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:1000;width:100%;box-sizing:border-box}.navbar-logo{font-size:22px;font-weight:800;color:#19191c;display:flex;align-items:center;gap:8px;text-decoration:none}.navbar-logo span{color:var(--primary-orange)}.user-badge{background:#f4f7fe;padding:6px 16px;border-radius:20px;font-size:14px;font-weight:500;color:#333}.btn-logout{padding:8px 18px;background-color:transparent;color:var(--primary-orange);border:1px solid var(--primary-orange);border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s}.btn-logout:hover{background-color:var(--primary-orange);color:#fff}.sidebar-item{width:60px;height:60px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#fff;border:1px solid var(--border-color);border-radius:14px;box-shadow:0 4px 10px #00000005;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);padding:6px 4px;outline:none}.sidebar-item:hover{transform:translateY(-2px);box-shadow:0 6px 14px #0000000d;border-color:#f1c7bc}.sidebar-item.active{background:#fff1eb;border-color:var(--primary-orange);color:var(--primary-orange)}.sidebar-icon-box{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:22px;color:inherit}.sidebar-nav{width:80px;background:#fff;border-right:1px solid var(--border-color);display:flex;flex-direction:column;align-items:center;padding:14px 10px;gap:14px;box-sizing:border-box}.sidebar-label{color:#19191c;font-size:10px;font-weight:700;text-align:center;width:100%;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-word;transition:color .2s}.sidebar-item.active .sidebar-label{color:var(--primary-orange)}.filter-pill{padding:8px 20px;background:#fff;border:1px solid var(--border-color);border-radius:30px;font-size:14px;color:#6c727f;white-space:nowrap;cursor:pointer}.filter-pill.active{background:#fdf0ec;color:var(--primary-orange);border-color:var(--primary-orange)}.cat-filter-pill{display:flex;align-items:center;gap:8px;padding:8px 16px 8px 12px;background:#fff;border:1px solid var(--border-color);border-radius:20px;font-size:13px;font-weight:700;color:#19191c;white-space:nowrap;cursor:pointer;transition:all .2s;outline:none}.cat-filter-pill:hover{transform:translateY(-1px);box-shadow:0 4px 10px #0000000a;border-color:#f1c7bc}.cat-filter-pill.active{background:#fff1eb;color:var(--primary-orange);border-color:var(--primary-orange)}.cat-filter-icon{display:flex;align-items:center;justify-content:center;color:inherit}.page-content{flex:1;overflow-y:auto;padding:20px 40px;background-color:var(--grey-bg)}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.product-card{background:#fff;border-radius:16px;padding:16px;text-align:center;box-shadow:0 4px 6px #00000005;border:1px solid var(--border-color);transition:all .2s;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent}.product-card:hover{transform:translateY(-5px)}.input-group{margin-bottom:20px;text-align:left}.input-group label{display:block;font-size:.9rem;margin-bottom:6px;font-weight:500}.input-group input{width:100%;padding:12px 16px;border-radius:12px;border:1px solid var(--border-color);box-sizing:border-box}.input-group input:focus{outline:none;border-color:var(--primary-orange)}.form-number-input{width:100%;padding:8px 10px;border:1px solid var(--border-color);border-radius:8px;font-family:inherit;font-size:14px;box-sizing:border-box;outline:none;background:#fff;color:#19191c;transition:border-color .15s}.form-number-input:focus{border-color:var(--primary-orange)}.form-number-input::-webkit-outer-spin-button,.form-number-input::-webkit-inner-spin-button{-webkit-appearance:none}.form-number-input[type=number]{-moz-appearance:textfield}.form-file-input{width:100%;padding:10px 14px;border:2px dashed var(--border-color);border-radius:10px;background:var(--grey-bg);font-family:inherit;font-size:13px;color:#6b7280;box-sizing:border-box;cursor:pointer;transition:border-color .15s,background .15s}.form-file-input:hover{border-color:var(--primary-orange);background:#fff9f7}.pos-topbar{height:70px;background:#fff;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;padding:0 28px;box-sizing:border-box;position:relative}.pos-topbar-left{display:flex;align-items:center;gap:16px}.mobile-menu-btn{display:none;background:transparent;border:none;cursor:pointer;padding:4px}.pos-brand{font-size:22px;font-weight:800;cursor:pointer}.pos-brand span{color:var(--primary-orange)}.pos-topnav{display:flex;gap:16px;align-items:center;flex:1;justify-content:flex-start;padding-left:20px}.pos-toplink{color:#8b90a0;text-decoration:none;font-weight:600;font-size:14px;padding:8px 12px;transition:all .2s ease-in-out;position:relative}.pos-toplink:hover{color:#19191c}.pos-toplink.active{color:var(--primary-orange);font-weight:800}.pos-toplink.active:after{content:"";position:absolute;bottom:0;left:12px;right:12px;height:3px;background-color:var(--primary-orange);border-radius:3px 3px 0 0}.pos-dropdown-menu{position:absolute;top:100%;left:0;margin-top:12px;background:#fff;border:1px solid var(--border-color);border-radius:12px;box-shadow:0 10px 30px #00000014;display:flex;flex-direction:column;min-width:220px;overflow:hidden;z-index:1000;padding:8px}.pos-dropdown-link{color:#6c727f;text-decoration:none;font-weight:600;font-size:14px;padding:10px 14px;border-radius:8px;transition:all .2s;display:block}.pos-dropdown-link:hover{background:#f4f7fe;color:#19191c}.pos-dropdown-link.active{color:var(--primary-orange);background:#fff1eb;font-weight:700}.pos-topactions{display:flex;gap:12px;align-items:center}.pos-neworder-btn{background:var(--primary-orange);color:#fff;border:0;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer}.pos-icon-btn{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:10px;cursor:pointer}.pos-user-chip{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--border-color);border-radius:16px;padding:8px 10px}.pos-avatar{width:34px;height:34px;border-radius:999px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}.pos-user-name{font-weight:700;font-size:13px;line-height:1}.pos-user-role{font-size:11px;color:#8b90a0;line-height:1}.pos-logout-btn{border:1px solid var(--primary-orange);color:var(--primary-orange);background:transparent;border-radius:12px;padding:10px 12px;font-weight:700;cursor:pointer}.pos-logout-btn:hover{background:var(--primary-orange);color:#fff}.pos-shell{flex:1;overflow:auto;background:var(--grey-bg)}.pos-page{min-height:100%;display:flex;flex-direction:column}.pos-order-grid{display:grid;grid-template-columns:1fr 360px;gap:12px;padding:8px 24px 24px;height:100%;box-sizing:border-box}.pos-products{overflow:auto;padding-right:6px}.product-image{width:90px;height:90px;object-fit:contain;margin:10px auto 4px;display:block}.product-name{font-weight:700;margin-top:6px}.product-price{color:var(--primary-orange);font-weight:800;margin-top:6px}.product-actions{display:flex;gap:10px;justify-content:center;margin-top:12px}.qty-btn{width:36px;height:36px;border-radius:10px;border:1px solid var(--border-color);background:#fff;cursor:pointer;font-weight:900}.qty-add{width:36px;height:36px;border-radius:10px;border:0;background:var(--primary-orange);color:#fff;cursor:pointer;font-weight:900}.cart-panel{background:#fff;border:1px solid var(--border-color);border-radius:18px;display:flex;flex-direction:column;overflow:hidden}.cart-head{padding:16px 16px 10px;border-bottom:1px solid var(--border-color)}.cart-invoice{font-size:11px;color:#9ea3ae;margin-bottom:10px}.cart-brand{display:flex;gap:10px;align-items:center;margin-bottom:10px}.cart-brand-logo{width:34px;height:34px;border-radius:10px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.cart-brand-title{font-weight:900}.cart-brand-sub{font-size:12px;color:#9ea3ae}.cart-meta{display:flex;justify-content:space-between;color:#9ea3ae;font-size:12px}.cart-table{color:var(--primary-orange);font-weight:800}.cart-items{padding:10px 12px;overflow:auto;flex:1}.cart-empty{color:#9ea3ae;text-align:center;padding:24px}.cart-row{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:14px}.cart-row:hover{background:#fafafa}.cart-thumb{width:46px;height:46px;object-fit:contain;border-radius:12px;border:1px solid var(--border-color);background:#fff}.cart-row-name{font-weight:800}.cart-row-sub{font-size:12px;color:#9ea3ae;margin-top:2px}.cart-qty{display:flex;gap:8px;align-items:center;margin-top:8px}.qty-box{width:36px;height:36px;border-radius:10px;border:1px solid var(--border-color);display:flex;align-items:center;justify-content:center;font-weight:800}.cart-row-right{font-weight:900;color:var(--primary-orange)}.cart-foot{padding:14px;border-top:1px solid var(--border-color)}.cart-total{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:12px}.cart-total-title{font-weight:900}.cart-total-sub{font-size:12px;color:#9ea3ae}.cart-total-money{font-size:26px;font-weight:1000;color:var(--primary-orange)}.cart-btn{width:100%;padding:12px;border-radius:14px;font-weight:900;cursor:pointer;border:1px solid var(--border-color);background:#fff;margin-top:10px}.cart-btn.pay{background:var(--primary-green);border-color:var(--primary-green);color:#fff}.cart-btn.ghost:hover{background:#fafafa}.page-pad{padding:24px}.settings-grid{display:flex;flex-direction:column;gap:18px;margin-top:16px}.menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;width:100%}.menu-card{background:#fff;border:1px solid var(--border-color);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px;transition:transform .2s,box-shadow .2s}.menu-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000000f}.menu-card-header{display:flex;gap:14px;align-items:flex-start}.menu-card-img{width:72px;height:72px;border-radius:12px;object-fit:cover;background:#f5f5f5;border:1px solid var(--border-color)}.menu-card-info{flex:1}.menu-card-title{font-weight:800;font-size:15px;color:#19191c;line-height:1.3;margin-bottom:4px}.menu-card-price{font-weight:900;color:var(--primary-orange);font-size:16px}.menu-card-meta{font-size:13px;color:#6c727f;margin-top:4px}.menu-card-actions{display:flex;gap:8px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--border-color)}.menu-card-btn{flex:1;padding:8px;border-radius:10px;border:1px solid var(--border-color);background:#fff;font-weight:700;font-size:13px;cursor:pointer;color:#4b5563;transition:background .2s}.menu-card-btn:hover{background:#f3f4f6;color:#111827}.menu-card-btn.delete{color:#dc2626}.menu-card-btn.delete:hover{background:#fee2e2;border-color:#fca5a5}.card{background:#fff;border:1px solid var(--border-color);border-radius:18px}.cat-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border-color);border-radius:14px}.cat-left{display:flex;align-items:center;gap:12px}.cat-icon{width:42px;height:42px;border-radius:14px;border:1px solid var(--border-color);display:flex;align-items:center;justify-content:center;font-weight:900;background:#fff}.cat-name{font-weight:900}.cat-sub{font-size:12px;color:#9ea3ae;margin-top:2px}.cat-actions{display:flex;gap:8px}.modal-backdrop{position:fixed;inset:0;background:#00000059;display:flex;align-items:flex-start;justify-content:center;z-index:9999;overflow-y:auto;padding:40px 16px;box-sizing:border-box}.modal-card{width:520px;max-width:92vw;background:#fff;border-radius:18px;border:1px solid var(--border-color);box-shadow:0 20px 60px #0000002e;padding:18px;position:relative;margin:auto}.modal-card.wide{width:780px}.modal-card.receipt{width:520px}.modal-x{position:absolute;right:14px;top:10px;width:36px;height:36px;border-radius:12px;border:1px solid var(--border-color);background:#fff;cursor:pointer;font-size:22px;line-height:1}.modal-title{font-weight:1000;font-size:18px;margin-top:6px}.modal-title.center{text-align:center}.modal-sub{color:#9ea3ae;font-size:12px;margin-top:6px}.modal-sub.center{text-align:center}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.btn-soft{padding:10px 16px;border-radius:14px;border:1px solid var(--border-color);background:#fff;font-weight:900;cursor:pointer;white-space:nowrap}.btn-primary{padding:10px 16px;border-radius:14px;border:0;background:var(--primary-orange);color:#fff;font-weight:900;cursor:pointer;white-space:nowrap}.modal-note{margin-top:6px;color:#6c727f;font-size:13px}.confirm-table{margin-top:14px;border-top:1px solid var(--border-color)}.confirm-head,.confirm-row{display:grid;grid-template-columns:1fr 80px 120px 140px;gap:10px;padding:10px 0;border-bottom:1px solid var(--border-color);font-size:13px}.confirm-head{color:#9ea3ae;font-weight:900}.confirm-row{font-weight:700}.right{text-align:right}.center{text-align:center}.confirm-sum,.confirm-total{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.confirm-sum .muted{color:#9ea3ae}.total-money{color:var(--primary-orange);font-weight:1000}.receipt-brand{font-size:44px;font-weight:1000;text-align:center;margin-top:8px}.receipt-brand span{color:#111}.receipt-brand{color:var(--primary-orange)}.receipt-sub{text-align:center;color:#6c727f;font-weight:800;margin-bottom:14px}.receipt-block{color:#333;line-height:1.6;border-top:1px solid var(--border-color);padding-top:12px;margin-top:10px}.receipt-table{margin-top:14px;border:1px solid var(--border-color);border-radius:14px;overflow:hidden}.rt-head,.rt-row{display:grid;grid-template-columns:1fr 80px 120px;padding:12px;gap:10px}.rt-head{background:#f4f7fe;font-weight:1000;color:#6c727f}.rt-row{border-top:1px solid var(--border-color);font-weight:700}.rt-total{display:flex;justify-content:space-between;padding:12px;border-top:1px solid var(--border-color)}@media print{body *{visibility:hidden!important}.print-area,.print-area *{visibility:visible!important}.modal-backdrop{background:transparent!important}.print-area{position:fixed;left:0;top:0;width:100%;box-shadow:none!important;border:none!important}.no-print{display:none!important}}@media(max-width:1024px){.pos-order-grid{grid-template-columns:1fr 320px;padding:12px}}@media(max-width:820px){.auth-container{flex-direction:column;width:90vw;margin:20px 0}.auth-image-side{display:none}.auth-form-side{padding:30px 20px}.auth-title{font-size:1.6rem}.main-wrapper{flex-direction:column;padding-bottom:calc(70px + env(safe-area-inset-bottom))}.hide-on-mobile{display:none!important}.pos-topbar{padding:10px 16px;height:70px;border-bottom:none}.mobile-menu-btn{display:flex;align-items:center;justify-content:center}.pos-topnav{display:none;position:absolute;top:70px;left:0;width:100%;background:#fff;flex-direction:column;padding:16px 24px;box-shadow:0 10px 20px #0000000d;border-bottom:1px solid var(--border-color);z-index:1000}.pos-topnav.mobile-open{display:flex}.pos-toplink{font-size:16px;padding:12px 0;width:100%;text-align:left;margin-bottom:0;border-bottom:1px solid #f1f3f5}.pos-toplink:last-child{border-bottom:none}.pos-toplink.active:after{left:0;right:auto;width:100%;height:2px}.pos-dropdown-menu{position:static;margin-top:0;box-shadow:none;border:none;border-radius:0;padding:0 0 0 16px;background:transparent}.pos-brand{margin-right:16px}.sidebar-nav{display:none!important}.sub-nav{display:flex;flex-wrap:nowrap!important;overflow-x:auto;padding:12px 16px;gap:8px;-webkit-overflow-scrolling:touch;border-bottom:1px solid var(--border-color)}.sub-nav::-webkit-scrollbar{display:none}.pos-order-grid{grid-template-columns:1fr;grid-template-rows:1fr auto;padding:12px 12px 220px;gap:12px;overflow-y:auto}.pos-products{overflow:visible;padding-right:0}.product-card{padding:10px;border-radius:12px}.product-image{width:64px;height:64px;margin-bottom:0}.product-name{font-size:13px;margin-top:4px}.product-price{font-size:14px;margin-top:2px}.product-card .qty-btn,.product-card .qty-add{width:32px;height:32px;font-size:16px}.cart-panel{position:fixed;bottom:80px;left:12px;right:12px;background:#fff;border-radius:16px;box-shadow:0 -8px 24px #00000026;z-index:900;pointer-events:auto}.cart-head{display:none}.cart-items{max-height:25vh;padding:6px}.cart-row{padding:4px 8px;grid-template-columns:32px 1fr auto;gap:10px;margin-bottom:2px}.cart-thumb{width:32px;height:32px;border-radius:8px}.cart-row-name{font-size:12px;line-height:1.2}.cart-row-sub{display:none}.cart-qty{margin-top:4px;gap:4px}.cart-row .qty-btn,.cart-row .qty-add{width:24px;height:24px;font-size:14px;padding:0;line-height:1}.qty-box{width:24px;height:24px;font-size:12px}.cart-row-right{font-size:14px}.cart-foot{padding:8px 12px}.cart-total{margin-bottom:6px}.cart-total-title{font-size:13px}.cart-total-money{font-size:18px}.cart-btn{padding:8px;font-size:13px;margin-top:4px;border-radius:10px}.page-pad{padding:12px}.modal-card{width:95vw!important;max-width:none;padding:16px}.cashier-modal-card{width:95vw!important;padding:16px}.table-container,.overflow-x-auto{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%}.inv-table,.sales-table,.confirm-table{min-width:650px}.settings-grid{grid-template-columns:1fr}}@media(max-width:480px){.product-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.pos-topactions{gap:6px}.pos-user-name{display:none}}.members-page .inv-table{width:100%;border-collapse:collapse}.members-page .inv-table th,.members-page .inv-table td{padding:12px 16px;vertical-align:middle;border-bottom:1px solid var(--border-color)}.members-page .inv-table th{font-weight:600;color:#6c727f;background:#fafafa}.members-page .inv-table tbody tr:hover{background:#f9fafb}@media(max-width:820px){.members-segment-control{display:flex!important;background:#f1f3f5;border-radius:999px;padding:4px;margin-bottom:20px}.members-segment-btn{flex:1;padding:10px 0;text-align:center;border-radius:999px;font-weight:700;font-size:14px;color:#6c727f;background:transparent;border:none;cursor:pointer;transition:all .2s}.members-segment-btn.active{background:var(--primary-orange);color:#fff;box-shadow:0 2px 8px #ee573266}.members-desktop-grid{display:block!important}.members-page .inv-table thead{display:none}.members-page .inv-table,.members-page .inv-table tbody,.members-page .inv-table tr,.members-page .inv-table td{display:block;width:100%;min-width:0!important;box-sizing:border-box;text-align:left!important}.members-page .overflow-x-auto{border:none!important}.members-page .inv-table tbody tr{background:#fff;border:1px solid var(--border-color);border-radius:14px;margin-bottom:16px;padding:16px;box-shadow:0 4px 10px #00000005;position:relative;display:flex;flex-wrap:wrap;align-items:center}.members-page .inv-table td{padding:4px 0;border:none}.members-page .inv-table td:nth-child(1){font-size:18px;font-weight:800;width:60%!important}.members-page .inv-table td:nth-child(2){width:100%!important;color:#8b90a0;font-size:14px;order:3;margin-top:-4px;margin-bottom:12px}.members-page .inv-table td:nth-child(3){width:40%!important;text-align:right!important;display:flex;justify-content:flex-end}.members-page .inv-table td:nth-child(4){width:50%!important;order:4}.members-page .inv-table td:nth-child(4):before{content:attr(data-label);font-size:12px;color:#9ea3ae;margin-right:6px;font-weight:400}.members-page .inv-table td:nth-child(5){width:50%!important;order:5;text-align:right!important}.members-page .inv-table td:nth-child(5) button{width:100%;padding:8px 0!important}}.sales-history-page .sales-table{width:100%;border-collapse:collapse;table-layout:fixed}.sales-history-page .sales-table th,.sales-history-page .sales-table td{padding:12px 16px;vertical-align:middle;text-align:left}.sales-history-page .sales-table thead th{font-weight:600;color:#6c727f;background:#fafafa;border-bottom:1px solid var(--border-color);position:sticky;top:0;z-index:10}.sales-history-page .table-container{overflow-y:auto;max-height:60vh}.sales-history-page .sales-table tbody tr{border-bottom:1px solid #F0F0F0}.sales-history-page .sales-table tbody tr:last-child{border-bottom:none}.sales-history-page .sales-table tbody tr:hover{background:#fff7f3}.sales-history-page .col-right{text-align:right}.sales-history-page .payment-badge{padding:4px 10px;border-radius:999px;background:#f4f7fe;color:#4b5563;font-size:12px;font-weight:600;display:inline-block;text-transform:uppercase;letter-spacing:.3px}.sales-history-page .date-main{font-weight:600}.sales-history-page .date-sub{font-size:12px;color:#9ea3ae}@media(max-width:820px){.sales-history-page .page-pad>div:nth-child(2){flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:8px;-webkit-overflow-scrolling:touch}.sales-history-page .page-pad>div:nth-child(2)::-webkit-scrollbar{display:none}.sales-history-page .sales-table thead{display:none}.sales-history-page .sales-table,.sales-history-page .sales-table tbody,.sales-history-page .sales-table tr,.sales-history-page .sales-table td{display:block;width:100%;min-width:0!important;box-sizing:border-box;text-align:left!important}.sales-history-page .sales-table tbody tr{background:#fff;border:1px solid var(--border-color);border-radius:14px;margin-bottom:12px;padding:14px 16px;box-shadow:0 4px 10px #00000005;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;transition:background .2s}.sales-history-page .sales-table tbody tr:active{background:#f9fafb}.sales-history-page .hide-on-mobile{display:none!important}.sales-history-page .sales-table td{padding:0;border:none;position:relative}.sales-history-page .sales-table td:before{display:none}.sales-history-page .sales-table td.col-receipt{width:60%;font-size:16px;font-weight:900;color:#19191c;order:1;margin-bottom:6px}.sales-history-page .sales-table td[data-label="Net Total"],.sales-history-page .sales-table td[data-label=ยอดสุทธิ]{width:40%;font-size:18px;text-align:right!important;order:2;margin-bottom:6px}.sales-history-page .sales-table td.col-date{width:100%;order:3;display:flex;justify-content:space-between;align-items:center;color:#9ea3ae}.sales-history-page .date-main,.sales-history-page .date-sub{display:inline-block;font-size:13px;color:#8b90a0;font-weight:500}.sales-history-page .date-sub{margin-left:6px}.sales-history-page .date-sub:before{content:"•";margin-right:6px;color:#ddd}.sales-history-page .col-date:after{content:"ดูรายละเอียด ❯";color:var(--primary-orange);font-size:12px;font-weight:700}}.monthly-summary-page .monthly-summary-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.monthly-summary-filters{display:flex;gap:8px;align-items:center}.monthly-summary-filters .summary-select{padding:8px 12px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;font-size:14px;cursor:pointer}.summary-loading{text-align:center;padding:48px 16px;color:#6b7280}.summary-cards{display:flex;flex-direction:column;gap:20px;max-width:480px}.summary-card{padding:20px;border-radius:12px;box-shadow:0 1px 3px #00000014;border:1px solid #e5e7eb}.summary-card.revenue{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#a7f3d0}.summary-card.expense-section{background:#fff}.summary-card.expense-section .summary-card-label{font-weight:700;color:#374151;margin-bottom:12px;font-size:1rem}.summary-card-detail{display:flex;justify-content:space-between;padding:6px 0;color:#4b5563;font-size:14px}.summary-card-total{display:flex;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb;font-weight:700;font-size:1rem;color:#111}.summary-card.profit{font-weight:700}.summary-card.profit.positive{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#93c5fd;color:#1e40af}.summary-card.profit.negative{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#fecaca;color:#b91c1c}.summary-card-label{font-size:.875rem;color:#6b7280;margin-bottom:4px}.summary-card-value{font-size:1.5rem;font-weight:700}@media(min-width:640px){.summary-cards{max-width:560px}}
