.login-page{align-items:center;background:linear-gradient(145deg,#0f172a,#1e293b);display:flex;justify-content:center;min-height:100vh;padding:1rem}@keyframes slideUpFade{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-card{animation:slideUpFade .6s ease-out forwards;background:#1e293b;border:1px solid #334155;border-radius:12px;box-shadow:0 25px 50px -12px #00000080;max-width:380px;padding:2rem;width:100%;will-change:transform,opacity}.login-card h1{color:#f8fafc;font-size:1.75rem;margin:0 0 .25rem}.login-subtitle{color:#94a3b8;font-size:.9375rem;margin:0 0 1.5rem}.login-form label{color:#94a3b8;display:block;font-size:.875rem;margin-bottom:1rem}.login-form input{background:#0f172a;border:1px solid #334155;border-radius:8px;color:#e2e8f0;font-size:1rem;margin-top:.35rem;padding:.65rem .75rem;width:100%}.login-form input:focus{border-color:#38bdf8;outline:none}.login-error{background:#7f1d1d;border-radius:6px;color:#fecaca;font-size:.875rem;margin-bottom:1rem;max-height:0;opacity:0;overflow:hidden;padding:.5rem .75rem;transition:max-height .4s ease,opacity .4s ease}.login-error.show{max-height:100px;opacity:1}.btn-primary{background:#38bdf8;color:#0f172a;font-size:1rem;font-weight:600;margin-top:.5rem;padding:.75rem;width:100%}.btn-primary:hover:not(:disabled){background:#7dd3fc}.login-hint{color:#64748b;font-size:.75rem;margin:1rem 0 0;text-align:center}.apexs-dashboard{padding-bottom:1rem;position:relative}.dashboard h1,.dashboard-title{color:#f8fafc;font-size:1.5rem;font-weight:600;margin:0 0 1.25rem}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin-bottom:1.5rem}.stat-card{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#1a1a1ab8;border:1px solid #ffffff0f;border-radius:12px;display:flex;flex-direction:column;gap:.5rem;padding:1.25rem;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{box-shadow:0 8px 24px #0000004d;transform:translateY(-2px)}.stat-card.stock-warning{box-shadow:0 0 0 1px #ef44444d,0 0 16px #ef444433}.stat-label{color:#94a3b8;font-size:.875rem}.stat-value{color:#f8fafc;font-size:1.35rem;font-weight:700}.quick-actions-section{margin-bottom:2rem}.section-title{color:#f8fafc;font-size:1.125rem;font-weight:600;margin:0 0 1rem}.quick-actions-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.quick-action-tile{align-items:center;background:#1a1a1ab8;border:1px solid #ffffff0f;border-radius:12px;color:#e2e8f0;display:flex;flex-direction:column;justify-content:center;padding:1.25rem .75rem;text-decoration:none;transition:background .2s,border-color .2s,transform .15s ease}.quick-action-tile:hover{background:#c9a9621f;border-color:#c9a9624d;transform:translateY(-2px)}.quick-action-icon{font-size:1.75rem;margin-bottom:.5rem}.quick-action-label{font-size:.8rem;line-height:1.2;text-align:center}.fab{align-items:center;background:linear-gradient(135deg,#c9a962,#b8954a);border-radius:50%;bottom:88px;box-shadow:0 4px 20px #c9a96266;color:#0a0a0a;display:flex;font-size:1.75rem;font-weight:700;height:56px;justify-content:center;position:fixed;right:20px;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease;width:56px;z-index:30}.fab:hover{box-shadow:0 6px 24px #c9a96280;transform:scale(1.08)}.fab:active{transform:scale(.98)}@media (min-width:768px){.fab{bottom:96px;margin-right:-260px;right:50%}}.page-error,.page-loading{color:#94a3b8;padding:2rem;text-align:center}.page-error{color:#f87171}.barcode-scanner-overlay{align-items:center;background:#000000d9;display:flex;inset:0;justify-content:center;position:fixed;z-index:9999}.barcode-scanner-modal{background:#1e293b;background:var(--bg-card,#1e293b);border-radius:12px;max-height:90vh;max-width:100%;overflow:auto;padding:1rem;width:360px}.barcode-scanner-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.barcode-scanner-header h3{font-size:1.1rem;margin:0}.barcode-scanner-close{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:1.5rem;line-height:1;padding:0 .25rem}.barcode-scanner-close:hover{color:#fff}.barcode-scanner-error{color:#f87171;font-size:.9rem;margin-bottom:.5rem}.barcode-scanner-status{color:#94a3b8;margin:.5rem 0}.barcode-scanner-root{background:#0f172a;border-radius:8px;min-height:200px;overflow:hidden}.barcode-scanner-root video{max-height:50vh;object-fit:cover;width:100%}.barcode-scanner-hint{color:#64748b;font-size:.85rem;margin:.5rem 0 0}.products-page{font-family:Inter,sans-serif;font-family:var(--font-ui,"Inter",sans-serif);min-height:0;overflow-x:hidden;position:relative;user-select:none;-webkit-user-select:none}.products-page input,.products-page select,.products-page textarea{user-select:text;-webkit-user-select:text}.products-page-premium{background:linear-gradient(180deg,#0b0e14,#0f172a 35%,#0f172a);padding:.5rem 0}.products-page .page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.75rem;padding:.25rem 0}.products-page h1{color:#f8fafc;color:var(--text-primary,#f8fafc);font-size:1.625rem;font-weight:600;letter-spacing:-.025em;margin:0}.btn-add-product{background:linear-gradient(135deg,#6366f1,#4f46e5);background:linear-gradient(135deg,var(--accent,#6366f1) 0,var(--accent-hover,#4f46e5) 100%);border:1px solid #ffffff14;border-radius:10px;box-shadow:0 2px 12px #6366f159;font-size:.8125rem;font-weight:500;padding:.5rem 1rem;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.btn-add-product:hover{background:linear-gradient(135deg,#4f46e5,#4338ca);background:linear-gradient(135deg,var(--accent-hover,#4f46e5) 0,#4338ca 100%);box-shadow:0 4px 16px #6366f173;transform:translateY(-1px)}.desktop-only{display:none}.mobile-only{display:block}@media (min-width:769px){.desktop-only{display:inline-flex}.mobile-only{display:none}}.products-page .page-error{border-radius:10px;margin-bottom:1.25rem}.products-list-desktop{display:none}@media (min-width:769px){.products-list-desktop{display:block}}.products-mobile-cards{display:flex;flex-direction:column;gap:.875rem}@media (min-width:769px){.products-mobile-cards{display:none}}.product-mobile-card{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:#1e293b99;border:1px solid #ffffff0f;border-radius:14px;color:#e2e8f0;font-size:.9375rem;padding:1rem 1.25rem}.product-mobile-card-loaded{animation:productCardSlideUp .4s cubic-bezier(.22,1,.36,1) backwards;will-change:transform,opacity}@keyframes productCardSlideUp{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.product-mobile-card-main{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem}.product-mobile-card-title{color:#f1f5f9;font-weight:600}.product-mobile-card-meta{color:#94a3b8;color:var(--text-muted,#94a3b8);font-size:.8125rem}.product-mobile-card-details{color:#cbd5e1;display:flex;flex-wrap:wrap;font-size:.8125rem;gap:.5rem 1rem;margin-bottom:.75rem}.product-mobile-card-actions{border-top:1px solid #ffffff0f;display:flex;gap:.35rem;justify-content:flex-end;padding-top:.5rem}.product-mobile-card-skeleton{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:#1e293b80;border:1px solid #ffffff0d;border-radius:14px;padding:1rem 1.25rem;pointer-events:none}.product-mobile-card-skeleton-line{animation:skeletonShimmer 1.4s ease-in-out infinite;background:#ffffff12;border-radius:6px;height:14px;margin-bottom:.5rem;max-width:100%}.product-mobile-card-skeleton-line.short{max-width:60%}.product-mobile-card-skeleton-line:last-child{margin-bottom:0}@keyframes skeletonShimmer{0%,to{opacity:.5}50%{opacity:1}}.products-list{display:flex;flex-direction:column;gap:.75rem}.products-list-header{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:#0f172a80;border:1px solid #ffffff0d;border-radius:12px;color:#94a3b8;color:var(--text-muted,#94a3b8);font-size:.6875rem;font-weight:600;letter-spacing:.06em;padding:.875rem 1.25rem;text-transform:uppercase}.product-row,.products-list-header{grid-gap:.5rem .75rem;display:grid;gap:.5rem .75rem;grid-template-columns:1fr 1fr 1fr .8fr .9fr .9fr .6fr .5fr .4fr 80px}.product-row{align-items:center;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:#1e293b8c;border:1px solid #ffffff0f;border-radius:12px;color:#e2e8f0;font-size:.9375rem;padding:1rem 1.25rem}.product-row-card{animation:productRowSlideUp .4s cubic-bezier(.22,1,.36,1) backwards;will-change:transform,opacity}@keyframes productRowSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.product-cell{min-width:0}.product-cell-actions{display:flex;gap:.35rem;justify-content:flex-end}.btn-icon-sm{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#94a3b8;cursor:pointer;display:inline-flex;height:36px;justify-content:center;padding:0;transition:color .2s,background .2s,border-color .2s;width:36px}.btn-icon-sm.btn-edit:hover{background:#3b82f626;border-color:#3b82f659;color:#3b82f6;color:var(--accent-edit,#3b82f6)}.btn-icon-sm.btn-delete:hover{background:#ef444426;border-color:#ef444459;color:#ef4444;color:var(--accent-delete,#ef4444)}.products-list-skeleton .products-list-header{margin-bottom:.25rem}.product-row-skeleton{pointer-events:none}.product-row-skeleton .skeleton-block{animation:skeletonPulse 1.2s ease-in-out infinite;background:#ffffff0f;border-radius:6px;height:20px;will-change:opacity}@keyframes skeletonPulse{0%,to{opacity:.5}50%{opacity:1}}.fab-add-product{background:linear-gradient(135deg,#6366f1,#4f46e5);background:linear-gradient(135deg,var(--accent,#6366f1) 0,var(--accent-hover,#4f46e5) 100%);border:1px solid #ffffff1f;border-radius:50%;bottom:88px;box-shadow:0 4px 20px #6366f166;color:#fff;cursor:pointer;font-size:1.75rem;font-weight:700;height:56px;line-height:1;position:fixed;right:20px;transition:transform .2s ease,box-shadow .2s ease;width:56px;z-index:30}.fab-add-product:hover{box-shadow:0 6px 24px #6366f180;transform:scale(1.08)}.fab-add-product:active{transform:scale(.98)}@media (min-width:769px){.fab-add-product.mobile-only{display:none}}.modal-overlay{animation:modalFadeIn .2s ease}.modal{animation:modalSlideIn .25s cubic-bezier(.22,1,.36,1)}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.98) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}@media (max-width:900px){.products-list-desktop .products-list{margin:0 -.5rem;overflow-x:auto;padding:0 .5rem}.products-list-desktop .product-row,.products-list-desktop .products-list-header{min-width:720px}}.products-page .modal-overlay{align-items:center;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);background:#0b0e14bf;display:flex;inset:0;justify-content:center;padding:1.25rem;position:fixed;z-index:1000}.products-page .modal{backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);background:#1e293beb;border:1px solid #ffffff14;border-radius:14px;max-width:420px;padding:1.5rem 1.75rem;width:100%}.products-page .modal-form{display:flex;flex-direction:column;max-height:90vh}.products-page .modal-form h2{color:#f8fafc;color:var(--text-primary,#f8fafc);flex-shrink:0;font-size:1.25rem;font-weight:600;letter-spacing:-.02em;margin:0 0 1.25rem}.products-page .modal-form form{display:flex;flex:1 1;flex-direction:column;min-height:0}.products-page .modal-form .modal-form-body{flex:1 1;margin:0 -.25rem;min-height:0;overflow-y:auto;padding-right:.25rem;transition:max-height .35s cubic-bezier(.4,0,.2,1),opacity .25s ease}.products-page .modal-form .modal-actions{flex-shrink:0;margin-top:1.25rem}.products-page .modal label{color:#94a3b8;color:var(--text-muted,#94a3b8);display:block;font-size:.875rem;margin-bottom:.875rem}.products-page .modal input,.products-page .modal select{background:#0f172acc;border:1px solid #ffffff14;border-radius:8px;color:#e2e8f0;font-family:var(--font-ui);margin-top:.35rem;padding:.6rem .875rem;width:100%}.products-page .select-add-row{align-items:center;display:flex;gap:.5rem}.products-page .select-add-row select{flex:1 1;margin-top:.35rem}.products-page .btn-add-small{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:var(--accent);cursor:pointer;flex-shrink:0;font-size:1.1rem;height:32px;line-height:1;padding:0;transition:background .2s,border-color .2s;width:32px}.products-page .btn-add-small:hover{background:#6366f126;border-color:#6366f14d}.products-page .modal-small{max-width:320px}.products-page .modal-small h3{color:#f8fafc;color:var(--text-primary,#f8fafc);font-size:1.1rem;font-weight:600;margin:0 0 1rem}.products-page .modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.25rem}.products-page .modal-actions button{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#e2e8f0;font-family:var(--font-ui);font-size:.9375rem;padding:.55rem 1.125rem;transition:background .2s,border-color .2s}.products-page .modal-actions .btn-primary{background:linear-gradient(135deg,var(--accent) 0,var(--accent-hover) 100%);border:none;color:#fff}.products-page .modal-actions .btn-primary:hover{background:linear-gradient(135deg,var(--accent-hover) 0,#4338ca 100%)}.sales-page h1{color:#f8fafc;font-size:1.5rem;margin:0 0 1rem}.find-mode-tabs{display:flex;gap:.25rem;margin-bottom:.5rem}.find-mode-tabs button{background:#ffffff0d;border:1px solid #ffffff26;border-radius:8px;color:#94a3b8;cursor:pointer;font-size:.8125rem;padding:.4rem .75rem;transition:background .2s,color .2s}.find-mode-tabs button.active{background:#6366f133;border-color:#6366f166;color:#a5b4fc}.accessory-row{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.accessory-label{color:#94a3b8;font-size:.875rem;margin:0}.accessory-row select{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;flex:1 1;font-size:.875rem;min-width:120px;padding:.4rem .6rem}.section-label{color:#94a3b8;font-size:.9375rem;font-weight:500;margin:.75rem 0 .5rem}.cart-credit-hint{color:#94a3b8;font-size:.75rem;margin:.25rem 0 0}.sales-products-header{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.sales-products-header h2{margin:0}.sales-products-header .barcode-row{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.sales-products-header .barcode-row input{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;flex:1 1;font-size:.9375rem;min-width:120px;padding:.5rem .75rem}.btn-scan{white-space:nowrap}.sales-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 320px;margin-bottom:2rem}@media (max-width:900px){.sales-grid{gap:1rem;grid-template-columns:1fr}.sales-cart{max-height:40vh;order:-1;overflow-y:auto}.sales-products{min-width:0}.product-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.barcode-row{flex-wrap:wrap}.barcode-row input{min-width:100%}}.sales-cart h2,.sales-products h2{color:#e2e8f0;font-size:1.125rem;margin:0 0 .75rem}.product-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.product-tile{animation:staggerSlideUp .35s cubic-bezier(.22,1,.36,1) backwards;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#1a1a1ab8;border:1px solid #ffffff0f;border-radius:10px;color:#e2e8f0;cursor:pointer;padding:1rem;text-align:left;transition:border-color .15s,background .15s,transform .12s ease}.product-grid .product-tile{animation-delay:0s;animation-delay:calc(var(--i, 0)*.03s)}.product-tile:active:not(:disabled){transform:scale(.97)}.product-tile:hover{background:#334155;border-color:#38bdf8}.product-tile-name{display:block;font-size:.9375rem;margin-bottom:.25rem}.product-tile-meta{color:#64748b;display:block;font-size:.75rem;margin-bottom:.25rem}.product-tile-price{color:#38bdf8;font-size:.8125rem}.product-tile:disabled{cursor:not-allowed;opacity:.6}.sales-cart{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#1a1a1ab8;border:1px solid #ffffff0f;border-radius:12px;height:-webkit-fit-content;height:fit-content;padding:1rem}.cart-field{color:#94a3b8;display:block;font-size:.875rem;margin-bottom:.5rem}.cart-field input{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#e2e8f0;margin-left:.5rem;max-width:260px;padding:.35rem .5rem;width:100%}.cart-empty{color:#64748b;font-size:.9375rem}.cart-list{list-style:none;margin:0 0 1rem;padding:0}.cart-list li{align-items:center;border-bottom:1px solid #334155;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;padding:.5rem 0}.cart-list li div{align-items:center;display:flex;gap:.35rem}.cart-list button{background:#0f172a;border:1px solid #334155;border-radius:4px;color:#e2e8f0;font-size:1rem;height:28px;line-height:1;width:28px}.cart-list button.remove{font-size:.75rem;margin-left:.5rem;padding:0 .5rem;width:auto}.cart-discount,.cart-payment{color:#94a3b8;display:block;font-size:.875rem;margin-bottom:.5rem}.cart-discount input,.cart-payment select{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#e2e8f0;margin-left:.5rem;padding:.35rem .5rem}.cart-total{color:#f8fafc;font-size:1.125rem;font-weight:700;margin:.75rem 0}.cart-actions{display:flex;gap:.5rem;margin-top:.5rem}.btn-complete{flex:1 1;padding:.75rem}.btn-print{padding:.75rem 1rem}.recent-sales h2{color:#e2e8f0;font-size:1.125rem;margin:0 0 .75rem}.recent-sales .table-wrap{max-height:280px;overflow:auto}.fly-to-cart{align-items:center;animation:flyToCart .6s cubic-bezier(.33,1,.68,1) forwards;background:#38bdf8;background:var(--accent,#38bdf8);border-radius:50%;color:#0a0a0a;display:flex;font-size:14px;height:32px;justify-content:center;left:0;left:var(--fly-from-x,0);margin-left:-16px;margin-top:-16px;pointer-events:none;position:fixed;top:0;top:var(--fly-from-y,0);width:32px;z-index:9998}@keyframes flyToCart{0%{opacity:1;transform:translate(0) scale(1)}70%{opacity:1;transform:translate(calc(var(--fly-to-x) - var(--fly-from-x)),calc(var(--fly-to-y) - var(--fly-from-y))) scale(.9)}to{opacity:0;transform:translate(calc(var(--fly-to-x) - var(--fly-from-x)),calc(var(--fly-to-y) - var(--fly-from-y))) scale(.6)}}.inventory-page .page-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.inventory-page .page-actions{display:flex;gap:.5rem}.inventory-filters{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.inventory-filters label{display:flex;flex-direction:column;font-size:.875rem}.inventory-filters input,.inventory-filters select{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;min-width:120px;padding:.4rem .5rem}.inventory-list{display:flex;flex-direction:column;gap:.75rem}.inventory-card{grid-gap:.25rem 1rem;align-items:center;animation:staggerSlideUp .35s cubic-bezier(.22,1,.36,1) backwards;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#1a1a1ab8;border:1px solid #ffffff0f;border-radius:10px;display:grid;gap:.25rem 1rem;grid-template-columns:1fr auto;padding:1rem}.inventory-list .inventory-card{animation-delay:0s;animation-delay:calc(var(--i, 0)*.04s)}.inventory-card.stock-warning{box-shadow:0 0 0 1px #ef44444d,0 0 12px #ef444433}.inv-imei{font-family:monospace;font-weight:600}.inv-details{color:#94a3b8;font-size:.9rem}.inv-meta{color:#64748b;font-size:.8rem}.inv-status{border-radius:4px;font-size:.75rem;grid-row:span 2;padding:.25rem .5rem;text-transform:uppercase}.inv-status.available{background:#14532d;color:#86efac}.inv-status.sold{background:#334155;color:#94a3b8}.inv-warranty{color:#64748b;font-size:.8rem;grid-column:1/-1}.inv-source{font-style:italic}.inventory-page .modal-overlay{align-items:center;background:#0009;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:1000}.inventory-page .modal{background:#1e293b;border:1px solid #334155;border-radius:12px;display:flex;flex-direction:column;max-height:90vh;max-width:420px;padding:1.5rem;width:100%}.inventory-page .modal h2,.inventory-page .modal h3{color:#f8fafc;flex-shrink:0;font-size:1.25rem;margin:0 0 1rem}.add-mode-tabs{display:flex;flex-shrink:0;gap:.25rem;margin-bottom:1rem}.add-mode-tabs button{background:#1a1a1a99;border:1px solid #ffffff26;border-radius:8px;color:#94a3b8;cursor:pointer;flex:1 1;font-size:.875rem;padding:.5rem .75rem;transition:background .2s,color .2s,border-color .2s}.add-mode-tabs button:hover{background:#33415580;color:#e2e8f0}.add-mode-tabs button.active{background:#38bdf826;border-color:#38bdf866;color:#38bdf8}.bulk-textarea{background:#0f172a;border:1px solid #334155;border-radius:8px;color:#e2e8f0;font-family:inherit;font-size:.875rem;margin-top:.25rem;min-height:120px;padding:.5rem .75rem;resize:vertical;width:100%}.bulk-textarea::placeholder{color:#64748b}.bulk-progress{color:#38bdf8;font-size:.875rem;margin:.5rem 0 0}.bulk-errors{color:#fca5a5;font-size:.8125rem;margin:.5rem 0 0;padding-left:1.25rem}.bulk-errors li{margin-bottom:.25rem}.inventory-page .modal form{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow-y:auto}.inventory-page .modal label{color:#94a3b8;display:block;font-size:.875rem;margin-bottom:.75rem}.inventory-page .modal input,.inventory-page .modal select{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#e2e8f0;margin-top:.25rem;padding:.5rem .75rem;width:100%}.inventory-page .select-add-row{align-items:center;display:flex;gap:.5rem}.inventory-page .select-add-row select{flex:1 1;margin-top:.25rem}.inventory-page .btn-add-small{background:#334155;border:1px solid #334155;border-radius:6px;color:#38bdf8;cursor:pointer;flex-shrink:0;font-size:1.1rem;height:32px;line-height:1;padding:0;width:32px}.inventory-page .btn-add-small:hover{background:#475569}.inventory-page .modal-actions{display:flex;flex-shrink:0;gap:.75rem;justify-content:flex-end;margin-top:1rem}.inventory-page .modal-actions button{background:#334155;border:1px solid #334155;border-radius:6px;color:#e2e8f0;padding:.5rem 1rem}.inventory-page .modal-actions .btn-primary{background:#38bdf8;border:none;color:#0f172a}.inventory-page .photo-upload{margin-top:.25rem}.inventory-page .photo-upload input[type=file]{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#94a3b8;font-size:.875rem;margin:0;padding:.35rem 0;width:100%}.inventory-page .photo-preview{border:1px solid #334155;border-radius:6px;display:block;margin-bottom:.5rem;max-height:80px;max-width:120px;object-fit:contain}.inventory-page .photo-upload .uploading{color:#94a3b8;font-size:.75rem;margin-left:.5rem}.skeleton-list{display:flex;flex-direction:column;gap:.5rem}.skeleton-line{animation:skeleton-pulse 1.2s ease-in-out infinite;background:#1a1a1a;border-radius:10px;height:56px}.empty-msg{color:#94a3b8;padding:2rem;text-align:center}.btn-secondary{background:#334155;border-radius:6px;color:#e2e8f0;font-size:.875rem;padding:.5rem 1rem;text-decoration:none}.btn-secondary:hover{background:#475569}.reports-page h1{margin-bottom:1rem}.reports-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.reports-tabs button{background:#334155;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;padding:.5rem 1rem}.reports-tabs button.active{background:#38bdf8;color:#0f172a}.report-section{margin-bottom:1.5rem}.report-section label{align-items:center;display:inline-flex;gap:.5rem;margin-bottom:1rem;margin-right:1rem}.report-section input[type=date]{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;padding:.4rem}.summary-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.sum-card{background:#1e293b;border:1px solid #334155;border-radius:8px;display:flex;flex-direction:column;gap:.25rem;padding:1rem}.sum-card span{color:#94a3b8;font-size:.875rem}.sum-card strong{color:#f8fafc;font-size:1.1rem}.sum-card.net strong{color:#38bdf8}.skeleton-block{animation:skeleton-pulse 1.2s ease-in-out infinite;background:#1a1a1a;border-radius:10px;height:120px}.low-stock-list{display:flex;flex-direction:column;gap:.5rem}.low-stock-item{background:#1e293b;border-left:3px solid #f59e0b;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem}.expense-form{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.expense-form input{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;padding:.5rem}.expense-list{list-style:none;padding:0}.expense-list li{border-bottom:1px solid #334155;display:flex;justify-content:space-between;padding:.5rem 0}.warranty-form{display:flex;gap:.5rem;margin-bottom:1rem}.warranty-form input{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;flex:1 1;max-width:200px;padding:.5rem}.warranty-result{background:#1e293b;border-radius:8px;padding:1rem}.warranty-result p{margin:.25rem 0}.warranty-error{color:#f87171}.in-warranty{color:#4ade80}.out-warranty{color:#f87171}.settings-page h1,.settings-section{margin-bottom:1.5rem}.settings-section{background:#1e293b;border:1px solid #334155;border-radius:12px;max-width:560px;padding:1.5rem}.settings-section h2{color:#f8fafc;font-size:1.1rem;font-weight:600;margin:0 0 .75rem}.settings-desc{color:#94a3b8;font-size:.9375rem;line-height:1.5;margin:0 0 1rem}.settings-desc strong{color:#e2e8f0}.settings-hint{color:#64748b;font-size:.875rem}.settings-result{border-radius:8px;font-size:.875rem;margin-top:1rem;padding:1rem}.settings-result.success{background:#22c55e26;border:1px solid #22c55e;color:#86efac}.settings-result.warning{background:#eab30826;border:1px solid #eab308;color:#fde047}.settings-result pre{color:#cbd5e1;font-size:.75rem;margin:.5rem 0 0;overflow:auto}.app-view.apexs-layout{-webkit-tap-highlight-color:transparent;background:#0f172a;background:var(--bg-dark,#0f172a);display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden}.main-wrap{display:flex;flex:1 1;flex-direction:column;min-height:0}.desktop-sidebar{display:none}@media (min-width:769px){.app-view.apexs-layout{flex-direction:row}.desktop-sidebar{border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;flex-shrink:0;height:100vh;padding:1rem 0;position:-webkit-sticky;position:sticky;top:0;width:220px}.sidebar-brand{align-items:center;border-bottom:1px solid var(--border-subtle);color:#f8fafc;display:flex;font-size:1.1rem;font-weight:700;gap:8px;margin-bottom:.5rem;padding:1rem 1.25rem}.sidebar-nav{flex:1 1;overflow:auto}.sidebar-item{align-items:center;color:#94a3b8;display:flex;font-size:.9rem;gap:10px;padding:.65rem 1.25rem;text-decoration:none;transition:background .2s,color .2s}.sidebar-item:hover{background:#ffffff0d;color:#e2e8f0}.sidebar-item.active{background:#6366f126;border-right:3px solid var(--accent);color:#6366f1;color:var(--accent,#6366f1)}.sidebar-item .nav-icon{font-size:1.1rem;margin-bottom:0}.sidebar-footer{border-top:1px solid var(--border-subtle);padding:1rem 1.25rem}.sidebar-footer .user-name{color:#94a3b8;display:block;font-size:.8rem;margin-bottom:.5rem}.bottom-nav-mobile,.bottom-nav-spacer{display:none}.main-wrap{flex:1 1;min-width:0}}.glass-card{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#1a1a1aeb;border:1px solid #ffffff0f}.main-header{flex-shrink:0;margin:0;padding:12px 20px;position:-webkit-sticky;position:sticky;top:0;z-index:40}.header-inner{justify-content:space-between;margin:0 auto;max-width:1200px}.header-inner,.logo{align-items:center;display:flex}.logo{color:#f8fafc;font-size:1.25rem;font-weight:700;gap:10px;margin:0}.logo-icon{font-size:1.5rem}.header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.user-badge{color:#e2e8f0;font-size:.9rem}.role-badge{background:#c9a96233;border:1px solid #c9a96259;border-radius:8px;color:#c9a962;font-size:.8rem;padding:4px 10px;text-transform:capitalize}.btn-icon{align-items:center;background:#ffffff0d;border:1px solid #ffffff1f;border-radius:8px;color:#94a3b8;cursor:pointer;display:inline-flex;height:36px;justify-content:center;padding:0;transition:color .2s,border-color .2s,background .2s;width:36px}.btn-icon:hover{background:#c9a9621a;border-color:#c9a96266;color:#c9a962}.btn-refresh-icon{font-size:1.2rem;line-height:1}.btn-logout{background:#0000;border:1px solid #fff3;border-radius:8px;color:#e2e8f0;cursor:pointer;font-size:.9rem;padding:8px 16px;transition:color .2s,border-color .2s,background .2s}.btn-logout:hover{background:#c9a96214;border-color:#c9a96280;color:#c9a962}.main-content{-webkit-overflow-scrolling:touch;flex:1 1;margin:0 auto;max-width:1200px;min-height:0;overflow:auto;padding:20px 16px 24px;width:100%}.bottom-nav{bottom:0;flex-shrink:0;height:64px;justify-content:space-around;left:0;padding:0 8px;position:fixed;right:0;z-index:45}.bottom-nav,.bottom-nav-item{align-items:center;display:flex}.bottom-nav-item{border-radius:10px;color:#94a3b8;flex-direction:column;font-size:.7rem;justify-content:center;min-width:56px;padding:8px 12px;text-decoration:none;transition:color .2s,background .2s}.bottom-nav-item:hover{color:#e2e8f0}.bottom-nav-item.active{background:#c9a96226;color:#c9a962}.nav-icon{font-size:1.25rem;margin-bottom:2px}.nav-label{white-space:nowrap}.bottom-nav-spacer{flex-shrink:0;height:80px}@media (min-width:768px){.bottom-nav{border-radius:12px 12px 0 0;left:50%;max-width:96vw;transform:translateX(-50%);width:520px}.bottom-nav-spacer{height:88px}}:root{--bg-deep:#020617;--bg-dark:#0f172a;--bg-surface:#1e293b;--border-subtle:#ffffff14;--glass-bg:#1e293bd9;--glass-border:#ffffff0f;--accent:#6366f1;--accent-hover:#4f46e5;--accent-edit:#3b82f6;--accent-delete:#ef4444;--text-primary:#f8fafc;--text-muted:#94a3b8;--font-ui:"Inter","DM Sans",-apple-system,BlinkMacSystemFont,sans-serif}*,:after,:before{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0f172a;background:var(--bg-dark);color:#e2e8f0;font-family:Inter,DM Sans,-apple-system,BlinkMacSystemFont,sans-serif;font-family:var(--font-ui);line-height:1.5;margin:0;min-height:100vh}.page-loading{color:#94a3b8;font-size:.9375rem;padding:2rem;text-align:center}.page-error{background:#7f1d1d40;border:1px solid #7f1d1d;border-radius:8px;color:#fecaca;font-size:.9375rem;margin-bottom:1rem;padding:1rem 1.25rem}.page-header h1,h1{color:#f8fafc;font-size:1.5rem;font-weight:600;letter-spacing:-.02em;margin:0 0 1.25rem}.btn-primary{background:#6366f1;background:var(--accent,#6366f1);border:none;border-radius:8px;color:#fff;font-size:.9375rem;font-weight:500;padding:.5rem 1.25rem;transition:background .2s}.btn-primary:hover:not(:disabled){background:#4f46e5;background:var(--accent-hover,#4f46e5)}.btn-primary:disabled{cursor:not-allowed;opacity:.7}#root{min-height:100vh}.app-view{overflow-x:hidden;user-select:none;-webkit-user-select:none}.app-view [contenteditable=true],.app-view input,.app-view textarea{user-select:text;-webkit-user-select:text}a{color:#38bdf8;text-decoration:none}a:hover{text-decoration:underline}button:active:not(:disabled){transform:scale(.97);transition:transform .12s ease}button{cursor:pointer;font-family:inherit;transition:transform .12s ease}.card-glass{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#1e293bd9;background:var(--glass-bg);border:1px solid #ffffff0f;border:1px solid var(--glass-border)}@keyframes skeleton-pulse{0%,to{opacity:.6}50%{opacity:1}}.skeleton-pulse{animation:skeleton-pulse 1.2s ease-in-out infinite}@keyframes staggerSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes heart-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.heart-pulse,.saving-active .heart-icon{animation:heart-pulse .4s ease}.stock-warning{box-shadow:0 0 0 1px #ef44444d,0 0 16px #ef444440;transition:box-shadow .25s ease}.accordion-content{overflow:hidden;transition:max-height .35s cubic-bezier(.4,0,.2,1),opacity .25s ease}input,select,textarea{font-family:inherit}.toast{animation:toastSlideDown .3s cubic-bezier(.22,1,.36,1);border-radius:999px;box-shadow:0 8px 32px #0006;font-size:.9375rem;font-weight:500;left:50%;max-width:min(360px,calc(100vw - 2rem));padding:.75rem 1.5rem;position:fixed;top:1rem;transform:translateX(-50%);will-change:transform,opacity;z-index:9999}@keyframes toastSlideDown{0%{opacity:0;transform:translateX(-50%) translateY(-1rem)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.toast-success{background:#14532d;border:1px solid #22c55e;color:#86efac}.toast-error{background:#7c2d2d;border:1px solid #b91c1c;color:#fecaca}.toast-info{background:#1e3a5f;border:1px solid #3b82f6;color:#93c5fd}
/*# sourceMappingURL=main.c684b21c.css.map*/