.tablePanel { margin-top: 12px; padding: 0; background: transparent; border-radius: var(--radius); overflow: hidden; } .tableWrap { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--glass-shadow); overflow-x: auto; } .tableHeader { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(148, 163, 184, 0.2); } .tableHeaderTitle { font-size: 14px; font-weight: 700; color: var(--text-primary); } .meta { color: var(--text-secondary); font-size: 12px; font-weight: 500; } .table { width: 100%; border-collapse: collapse; table-layout: fixed; } .colOrderId { width: 14%; } .colCustomer { width: 16%; } .colItems { width: 8%; } .colTotal { width: 11%; } .colDate { width: 12%; } .colStep { width: 14%; } .colSource { width: 10%; } .colActions { width: 128px; } .th, .td { padding: 10px 12px; text-align: start; border-bottom: 1px solid rgba(148, 163, 184, 0.16); vertical-align: middle; } .th { font-size: 12px; font-weight: 700; color: var(--text-secondary); background: var(--table-header-bg); } .td { font-size: 13px; color: var(--text-primary); font-weight: 500; } .orderNumber { font-size: 13px; font-weight: 700; color: var(--text-primary); line-height: 1.35; } .customerName { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.35; } .customerCell { font-size: 12px; color: var(--text-secondary); margin-top: 2px; } .subText { color: var(--text-secondary); font-weight: 500; font-size: 12px; } .dateCell { white-space: nowrap; font-size: 12px; line-height: 1.4; } .dateTime { color: var(--text-primary); } .dateTimeSub { color: var(--text-secondary); font-size: 11px; } .sourceBadge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; } .sourceOperator { color: var(--primary-dark, var(--primary)); background: rgba(var(--primary-rgb) / 0.12); } .sourceWebsite { color: #047857; background: rgba(16, 185, 129, 0.12); } .sourceApplication { color: #7c3aed; background: rgba(139, 92, 246, 0.12); } .stepBadge { display: inline-flex; align-items: center; max-width: 100%; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: filter 0.2s; } .stepBadge:hover { filter: brightness(0.95); } .ordersFiltersRow { grid-column: span 10; display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 10px; min-width: 0; } .filterOrderId { flex: 0 1 156px; min-width: 120px; } .filterCustomer { flex: 0 1 168px; min-width: 132px; } .filterDate { flex: 0 1 148px; min-width: 132px; } .filterCost { flex: 0 1 124px; min-width: 108px; } @media (max-width: 1280px) { .ordersFiltersRow { flex-wrap: wrap; } .filterOrderId, .filterCustomer, .filterDate, .filterCost { flex: 1 1 140px; max-width: none; } } .thActions { text-align: center; white-space: nowrap; } .tdActions { text-align: end; white-space: nowrap; padding-inline-end: 10px; } .rowActions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 0; } .actionBtn { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--text-secondary); transition: background 0.2s, color 0.2s; } .actionBtn:hover:not(:disabled) { background: rgba(var(--primary-rgb) / 0.1); color: var(--primary); } .actionBtnDanger:hover:not(:disabled) { background: rgba(239, 68, 68, 0.1); color: #ef4444; } .actionBtn:disabled { opacity: 0.5; cursor: not-allowed; } .pagination { padding: 12px 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 38px; color: var(--text-secondary); font-weight: 500; font-size: 12px; box-sizing: border-box; } .pagination > nav { grid-column: 2; justify-self: center; height: 38px; margin: 0; padding: 0; } .pagination > div:first-child { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; height: 38px; margin: 0; padding: 0; line-height: 38px; font-family: var(--font-ui); transform: translateY(2px); } .pagerBtns { display: flex; gap: 8px; align-items: center; } .pageBtn { padding: 6px 10px; border-radius: var(--radius-sm); border: 1px solid rgba(148, 163, 184, 0.25); background: rgba(255, 255, 255, 0.35); color: var(--text-secondary); font-weight: 700; font-size: 12px; cursor: pointer; } .pageBtn:disabled { opacity: 0.5; cursor: not-allowed; } .pageBtnActive { border-color: rgba(var(--primary-dark-rgb) / 0.35); color: var(--primary); background: rgba(var(--primary-dark-rgb) / 0.08); } .errorBanner { padding: 16px; color: #b91c1c; font-size: 13px; font-weight: 500; }