.order-management-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; } .order-header-column-1 { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; } .order-header-title-section { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .order-header-title { font-size: 1.8rem; font-weight: 700; margin: 0; color: #ffffff; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .order-header-badge { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.05); padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); white-space: nowrap; } .order-header-search-section { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .order-header-column-2 { display: flex; gap: 12px; align-items: flex-end; flex-shrink: 0; } .order-search-filter { min-width: 280px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; backdrop-filter: blur(10px); transition: all 0.3s ease; } .order-search-filter input { background: transparent; border: none; color: #ffffff; font-size: 0.95rem; outline: none; width: 100%; } .order-search-filter input::placeholder { color: rgba(255, 255, 255, 0.5); } .order-filter-select, .order-period-select { min-width: 140px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 12px 16px; color: #ffffff; font-size: 0.95rem; backdrop-filter: blur(10px); transition: all 0.3s ease; cursor: pointer; } .order-filter-select option, .order-period-select option { background: rgba(40, 40, 40, 0.95); color: #ffffff; padding: 8px 12px; } .order-refresh-btn { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(10px); } .order-refresh-btn:hover { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.4); transform: translateY(-2px); } .order-export-btn { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #ffffff; border: none; padding: 12px 20px; border-radius: 12px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3); } .order-export-btn:hover { background: linear-gradient(135deg, #7c3aed, #6d28d9); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4); } .order-data-table { background: rgba(255, 255, 255, 0.05); border-radius: 18px; overflow: hidden; border: 1px solid var(--color-border); backdrop-filter: blur(15px); box-shadow: 0 8px 32px var(--color-shadow); } .order-table-header { grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1fr 1fr 1fr 1fr 1fr 1.3fr 7px; display: grid; gap: 2.5rem; padding: 1rem; background: linear-gradient(to right, #38b69df4, #191654); border-bottom: 1px solid var(--color-border); font-weight: 600; color: var(--color-text); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(15px); } .order-info { display: flex; align-items: center; gap: 0.75rem; width: 100%; } .order-table-row { grid-template-columns: 1fr 1.5fr 1.4fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 7px; display: grid; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--color-border); transition: all 0.3s ease; align-items: center; } .order-table-row:hover { background: rgba(255, 255, 255, 0.02); transform: scale(1.01); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); } .order-table-row-alternate { background: rgba(255, 255, 255, 0.02); } .order-table-row-alternate:hover { background: rgba(255, 255, 255, 0.04); } .order-table-cell { display: flex; align-items: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); } .order-id-badge { background: rgba(59, 130, 246, 0.1); color: #3b82f6; padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; border: 1px solid rgba(59, 130, 246, 0.2); display: inline-block; text-align: center; min-width: 80px; } .order-customer-container { display: flex; align-items: center; gap: 12px; } .order-user-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 600; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); } .order-user-avatar-icon { width: 20px; height: 20px; } .order-customer-name { font-weight: 500; color: rgba(255, 255, 255, 0.9); } .order-customer-dname{ display: flex; align-items: center; justify-content: center; justify-items: center; text-align: center; gap: 3.75rem; } .order-amount-text { font-weight: 700; font-size: 1rem; color: #10b981; text-align: center; width: fit-content; padding: 4px 8px; background: rgba(16, 185, 129, 0.05); border-radius: 6px; border: 1px solid rgba(16, 185, 129, 0.1); margin: 0 auto; } .order-status-badge { padding: 8px 16px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; text-align: center; min-width: 90px; display: inline-block; margin: 0 auto; position: relative; overflow: hidden; transition: all 0.3s ease; cursor: pointer; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .order-status-badge::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.5s ease; } .order-status-badge:hover::before { left: 100%; } .order-status-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); } .order-status-badge:active { transform: translateY(0) scale(0.95); transition: transform 0.1s ease; } .order-status-badge.status-placed { background: linear-gradient(135deg, #667eea 0%, #513471 100%); color: white; border-color: rgba(102, 126, 234, 0.3); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .order-status-badge.status-processing { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; border-color: rgba(245, 158, 11, 0.3); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .order-status-badge.status-shipped { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); color: white; border-color: rgba(59, 130, 246, 0.3); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .order-status-badge.status-delivered { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; border-color: rgba(16, 185, 129, 0.3); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .order-status-badge.status-cancelled { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; border-color: rgba(239, 68, 68, 0.3); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .order-status-badge.status-refunded { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); color: white; border-color: rgba(139, 92, 246, 0.3); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } @keyframes statusPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } } @keyframes statusGlow { 0%, 100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } 50% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); } } @keyframes statusShimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } } @keyframes statusBounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-3px); } 60% { transform: translateY(-1px); } } .order-status-badge.status-processing { animation: statusPulse 2s ease-in-out infinite; } .order-status-badge.status-shipped { animation: statusGlow 3s ease-in-out infinite; } .order-status-badge.status-placed { background-size: 200% 200%; animation: statusShimmer 3s ease-in-out infinite; } .order-status-badge.status-delivered { animation: statusBounce 2s ease-in-out infinite; } .order-status-badge.status-placed:hover { background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3); } .order-status-badge.status-processing:hover { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3); } .order-status-badge.status-shipped:hover { background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3); } .order-status-badge.status-delivered:hover { background: linear-gradient(135deg, #059669 0%, #047857 100%); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3); } .order-status-badge.status-cancelled:hover { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3); } .order-status-badge.status-refunded:hover { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3); } .order-date-text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); text-align: center; } .order-pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem; } .order-pagination .pagination-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.2); cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); font-size: 1.1rem; font-weight: 600; } .order-pagination .pagination-btn:hover:not(:disabled) { background: linear-gradient(135deg, #667eea, #764ba2); color: white; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3); border-color: rgba(102, 126, 234, 0.4); } .order-pagination .pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; } .order-pagination-info { font-weight: 600; color: rgba(255, 255, 255, 0.9); font-size: 1rem; padding: 12px 20px; background: rgba(255, 255, 255, 0.1); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); } @media (max-width: 1200px) { .order-management-header { flex-direction: column; align-items: stretch; } .order-header-column-2 { align-items: stretch; } } @media (max-width: 768px) { .order-header-title-section { flex-direction: column; align-items: flex-start; } .order-header-search-section { flex-direction: column; align-items: stretch; } .order-header-column-2 { flex-direction: column; align-items: stretch; } .order-search-filter, .order-filter-select, .order-period-select, .order-refresh-btn, .order-export-btn { min-width: auto; width: 100%; } .order-table-header, .order-table-row { grid-template-columns: 1fr; gap: 12px; padding: 12px; } .order-table-cell { justify-content: flex-start; text-align: left; } .order-table-header .table-cell { font-weight: 600; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; } } @media (max-width: 480px) { .order-management-header { gap: 16px; } .order-header-title { font-size: 1.5rem; } .order-search-filter input { font-size: 0.9rem; } .order-table-header, .order-table-row { padding: 8px; gap: 8px; } .order-table-cell { font-size: 0.9rem; } .order-user-avatar { width: 32px; height: 32px; } .order-id-badge { font-size: 0.8rem; padding: 4px 8px; } } .order-data-table .empty-state-container { grid-column: 1 / -1; padding: 60px 20px; background: rgba(255, 255, 255, 0.02); } .order-data-table .empty-state-content { display: flex; flex-direction: column; align-items: center; gap: 16px; } .order-data-table .empty-state-icon { opacity: 0.3; color: rgba(255, 255, 255, 0.5); } .order-data-table .empty-state-text { display: flex; flex-direction: column; gap: 8px; text-align: center; } .order-data-table .empty-state-title { margin: 0; font-size: 1.2rem; color: rgba(255, 255, 255, 0.8); font-weight: 600; } .order-data-table .empty-state-subtitle { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); } .order-data-table .empty-state-button { font-size: 0.9rem; padding: 10px 20px; border-radius: 8px; transition: all 0.3s ease; } .order-data-table .empty-state-button.clear { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); } .order-data-table .empty-state-button.clear:hover { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.4); } .order-data-table .empty-state-button.add { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #ffffff; border: none; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3); } .order-data-table .empty-state-button.add:hover { background: linear-gradient(135deg, #7c3aed, #6d28d9); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4); } .order-data-table .empty-state-button-icon { width: 16px; height: 16px; } .order-header-column-2 { display: flex; gap: 12px; align-items: flex-end; flex-shrink: 0; } .order-header-search-section { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .order-table-row-skeleton { opacity: 0.7; } .order-table-cell-skeleton { display: flex; align-items: center; padding: 0.5rem; } .action-buttons-container { display: flex; gap: 0.5rem; align-items: center; justify-content: center; } .action-button { width: 36px; height: 36px; border-radius: 8px; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; color: white; font-size: 0.9rem; } .action-button.view { background: linear-gradient(135deg, #1db8f1, #075e74); } .action-button.view:hover { background: linear-gradient(135deg, #044760, #2ca0ce); transform: scale(1.1); } .action-button.edit { background: linear-gradient(135deg, #f1a522, #673802); } .action-button.edit:hover { background: linear-gradient(135deg, #744c07, #dd7717); transform: scale(1.1); } .action-button.delete { background: linear-gradient(135deg, #f41a1ac5, #83161695); } .action-button.delete:hover { background: linear-gradient(135deg, #771818c5, #ea1e1e95); transform: scale(1.1); } .management-content { padding: 2rem; min-height: 100vh; position: relative; } .content-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; gap: 2rem; flex-wrap: wrap; } .order-header-column-1 { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; } .order-header-title-section { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .order-header-title { font-size: 1.8rem; font-weight: 700; margin: 0; color: #ffffff; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .order-header-badge { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.05); padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); white-space: nowrap; } .order-header-search-section { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .search-bar { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-light); border-radius: var(--radius-xl); background: rgba(145, 111, 111, 0.12); border-radius: 20px; padding: 12px 20px; backdrop-filter: blur(20px); transition: all 0.3s ease; min-width: 300px; } .search-bar:focus-within { background: rgba(255, 255, 255, 0.15); border-color: rgba(123, 133, 181, 0.5); box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1); transform: translateY(-1px); } .search-bar input { background: none; border: none; color: #fff; font-size: 1rem; outline: none; width: 100%; font-weight: 500; } .search-bar input::placeholder { color: rgba(255, 255, 255, 0.6); font-weight: 400; } .filter-select { padding: 0.75rem 1rem; border-radius: 12px; background: var(--color-card-glass); border: 1px solid var(--color-border); color: var(--color-text); font-size: 0.95rem; outline: none; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s ease; min-width: 180px; } .filter-select:hover { border-color: var(--color-accent); box-shadow: 0 4px 16px var(--color-shadow); } .filter-select option { background: var(--color-card); color: var(--color-text); padding: 0.5rem; } .pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem; } .pagination-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.2); cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); font-size: 1.1rem; font-weight: 600; } .pagination-btn:hover:not(:disabled) { background: linear-gradient(135deg, #667eea, #764ba2); color: white; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3); border-color: rgba(102, 126, 234, 0.4); } .pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; } .pagination-info { font-weight: 600; color: rgba(255, 255, 255, 0.9); font-size: 1rem; padding: 12px 20px; background: rgba(255, 255, 255, 0.1); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); } .empty-state-container { grid-column: 1 / -1; text-align: center; padding: 3rem 2rem; } .empty-state-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 400px; margin: 0 auto; } .empty-state-icon { color: var(--color-text); opacity: 0.5; } .empty-state-text { display: flex; flex-direction: column; gap: 0.5rem; } .empty-state-title { font-size: 1.25rem; font-weight: 600; color: var(--color-text); margin: 0; } .empty-state-subtitle { font-size: 0.95rem; color: var(--color-text); opacity: 0.7; margin: 0; } .empty-state-button { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; font-size: 0.95rem; } .empty-state-button.clear { background: var(--color-card-glass); color: var(--color-text); border: 1px solid var(--color-border); } .empty-state-button.clear:hover { background: var(--color-accent); color: white; } .empty-state-button.add { background: linear-gradient(135deg, #10b981, #059669); color: white; border: none; } .empty-state-button.add:hover { background: linear-gradient(135deg, #059669, #047857); transform: translateY(-2px); } .empty-state-button-icon { font-size: 0.9rem; } .skeleton-shimmer { width: 100%; height: 20px; border-radius: 6px; background: linear-gradient(90deg, rgba(200,200,220,0.08) 25%, rgba(180,180,200,0.18) 50%, rgba(200,200,220,0.08) 75%); background-size: 800px 100%; animation: shimmer 1.2s infinite linear; } @keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } } .table-cell-left { justify-content: flex-start; } .table-cell-center { justify-content: center; }