/* ============================================ ITEMS MODAL - PROFESSIONAL DARK THEME ============================================ */ /* Overlay */ .items-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(12px); padding: 1.5rem; animation: items-fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1); } @keyframes items-fadeIn { from { opacity: 0; } to { opacity: 1; } } /* Modal Content */ .items-modal-content { background: linear-gradient(to bottom, #1a1a1a, #0f0f0f); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; max-width: 800px; width: 100%; max-height: 90vh; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 58, 237, 0.1); display: flex; flex-direction: column; animation: items-slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1); } @keyframes items-slideUp { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } /* Header */ .items-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.02); flex-shrink: 0; } .items-modal-header h3 { display: flex; align-items: center; gap: 0.75rem; color: #ffffff; font-size: 1.25rem; margin: 0; font-weight: 600; } .items-modal-header h3 svg { color: #a78bfa; flex-shrink: 0; } .items-modal-header h3 span { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; } .command-badge { background: rgba(124, 58, 237, 0.15); color: #c4b5fd; padding: 0.375rem 0.75rem; border-radius: 6px; font-size: 0.875rem; font-weight: 600; border: 1px solid rgba(124, 58, 237, 0.3); } .items-modal-close { background: transparent; border: none; color: #6b7280; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; transition: all 0.2s ease; font-weight: 400; flex-shrink: 0; } .items-modal-close:hover { background: rgba(255, 255, 255, 0.05); color: #ffffff; } /* Body */ .items-modal-body { padding: 2rem; overflow-y: auto; flex: 1; background: #0a0a0a; } .items-modal-body::-webkit-scrollbar { width: 6px; } .items-modal-body::-webkit-scrollbar-track { background: transparent; } .items-modal-body::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.3); border-radius: 10px; } .items-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.5); } /* Empty State */ .items-modal-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 2rem; color: #6b7280; gap: 1rem; } .items-modal-empty svg { color: #374151; opacity: 0.5; } .items-modal-empty p { font-size: 1rem; margin: 0; color: #9ca3af; } /* Summary */ .items-modal-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; } .summary-item { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; transition: all 0.2s ease; } .summary-item:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(124, 58, 237, 0.3); } .summary-item svg { color: #a78bfa; width: 20px; height: 20px; } .summary-item span { color: #ffffff; font-weight: 600; font-size: 1.5rem; line-height: 1; } .summary-item::before { content: attr(data-label); color: #9ca3af; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } /* Items List */ .items-modal-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; } /* Item Card */ .items-modal-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 1.5rem; transition: all 0.2s ease; display: flex; gap: 1.25rem; } .items-modal-card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(124, 58, 237, 0.4); box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15); } /* Item Number */ .item-number { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(124, 58, 237, 0.15); color: #a78bfa; border-radius: 8px; font-weight: 600; font-size: 0.875rem; flex-shrink: 0; border: 1px solid rgba(124, 58, 237, 0.2); } /* Item Content */ .item-content { flex: 1; display: flex; flex-direction: column; gap: 1rem; } .item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; } .item-name { color: #f9fafb; font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 0; flex: 1; } /* Item Status */ .item-status { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; border-radius: 6px; font-size: 0.8125rem; font-weight: 500; white-space: nowrap; flex-shrink: 0; } .item-status.status-pending { background: rgba(251, 146, 60, 0.15); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.3); } .item-status.status-prepared, .item-status.status-packed { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); } .item-status.status-delivered { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); } /* Item Details */ .item-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .item-detail { display: flex; flex-direction: column; gap: 0.375rem; } .detail-label { color: #9ca3af; font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .detail-value { color: #f9fafb; font-size: 1.125rem; font-weight: 600; } .detail-value.detail-total { color: #34d399; font-size: 1.25rem; } /* Item Meta */ .item-meta { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.75rem; margin-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.05); } .item-id { color: #6b7280; font-size: 0.8125rem; font-family: 'SF Mono', 'Monaco', 'Courier New', monospace; } /* Total */ .items-modal-total { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05)); border: 2px solid rgba(124, 58, 237, 0.3); border-radius: 12px; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2); } .items-modal-total span { color: #9ca3af; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .items-modal-total strong { color: #c4b5fd; font-size: 1.875rem; font-weight: 700; } /* ============================================ RESPONSIVE ============================================ */ /* Tablet */ @media (max-width: 768px) { .items-modal-overlay { padding: 1rem; } .items-modal-content { max-height: 92vh; border-radius: 12px; margin-bottom: 200px; } .items-modal-header { padding: 1.25rem 1.5rem; } .items-modal-header h3 { font-size: 1.125rem; } .command-badge { font-size: 0.8125rem; } .items-modal-body { padding: 1.5rem; } .items-modal-summary { grid-template-columns: 1fr; gap: 0.75rem; } .summary-item { padding: 1rem; } .items-modal-card { padding: 1.25rem; gap: 1rem; } .item-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; } .item-details { grid-template-columns: 1fr; gap: 1rem; } .items-modal-total { padding: 1.25rem; } .items-modal-total strong { font-size: 1.5rem; } } /* Mobile */ @media (max-width: 480px) { .items-modal-overlay { padding: 0.5rem; } .items-modal-header { padding: 1rem 1.25rem; } .items-modal-header h3 { font-size: 1rem; gap: 0.5rem; } .command-badge { font-size: 0.75rem; padding: 0.25rem 0.625rem; } .items-modal-body { padding: 1.25rem; } .items-modal-card { padding: 1rem; gap: 0.875rem; } .item-number { width: 28px; height: 28px; font-size: 0.8125rem; } .item-name { font-size: 0.9375rem; } .detail-value { font-size: 1rem; } .detail-value.detail-total { font-size: 1.125rem; } .items-modal-total { padding: 1rem; } .items-modal-total strong { font-size: 1.375rem; } } /* Small Mobile */ @media (max-width: 360px) { .items-modal-content { border-radius: 8px; } .items-modal-header h3 { font-size: 0.9375rem; } .item-details { gap: 0.75rem; } } /* Touch Devices */ @media (hover: none) { .items-modal-card:hover { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); box-shadow: none; } .summary-item:hover { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); } }