/* ======================================== Tire Check-out Page Styles ======================================== */ .checkout-page { min-height: 100vh; min-height: 100dvh; background: var(--color-bg-gradient); padding: var(--space-4); padding-bottom: calc(var(--space-4) + var(--safe-area-bottom)); } .page-header { text-align: center; padding: 1rem 0 1.5rem; } .page-header h1 { font-family: var(--font-family-heading); font-size: 1.5rem; font-weight: var(--font-weight-bold); color: var(--text-primary); margin: 0 0 0.5rem 0; } .page-header p { font-family: var(--font-family-base); color: var(--text-placeholder); margin: 0; font-size: var(--text-sm); } /* ======================================== Checkout Card ======================================== */ .checkout-card { background: rgba(28, 28, 30, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 0.5px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 1.5rem; max-width: 500px; margin: 0 auto 1.5rem; } /* ======================================== Last Scan Display ======================================== */ .last-scan-display { background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%); border: 1px solid rgba(96, 165, 250, 0.4); border-radius: 12px; padding: 12px 16px; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; animation: scanPulse 0.5s ease-out; } @keyframes scanPulse { 0% { transform: scale(0.95); opacity: 0; } 50% { transform: scale(1.02); } 100% { transform: scale(1); opacity: 1; } } .last-scan-display .scan-label { font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); } .last-scan-display .scan-code { font-family: 'Orbitron', monospace; font-size: 1rem; font-weight: 600; color: #93c5fd; flex: 1; word-break: break-all; } /* ======================================== Scan Section ======================================== */ .scan-section { margin-bottom: 1rem; } .camera-wrapper { background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 1; max-height: 250px; margin-bottom: 1rem; } #qr-reader-checkout { width: 100%; height: 100%; } #qr-reader-checkout video { width: 100%; height: 100%; object-fit: cover; } .scanner-controls { display: flex; justify-content: center; } /* ======================================== Search Section ======================================== */ .search-section { margin-bottom: 1rem; } .search-input { width: 100%; padding: 14px 16px; background: rgba(0, 0, 0, 0.3); border: 0.5px solid rgba(255, 255, 255, 0.12); border-radius: 12px; color: #ffffff; font-family: 'Rajdhani', sans-serif; font-size: 1rem; box-sizing: border-box; } .search-input:focus { outline: none; border-color: rgba(220, 38, 38, 0.5); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); } .search-input::placeholder { color: rgba(255, 255, 255, 0.35); } /* ======================================== Scanned Items Section ======================================== */ .scanned-section { background: rgba(28, 28, 30, 0.8); border: 0.5px solid rgba(34, 197, 94, 0.3); border-radius: 20px; padding: 1.5rem; max-width: 500px; margin: 0 auto 1.5rem; } .scanned-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .scanned-header h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 600; color: #ffffff; margin: 0; display: flex; align-items: center; gap: 8px; } .scan-count { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: rgba(34, 197, 94, 0.3); border-radius: 50%; font-family: 'Orbitron', monospace; font-weight: 700; color: #86efac; } /* btn-sm, btn-outline-danger: inherited from app.css (section 5) */ /* ======================================== Scanned Summary ======================================== */ .scanned-summary { display: flex; gap: 12px; margin-bottom: 1rem; padding: 12px; background: rgba(0, 0, 0, 0.3); border-radius: 12px; } .summary-item { flex: 1; text-align: center; } .summary-value { display: block; font-family: 'Orbitron', monospace; font-size: 1.25rem; font-weight: 700; color: #22c55e; } .summary-label { font-family: 'Rajdhani', sans-serif; font-size: 0.7rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; } /* ======================================== Scanned List ======================================== */ .scanned-list { display: flex; flex-direction: column; gap: 10px; max-height: 400px; overflow-y: auto; margin-bottom: 1rem; } .scanned-item { background: rgba(0, 0, 0, 0.3); border: 0.5px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 12px; transition: all 0.2s ease; } .scanned-item.highlight { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); animation: highlightFade 3s ease-out; } @keyframes highlightFade { 0% { background: rgba(34, 197, 94, 0.3); } 100% { background: rgba(34, 197, 94, 0.15); } } .scanned-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .scanned-item-main { display: flex; align-items: center; gap: 10px; } .scanned-item-header .ticket-number { font-family: 'Orbitron', monospace; font-weight: 600; color: #ef4444; font-size: 0.9rem; } .location-badge { font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif; font-size: 0.8rem; color: #60a5fa; background: rgba(96, 165, 250, 0.1); padding: 2px 8px; border-radius: 4px; } .btn-remove { background: rgba(255, 255, 255, 0.1); border: none; border-radius: 50%; width: 24px; height: 24px; color: rgba(255, 255, 255, 0.5); cursor: pointer; font-size: 0.8rem; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; } .btn-remove:hover { background: rgba(239, 68, 68, 0.3); color: #f87171; } .scanned-item-body { display: flex; flex-direction: column; gap: 6px; } .scanned-customer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .scanned-customer .customer-name { font-family: 'Rajdhani', sans-serif; font-weight: 600; color: #ffffff; font-size: 0.95rem; } .scanned-customer .customer-name.inventory { font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif; color: #93c5fd; } .scanned-customer .vehicle-info { background: rgba(255, 255, 255, 0.1); padding: 2px 8px; border-radius: 4px; font-family: 'Rajdhani', sans-serif; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); } .scanned-details { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); } .scanned-details .tire-count { font-weight: 600; color: #ffffff; } .scanned-details .tire-season { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif; font-size: 1rem; line-height: 1; } .scanned-details .with-rims { background: rgba(255, 255, 255, 0.1); padding: 1px 6px; border-radius: 4px; font-size: 0.75rem; } .scanned-brand { font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); } .scanned-qr { font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; padding: 6px 8px; background: rgba(34, 197, 94, 0.08); border-radius: 6px; } .scanned-qr .qr-label { color: rgba(255, 255, 255, 0.4); margin-right: 4px; } .scanned-qr .qr-codes { font-family: 'Orbitron', monospace; font-size: 0.75rem; color: #86efac; word-break: break-all; } .scanned-meta { display: flex; gap: 6px; font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); } .scanned-actions { margin-top: 1rem; } /* ======================================== Results Section ======================================== */ .results-section { max-width: 500px; margin: 0 auto 1.5rem; } .results-section h3 { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.6); margin: 0 0 1rem 0; } .tireset-list { display: flex; flex-direction: column; gap: 12px; } .tireset-card { background: rgba(28, 28, 30, 0.8); border: 0.5px solid rgba(255, 255, 255, 0.1); border-radius: 16px; overflow: hidden; cursor: pointer; transition: all 0.2s ease; } .tireset-card:hover { border-color: rgba(255, 255, 255, 0.2); } .tireset-card.selected, .tireset-card.already-scanned { border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.05); } .tireset-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: rgba(0, 0, 0, 0.2); border-bottom: 0.5px solid rgba(255, 255, 255, 0.05); } .ticket-number { font-family: 'Orbitron', monospace; font-weight: 600; color: #ef4444; font-size: 0.95rem; } .status-badge { padding: 4px 10px; border-radius: 6px; font-family: 'Rajdhani', sans-serif; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; } .status-badge.stored { background: rgba(34, 197, 94, 0.15); color: #22c55e; } .status-badge.pickedup { background: rgba(156, 163, 175, 0.15); color: #9ca3af; } .status-badge.reserved { background: rgba(251, 191, 36, 0.15); color: #fbbf24; } .tireset-body { padding: 12px 16px; } .customer-info { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .customer-name { font-family: 'Rajdhani', sans-serif; font-weight: 600; color: #ffffff; font-size: 1rem; } .vehicle-info { background: rgba(255, 255, 255, 0.1); padding: 2px 8px; border-radius: 4px; font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); } .tire-info { margin-bottom: 8px; } .tire-count { font-family: 'Rajdhani', sans-serif; font-weight: 600; color: #ffffff; font-size: 0.9rem; margin-right: 8px; } .tire-details { font-family: 'Rajdhani', sans-serif; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; } /* QR Info in search results */ .qr-info { margin-bottom: 8px; padding: 8px; background: rgba(34, 197, 94, 0.08); border-radius: 6px; } .qr-info .qr-label { font-family: 'Rajdhani', sans-serif; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); display: block; margin-bottom: 4px; } .qr-info .qr-codes { font-family: 'Orbitron', monospace; font-size: 0.8rem; color: #86efac; word-break: break-all; } .location-info { display: flex; justify-content: space-between; font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); } .location { font-family: "Apple Color Emoji", "Segoe UI Emoji", 'Rajdhani', sans-serif; color: #60a5fa; } /* Buttons: inherited from app.css (section 5) */ .w-100 { width: 100%; } /* ======================================== Divider ======================================== */ .divider { display: flex; align-items: center; gap: 12px; margin: 1.25rem 0; font-family: 'Rajdhani', sans-serif; color: rgba(255, 255, 255, 0.4); font-size: 0.85rem; } .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); } /* Alerts: inherited from app.css (section 7) */ .alert { margin-top: var(--space-3); } /* Spinner: inherited from app.css (section 11) */ .spinner { width: 18px; height: 18px; border: 2px solid var(--border-default); border-top-color: var(--text-primary); border-radius: 50%; animation: spin 0.8s linear infinite; } /* ======================================== Success Modal ======================================== */ .success-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 1000; } .success-modal { background: rgba(28, 28, 30, 0.95); border: 0.5px solid rgba(255, 255, 255, 0.15); border-radius: 24px; padding: 2rem; text-align: center; max-width: 400px; width: 100%; } .success-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(34, 197, 94, 0.15); border: 2px solid rgba(34, 197, 94, 0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif; font-size: 2.5rem; color: #22c55e; line-height: 1; } .success-modal h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 600; color: #ffffff; margin: 0 0 0.5rem 0; } .success-modal p { font-family: 'Rajdhani', sans-serif; color: rgba(255, 255, 255, 0.7); margin: 0 0 0.5rem 0; } .pickup-detail { font-size: 1.1rem; font-weight: 600; color: #22c55e !important; } .pickup-list { background: rgba(0, 0, 0, 0.3); border-radius: 12px; padding: 12px; margin: 1rem 0; max-height: 200px; overflow-y: auto; text-align: left; } .pickup-item { padding: 8px 0; border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); } .pickup-item:last-child { border-bottom: none; } .pickup-item .ticket { font-family: 'Orbitron', monospace; font-size: 0.85rem; color: #ef4444; display: block; } .pickup-item .info { font-family: 'Rajdhani',sans-serif; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); } .success-detail { color: rgba(255, 255, 255, 0.5) !important; font-size: 0.9rem; margin-bottom: 1.5rem !important; } /* ======================================== Responsive ======================================== */ @media (min-width: 768px) { .checkout-page { padding: 2rem; } .page-header h1 { font-size: 2rem; } .checkout-card, .results-section, .scanned-section { max-width: 600px; } } @media (min-width: 1024px) { .checkout-page { padding: 3rem; } .checkout-card, .results-section, .scanned-section { max-width: 700px; } } /* Reduced motion: inherited from app.css (section 17) */