.order-progress-dialog{width:min(1100px,94vw);max-width:1100px;max-height:92dvh;padding:28px;background:#151919;color:#f5f5f5;border:1px solid #363b3a;border-radius:18px;overflow:auto}.order-progress-dialog .dialog-head{margin-bottom:30px}.order-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:0 0 32px;list-style:none;gap:0}.order-progress-steps li{position:relative;display:flex;flex-direction:column;gap:9px;padding-right:16px;color:#939d9b;font-size:13px}.order-progress-steps li:not(:last-child):before{content:'';position:absolute;top:17px;left:34px;right:0;height:2px;background:#3b4541}.order-progress-steps li.done:before{background:#1faa78}.order-step-number{position:relative;display:grid;place-items:center;width:36px;height:36px;border:1px solid #58615d;border-radius:50%;background:#242c28;color:white}.done .order-step-number{background:#199967;border-color:#199967}.order-progress-steps .done strong{color:#50dda1}.current .order-step-number{border:2px solid #ffd32b;color:#ffd32b}.order-progress-steps .current strong{color:#ffd32b}.order-progress-steps small,.order-progress-steps time{font-size:11px;line-height:1.5}.order-progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.order-progress-grid h3{font-size:15px;margin:0 0 16px}.order-progress-product{display:flex;align-items:center;gap:16px;background:#202623;border:1px solid #363f38;border-radius:12px;padding:18px;margin-bottom:12px}.order-progress-product img{width:88px;height:88px;object-fit:contain;border-radius:9px;background:#111613}.order-progress-product p{font-size:13px;color:#c4cec7;margin:7px 0}.order-progress-product div{min-width:0;overflow-wrap:anywhere}.order-progress-costs{border:1px solid #364039;padding:18px;border-radius:12px}.order-progress-costs summary{font-weight:700;font-size:14px;cursor:pointer}.order-progress-costs dl{margin:18px 0 0}.order-progress-costs dl div{display:flex;justify-content:space-between;gap:16px;margin:16px 0;font-size:13px}.order-progress-costs dd{margin:0;text-align:right}.order-progress-total{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px;border:1px solid #9b8522;border-radius:10px;margin:16px 0}.order-progress-total strong:last-child{font-size:23px;color:#ffd32b}.order-progress-message{font-size:13px;color:#bdc9c2;line-height:1.6}.order-progress-actions{display:flex;flex-direction:column;gap:10px}.order-progress-actions button{min-height:46px;width:100%;border-radius:9px}.order-progress-actions button:disabled{opacity:.6;cursor:wait}.order-item-progress{padding-left:20px;font-size:13px;color:#bdc9c2;line-height:1.9}@media(max-width:640px){.order-progress-dialog{padding:18px;width:94vw}.order-progress-grid{grid-template-columns:1fr;gap:18px}.order-progress-steps{grid-template-columns:1fr 1fr;gap:20px 10px}.order-progress-steps li:nth-child(2):before{display:none}.order-progress-product img{width:70px;height:70px}.order-progress-total strong:last-child{font-size:21px}}

.order-progress-actions button{text-align:center}

/* Keep the step number readable while its processing ring rotates. */
.order-progress-steps .current .order-step-number{border-color:rgba(255,211,43,.25)}
.order-progress-steps .current .order-step-number::after{content:"";position:absolute;inset:-2px;border:2px solid transparent;border-top-color:#ffd32b;border-right-color:#ffd32b;border-radius:50%;animation:order-processing-spin 1s linear infinite;pointer-events:none}
@keyframes order-processing-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.order-progress-steps .current .order-step-number::after{animation:none}}
