.app-loader,.auth-shell,.pos-shell{min-height:100vh}.app-loader{display:grid;place-items:center;color:var(--text-main);font-size:1rem}.auth-shell{display:grid;grid-template-columns:1fr 1fr;background-image:url(/static/media/auth/bg4-dark.jpg);background-position:center;background-repeat:no-repeat;background-size:cover}.auth-side{display:flex;min-height:100vh;padding:40px}.auth-side-brand{align-items:center;justify-content:center}.auth-brand-block{display:grid;gap:20px;justify-items:start}.auth-side-logo img{display:block;max-width:220px}.auth-brand-block h2{margin:0;color:#fff;font-size:2rem;font-weight:400}.auth-side-form{align-items:center;justify-content:center}.auth-form-card{width:min(100%,550px);padding:40px;border-radius:.625rem;background:#fff;box-shadow:0 0 50px #00000014}.auth-form-head{margin-bottom:28px;text-align:center}.auth-form-head h1{margin:0;color:#181c32;font-size:2rem;font-weight:700}.field{display:grid;gap:12px}.field input{width:100%;padding:.95rem 1rem;border:1px solid #e1e3ea;border-radius:.625rem;background:transparent;color:#181c32;font:inherit;outline:none}.field input:focus,.reference-search input:focus,.compact-fields input:focus{border-color:#8a4fd0bf;box-shadow:0 0 0 4px #8a4fd01f}.primary-button,.text-button,.clear-link,.report-button,.home-button,.order-item-controls button,.payment-method-strip button,.cancel-button,.pay-button{font:inherit}.primary-button{padding:.95rem 1.5rem;border:0;border-radius:.625rem;background:#8a4fd0;color:#fff;font-weight:700;cursor:pointer}.form-alert{padding:14px 16px;border-radius:.625rem;background:#fff5f8;color:#f1416c;font-size:.92rem}.auth-login-field+.auth-login-field{margin-top:14px}.auth-login-actions{display:flex;align-items:center;justify-content:space-between;margin-top:18px;margin-bottom:18px}.auth-login-link{color:#8a4fd0;font-size:.95rem;font-weight:600;text-decoration:none}.auth-login-submit{display:grid;margin-top:18px}.auth-login-button{width:100%}.inline-alert{margin:10px 18px 0}.badge-pill{display:inline-flex;align-items:center;gap:8px;width:fit-content;padding:8px 12px;border-radius:999px;background:#8a4fd01f;color:var(--brand-blue);font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.badge-pill.badge-ghost{background:#ffffff1f;color:#fff}.pos-reference-shell{display:grid;grid-template-rows:auto 1fr;background:#f6f8fc;padding:0}.pos-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid var(--line-soft);background:#fff;box-shadow:0 1px #0f172a08}.pos-branding,.pos-header-actions,.order-panel-header,.order-item-row,.amount-row,.amount-subrows div,.recent-mini-row,.reference-product-foot{display:flex;align-items:center;justify-content:space-between}.pos-branding{gap:14px}.pos-logo-box{display:grid;place-items:center;width:52px;height:52px;overflow:hidden;border-radius:12px;background:var(--brand-primary-light);border:1px solid var(--line-soft)}.pos-logo-image{width:100%;height:100%;object-fit:contain;padding:6px}.pos-branding strong{display:block;font-size:1.1rem}.pos-branding p{margin:2px 0 0;color:#7a8798;font-size:.84rem}.pos-header-actions{gap:14px}.report-button,.home-button{border:0;border-radius:14px;cursor:pointer}.report-button{padding:10px 18px;background:var(--brand-primary-light);color:var(--brand-blue);font-weight:700;border:1px solid rgba(138,79,208,.14)}.home-button{width:42px;height:42px;background:#fff;border:1px solid var(--line-soft);color:#667085}.reference-grid{display:grid;grid-template-columns:minmax(0,1fr) 620px;min-height:calc(100vh - 73px)}.catalog-surface{display:grid;grid-template-rows:auto auto 1fr;padding:18px;border-right:1px solid var(--line-soft)}.search-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.reference-search{display:flex;align-items:center;gap:12px;padding:0 18px;border:1.5px solid rgba(138,79,208,.55);border-radius:14px;background:#fff;box-shadow:0 8px 18px #8a4fd014}.search-icon{color:#94a3b8;font-size:1.4rem}.reference-search input,.compact-fields input{width:100%;padding:16px 0;border:0;background:transparent;color:var(--text-main);font:inherit;outline:none}.reference-meta{display:flex;justify-content:space-between;padding:14px 4px 4px;color:#94a3b8;font-size:.82rem}.reference-product-list{display:grid;align-content:start;gap:10px;padding-top:12px}.reference-product-row{display:grid;grid-template-columns:68px minmax(0,1fr);gap:14px;align-items:center;padding:10px 12px;border:1px solid var(--line-soft);border-radius:14px;background:#fff;text-align:left;cursor:pointer;box-shadow:0 4px 12px #0f172a0f;transition:transform .2s ease,box-shadow .2s ease}.reference-product-row:hover{transform:translateY(-1px);border-color:#8a4fd047;box-shadow:0 14px 24px #0f172a14}.reference-product-row.disabled{opacity:.55;cursor:not-allowed}.reference-product-main,.reference-product-side{display:flex;align-items:center;justify-content:space-between;gap:16px}.reference-product-copy h3{margin:0;font-size:1rem;color:#0f172a}.reference-product-copy p{margin:4px 0 0;color:#64748b;font-size:.86rem}.reference-product-sku{display:inline-block;margin-top:6px;color:#94a3b8;font-size:.78rem}.reference-product-thumb-wrap{overflow:hidden;border-radius:10px;background:#f8fafc}.reference-product-thumb{width:68px;height:68px;object-fit:cover;display:block}.reference-product-thumb.placeholder{display:grid;place-items:center;width:68px;height:68px;color:#94a3b8;font-size:.52rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:1px dashed #cbd5e1;background:linear-gradient(135deg,#f4ecfd,#f8fafc),repeating-linear-gradient(45deg,#94a3b814,#94a3b814 10px,#ffffffb3 10px,#ffffffb3 20px)}.reference-product-side strong{color:#7a3fc0;font-size:1.1rem;white-space:nowrap}.stock-chip{padding:5px 9px;border-radius:8px;background:var(--brand-primary-light);color:var(--brand-blue);font-size:.78rem;white-space:nowrap}.order-surface{display:grid;grid-template-rows:auto 1fr auto;background:#fff}.order-panel-header{padding:18px 20px;border-bottom:1px solid var(--line-soft)}.order-panel-header strong{color:#4a1d73;font-size:1rem}.order-panel-header>div{display:flex;align-items:center;gap:10px}.clear-link{border:0;background:transparent;color:var(--brand-danger);font-weight:700;cursor:pointer}.order-items-area{overflow:auto;min-height:0}.order-items-list{padding:14px 20px}.order-item-row{gap:10px;padding:12px 0;border-bottom:1px solid #eff2f5}.order-item-copy strong{display:block;color:#0f172a}.order-item-copy p{margin:4px 0 0;color:#94a3b8;font-size:.84rem}.order-item-shipping{display:inline-block;margin-top:4px;color:#7a3fc0;font-size:.78rem;font-weight:700}.order-item-controls{display:flex;align-items:center;gap:8px}.order-item-controls button{width:28px;height:28px;border:1px solid #dbe2ea;border-radius:999px;background:#fff;cursor:pointer}.order-item-controls span{min-width:24px;text-align:center;font-weight:700}.order-item-side{text-align:right}.order-item-side strong{display:block;color:#0f172a}.text-button{border:0;background:transparent;color:var(--brand-danger);cursor:pointer;text-transform:uppercase;font-size:.72rem}.field select{width:100%;padding:14px 16px;border:1px solid var(--line-soft);border-radius:16px;background:var(--surface-soft);color:var(--text-main);font:inherit;outline:none}.field select:focus{border-color:#8a4fd0bf;box-shadow:0 0 0 4px #8a4fd01f}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#0f172a6b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.app-modal{width:min(100%,760px);max-height:calc(100vh - 48px);overflow:auto;border-radius:28px;background:#fff;box-shadow:0 24px 64px #0f172a38}.app-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 0}.app-modal-header h3{margin:0;color:#0f172a;font-size:1.2rem}.app-modal-header p{margin:6px 0 0;color:#64748b;font-size:.92rem}.modal-close-button{width:36px;height:36px;border:1px solid var(--line-soft);border-radius:999px;background:#fff;color:#64748b;font-size:1.3rem;line-height:1;cursor:pointer}.checkout-modal-body,.receipt-modal-body{padding:24px}.checkout-modal-body{display:grid;gap:18px}.checkout-preview-box{display:grid;gap:12px;padding:18px;border:1px solid var(--line-soft);border-radius:20px;background:#fbf8ff}.checkout-preview-box div,.modal-footer-actions,.receipt-paper-top,.receipt-hero,.receipt-items-head,.receipt-summary-card div,.report-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px}.checkout-preview-box span,.receipt-paper span{color:#64748b}.checkout-total-row{padding-top:12px;border-top:1px dashed #cbd5e1}.modal-footer-actions{padding-top:4px}.toast-alert{position:fixed;right:24px;bottom:24px;z-index:60;padding:14px 18px;border-radius:14px;color:#fff;font-weight:700;box-shadow:0 16px 30px #0f172a2e}.toast-success{background:linear-gradient(135deg,#50cd89,#18b067)}.receipt-modal .app-modal-header{padding-bottom:12px}.receipt-paper{display:grid;gap:18px;padding:20px;border-radius:28px;background:radial-gradient(circle at top right,rgba(138,79,208,.08),transparent 26%),linear-gradient(180deg,#fff,#fbf8ff);border:1px solid #e4eaf2}.receipt-brand-block{display:flex;align-items:center;gap:14px}.receipt-brand-logo{width:56px;height:56px;object-fit:contain;padding:8px;border-radius:16px;background:#f5f8fa;border:1px solid #e4eaf2}.receipt-brand-block strong{display:block;color:#1e293b;font-size:1.05rem}.receipt-brand-block p{margin:4px 0 0;color:#7a8798}.receipt-status-badge{padding:10px 14px;border-radius:999px;background:#50cd8926;color:#0f9f5f;font-size:.84rem;font-weight:800}.receipt-hero{padding:18px 20px;border-radius:24px;background:linear-gradient(135deg,#8a4fd0,#8a4fd0);color:#fff}.receipt-hero span,.receipt-hero strong{color:#fff}.receipt-hero strong{display:block;margin-top:4px;font-size:1.12rem}.receipt-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.receipt-meta-card,.receipt-items-card,.receipt-summary-card{padding:18px 20px;border:1px solid #e4eaf2;border-radius:22px;background:#fff}.receipt-meta-card strong{display:block;margin-top:6px;color:#0f172a}.receipt-items-card{display:grid;gap:14px}.receipt-items-head strong{color:#4a1d73}.receipt-items-list{display:grid;gap:12px}.receipt-item-row{display:grid;grid-template-columns:48px minmax(0,1fr) 190px;gap:14px;align-items:center;padding:14px;border-radius:18px;background:#f8fafc}.receipt-item-index{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f4ecfd;color:#7a3fc0;font-weight:800}.receipt-item-main strong{display:block;color:#0f172a}.receipt-item-main p{margin:4px 0;color:#64748b}.receipt-item-main span{font-size:.82rem}.receipt-item-numbers{display:grid;gap:6px;justify-items:end;text-align:right}.receipt-item-numbers strong{color:#0f172a;font-size:1rem}.receipt-summary-card{display:grid;gap:12px}.receipt-grand-total{padding-top:12px;border-top:1px dashed #cbd5e1}.receipt-grand-total strong{color:#7a3fc0;font-size:1.18rem}.report-empty-cell{padding:28px 18px;color:#7a8798;text-align:center}.report-pagination{margin-top:18px}.report-pagination button{padding:10px 16px;border:1px solid var(--line-soft);border-radius:12px;background:#fff;color:#334155;cursor:pointer}.report-pagination button:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 1100px){.receipt-meta-grid{grid-template-columns:1fr}.receipt-item-row{grid-template-columns:40px minmax(0,1fr)}.receipt-item-numbers{grid-column:1 / -1;justify-items:start;text-align:left;padding-left:54px}}@media (max-width: 760px){.modal-backdrop{padding:12px}.app-modal-header,.checkout-modal-body,.receipt-modal-body{padding:18px}.receipt-paper-top,.receipt-hero,.report-pagination,.modal-footer-actions{flex-direction:column;align-items:stretch}}.empty-order-state{display:grid;place-items:center;align-content:center;height:100%;color:#c0c9d5}.empty-order-icon{font-size:3.4rem}.empty-order-state p{margin:10px 0 0;font-size:.95rem}.order-footer{padding:20px;border-top:1px solid var(--line-soft);background:#fff}.amount-row{margin-bottom:14px;color:#64748b;font-size:1rem}.amount-row strong{color:#0f172a;font-size:2rem;font-weight:800}.compact-fields{display:grid;gap:8px}.payment-method-strip button,.cancel-button,.pay-button{border-radius:12px;cursor:pointer}.payment-method-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.payment-method-strip button{padding:12px 10px;border:1px solid var(--line-soft);background:var(--surface-soft);color:#475569}.payment-method-strip button.active{border-color:#8a4fd042;background:var(--brand-primary-light);color:var(--brand-blue)}.compact-fields{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.compact-fields input{padding:14px 16px;border:1px solid var(--line-soft);border-radius:12px}.amount-subrows{display:grid;gap:8px;margin-bottom:16px}.amount-subrows span{color:#64748b}.amount-subrows strong{color:#0f172a}.footer-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:12px}.cancel-button,.pay-button{padding:16px 18px;border:0;font-weight:800}.cancel-button{background:#eef3f7;color:#5e6278}.pay-button{background:var(--brand-green);color:#fff;box-shadow:0 10px 20px #50cd893d}.receipt-mini{display:grid;gap:4px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line-soft)}.receipt-mini strong{color:#0f172a}.receipt-mini span,.recent-mini-row span{color:#64748b;font-size:.82rem}.recent-mini-list{display:grid;gap:8px;margin-top:12px}.recent-mini-row strong{color:#0f172a}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#0f172a6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50}.checkout-modal{width:min(100%,520px);border-radius:22px;background:#fff;box-shadow:0 30px 70px #0f172a3d;border:1px solid var(--line-soft)}.report-modal{width:min(100%,760px)}.checkout-modal-header,.checkout-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px}.checkout-modal-header{border-bottom:1px solid var(--line-soft)}.checkout-modal-header h3{margin:4px 0 0;color:#0f172a}.modal-close{width:38px;height:38px;border:1px solid var(--line-soft);border-radius:999px;background:#fff;color:#64748b;font-size:1.4rem;cursor:pointer}.checkout-modal-body{display:grid;gap:16px;padding:22px}.report-modal-body{max-height:60vh;overflow:auto}.modal-amount-row{margin-bottom:0;padding:16px 18px;border-radius:16px;background:var(--brand-primary-light)}.modal-field{display:grid;gap:10px}.modal-field span{color:#64748b;font-size:.84rem;font-weight:700}.modal-field input{width:100%;padding:14px 16px;border:1px solid var(--line-soft);border-radius:14px;background:#fff;color:#0f172a;font:inherit;outline:none}.modal-field input:focus{border-color:#8a4fd0bf;box-shadow:0 0 0 4px #8a4fd01f}.checkout-modal-actions{border-top:1px solid var(--line-soft)}.checkout-modal-actions .cancel-button,.checkout-modal-actions .pay-button{flex:1}.toast-alert{position:fixed;right:22px;bottom:22px;padding:14px 18px;border-radius:14px;background:#16a34a;color:#fff;font-weight:700;box-shadow:0 20px 40px #16a34a47;z-index:60}.report-page-shell{min-height:100vh;background:#f5f8fa}.report-page-content{padding:24px;display:grid;gap:18px}.report-filters{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr 1fr auto;gap:12px;padding:18px;border:1px solid var(--line-soft);border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}.report-filters input,.report-filters select{width:100%;padding:12px 14px;border:1px solid var(--line-soft);border-radius:12px;background:#fff;color:var(--text-main);font:inherit;outline:none}.report-filters input:focus,.report-filters select:focus{border-color:#8a4fd08c;box-shadow:0 0 0 4px #8a4fd01f}.report-apply{padding:12px 18px;border:0;border-radius:12px;background:var(--brand-blue);color:#fff;font-weight:700;cursor:pointer}.report-table-wrap{overflow:auto;border:1px solid var(--line-soft);border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}.report-table{width:100%;border-collapse:collapse;min-width:900px}.report-table th,.report-table td{padding:14px 16px;border-bottom:1px solid var(--line-soft);text-align:left}.report-table th{position:sticky;top:0;background:#f9fafb;color:#5e6278;font-size:.84rem;font-weight:800;text-transform:uppercase}.report-table td{color:#181c32}.receipt-link-button{border:0;padding:0;background:transparent;color:var(--brand-blue);font:inherit;font-weight:700;cursor:pointer}.report-pagination,.report-pagination-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.receipt-detail-meta{display:grid;gap:8px;padding:14px 16px;border-radius:14px;background:var(--brand-primary-light);color:#5e6278}.receipt-detail-list{display:grid;gap:12px}.receipt-detail-row,.receipt-detail-side,.receipt-detail-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.receipt-detail-row{padding:14px 0;border-bottom:1px solid var(--line-soft)}.receipt-detail-row p{margin:4px 0 0;color:#7e8299;font-size:.84rem}.receipt-detail-side{min-width:220px}.receipt-detail-total{padding-top:10px;border-top:1px solid var(--line-soft)}@media (max-width: 1280px){.reference-grid{grid-template-columns:1fr 440px}}@media (max-width: 980px){.auth-shell,.reference-grid,.compact-fields,.quick-cash-grid,.payment-method-strip,.footer-actions{grid-template-columns:1fr}.reference-grid{min-height:auto}.order-surface{min-height:720px}.pos-header{flex-direction:column;align-items:flex-start;gap:12px}.pos-header-actions{width:100%}.report-button,.home-button{flex:1}.auth-side{min-height:auto;padding:28px 20px}.auth-side-brand{justify-content:flex-start}.auth-brand-block{justify-items:center;width:100%}.auth-side-form{padding-top:0}.auth-form-card{width:100%;padding:28px 22px}.reference-product-main,.reference-product-side,.reference-product-row{align-items:flex-start}.reference-product-main{flex-direction:column}.reference-product-side{width:100%}.checkout-modal-actions{flex-direction:column}.checkout-modal-actions .cancel-button,.checkout-modal-actions .pay-button{width:100%}.report-filters{grid-template-columns:1fr}.report-pagination,.receipt-detail-row,.receipt-detail-side,.receipt-detail-total{align-items:flex-start;flex-direction:column}}@media (min-width: 981px){.pos-reference-shell{display:flex;flex-direction:column;height:100vh;min-height:0;overflow:hidden}.pos-reference-shell>.pos-header,.pos-reference-shell>.pos-inline-alert{flex:none}.pos-reference-shell>.reference-grid{flex:1;min-height:0;overflow:hidden}.catalog-surface{min-height:0;overflow:hidden}.reference-product-list{min-height:0;overflow-y:auto;padding-right:4px;padding-bottom:12px}.order-surface{min-height:0;overflow:hidden}}:root{font-family:Segoe UI,Inter,sans-serif;color:#181c32;background:radial-gradient(circle at top,rgba(138,79,208,.08),transparent 24%),linear-gradient(180deg,#eff2f5,#f5f8fa);color-scheme:light;--brand-blue: #8a4fd0;--brand-green: #50cd89;--brand-primary-light: #f4ecfd;--brand-danger: #f1416c;--brand-warning: #ffc700;--surface-soft: #f5f8fa;--text-main: #181c32;--text-muted: #7e8299;--line-soft: #e4e6ef;--line-strong: #d8dbe7;--shadow-soft: 0 10px 30px rgba(15, 23, 42, .08);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0}button,input{font:inherit}a{color:inherit}
