body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;margin:0;background-color:#f9fafb;color:#1f2937}.login-page-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:#eff6ff}.login-form-wrapper{width:100%;max-width:28rem;padding:2rem;background-color:#fff;border-radius:.5rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.login-form-wrapper h1{font-size:1.875rem;font-weight:700;text-align:center;margin:0 0 .5rem}.login-form-wrapper p{text-align:center;color:#4b5563;margin-top:.5rem;margin-bottom:1.5rem}.login-form-wrapper form div{margin-bottom:1.5rem}.login-form-wrapper label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem}.login-form-wrapper input{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;box-sizing:border-box;font-size:1rem}.login-form-wrapper input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.login-form-wrapper button{width:100%;padding:.75rem 1rem;font-weight:700;color:#fff;background-color:#2563eb;border:none;border-radius:.375rem;cursor:pointer;transition:background-color .2s}.login-form-wrapper button:hover{background-color:#1d4ed8}.login-error{font-size:.875rem;color:#dc2626;margin-top:.5rem}.main-app{display:flex;height:100vh;width:100%}.main-content{flex-grow:1;padding:2rem;overflow-y:auto;background-color:#f9fafb}.logout-button{position:fixed;bottom:20px;left:20px;padding:.5rem 1rem;font-weight:700;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;transition:background-color .2s,color .2s;background-color:#f3f4f6;color:#374151}.logout-button:hover{background-color:#e5e7eb}.sidebar{width:25%;min-width:300px;background-color:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow-y:auto}.sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;gap:.5rem}.sidebar-header h2{font-size:1.5rem;font-weight:700;margin:0}.header-buttons-container{display:flex;gap:.5rem;flex-wrap:wrap}.navigate-button{padding:.4rem .8rem;font-weight:700;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s;background-color:#6366f1;color:#fff;font-size:.875rem}.navigate-button:hover{background-color:#4f46e5}.pulled-ready-button{padding:.4rem .8rem;font-weight:700;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s;background-color:#f59e0b;color:#fff;font-size:.875rem}.pulled-ready-button:hover{background-color:#d97706}.refresh-button{padding:.4rem .8rem;font-weight:700;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s;background-color:#16a34a;color:#fff;font-size:.875rem}.refresh-button:hover{background-color:#15803d}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.sidebar-item{padding:1rem;border-bottom:1px solid #e5e7eb;cursor:pointer;transition:background-color .2s}.sidebar-item:hover{background-color:#f9fafb}.sidebar-item.active{background-color:#dbeafe;border-right:4px solid #2563eb}.sidebar-item.pulling{background-color:#fef9c3;border-right:4px solid #f59e0b}.sidebar-item.adjusted{background-color:#fef2f2;border-right:4px solid #ef4444}.sidebar-item .order-id{font-weight:700;font-size:1.125rem;display:flex;align-items:center;margin-bottom:.25rem}.sidebar-item .delivery-icon{margin-right:.5rem;font-size:1.2em}.sidebar-customer-name{font-size:.95rem;color:#4b5563;margin-bottom:.5rem}.order-summary{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#6b7280}.order-items-count{display:flex;align-items:center;gap:.5rem}.adjusted-badge{display:inline-block;padding:.125rem .5rem;background-color:#fef2f2;color:#dc2626;border-radius:.25rem;font-size:.75rem;font-weight:600}.order-summary .order-price{font-weight:700;color:#1f2937}.order-details-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.25rem;color:#6b7280}.order-details-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.order-details-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.order-details-header h2{font-size:2rem;font-weight:600;margin:0 0 .5rem}.order-details-header .date{font-size:1rem;color:#6b7280}.badge-group{display:flex;gap:.5rem;flex-wrap:wrap}.financial-status-badge,.fulfillment-status-badge,.delivery-method-badge{display:inline-block;padding:.25rem .75rem;border-radius:.375rem;font-size:.875rem;font-weight:500;text-transform:capitalize}.financial-status-badge.paid{background-color:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.financial-status-badge.pending,.financial-status-badge.authorized{background-color:#fef3c7;color:#92400e;border:1px solid #f59e0b}.financial-status-badge.refunded{background-color:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.financial-status-badge.voided{background-color:#fee2e2;color:#dc2626;border:1px solid #fca5a5}.fulfillment-status-badge{background-color:#e0e7ff;color:#3730a3}.fulfillment-status-badge.pulling{background-color:#fed7aa;color:#92400e}.fulfillment-status-badge.ready_for_pickup{background-color:#a7f3d0;color:#065f46}.delivery-method-badge{background-color:#f3e8ff;color:#6b21a8}.adjustment-notice{padding:.75rem 1rem;background-color:#fef2f2;border-left:4px solid #ef4444;border-radius:.375rem;margin-bottom:1rem;color:#991b1b;font-size:.875rem}.pulling-notice{padding:.75rem 1rem;background-color:#fffbeb;border-left:4px solid #f59e0b;border-radius:.375rem;margin-bottom:1rem;color:#92400e;font-size:.875rem;font-weight:500}.customer-info-grid{margin-top:1.5rem;margin-bottom:1.5rem;padding:1rem;background-color:#f9fafb;border-radius:.375rem}.customer-info-grid .customer-name{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 .25rem}.customer-info-grid .customer-contact p{margin:0;color:#4b5563;font-size:.875rem}.customer-info-grid .shipping-address{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e5e7eb}.customer-info-grid address{font-style:normal;line-height:1.5;color:#374151;font-size:.875rem}.order-items-list{margin-bottom:1.5rem}.set-group{margin-bottom:1.5rem;border-left:2px solid #dbeafe;padding-left:1rem}.set-group-header{font-size:1.125rem;font-weight:600;color:#374151;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.condition-badge{display:inline-block;padding:.25rem .75rem;border-radius:.375rem;font-size:.875rem;font-weight:500}.condition-badge.near-mint{background-color:#00ff59}.condition-badge.lightly-played{background-color:#ffea00}.condition-badge.moderately-played{background-color:#f80}.condition-badge.heavily-played{background-color:red}.code-location-group{margin-bottom:1rem}.code-location-header{font-size:.875rem;color:#202022;margin-bottom:.5rem;font-weight:500}.order-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:.375rem;background-color:#fff;border:2px solid #252525;margin-bottom:.5rem;transition:all .15s ease}.order-item:hover{border-color:#8a8a8a;box-shadow:0 1px 3px #0000000d}.order-item.adjusted{opacity:.7;background-color:#f9fafb}.order-item.refunded{border-left:3px solid #10b981;background-color:#f3f4f6}.order-item.removed{border-left:3px solid #6b7280;background-color:#f3f4f6}.order-item .quantity{font-weight:600;color:#374151;min-width:2rem}.order-item .product-title{flex:1;color:#111827}.order-item .status-badge{padding:.25rem .75rem;border-radius:.25rem;font-size:.75rem;font-weight:600;background-color:#f3f4f6;color:#6b7280}.status-tag{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase}.refunded-tag{background-color:#d1fae5;color:#065f46}.missing-tag{font-weight:700;color:#b91c1c;background-color:#fee2e2;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem}.missing-button,.mark-missing-button{padding:.375rem .75rem;background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.missing-button:hover:not(:disabled),.mark-missing-button:hover:not(:disabled){background-color:#fecaca;border-color:#f87171}.missing-button:disabled,.mark-missing-button:disabled{opacity:.5;cursor:not-allowed}.add-back-button{padding:.375rem .75rem;font-size:.875rem;font-weight:500;border:1px solid #6ee7b7;border-radius:.375rem;cursor:pointer;transition:background-color .2s;background-color:#d1fae5;color:#065f46}.add-back-button:hover{background-color:#a7f3d0}.order-total{margin-top:1.5rem;padding:1rem;background-color:#f9fafb;border-radius:.375rem;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.order-total strong{font-size:1.25rem;color:#111827}.order-actions{margin-top:1rem;display:flex;gap:.75rem;justify-content:flex-end;align-items:center;flex-wrap:wrap}.order-actions button,.complete-button,.pulling-button,.mark-as-paid-button,.print-slip-button,.print-sticker-button,.manage-refund-button,.refund-button{padding:.5rem 1rem;font-weight:700;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s;font-size:.875rem}.complete-button{background-color:#16a34a;color:#fff}.complete-button:hover{background-color:#15803d}.complete-button:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.7}.pulling-button{background-color:#f59e0b;color:#fff}.pulling-button:hover{background-color:#d97706}.pulling-button:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.7}.mark-as-paid-button{background-color:#3b82f6;color:#fff}.mark-as-paid-button:hover{background-color:#2563eb}.mark-as-paid-button:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.7}.print-slip-button{background-color:#06b6d4;color:#fff}.print-slip-button:hover{background-color:#0891b2}.print-sticker-button{background-color:#4f46e5;color:#fff}.print-sticker-button:hover{background-color:#3730a3}.manage-refund-button,.refund-button{background-color:#f59e0b;color:#fff}.manage-refund-button:hover,.refund-button:hover{background-color:#d97706}.manage-refund-button:disabled,.refund-button:disabled{background-color:#9ca3af;cursor:not-allowed}.queue-page-container{width:100%;min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);display:flex;flex-direction:column;align-items:center;padding:2rem;box-sizing:border-box}.queue-header{width:100%;max-width:900px;text-align:center;margin-bottom:2rem;position:relative}.queue-header h1{font-size:3rem;font-weight:800;color:#1f2937;margin:0}.queue-header p{font-size:1.25rem;color:#4b5563;margin-top:.5rem}.queue-header .navigate-button{position:absolute;top:0;right:0}.queue-list{width:100%;max-width:800px;display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.queue-item{background-color:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 10px 15px -3px #0000001a;display:flex;justify-content:space-between;align-items:center;border-left:5px solid #4f46e5;transition:all .3s ease}.queue-item:hover{transform:translateY(-2px);box-shadow:0 15px 25px -5px #00000026}.queue-item.pulling{background-color:#fef9c3;border-left-color:#f59e0b}.queue-item.ready-for-pickup{background-color:#dcfce7;border-left-color:#22c55e}.queue-order-info{display:flex;flex-direction:column}.queue-customer-name{font-size:1.75rem;font-weight:700;color:#111827;line-height:1.2}.queue-order-number{font-size:.875rem;font-weight:500;color:#6b7280}.queue-wait-time{font-size:1.25rem;color:#4b5563;text-align:right}.queue-wait-time strong{color:#1f2937;font-weight:700}.ready-message{color:#92400e;font-weight:700;font-size:1.5rem}.pickup-message{color:#166534;font-weight:700;font-size:1.5rem}.no-orders-message{width:100%;text-align:center;font-size:1.25rem;color:#6b7280;grid-column:1 / -1}.loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.5rem;color:#6b7280}@media (max-width: 768px){.main-app{flex-direction:column}.sidebar{width:100%;min-width:unset;border-right:none;border-bottom:1px solid #e5e7eb;max-height:40vh}.main-content{padding:1rem}.order-details-header{flex-direction:column;align-items:flex-start}.queue-list{grid-template-columns:1fr}.queue-header h1{font-size:2rem}.header-buttons-container{width:100%;justify-content:space-between}}@media print{.sidebar,.logout-button,.order-actions,.header-buttons-container,.adjustment-notice,.pulling-notice{display:none}.main-content{padding:0}.order-details-card{box-shadow:none;border:none}}.page-selector{padding:.5rem .75rem;font-size:.95rem;font-weight:500;border:1px solid #d1d5db;border-radius:.375rem;background-color:#fff;color:#374151;cursor:pointer;transition:all .2s ease;min-width:150px}.page-selector:hover{border-color:#9ca3af;background-color:#f9fafb}.page-selector:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.header-buttons-container{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.refresh-button{padding:.5rem .75rem;min-height:36px}.inventory-container{max-width:1400px;margin:0 auto;padding:2rem;background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;min-height:calc(100vh - 4rem)}.inventory-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb;flex-wrap:wrap;gap:1rem}.inventory-header h1{font-size:2rem;font-weight:600;color:#1f2937;margin:0}.inventory-header .header-buttons-container{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.search-container{display:flex;gap:.75rem;margin-bottom:2rem;align-items:center}.search-input{flex:1;padding:.75rem 1rem;font-size:1rem;border:1px solid #d1d5db;border-radius:.5rem;transition:all .2s ease;background-color:#f9fafb}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;background-color:#fff}.heatmap-download-section{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;padding:.5rem;background-color:#fffbeb;border:1px solid #fde68a;border-radius:.375rem}.heatmap-download-section label{font-size:.875rem;font-weight:500;color:#92400e}.heatmap-date-input{padding:.4rem .6rem;font-size:.875rem;border:1px solid #f59e0b;border-radius:.375rem}.download-heatmap-button{padding:.5rem 1rem;font-weight:700;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s;font-size:.875rem;background-color:#f59e0b;color:#fff}.download-heatmap-button:hover:not(:disabled){background-color:#d97706}.download-heatmap-button:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.7}.search-input::placeholder{color:#9ca3af}.inventory-table-container{overflow-x:auto;border-radius:.5rem;border:1px solid #e5e7eb}.inventory-table{width:100%;border-collapse:collapse;background-color:#fff}.inventory-table thead{background-color:#f9fafb;border-bottom:2px solid #e5e7eb}.inventory-table thead th{padding:.875rem 1rem;text-align:left;font-size:.875rem;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.inventory-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background-color .15s ease}.inventory-table tbody tr:hover{background-color:#f9fafb}.inventory-table tbody tr:last-child{border-bottom:none}.inventory-table tbody td{padding:.875rem 1rem;font-size:.875rem;color:#1f2937}.inventory-table tbody td:first-child{font-weight:500;color:#111827}.inventory-table a{color:#3b82f6;text-decoration:none;font-weight:500;transition:color .15s ease}.inventory-table a:hover{color:#2563eb;text-decoration:underline}.quantity-input{width:70px;padding:.375rem .5rem;font-size:.875rem;border:1px solid #d1d5db;border-radius:.375rem;text-align:center;transition:all .15s ease}.quantity-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.quantity-input:disabled{background-color:#f3f4f6;cursor:not-allowed;opacity:.6}.update-quantity-button{padding:.375rem .75rem;font-size:.875rem;font-weight:500;border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease;background-color:#3b82f6;color:#fff}.update-quantity-button:hover:not(:disabled){background-color:#2563eb}.update-quantity-button:disabled{background-color:#9ca3af;cursor:not-allowed;opacity:.6}.update-quantity-button:active:not(:disabled){transform:scale(.98)}.error-message{padding:1rem;background-color:#fee2e2;border-left:4px solid #ef4444;border-radius:.375rem;color:#991b1b;font-size:.875rem;margin-bottom:1rem}@media (max-width: 1024px){.inventory-container{padding:1.5rem}.inventory-header{flex-direction:column;align-items:flex-start}.inventory-header h1{font-size:1.75rem}.search-container{flex-direction:column;width:100%}.search-input{width:100%}.inventory-table-container{overflow-x:scroll}.inventory-table{min-width:800px}}@media (max-width: 768px){.inventory-container{padding:1rem;border-radius:0}.inventory-header h1{font-size:1.5rem}.inventory-table thead th,.inventory-table tbody td{padding:.625rem .75rem;font-size:.8125rem}}@media print{.inventory-header .header-buttons-container,.search-container,.logout-button{display:none}.inventory-container{box-shadow:none;border:none;padding:0}.inventory-table-container{border:1px solid #000}.inventory-table tbody tr:hover{background-color:transparent}}
