:root { color: #20252b; background: #f5f6f7; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; }
* { box-sizing: border-box; } body { margin: 0; min-width: 320px; } button, input { font: inherit; } button { cursor: pointer; } button:disabled { cursor: default; }
.portal-shell { display: grid; grid-template-columns: 214px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; padding: 42px 12px 24px; color: #fff; background: #003e2d; } .brand { display: grid; justify-items: center; gap: 10px; margin: 0 0 28px; color: #fff; font-size: 17px; font-weight: 700; text-align: center; } .brand-mark { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.nav-list { display: grid; gap: 9px; } .nav-item { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 50px; border: 0; border-radius: 6px; padding: 0 14px; color: #f7fffb; background: transparent; text-align: left; font-weight: 650; } .nav-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; } .nav-item:hover, .nav-item.is-active { background: rgba(255,255,255,.19); } .sidebar-sign-in { width: 100%; margin-top: auto; border: 1px solid rgba(255,255,255,.32); border-radius: 5px; padding: 11px; color: #fff; text-align: center; text-decoration: none; font-weight: 700; }
.workspace { min-width: 0; padding: 0 22px 30px; } .topbar { display: flex; align-items: center; justify-content: space-between; min-height: 61px; border-bottom: 1px solid #dde1e3; } h1, h2, h3, p { margin-top: 0; } h1 { margin: 0; font-size: 21px; font-weight: 700; } h2 { margin: 0; font-size: 17px; } h3 { margin-bottom: 5px; font-size: 16px; } .topbar-actions { display: flex; align-items: center; gap: 18px; } .branch-selector { display: flex; align-items: center; gap: 10px; min-width: 296px; height: 38px; border: 1px solid #c9d0d2; border-radius: 5px; padding: 0 11px; color: #343a3e; background: #fff; text-align: left; } .branch-selector span:nth-child(2) { flex: 1; } .merchant-profile { display: flex; align-items: center; gap: 8px; min-width: 128px; } .merchant-profile strong, .merchant-profile small { display: block; } .merchant-profile small { color: #5d666b; font-size: 12px; } .profile-avatar { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #bdc5c8; border-radius: 50%; font-size: 10px; font-weight: 700; } .quiet-button, .outline-button { border: 1px solid #9eb5aa; border-radius: 4px; padding: 7px 11px; color: #0c543d; background: #fff; font-size: 12px; font-weight: 700; } .refresh-button { display: grid; width: 30px; height: 30px; place-items: center; border: 0; color: #0d563f; background: transparent; font-size: 21px; } .portal-message { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.orders-layout { display: grid; grid-template-columns: minmax(640px, 1fr) 385px; gap: 16px; align-items: start; } .orders-primary { min-width: 0; } .queue-panel, .detail-panel, .preview-panel, .management-workspace { overflow: hidden; border: 1px solid #cbd1d4; border-radius: 7px; background: #fff; }
.queue-header { padding: 20px 20px 0; } .queue-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; } .queue-filters { display: flex; gap: 20px; } .queue-filter { position: relative; border: 0; padding: 0 0 12px; color: #4a5358; background: transparent; font-size: 12px; } .queue-filter span { display: inline-grid; min-width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #edf0f1; font-size: 11px; } .queue-filter.is-active { color: #0a4e3a; font-weight: 800; } .queue-filter.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #066042; content: ""; } .order-search { display: flex; align-items: center; gap: 8px; width: 260px; height: 33px; border: 1px solid #bfc6c9; border-radius: 4px; padding: 0 9px; color: #495158; } .order-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; }
.queue-column-headings, .queue-row { display: grid; grid-template-columns: 104px 142px 90px 115px minmax(130px, 1fr) 84px 78px 18px; gap: 0; align-items: center; } .queue-column-headings { min-height: 43px; margin-top: 3px; border-top: 1px solid #d8dde0; border-bottom: 1px solid #cfd5d8; padding: 0 18px; color: #3f484d; font-size: 11px; font-weight: 750; } .queue-table { min-height: 400px; } .queue-row { width: 100%; min-height: 62px; border: 0; border-bottom: 1px solid #d9dde0; padding: 0 18px; color: #33383d; background: #fff; text-align: left; } .queue-row:hover { background: #fbfcfb; } .queue-row.is-selected { box-shadow: inset 4px 0 #d48500; background: linear-gradient(90deg, #fff6e4, #fffdfa); } .pickup-code { color: #22272d; font-size: 27px; font-weight: 750; letter-spacing: .02em; } .queue-row.is-selected .pickup-code { color: #ba6d00; } .queue-customer, .queue-items { overflow: hidden; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; } .queue-items { max-height: 34px; color: #394248; } .queue-time { color: #485158; font-size: 12px; white-space: nowrap; } .queue-chevron { color: #15251f; font-size: 24px; font-weight: 300; }
.status { display: inline-flex; align-items: center; width: fit-content; border: 1px solid; border-radius: 4px; padding: 3px 8px; font-size: 11px; font-weight: 650; text-transform: capitalize; } .status::before { width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; content: ""; } .status-submitted { border-color: #d9dde0; color: #4e565b; background: #f3f4f5; } .status-accepted, .status-preparing { border-color: #a8ceef; color: #1266ae; background: #f0f8ff; } .status-ready_for_pickup { border-color: #efc778; color: #b36a00; background: #fff8ea; } .status-completed { border-color: #cad2d5; color: #667177; background: #f5f6f7; } .status-canceled { border-color: #efc1c1; color: #a54141; background: #fff3f3; } .payment-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; } .payment-state::before { display: grid; width: 15px; height: 15px; place-items: center; border: 1px solid #1e7557; border-radius: 50%; color: #1e7557; content: "✓"; font-size: 10px; font-weight: 800; }
.queue-footer { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px; color: #505a5f; font-size: 12px; } .pagination { display: flex; gap: 5px; } .pagination button { width: 29px; height: 29px; border: 1px solid #d5dadd; border-radius: 3px; color: #586268; background: #fff; } .pagination .is-current { color: #0a513b; background: #f2f5f4; font-weight: 700; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; } .preview-panel header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; border-bottom: 1px solid #d6dcdf; } .preview-panel header p { margin: 4px 0 0; color: #687276; font-size: 11px; } .preview-table { min-height: 147px; } .preview-head, .preview-row { display: grid; grid-template-columns: minmax(0, 1fr) 74px 60px; gap: 8px; align-items: center; min-height: 26px; padding: 0 16px; border-bottom: 1px solid #e1e5e7; font-size: 11px; } .preview-head { color: #616b70; background: #fafbfb; font-size: 10px; } .preview-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; } .preview-status { color: #16834e; background: #e6f5eb; } .preview-link { width: 100%; border: 0; padding: 14px 18px; color: #07573e; background: #fff; text-align: left; font-size: 13px; font-weight: 800; } .preview-link span { padding-left: 5px; font-size: 21px; vertical-align: -1px; }
.detail-panel { position: sticky; top: 12px; min-height: calc(100vh - 93px); } .detail-hero { padding: 22px 20px 15px; border-bottom: 1px solid #d8dde0; } .detail-kicker { margin-bottom: 6px; color: #b86d00; font-size: 27px; font-weight: 650; } .detail-status { margin-bottom: 15px; } .detail-actions { display: grid; gap: 8px; padding: 14px 20px; border-bottom: 1px solid #d8dde0; } .primary-action { border: 1px solid #07553b; border-radius: 4px; padding: 10px 12px; color: #fff; background: #095a40; font-size: 12px; font-weight: 750; } .primary-action:hover { background: #004832; } .secondary-action { border: 1px solid #aab9b3; border-radius: 4px; padding: 9px 11px; color: #40504a; background: #fff; font-size: 12px; font-weight: 700; } .detail-section { padding: 17px 20px; border-bottom: 1px solid #d8dde0; } .detail-label { margin-bottom: 10px; color: #3c4549; font-size: 13px; font-weight: 750; } .detail-section p { color: #566066; line-height: 1.45; } .detail-section h3 { margin: 0 0 6px; } .note-box { margin: 8px 0 0; border: 1px solid #eccb8d; border-radius: 5px; padding: 12px; background: #fffbf4; color: #3f484c; font-size: 12px; line-height: 1.45; } .item-line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: #414a4e; font-size: 12px; } .total-line { display: flex; justify-content: space-between; margin-top: 9px; border-top: 1px dashed #c9d0d2; padding-top: 10px; font-size: 14px; font-weight: 800; } .order-info { display: grid; gap: 9px; } .order-info p { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 12px; } .empty-copy { padding: 24px; color: #687276; }
.panel-heading { padding: 18px 20px; border-bottom: 1px solid #d6dcdf; } .eyebrow { margin: 0 0 4px; color: #667177; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; } .management-list { padding: 8px 18px 18px; } .catalog-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e0e6e8; } input { width: 100%; border: 1px solid #bdc8cc; border-radius: 5px; padding: 9px 10px; color: #172028; background: #fff; } .customer-layout { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr); gap: 18px; padding: 0 18px 18px; } .customer-row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 13px 0; border: 0; border-bottom: 1px solid #e0e6e8; color: #1b2c31; background: transparent; text-align: left; } .customer-row span { color: #6a777d; font-size: 13px; } .customer-detail { min-height: 220px; padding: 20px; border: 1px solid #dbe2e4; border-radius: 6px; background: #f8faf9; } .customer-detail ul { padding-left: 18px; color: #526068; } .note-entry { padding: 8px 10px; border-left: 2px solid #8bad9f; color: #4c5b62; background: #eef5f1; }.is-hidden { display: none; }
@media (max-width: 1260px) { .orders-layout { grid-template-columns: minmax(540px, 1fr) 330px; } .queue-column-headings, .queue-row { grid-template-columns: 84px 126px 74px 105px minmax(116px, 1fr) 75px 18px; } .queue-column-headings span:nth-child(7), .queue-row .ready-by { display: none; } .branch-selector { min-width: 236px; } }
@media (max-width: 980px) { .portal-shell { grid-template-columns: 1fr; } .sidebar { flex-direction: row; align-items: center; padding: 11px 18px; gap: 14px; } .brand { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 0; font-size: 15px; } .brand-mark { width: 32px; height: 32px; } .nav-list { display: flex; gap: 3px; } .nav-item { min-height: 36px; padding: 0 8px; } .nav-icon { display: none; } .sidebar-sign-in { width: auto; margin: 0; padding: 8px 12px; } .topbar-actions { gap: 9px; } .merchant-profile { display: none; } .orders-layout { grid-template-columns: 1fr; } .detail-panel { position: static; min-height: 0; } }
@media (max-width: 700px) { .workspace { padding: 0 12px 20px; } .topbar { min-height: 54px; } .branch-selector { display: none; } .quiet-button { padding: 6px 8px; } .queue-header { padding: 16px 14px 0; } .queue-controls { display: block; } .queue-filters { justify-content: space-between; gap: 6px; } .queue-filter { font-size: 11px; } .queue-filter span { display: none; } .order-search { width: 100%; margin: 11px 0 0; } .queue-table { min-height: 0; } .queue-column-headings, .queue-row { grid-template-columns: 80px minmax(0, 1fr) 94px 18px; padding: 0 12px; } .queue-column-headings span:nth-child(3), .queue-column-headings span:nth-child(4), .queue-column-headings span:nth-child(5), .queue-column-headings span:nth-child(6), .queue-row .payment-state, .queue-row .queue-customer, .queue-row .queue-items, .queue-row .queue-time { display: none; } .preview-grid { grid-template-columns: 1fr; } .customer-layout, .catalog-row { grid-template-columns: 1fr; } .sidebar { flex-wrap: wrap; } .nav-list { order: 2; width: 100%; justify-content: space-between; } .sidebar-sign-in { order: 3; margin-left: auto; } }
