@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700;800&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap";:root{--pos-primary: #ea580c;--pos-primary-hover: #c2410c;--pos-primary-light: #fff7ed;--pos-primary-border: #ffedd5;--pos-primary-glow: rgba(234, 88, 12, .18);--pos-success: #059669;--pos-success-hover: #047857;--pos-success-light: #ecfdf5;--pos-success-border: #a7f3d0;--pos-success-glow: rgba(5, 150, 105, .15);--pos-warning: #d97706;--pos-warning-hover: #b45309;--pos-warning-light: #fffbeb;--pos-warning-border: #fde68a;--pos-info: #0284c7;--pos-info-hover: #0369a1;--pos-info-light: #f0f9ff;--pos-info-border: #bae6fd;--pos-danger: #e11d48;--pos-danger-hover: #be123c;--pos-danger-light: #fff1f2;--pos-danger-border: #fecdd3;--pos-bg: #f8fafc;--pos-card: #ffffff;--pos-panel-bg: #ffffff;--pos-header-bg: #ffffff;--pos-sidebar-bg: #ffffff;--pos-border: #e2e8f0;--pos-border-subtle: #f1f5f9;--pos-border-strong: #cbd5e1;--pos-border-focus: #ea580c;--pos-text: #0f172a;--pos-text-secondary: #334155;--pos-text-muted: #64748b;--pos-text-light: #94a3b8;--font-sans: "Plus Jakarta Sans", "Prompt", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;--pos-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, .05);--pos-shadow-card: 0 1px 3px 0 rgba(15, 23, 42, .05), 0 1px 2px -1px rgba(15, 23, 42, .03);--pos-shadow-hover: 0 10px 25px -3px rgba(15, 23, 42, .08), 0 4px 6px -2px rgba(15, 23, 42, .03);--pos-shadow-modal: 0 25px 60px -15px rgba(15, 23, 42, .25), 0 0 0 1px rgba(15, 23, 42, .05);--transition-smooth: all .2s cubic-bezier(.4, 0, .2, 1)}*{box-sizing:border-box;margin:0;padding:0}html,body{font-family:var(--font-sans);background-color:var(--pos-bg)!important;color:var(--pos-text)!important;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden!important}body.theme-premium-light,body.theme-premium-dark,body{background-color:var(--pos-bg)!important;color:var(--pos-text)!important;display:flex;flex-direction:column;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.glass-panel{background:var(--pos-card)!important;border:1px solid var(--pos-border)!important;border-radius:14px;box-shadow:var(--pos-shadow-card);color:var(--pos-text)!important}.form-label,.pos-view-section .form-label,.pos-modal .form-label,.glass-panel .form-label,body .form-label{position:static!important;display:block!important;font-size:12px!important;font-weight:700!important;color:var(--pos-text-secondary)!important;margin-bottom:6px!important;transform:none!important;left:auto!important;top:auto!important;line-height:1.4!important}.form-group{margin-bottom:14px}.form-control,.pos-view-section .form-control,.pos-modal .form-control,.glass-panel .form-control,body .form-control{width:100%;padding:9px 13px;background:#fff!important;border:1px solid var(--pos-border-strong)!important;border-radius:9px;color:var(--pos-text)!important;font-size:13px;font-family:inherit;outline:none;transition:var(--transition-smooth);box-sizing:border-box}.form-control:focus,.pos-view-section .form-control:focus,.pos-modal .form-control:focus,.glass-panel .form-control:focus,body .form-control:focus{border-color:var(--pos-primary)!important;box-shadow:0 0 0 3px var(--pos-primary-glow)!important;background:#fff!important}select option{background-color:#fff;color:#0f172a}.pos-header{height:60px;min-height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--pos-border);z-index:100;background:var(--pos-header-bg);box-shadow:0 1px 3px #0000000a}.pos-logo-area{display:flex;align-items:center;gap:10px;text-decoration:none}.pos-logo-text{font-size:20px;font-weight:800;color:var(--pos-text);letter-spacing:-.5px}.pos-logo-text span{color:var(--pos-primary)}.pos-header-actions{display:flex;align-items:center;gap:14px}.pos-tenant-selector{background:#f8fafc;border:1px solid var(--pos-border-strong);color:var(--pos-text);padding:7px 14px;border-radius:9px;font-family:inherit;font-weight:600;font-size:13px;outline:none;cursor:pointer;transition:var(--transition-smooth)}.pos-tenant-selector:focus{border-color:var(--pos-primary);box-shadow:0 0 0 3px var(--pos-primary-glow)}.pos-tier-badge{padding:4px 10px;border-radius:99px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;display:inline-flex;align-items:center;gap:4px}.pos-tier-badge.pro{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.pos-tier-badge.free{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.pos-tier-badge.live-sync{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}#pos-tenant-id-badge{background:#f0f9ff!important;color:#0284c7!important;border:1px solid #bae6fd!important;font-size:11px!important;font-weight:800!important;padding:4px 10px!important;border-radius:6px!important;font-family:var(--font-mono)!important;letter-spacing:.5px!important}#user-display-name{color:#0f172a!important}#user-avatar-badge{background:linear-gradient(135deg,#ea580c,#f97316)!important;color:#fff!important;box-shadow:0 2px 8px #ea580c4d!important}#btn-header-login-toggle{background:#fff!important;border:1px solid #cbd5e1!important;color:#334155!important;padding:6px 12px!important;border-radius:8px!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important;transition:all .2s ease!important}#btn-header-login-toggle:hover{background:#f8fafc!important;color:#0f172a!important;border-color:#94a3b8!important}.pos-app-container{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;height:calc(100vh - 60px);height:calc(100dvh - 60px)}.pos-sidebar{width:240px;min-width:240px;height:100%;min-height:0;flex-shrink:0;border-right:1px solid var(--pos-border);padding:14px 16px;display:flex;flex-direction:column;justify-content:space-between;background:var(--pos-sidebar-bg);position:relative;transition:width .25s cubic-bezier(.4,0,.2,1),min-width .25s cubic-bezier(.4,0,.2,1),padding .25s cubic-bezier(.4,0,.2,1);z-index:40}.pos-sidebar.collapsed{width:72px;min-width:72px;padding:16px 10px}.pos-sidebar.collapsed .pos-nav-item{justify-content:center;padding:11px 0}.pos-sidebar.collapsed .pos-nav-item span,.pos-sidebar.collapsed .pos-sidebar-back-link span,.pos-sidebar.collapsed .pos-back-home-link span,.pos-sidebar.collapsed .back-home-label,.pos-sidebar.collapsed .collapse-label,.pos-sidebar.collapsed #sidebar-collapse-label{display:none!important}.pos-sidebar.collapsed .pos-sidebar-back-link,.pos-sidebar.collapsed .pos-back-home-link,.pos-sidebar.collapsed .pos-sidebar-collapse-btn{justify-content:center;padding:9px 0!important}.pos-sidebar-collapse-handle{position:absolute;top:50%;right:-13px;transform:translateY(-50%);width:26px;height:52px;border-radius:99px;background:#fff;border:1.5px solid #cbd5e1;color:#475569;display:flex;align-items:center;justify-content:center;font-size:11px;cursor:pointer;box-shadow:0 2px 8px #0f172a14;transition:all .2s ease;z-index:50}.pos-sidebar-collapse-handle:hover{background:#fff7ed;border-color:var(--pos-primary);color:var(--pos-primary);box-shadow:0 4px 12px #ea580c33}.pos-sidebar-collapse-btn{display:flex;align-items:center;gap:8px;width:100%;padding:9px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;color:#475569;font-size:12.5px;font-weight:700;font-family:inherit;cursor:pointer;transition:all .2s ease}.pos-sidebar-collapse-btn:hover{background:#fff7ed;border-color:#fed7aa;color:var(--pos-primary)}.pos-sidebar-back-link:hover{background:#f1f5f9;color:#0f172a!important}.pos-nav-list{display:flex;flex-direction:column;gap:6px;list-style:none}.pos-nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border-radius:10px;border:none;background:transparent;color:var(--pos-text-muted);text-decoration:none;text-align:left;font-family:inherit;font-weight:600;font-size:13px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-moz-user-select:none;user-select:none;-webkit-user-select:none;transition:var(--transition-smooth)}.pos-nav-item svg,.pos-nav-item span{pointer-events:none}.pos-nav-item svg{width:19px;height:19px;flex-shrink:0;stroke-width:2.2px;transition:var(--transition-smooth)}.pos-nav-item:hover{color:var(--pos-text);background:#f1f5f9}.pos-nav-item.active{color:var(--pos-primary);background:var(--pos-primary-light);font-weight:700}.pos-nav-item.active svg{color:var(--pos-primary)}.pos-views-container{flex:1 1 auto;min-width:0;min-height:0;height:100%;overflow-y:auto;padding:16px 20px;position:relative;background:var(--pos-bg)}.pos-view-section{display:none!important;animation:fadeIn .3s ease-out forwards}.pos-view-section.active{display:block!important}#view-cashier.pos-view-section.active{display:flex!important;flex-direction:column!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.pos-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:24px}.stat-card{padding:20px;display:flex;justify-content:space-between;align-items:center;transition:var(--transition-smooth)}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--pos-shadow-hover)}.stat-info .stat-value{font-size:26px;font-weight:800;color:var(--pos-text);margin-top:4px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.stat-info .stat-label{font-size:12px;font-weight:600;color:var(--pos-text-muted)}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800}.stat-icon.primary{background:#fff7ed;color:#ea580c;border:1px solid #ffedd5}.stat-icon.success{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.stat-icon.info{background:#f0f9ff;color:#0284c7;border:1px solid #bae6fd}.stat-icon.warning{background:#fffbeb;color:#d97706;border:1px solid #fde68a}.pos-dashboard-row{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:24px}@media (max-width: 992px){.pos-dashboard-row{grid-template-columns:1fr}}.chart-card,.popular-card{padding:20px}.card-title{font-size:15px;font-weight:800;color:var(--pos-text);margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.popular-item{display:flex;align-items:center;gap:12px;margin-bottom:14px}.popular-img{width:44px;height:44px;border-radius:8px;-o-object-fit:cover;object-fit:cover;border:1px solid var(--pos-border)}.popular-details{flex:1}.popular-progress-bar{height:6px;background:#f1f5f9;border-radius:3px;margin-top:6px;overflow:hidden}.popular-progress-fill{height:100%;background:linear-gradient(90deg,#ea580c,#f97316);border-radius:3px}.pos-table{width:100%;border-collapse:collapse;margin-top:8px;background:#fff}.pos-table th,.pos-table td{padding:12px 14px;text-align:left}.pos-table th{background:#f8fafc;color:#475569;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid var(--pos-border)}.pos-table td{font-size:13px;color:#334155;border-bottom:1px solid var(--pos-border-subtle)}.pos-table tr:hover td{background:#f8fafc}.pos-cashier-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;grid-template-rows:minmax(0,1fr);gap:18px;flex:1 1 auto;min-height:0;height:100%;max-height:100%;overflow:hidden;align-items:stretch}@media (max-width: 1200px) and (min-width: 900px){.pos-views-container{padding:12px 14px}.pos-cashier-grid{grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:minmax(0,1fr);gap:14px;height:100%}.menu-items-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}}@media (max-width: 899px) and (min-width: 640px){.pos-views-container{padding:10px 12px}.pos-cashier-grid{grid-template-columns:minmax(0,1fr) 295px;grid-template-rows:minmax(0,1fr);gap:12px;height:100%}.menu-items-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.cart-sidebar-container{padding:12px 14px}}@media (max-width: 639px){#view-cashier.pos-view-section.active{height:auto!important;max-height:none!important;overflow:visible!important}.pos-cashier-grid{grid-template-columns:1fr;grid-template-rows:auto;height:auto;max-height:none;overflow:visible}.cart-sidebar-container{height:520px}}.pos-menu-column{display:flex;flex-direction:column;gap:12px;height:100%;min-height:0;max-height:100%;overflow:hidden;padding-right:4px}.search-filter-bar{display:flex;gap:12px;align-items:center;flex-shrink:0}.search-box-wrapper{position:relative;flex:1}.search-input{width:100%;background:#fff;border:1px solid var(--pos-border-strong);color:var(--pos-text);padding:10px 16px 10px 42px;border-radius:10px;outline:none;font-family:inherit;font-size:13px;font-weight:500;transition:var(--transition-smooth)}.search-input:focus{border-color:var(--pos-primary);box-shadow:0 0 0 3px var(--pos-primary-glow)}.search-icon-svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--pos-text-muted)}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;flex-shrink:0}.category-tab-btn{background:#fff;border:1px solid var(--pos-border-strong);color:#475569;padding:7px 16px;border-radius:99px;cursor:pointer;white-space:nowrap;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;transition:var(--transition-smooth)}.category-tab-btn:hover{background:#f8fafc;color:#0f172a;border-color:#94a3b8}.category-tab-btn.active{background:var(--pos-primary)!important;color:#fff!important;border-color:var(--pos-primary)!important;font-weight:700!important;box-shadow:0 2px 8px #ea580c40!important}.menu-items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-auto-rows:max-content!important;gap:16px;flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-right:4px;padding-bottom:24px}.menu-card{border:1px solid var(--pos-border);border-radius:14px;overflow:hidden;cursor:pointer;transition:var(--transition-smooth);display:flex;flex-direction:column;height:100%;min-height:220px;position:relative;background:#fff;box-shadow:var(--pos-shadow-card)}.menu-card:hover{transform:translateY(-3px);border-color:var(--pos-primary);box-shadow:var(--pos-shadow-hover)}.menu-card-img-wrapper{position:relative;width:100%;height:140px!important;min-height:140px!important;max-height:140px!important;padding-top:0!important;flex-shrink:0!important;overflow:hidden;background:#f1f5f9}.menu-card-img{position:absolute;top:0;left:0;width:100%!important;height:100%!important;-o-object-fit:cover!important;object-fit:cover!important;-o-object-position:center!important;object-position:center!important;display:block;transition:transform .3s ease}.menu-card:hover .menu-card-img{transform:scale(1.06)}.menu-card-category{position:absolute;top:8px;left:8px;background:#ffffffeb;backdrop-filter:blur(4px);padding:2px 8px;border-radius:6px;font-size:10px;font-weight:700;color:#c2410c;border:1px solid #ffedd5;text-transform:uppercase;z-index:2}.menu-card-details{padding:10px 12px;flex:1 0 auto;min-height:78px;display:flex;flex-direction:column;justify-content:space-between;gap:6px;background:#fff}.menu-card-name{font-size:13.5px;font-weight:700;line-height:1.4;color:var(--pos-text)}.menu-card-footer{display:flex;justify-content:space-between;align-items:center}.menu-card-price{font-size:16px;font-weight:800;color:var(--pos-primary)}.menu-card-add-btn{width:30px;height:30px;border-radius:50%;background:#fff7ed;border:1.5px solid var(--pos-primary);color:var(--pos-primary);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;transition:var(--transition-smooth)}.menu-card:hover .menu-card-add-btn{background:var(--pos-primary);color:#fff}.menu-card.out-of-stock{opacity:.6;pointer-events:none}.menu-card.out-of-stock:before{content:"OUT OF STOCK";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-12deg);background:var(--pos-danger);color:#fff;padding:4px 10px;font-size:11px;font-weight:800;border-radius:6px;z-index:10;box-shadow:0 4px 12px #0003}.cart-sidebar-container{display:flex;flex-direction:column;height:100%;min-height:0;max-height:100%;overflow:hidden;padding:14px 16px;background:#fff!important;border:1px solid var(--pos-border)!important;border-radius:16px!important}.cart-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--pos-border);padding-bottom:10px;margin-bottom:10px;flex-shrink:0}.cart-title-text{font-size:16px;font-weight:800;color:var(--pos-text);display:flex;align-items:center;gap:8px}.cart-items-list{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;display:flex;flex-direction:column;gap:8px;padding-right:4px;margin-bottom:8px}.cart-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--pos-text-muted);text-align:center;gap:10px}.cart-item{display:flex;flex-direction:column;gap:6px;padding:10px 12px;background:#f8fafc;border:1px solid var(--pos-border);border-radius:10px}.cart-item-row1{display:flex;justify-content:space-between;align-items:flex-start}.cart-item-name{font-size:13px;font-weight:700;color:var(--pos-text);max-width:190px}.cart-item-price{font-size:13.5px;font-weight:800;color:var(--pos-text)}.cart-item-row2{display:flex;justify-content:space-between;align-items:center}.cart-item-notes{font-size:11px;color:#c2410c;font-style:italic;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.cart-item-notes:hover{text-decoration:underline}.cart-item-qty-ctrl{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--pos-border);padding:2px 6px;border-radius:6px}.qty-btn{background:none;border:none;color:#334155;width:22px;height:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:15px;font-weight:700;border-radius:4px;transition:var(--transition-smooth)}.qty-btn:hover{background:#f1f5f9;color:var(--pos-primary)}.qty-val{font-size:13px;font-weight:700;color:var(--pos-text);min-width:18px;text-align:center}.cart-item-delete{background:none;border:none;color:var(--pos-danger);cursor:pointer;opacity:.8;transition:var(--transition-smooth);padding:2px 4px}.cart-item-delete:hover{opacity:1;color:#be123c}.cart-summary{border-top:1px solid var(--pos-border);padding-top:10px;display:flex;flex-direction:column;gap:5px;flex-shrink:0}.summary-row{display:flex;justify-content:space-between;font-size:12px;color:var(--pos-text-muted)}.summary-row.total{font-size:15.5px;font-weight:800;color:var(--pos-text);border-top:1px dashed var(--pos-border);padding-top:6px;margin-top:2px}.summary-row.total .total-price{color:var(--pos-primary);font-size:19px;font-weight:900}.coupon-wrapper{display:flex;gap:8px;margin-top:2px}.coupon-input{flex:1;background:#f8fafc;border:1px solid var(--pos-border-strong);color:var(--pos-text);padding:6px 10px;border-radius:8px;font-size:12px;outline:none;font-family:inherit}.coupon-btn{background:#fff7ed;border:1px solid #fdba74;color:#c2410c;padding:6px 12px;border-radius:8px;font-size:12px;cursor:pointer;font-weight:700;font-family:inherit;transition:var(--transition-smooth)}.coupon-btn:hover{background:#ea580c;color:#fff}.cart-checkout-btn{background:linear-gradient(135deg,#ea580c,#f97316);color:#fff;border:none;padding:10px 8px;border-radius:10px;font-weight:800;font-size:13px;cursor:pointer;margin-top:0;font-family:inherit;box-shadow:0 4px 14px #ea580c4d;transition:var(--transition-smooth)}.cart-checkout-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px #ea580c66}#btn-send-to-kitchen{padding:10px 8px;border-radius:10px;font-weight:700;font-size:13px;border:1.5px solid var(--pos-primary);color:var(--pos-primary);background:#fff;transition:var(--transition-smooth);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit}#btn-send-to-kitchen:hover{background:#fff7ed}.cart-checkout-btn:disabled,#btn-send-to-kitchen:disabled{background:#f1f5f9!important;color:#94a3b8!important;border:1px solid #e2e8f0!important;box-shadow:none!important;cursor:not-allowed!important;transform:none!important}.kds-boards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;height:calc(100vh - 140px);overflow:hidden}@media (max-width: 992px){.kds-boards{grid-template-columns:1fr;height:auto;overflow:visible}}.kds-column{display:flex;flex-direction:column;gap:14px;height:100%}.kds-column-header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-radius:10px;border-left:4px solid}.kds-column-header.pending{background:#fffbeb;border-color:#d97706;color:#b45309}.kds-column-header.cooking{background:#f0f9ff;border-color:#0284c7;color:#0369a1}.kds-column-header.served{background:#ecfdf5;border-color:#059669;color:#047857}.kds-column-title{font-size:14px;font-weight:800;display:flex;align-items:center;gap:8px}.kds-count-badge{padding:2px 8px;border-radius:99px;font-size:11px;font-weight:800;background:#fff;box-shadow:0 1px 3px #00000014}.kds-order-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding-right:4px}.kds-order-card{padding:16px;border-radius:12px;border:1px solid var(--pos-border);background:#fff;box-shadow:var(--pos-shadow-sm);transition:var(--transition-smooth)}.kds-order-card:hover{box-shadow:var(--pos-shadow-hover);border-color:#cbd5e1}.kds-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;border-bottom:1px dashed var(--pos-border);padding-bottom:8px}.kds-card-table{font-size:14px;font-weight:800;color:var(--pos-text)}.kds-card-time{font-size:11px;color:var(--pos-text-muted)}.kds-card-items{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.kds-card-item{display:flex;justify-content:space-between;font-size:13px;color:#1e293b}.kds-card-item-qty{font-weight:800;color:var(--pos-primary);margin-right:6px}.kds-card-item-note{font-size:11px;color:#b45309;background:#fffbeb;padding:2px 6px;border-radius:4px;margin-top:2px;font-style:italic;display:inline-block}.kds-action-btn{width:100%;border:none;padding:9px;border-radius:8px;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:var(--transition-smooth)}.kds-action-btn.pending{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.kds-action-btn.pending:hover{background:#f59e0b;color:#fff}.kds-action-btn.cooking{background:#f0f9ff;color:#0284c7;border:1px solid #bae6fd}.kds-action-btn.cooking:hover{background:#0284c7;color:#fff}.kds-action-btn.served{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0;cursor:default;pointer-events:none}.menu-admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.btn-primary{background:linear-gradient(135deg,#ea580c,#f97316);color:#fff!important;border:none;padding:10px 20px;border-radius:9px;font-weight:700;font-size:13.5px;font-family:inherit;cursor:pointer;display:flex;align-items:center;gap:8px;box-shadow:0 2px 8px #ea580c40;transition:var(--transition-smooth)}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 14px #ea580c59}.btn-secondary{background:#fff;color:#475569;border:1px solid var(--pos-border-strong);padding:9px 18px;border-radius:9px;font-family:inherit;font-weight:600;font-size:13px;cursor:pointer;transition:var(--transition-smooth)}.btn-secondary:hover{background:#f8fafc;color:#0f172a}.admin-menu-item-img{width:44px;height:44px;border-radius:8px;-o-object-fit:cover;object-fit:cover;border:1px solid var(--pos-border)}.admin-badge{padding:3px 9px;border-radius:6px;font-size:11px;font-weight:700;display:inline-block}.admin-badge.in-stock{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.admin-badge.out-of-stock{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.admin-action-icons{display:flex;gap:6px}.admin-action-btn{background:none;border:1px solid transparent;cursor:pointer;color:var(--pos-text-muted);padding:6px;border-radius:6px;transition:var(--transition-smooth)}.admin-action-btn:hover{color:var(--pos-text);background:#f1f5f9}.admin-action-btn.delete:hover{color:var(--pos-danger);background:#fff1f2}.pos-modal-overlay{position:fixed!important;inset:0!important;width:100%!important;height:100vh!important;height:100dvh!important;padding:12px!important;box-sizing:border-box!important;background:#0f172a99;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:-1;display:none!important;visibility:hidden!important;align-items:center;justify-content:center;opacity:0!important;pointer-events:none!important}.pos-modal-overlay:not(.active),.pos-modal-overlay:not(.active) *{pointer-events:none!important}.pos-modal-overlay.active{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:1000000!important}.pos-modal{width:100%;max-width:520px;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;display:flex!important;flex-direction:column!important;border:1px solid var(--pos-border);border-radius:16px;background:#fff;color:var(--pos-text);overflow:hidden!important;box-shadow:var(--pos-shadow-modal);transform:scale(.96);transition:transform .25s ease}.pos-modal>form{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}.pos-modal-overlay.active .pos-modal{transform:scale(1)}.pos-modal-header{padding:14px 20px!important;background:#f8fafc;border-bottom:1px solid var(--pos-border);display:flex;justify-content:space-between;align-items:center;flex-shrink:0!important}.pos-modal-title{font-size:16px;font-weight:800;color:var(--pos-text)}.pos-modal-close{background:none;border:none;color:var(--pos-text-muted);font-size:22px;cursor:pointer;line-height:1;transition:color .2s}.pos-modal-close:hover{color:var(--pos-text)}.pos-modal-body{padding:16px 20px!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;background:#fff;color:var(--pos-text)}.pos-modal-footer{padding:12px 20px!important;background:#f8fafc;border-top:1px solid var(--pos-border);display:flex;justify-content:flex-end;gap:12px;align-items:center;flex-shrink:0!important}#user-form-tenant:disabled,#user-form-tenant[readonly]{background-color:#f0f9ff!important;color:#0284c7!important;border:1px solid #bae6fd!important;opacity:1!important;cursor:not-allowed!important;font-weight:800!important}.menu-light-modal,#menu-edit-modal .pos-modal{max-width:98vw!important;width:98vw!important;height:96vh!important;max-height:96vh!important;background:#fff!important;color:#0f172a!important;border-radius:20px!important;border:1px solid #cbd5e1!important;box-shadow:0 25px 60px -15px #00000040!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;margin:auto!important}.menu-light-modal .pos-modal-header,#menu-edit-modal .pos-modal-header{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important;padding:16px 28px!important}.menu-light-modal .pos-modal-body,#menu-edit-modal .pos-modal-body{background:#fff!important;padding:22px 28px!important;color:#0f172a!important;overflow-y:auto!important;flex:1!important}.menu-light-modal .pos-modal-footer,#menu-edit-modal .pos-modal-footer{background:#f8fafc!important;border-top:1px solid #e2e8f0!important;padding:16px 28px!important}.menu-light-input{width:100%!important;background:#f8fafc!important;border:1.5px solid #cbd5e1!important;border-radius:10px!important;color:#0f172a!important;font-family:inherit!important;transition:all .2s ease!important;box-sizing:border-box!important}.menu-light-input:focus{background:#fff!important;border-color:#ea580c!important;box-shadow:0 0 0 3px #ea580c26!important;outline:none!important}.preset-image-grid-light{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(130px,1fr))!important;gap:12px!important;max-height:480px!important;overflow-y:auto!important;padding:12px!important;background:#f8fafc!important;border:1.5px solid #e2e8f0!important;border-radius:14px!important}.preset-image-grid-light .preset-image-item{position:relative!important;aspect-ratio:1!important;border-radius:10px!important;overflow:hidden!important;cursor:pointer!important;border:2px solid #e2e8f0!important;background:#fff!important;transition:all .2s ease!important}.preset-image-grid-light .preset-image-item img{width:100%!important;height:100%!important;-o-object-fit:cover!important;object-fit:cover!important;display:block!important}.preset-image-grid-light .preset-image-item:hover{transform:scale(1.04)!important;border-color:#ea580c!important;box-shadow:0 6px 14px #ea580c33!important}.preset-image-grid-light .preset-image-item.selected{border-color:#ea580c!important;border-width:3px!important;box-shadow:0 0 0 3px #ea580c40!important}.preset-image-grid-light .preset-image-item.selected:after{content:"✓"!important;position:absolute!important;top:5px!important;right:5px!important;background:#ea580c!important;color:#fff!important;width:22px!important;height:22px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;font-weight:900!important}#item-customize-modal .pos-modal{background:#fff!important;color:#0f172a!important;border-radius:18px!important;border:1px solid #cbd5e1!important;box-shadow:var(--pos-shadow-modal)!important}#item-customize-modal .pos-modal-header{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}#item-customize-modal .pos-modal-body{background:#fff!important;color:#0f172a!important}#item-customize-modal .pos-modal-footer{background:#f8fafc!important;border-top:1px solid #e2e8f0!important}.customize-option-pill{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:10px 14px!important;background:#f8fafc!important;border:1.5px solid #cbd5e1!important;border-radius:10px!important;color:#0f172a!important;cursor:pointer!important;transition:all .2s ease!important;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;font-size:13px!important;font-weight:600!important}.customize-option-pill:hover{background:#fff7ed!important;border-color:#fdba74!important}.customize-option-pill.active{background:#fff7ed!important;border-color:#ea580c!important;box-shadow:0 0 0 3px #ea580c26!important;color:#c2410c!important;font-weight:700!important}.customize-addon-pill{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:10px 14px!important;background:#f8fafc!important;border:1.5px solid #cbd5e1!important;border-radius:10px!important;color:#0f172a!important;cursor:pointer!important;transition:all .2s ease!important;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;font-size:13px!important;font-weight:600!important}.customize-addon-pill:hover{background:#ecfdf5!important;border-color:#a7f3d0!important}.customize-addon-pill.active{background:#ecfdf5!important;border-color:#059669!important;box-shadow:0 0 0 3px #05966926!important;color:#047857!important;font-weight:700!important}.customize-note-pill{padding:6px 12px!important;background:#f1f5f9!important;border:1px solid #cbd5e1!important;border-radius:20px!important;color:#475569!important;font-size:11.5px!important;font-weight:600!important;cursor:pointer!important;transition:all .15s ease!important}.customize-note-pill:hover{background:#e2e8f0!important;color:#0f172a!important}.customize-note-pill.active{background:#ea580c!important;color:#fff!important;border-color:#ea580c!important;font-weight:700!important}#user-edit-modal .pos-modal{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important}#user-edit-modal .pos-modal-header{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}#user-edit-modal .pos-modal-body{background:#fff!important;color:#0f172a!important}#user-edit-modal .pos-modal-footer{background:#f8fafc!important;border-top:1px solid #e2e8f0!important}#user-edit-modal .form-control{background:#f8fafc!important;border:1.5px solid #cbd5e1!important;color:#0f172a!important}#table-plan-modal .pos-modal{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important}#table-plan-modal .pos-modal-header{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}#table-plan-modal .pos-modal-body{background:#fff!important;color:#0f172a!important}#table-plan-modal .pos-modal-footer{background:#f8fafc!important;border-top:1px solid #e2e8f0!important}#guest-count-modal .pos-modal{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important}#guest-count-modal .pos-modal-header{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}#guest-count-modal .pos-modal-body{background:#fff!important;color:#0f172a!important}#input-guest-count{background:#f8fafc!important;color:#0f172a!important;border:2px solid #ea580c!important}#btn-guest-minus,#btn-guest-plus{background:#f1f5f9!important;color:#0f172a!important;border:1px solid #cbd5e1!important}.guest-quick-pill{background:#f8fafc!important;color:#334155!important;border:1px solid #cbd5e1!important}.guest-quick-pill.active{background:#ea580c!important;color:#fff!important;border-color:#ea580c!important}#checkout-modal .pos-modal{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important}#checkout-modal .pos-modal-header{background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}#checkout-modal .pos-modal-body{background:#fff!important;color:#0f172a!important}#checkout-modal .pos-modal-footer{background:#f8fafc!important;border-top:1px solid #e2e8f0!important}.checkout-qr-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 0;gap:10px}.checkout-qr-code{position:relative;background:#fff;padding:16px;border-radius:12px;border:1px solid var(--pos-border);box-shadow:0 4px 14px #00000014;display:flex;align-items:center;justify-content:center}.checkout-qr-scan-line{position:absolute;top:0;left:0;width:100%;height:4px;background:var(--pos-primary);box-shadow:0 0 10px var(--pos-primary);animation:scanQR 2s linear infinite;opacity:.8}@keyframes scanQR{0%{top:16px}50%{top:calc(100% - 20px)}to{top:16px}}.payment-loading{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;color:var(--pos-text-muted)}.payment-spinner{width:24px;height:24px;border:3px solid #ffedd5;border-top-color:var(--pos-primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.payment-success-badge{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--pos-success);font-weight:700;font-size:18px;animation:scaleUp .3s cubic-bezier(.34,1.56,.64,1)}.payment-success-circle{width:64px;height:64px;border-radius:50%;background:#ecfdf5;border:2px solid var(--pos-success);display:flex;align-items:center;justify-content:center;font-size:32px}@keyframes scaleUp{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}#view-reports .glass-panel,#view-reports .chart-card,#view-reports .popular-card,#view-reports .stat-card{background:#fff!important;border:1px solid #cbd5e1!important;box-shadow:0 4px 16px #0f172a0d!important;color:#0f172a!important}#view-reports .stat-label{color:#475569!important;font-weight:700!important}#view-reports .stat-value{color:#0f172a!important;font-weight:800!important}#view-reports select,#view-reports input[type=date],#view-reports input[type=text],#view-reports .pos-tenant-selector{background:#fff!important;border:1px solid #cbd5e1!important;color:#0f172a!important;color-scheme:light!important;font-weight:600!important}#view-reports .pos-table{background:#fff!important;color:#0f172a!important}#view-reports .pos-table th{background:#f1f5f9!important;color:#0f172a!important;border-bottom:2px solid #cbd5e1!important;font-weight:800!important}#view-reports .pos-table td{border-bottom:1px solid #e2e8f0!important;color:#1e293b!important}#view-reports #report-category-chart text{fill:#334155!important;font-weight:600!important}.pos-date-ddmmyyyy-input{color:transparent!important;caret-color:transparent!important}.pos-date-ddmmyyyy-input::-webkit-datetime-edit,.pos-date-ddmmyyyy-input::-webkit-datetime-edit-fields-wrapper,.pos-date-ddmmyyyy-input::-webkit-datetime-edit-text,.pos-date-ddmmyyyy-input::-webkit-datetime-edit-month-field,.pos-date-ddmmyyyy-input::-webkit-datetime-edit-day-field,.pos-date-ddmmyyyy-input::-webkit-datetime-edit-year-field{color:transparent!important}.receipt-paper{background:#fff;color:#000!important;font-family:Tahoma,Noto Sans Thai,Plus Jakarta Sans,sans-serif!important;font-weight:700;padding:24px;border-radius:4px;box-shadow:0 4px 15px #00000014;font-size:12px;line-height:1.45;margin-top:10px;-webkit-font-smoothing:none;text-rendering:geometricPrecision}.receipt-header{text-align:center;border-bottom:1.5px dashed #000000;padding-bottom:12px;margin-bottom:12px;color:#000!important}.receipt-title{font-size:15px;font-weight:900;text-transform:uppercase;color:#000!important}.receipt-items{border-bottom:1.5px dashed #000000;padding-bottom:8px;margin-bottom:8px;color:#000!important}.receipt-item-row{display:flex;justify-content:space-between;margin-bottom:6px;color:#000!important;font-weight:700}.receipt-totals{display:flex;flex-direction:column;gap:4px;border-bottom:1.5px dashed #000000;padding-bottom:8px;margin-bottom:8px;color:#000!important;font-weight:700}.receipt-totals-row{display:flex;justify-content:space-between;color:#000!important;font-weight:700}.receipt-totals-row.grand-total{font-weight:900;font-size:14px;color:#000!important}.receipt-footer{text-align:center;margin-top:12px;color:#000!important;font-weight:700}#receipt-preview-container{display:none!important}@media print{html,body{background:#fff!important;color:#000!important;margin:0!important;padding:0!important;width:100%!important;height:auto!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body>*:not(#receipt-preview-container){display:none!important}#receipt-preview-container{display:block!important;visibility:visible!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;background:#fff!important;color:#000!important;padding:0!important;margin:0!important}.receipt-paper{box-shadow:none!important;border:none!important;padding:0!important;margin:0 auto!important;width:72mm!important;background:#fff!important;color:#000!important;font-family:Tahoma,Noto Sans Thai,Plus Jakarta Sans,sans-serif!important;font-weight:700!important;font-size:12px!important;line-height:1.45!important;-webkit-font-smoothing:none!important;-moz-osx-font-smoothing:grayscale!important;text-rendering:geometricPrecision!important}.receipt-paper *{color:#000!important;background:transparent!important;font-family:Tahoma,Noto Sans Thai,Plus Jakarta Sans,sans-serif!important;font-weight:700!important;text-shadow:none!important;box-shadow:none!important;border-color:#000!important;opacity:1!important;filter:none!important;-webkit-font-smoothing:none!important}.receipt-paper h1,.receipt-paper h2,.receipt-paper h3,.receipt-paper strong,.receipt-paper b,.receipt-paper .receipt-title,.receipt-paper .grand-total,.receipt-paper .grand-total *{font-weight:900!important;color:#000!important}.kitchen-print-slip{page-break-after:always!important;-moz-column-break-after:page!important;break-after:page!important;padding:4mm 0 8mm!important;font-family:Tahoma,Noto Sans Thai,Plus Jakarta Sans,sans-serif!important}.kitchen-print-slip:last-child{page-break-after:auto!important;-moz-column-break-after:auto!important;break-after:auto!important}}.pos-sidebar-mobile-toggle{display:none}@media (max-width: 1024px){.pos-header{padding:0 14px}.pos-header-actions{gap:8px}.pos-tier-badge.live-sync{display:none}}@media (max-width: 639px){.pos-sidebar{display:none;position:fixed;top:64px;left:0;width:240px;height:calc(100vh - 64px);background:#fff;z-index:90;box-shadow:4px 0 20px #0000001a}.pos-sidebar.active{display:flex}.pos-sidebar-mobile-toggle{display:flex;background:none;border:1px solid #cbd5e1;border-radius:8px;color:#334155;cursor:pointer;padding:6px}}body.customer-emenu-mode .pos-sidebar,body.customer-emenu-mode .pos-sidebar-mobile-toggle,body.customer-emenu-mode .cart-sidebar-container,body.customer-emenu-mode #cashier-emenu-ipad-toolbar,body.customer-emenu-mode #pos-tenant-id-badge,body.customer-emenu-mode #pos-header-shift-lock-badge,body.customer-emenu-mode #pos-header-shift-period,body.customer-emenu-mode #btn-header-close-shift,body.customer-emenu-mode #user-avatar-badge,body.customer-emenu-mode #btn-header-login-toggle,body.customer-emenu-mode #user-display-name,body.customer-emenu-mode #user-display-role{display:none!important}body.customer-emenu-mode #pos-tenant-dropdown{pointer-events:none!important;-moz-appearance:none!important;appearance:none!important;-webkit-appearance:none!important;border:none!important;background:transparent!important;font-weight:800!important;font-size:14px!important;color:#0f172a!important;padding:0 4px!important;max-width:220px!important}body.customer-emenu-mode .pos-cashier-grid{grid-template-columns:1fr!important;height:100%!important}body.customer-emenu-mode #view-cashier.pos-view-section.active{overflow-y:auto!important;height:100%!important}body.customer-emenu-mode .pos-menu-column{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:90px!important}body.customer-emenu-mode .menu-items-grid{overflow:visible!important;height:auto!important;padding-bottom:90px!important}@media (max-width: 639px){body.customer-emenu-mode .menu-items-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}body.customer-emenu-mode .menu-card{min-height:195px!important}body.customer-emenu-mode .menu-card-img-wrapper{height:118px!important;min-height:118px!important;max-height:118px!important}body.customer-emenu-mode .menu-card-name{font-size:13px!important}}body.ipad-waiter-mode .category-tab-btn{padding:9px 18px!important;font-size:13.5px!important}body.ipad-waiter-mode #btn-open-table-plan,body.ipad-waiter-mode #btn-edit-active-guests,body.ipad-waiter-mode #btn-transfer-table{padding:8px 12px!important;font-size:13px!important}body.ipad-waiter-mode #btn-send-to-kitchen,body.ipad-waiter-mode #btn-checkout-cart{padding:13px 14px!important;font-size:14.5px!important;font-weight:800!important}
