/* Shared delivery experience: customer, admin and staff. */
.delivery-card{--delivery-gold:#f4c95d;--delivery-muted:#a8adb7;background:linear-gradient(135deg,#1d2028,#15171d);border:1px solid #35363d;border-radius:20px;padding:28px;margin:0 0 26px;color:#f8f8fa;box-shadow:0 12px 30px #00000012}
.delivery-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.delivery-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:1.8px;color:#dabb70;margin-bottom:9px}.delivery-card h2{font-size:25px;line-height:1.25;margin:0 0 8px;letter-spacing:-.6px;color:#fff}.delivery-card p{margin:0;color:var(--delivery-muted);font-size:13px;line-height:1.6}.delivery-stage-count{flex:none;border:1px solid #4b4535;border-radius:30px;padding:7px 12px;color:#e7ce91;font-size:11px;font-weight:700;white-space:nowrap}
.delivery-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0!important;margin:28px 0!important;gap:0}.delivery-steps li{position:relative;text-align:center;padding:0 10px;color:#9297a3;min-width:0}.delivery-steps li:before{content:"";position:absolute;top:16px;left:-50%;width:100%;height:2px;background:#3c3e47;z-index:0}.delivery-steps li:first-child:before{display:none}.delivery-step-marker{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:0 auto 11px;border:2px solid #474a56;background:#1a1d24;border-radius:50%;font-size:12px;font-weight:800;box-shadow:0 0 0 6px #1a1d24}.delivery-step-label{display:block;font-size:11px;line-height:1.45;font-weight:650}
.delivery-steps .is-done:before,.delivery-steps .is-current:before{background:#bda05a}.delivery-steps .is-done .delivery-step-marker{color:#f4c95d;border-color:#af934f;background:#303027}.delivery-steps .is-current .delivery-step-marker{color:#201b11;background:var(--delivery-gold);border-color:var(--delivery-gold);box-shadow:0 0 0 5px #f4c95d1a}.delivery-steps .is-current{color:#f4d987}.delivery-steps .is-done{color:#dad1b5}
.delivery-tracking-row{display:flex;gap:22px;align-items:center;justify-content:space-between;padding:21px 0;border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff14}.delivery-tracking-details{min-width:0}.delivery-tracking-details>strong{font-size:13px}.delivery-field-label{display:block;color:#b3b8c3;font-size:11px;font-weight:600;margin-bottom:6px}.delivery-tracking-number{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.delivery-tracking-number strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:18px;letter-spacing:.6px;overflow-wrap:anywhere;min-width:0}
.delivery-tracking-details small{display:block;color:#a8adb7;font-size:11px;line-height:1.6;margin-top:7px}.delivery-copy{background:#ffffff0c;border:1px solid #ffffff20;color:#dedfe4;border-radius:6px;padding:5px 10px;font-size:11px;cursor:pointer}.delivery-copy:hover{border-color:#e1c075;color:#f4d987}.delivery-track-btn{flex:none;gap:18px!important;font-size:12px!important;padding:12px 18px!important;min-height:44px}.delivery-awaiting{flex:none;font-size:10px;font-weight:600;background:#ffffff08;border:1px solid #ffffff15;border-radius:7px;padding:9px 12px;color:#a8adb7}.delivery-footnote{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:10px;line-height:1.6;color:#969ca8;padding-top:14px}.delivery-footnote time{white-space:nowrap}.delivery-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fulfillment-card{padding:23px;background:#181a20;border:1px solid #34363e;border-radius:16px;color:#f3f4f6;min-width:0}.fulfillment-card h3{font-size:18px;margin:0 0 9px;line-height:1.35;letter-spacing:-.3px}.fulfillment-card p{font-size:12px;color:#aeb3bf;line-height:1.65;margin:0 0 18px}.fulfillment-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.fulfillment-card-title .delivery-eyebrow{margin:0}.fulfillment-manual{border:1px solid #49412d;border-radius:5px;padding:3px 7px;font-size:9px;color:#dec78e;letter-spacing:.4px}
.fulfillment-form{display:grid;gap:15px}.fulfillment-form label{display:block;color:#e0e2e8;font-size:12px;font-weight:600;margin:0 0 7px}.fulfillment-form .input-field,.fulfillment-form .select-field,.fulfillment-form textarea{width:100%;min-width:0;background:#101216;border:1px solid #444651;color:#f4f4f7;font-size:12px;border-radius:8px;padding:12px;box-sizing:border-box}.fulfillment-form textarea{min-height:90px;resize:vertical}.fulfillment-form .input-field::placeholder,.fulfillment-form textarea::placeholder{color:#838a98}.fulfillment-form small{display:block;font-size:10px;color:#a9b0bd;line-height:1.6;margin-top:6px}.fulfillment-form .btn{width:100%;font-size:12px;min-height:44px;white-space:normal}
.fulfillment-next{background:#f3ca6410;border:1px solid #d8b55730;border-radius:10px;padding:14px}.fulfillment-next span{display:block;font-size:10px;color:#bcb29a;margin-bottom:5px}.fulfillment-next strong{font-size:14px;color:#f4d589;line-height:1.4;display:block}.fulfillment-form .fulfillment-check{display:flex;gap:10px;align-items:flex-start;font-size:11px;font-weight:400;line-height:1.55;color:#c1c5cf;margin:0}.fulfillment-check input{flex:none;width:16px;height:16px;margin:1px 0 0;accent-color:#f4c95d}.fulfillment-notice{border-left:2px solid #e8ba54;background:#f4c95d0b;padding:10px 12px;font-size:11px;line-height:1.6;color:#e6cc90}.fulfillment-form button:disabled{opacity:.45;cursor:not-allowed;transform:none}.fulfillment-print{width:100%;font-size:12px;min-height:42px}
.fulfillment-note{background:#ffffff05;padding:14px;border-radius:10px;font-size:12px}.fulfillment-note p{margin:7px 0 0;overflow-wrap:anywhere}
.admin-order-page-clean .admin-order-layout-clean{grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:24px}.admin-order-side-clean{display:grid;gap:16px;min-width:0}.admin-order-page-clean .admin-order-paper{min-width:0}.badge.order_placed,.admin-status-chip-clean.is-order_placed{background:#ffffff10;color:#e5e7eb;border:1px solid #ffffff22}.badge.waiting_for_pickup,.admin-status-chip-clean.is-waiting_for_pickup{background:#e8c35c20;color:#e8c96a;border:1px solid #e8c35c40}.badge.shipped{white-space:normal;text-align:center}.admin-pro-status-dot.order_placed,.admin-pro-status-report-track .order_placed{background:#9ca3af}.admin-pro-status-dot.waiting_for_pickup,.admin-pro-status-report-track .waiting_for_pickup{background:#e8c35c}.admin-pro-status-dot.delivered{background:#77cdaa}
.delivery-list-courier{display:block;font-size:10px;line-height:1.5;color:#a0a5b0;margin-top:6px}.delivery-list-courier code{font-size:10px;overflow-wrap:anywhere}.fulfillment-form :focus-visible,.delivery-card :focus-visible{outline:2px solid #f4c95d;outline-offset:3px}
@media(max-width:1200px){.admin-order-page-clean .admin-order-layout-clean{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.fulfillment-card{padding:20px}}
@media(max-width:1000px){.admin-order-page-clean .admin-order-layout-clean{grid-template-columns:1fr}.admin-order-side-clean{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.fulfillment-print,.fulfillment-closed{grid-column:1/-1}}
@media(max-width:600px){.delivery-card{padding:21px 18px;border-radius:15px}.delivery-card h2{font-size:21px}.delivery-card-heading{gap:10px}.delivery-stage-count{font-size:9px;padding:6px 8px}.delivery-card p{font-size:12px}.delivery-steps{grid-template-columns:1fr;gap:0;margin:22px 0!important}.delivery-steps li{display:flex;align-items:center;gap:13px;text-align:left;padding:0 0 19px}.delivery-step-marker{flex:none;margin:0;width:29px;height:29px;font-size:11px;box-shadow:none}.delivery-steps li:before{left:14px;top:-19px;width:2px;height:19px}.delivery-steps li:last-child{padding-bottom:0}.delivery-step-label{font-size:12px}.delivery-tracking-row{align-items:stretch;flex-direction:column;gap:16px;padding:18px 0}.delivery-track-btn{width:100%;justify-content:space-between}.delivery-awaiting{align-self:flex-start}.delivery-tracking-number strong{font-size:16px}.delivery-footnote{font-size:10px}.admin-order-side-clean{grid-template-columns:1fr}.tt-order-right .badge{font-size:10px!important;max-width:140px;white-space:normal}.tt-order-summary{gap:12px!important}.tt-order-left,.tt-order-main{min-width:0}.fulfillment-card{padding:21px}}
@media print{.delivery-card,.admin-order-side-clean{display:none!important}.admin-order-page-clean .admin-order-layout-clean{display:block}}

@media(max-width:1000px){.delivery-manage-page .admin-order-paper{grid-row:2}.delivery-manage-page .admin-order-side-clean{grid-row:1}}
@media(max-width:768px){.delivery-manage-page .admin-sidebar{position:static;width:auto;height:auto;padding:18px 16px}.delivery-manage-page .admin-brand{margin:0 0 16px;padding:0;gap:12px}.delivery-manage-page .admin-sidebar-logo{width:38px;height:38px}.delivery-manage-page .admin-brand strong{font-size:18px}.delivery-manage-page .admin-brand small{font-size:9px}.delivery-manage-page .admin-menu{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;padding:0 0 7px;scrollbar-width:thin}.delivery-manage-page .admin-menu a{flex:none;margin:0;padding:10px 12px;font-size:11px;white-space:nowrap;border-radius:8px}.delivery-manage-page .admin-main{margin-left:0;padding:0}.delivery-manage-page .admin-order-page-clean{padding:26px 0}.delivery-manage-page .admin-order-page-clean>.container{width:calc(100% - 32px);max-width:none;margin:0 auto;padding:0}.delivery-manage-page .admin-order-heading-clean h1{font-size:28px;overflow-wrap:anywhere}.delivery-manage-page .admin-order-heading-clean p{font-size:12px}.delivery-manage-page .admin-order-heading-actions-clean .btn{min-height:40px}}

/* Shared Admin/Staff approve and cancel controls */
.order-list-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin-top:8px;min-width:180px}
.order-list-actions form{margin:0}
.order-cancel-action{margin-top:10px;min-width:0}
.order-list-actions .order-cancel-action{margin-top:0}
.order-cancel-action>summary{list-style:none;cursor:pointer}
.order-cancel-action>summary::-webkit-details-marker{display:none}
.order-cancel-fields{display:grid;gap:12px;margin-top:12px;max-width:340px;white-space:normal}
.order-cancel-fields label,.order-cancel-fields small{font-size:.82rem;line-height:1.5}
.order-cancel-fields textarea{display:block;min-width:0;width:100%;margin-top:6px;resize:vertical}
.order-refund-check{display:flex;align-items:flex-start;gap:8px}
.order-refund-check input{flex:0 0 auto;margin-top:4px}
.order-refund-note{display:block;color:#e7ba69;margin-top:4px}

/* Orders: quiet table, review actions inside the detail view. */
.team-orders-heading,.team-payment-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.team-orders-heading h1,.team-payment-heading h1{margin:0 0 8px}
.team-orders-heading p,.team-payment-heading p{margin:0;color:#aab3c1;font-size:13px;line-height:1.6}
.team-orders-count{flex:none;color:#aab3c1;font-size:12px;border:1px solid #303949;border-radius:8px;padding:8px 12px}
.team-orders-filters{display:grid;grid-template-columns:minmax(200px,1fr) 230px auto;gap:16px;align-items:end;margin:0 0 22px;padding:20px;border:1px solid #2e3747;border-radius:14px;background:#111827}
.team-orders-filters label{display:block;font-size:12px;color:#b9c2d0;margin-bottom:8px}
.team-orders-filters .input-field,.team-orders-filters .select-field{width:100%;min-width:0;height:44px;margin:0;border-radius:8px;padding:10px 12px;font-size:13px}
.team-orders-filter-actions{display:flex;gap:8px}
.team-orders-filter-actions .btn{min-height:44px;border-radius:8px;font-size:12px;padding:10px 18px}
.team-orders-table{overflow-x:auto;border:1px solid #2e3747;border-radius:14px}
.team-orders-table .data-table{min-width:820px;width:100%}
.team-orders-table .data-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;padding:15px 16px;color:#a9b3c3}
.team-orders-table .data-table td{padding:18px 16px;font-size:12px;vertical-align:middle}
.team-orders-table .badge{font-size:10px;line-height:1.5;max-width:160px;text-align:center;white-space:normal}
.team-order-subtext{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:#99a5b8;overflow-wrap:anywhere}
.team-order-customer{font-weight:600}.team-order-total{font-weight:700;white-space:nowrap}.team-order-date{white-space:nowrap}
.team-order-open{min-width:66px;min-height:36px;border-radius:8px!important;padding:8px 14px!important;font-size:12px!important}
.team-orders-empty{text-align:center;padding:40px!important;color:#aab3c1}
.badge.pending_payment,.badge.refund_required{background:#e8c35c14;color:#efd283;border:1px solid #e8c35c35}
.team-payment-heading{align-items:flex-start}
.team-payment-heading h1{font-size:29px;margin-top:14px}
.team-order-back{font-size:12px;color:#b3bece;text-decoration:none}
.team-payment-heading>.badge{flex:none;margin-top:32px;font-size:11px;padding:8px 12px}
.team-payment-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.team-payment-details{display:grid;gap:20px;min-width:0}.team-payment-side{min-width:0}
.team-payment-card,.order-review-card{padding:24px;background:#111827;border:1px solid #303949;border-radius:14px;min-width:0}
.team-payment-card h2,.order-review-card h2{font-size:17px;line-height:1.4;margin:0;color:#f2f4f8}
.team-payment-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0 0}
.team-payment-meta div{min-width:0}.team-payment-meta dt,.order-review-reference dt{font-size:11px;color:#9ba9bc;margin:0 0 7px}
.team-payment-meta dd,.order-review-reference dd{margin:0;font-size:13px;font-weight:500;color:#e8edf5;line-height:1.7;overflow-wrap:anywhere}
.team-payment-full{grid-column:1/-1}
.team-payment-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.team-payment-card-heading>span{font-size:11px;color:#9ba9bc}
.team-payment-items{margin-top:8px}.team-payment-item{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #283142;font-size:13px}
.team-payment-item>div{min-width:0}.team-payment-item strong{overflow-wrap:anywhere}.team-payment-item>strong{flex:none}.team-payment-item small{display:block;color:#9ba9bc;margin-top:7px;font-size:11px}
.team-payment-totals{display:grid;gap:13px;margin:22px 0 0}
.team-payment-totals>div{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#b4bfd0}
.team-payment-totals dd{margin:0;color:#e7edf6}.team-payment-totals .team-payment-grand{border-top:1px solid #303949;padding-top:18px;color:#fff;font-size:15px;font-weight:700}
.order-review-heading .delivery-eyebrow{font-size:9px;letter-spacing:1.5px;color:#aab6c7;margin-bottom:8px}
.order-review-amount{margin:20px 0;padding-bottom:20px;border-bottom:1px solid #303949}
.order-review-amount span,.order-review-amount small{display:block;color:#9ba9bc;font-size:11px}
.order-review-amount strong{display:block;color:#f3d46e;font-size:30px;line-height:1.3;margin:6px 0}
.order-review-reference{display:grid;gap:16px;margin:0 0 20px}
.order-review-reference dd{font-weight:600;font-size:14px}
.order-review-help{font-size:12px!important;line-height:1.7!important;color:#aab7ca!important;margin:0 0 18px!important}
.order-review-form{display:grid;gap:12px;margin:0}
.order-review-form>label{font-size:12px;color:#d5deeb;line-height:1.5}
.order-review-form .input-field{width:100%;min-width:0;box-sizing:border-box;margin:0;background:#0b1220;border:1px solid #39475c;border-radius:8px;padding:12px;font-size:13px;color:#fff;min-height:46px}
.order-review-form textarea{resize:vertical}
.order-review-form .order-review-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:11px;line-height:1.6;color:#aab7ca;margin:4px 0}
.order-review-check input{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;accent-color:#f4cc58}
.order-review-form .btn{min-height:44px;width:100%;padding:12px 10px;font-size:12px;white-space:normal;border-radius:8px;line-height:1.5;box-shadow:none}
.order-review-reject{border-top:1px solid #303949;margin-top:20px;padding-top:16px}
.order-review-reject summary{font-size:12px;color:#c3cddd;cursor:pointer;padding:4px 0}
.order-review-reject[open] .order-review-form{margin-top:16px}
.admin-order-side-clean .order-cancel-action>summary{display:flex;width:100%;min-height:42px;justify-content:center;align-items:center;border-radius:8px;font-size:12px}
.admin-order-side-clean .order-cancel-fields{max-width:none;padding-top:8px}
.admin-order-side-clean .order-cancel-fields .btn{width:100%;min-height:42px;border-radius:8px}
@media(max-width:1150px){.team-payment-layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.team-payment-card,.order-review-card{padding:20px}.team-orders-filters{grid-template-columns:minmax(160px,1fr) 180px auto}}
@media(max-width:950px){.team-payment-layout{grid-template-columns:1fr}.team-payment-side{grid-row:auto}.team-orders-filters{grid-template-columns:1fr 1fr}.team-orders-filters>div:first-child{grid-column:1/-1}.team-orders-filter-actions{justify-content:flex-end}}
@media(max-width:600px){.team-orders-heading,.team-payment-heading{gap:12px;flex-wrap:wrap}.team-orders-heading h1,.team-payment-heading h1{font-size:25px}.team-orders-filters{padding:16px;gap:14px;grid-template-columns:1fr}.team-orders-filters>div:first-child{grid-column:auto}.team-orders-filter-actions{justify-content:stretch}.team-orders-filter-actions .btn{flex:1}.team-payment-heading>.badge{margin:0}.team-payment-card,.order-review-card{padding:19px}.team-payment-meta{grid-template-columns:1fr;gap:18px}.team-payment-full{grid-column:auto}.team-payment-layout{gap:18px}.team-payment-heading p{font-size:12px}.team-orders-table .data-table{min-width:780px}}

.team-orders-table .data-table{table-layout:auto}
.team-orders-table .data-table td:first-child{white-space:nowrap}
.team-orders-table .data-table td:nth-child(2){min-width:160px}
.team-orders-page .page-heading h1{font-size:34px}
@media(max-width:768px){.delivery-manage-page .team-orders-page>.container,.delivery-manage-page .team-payment-page>.container{width:calc(100% - 32px);max-width:none;margin:0 auto;padding:0}.delivery-manage-page .team-orders-page,.delivery-manage-page .team-payment-page{padding:24px 0}.team-orders-page .page-heading h1{font-size:27px}}

.team-orders-page .team-orders-heading h1{font-size:34px!important}
.team-orders-table .data-table td:first-child strong{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
@media(max-width:600px){.team-orders-page .team-orders-heading h1{font-size:27px!important}}

.team-orders-table .data-table th:first-child,.team-orders-table .data-table td:first-child{min-width:195px!important;width:195px}
.team-orders-table .data-table th:nth-child(2),.team-orders-table .data-table td:nth-child(2){min-width:170px!important}

/* Print helper shown only in the Admin/Staff order side panel. */
.fulfillment-print-actions{min-width:0}
.fulfillment-print-actions .fulfillment-print{display:block;width:100%}
.fulfillment-print-hint{display:block;margin-top:8px;font-size:11px;line-height:1.5;color:#aeb3bf}
.fulfillment-print-hint strong{color:#e4e7ec;font-weight:700}
