/* Scoped order controls: no global form/button/theme overrides. */
#ordersAccordionWrapper .order-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#ordersAccordionWrapper .order-status-editor { width: 100%; margin: 0 0 6px; padding: 20px; border: 1px solid #dce8e5; border-radius: 16px; background: #f8fbfa; text-align: right; font-family: 'Vazir-Medium-FD-WOL', sans-serif; }
#ordersAccordionWrapper .order-status-editor__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
#ordersAccordionWrapper .order-status-editor__icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; color: #047857; background: #e4f3ec; border-radius: 12px; }
#ordersAccordionWrapper .order-status-editor__icon svg { width: 22px; height: 22px; }
#ordersAccordionWrapper .order-status-editor__label { margin: 0; color: #1e3a34; font-size: 15px; line-height: 1.7; font-weight: 700; }
#ordersAccordionWrapper .order-status-editor__hint { margin: 3px 0 0; color: #64748b; font-size: 12px; line-height: 1.8; }
#ordersAccordionWrapper .order-status-editor__controls { display: flex; align-items: stretch; gap: 10px; }
#ordersAccordionWrapper .order-status-editor__select { flex: 1 1 auto; width: 100%; min-width: 0; height: 46px; margin: 0; padding: 9px 14px 9px 42px; border: 1px solid #cbdad5; border-radius: 11px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23556b62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 13px center; color: #243c34; font: inherit; font-size: 14px; line-height: 1.6; appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
#ordersAccordionWrapper .order-status-editor__select:focus-visible { outline: none; border-color: #0b8b62; box-shadow: 0 0 0 3px #10b98120; }
#ordersAccordionWrapper .order-status-editor__submit { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; min-width: 144px; min-height: 46px; margin: 0; padding: 10px 18px; border: 1px solid #047857; border-radius: 11px; background: #047857; color: #fff; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
#ordersAccordionWrapper .order-status-editor__submit svg { width: 19px; height: 19px; flex: 0 0 19px; }
#ordersAccordionWrapper .order-status-editor__submit:hover:not(:disabled) { background: #065f46; border-color: #065f46; }
#ordersAccordionWrapper .order-status-editor__submit:focus-visible { outline: 3px solid #10b98155; outline-offset: 3px; }
#ordersAccordionWrapper .order-status-editor__submit:disabled { background: #e3ebe7; border-color: #d8e3dd; color: #6c8075; cursor: default; }
#ordersAccordionWrapper .order-status-editor__select:disabled { opacity: .7; cursor: wait; }
#ordersAccordionWrapper .order-status-editor__feedback { margin: 0; font-size: 12px; line-height: 1.9; }
#ordersAccordionWrapper .order-status-editor__feedback:not(:empty) { margin-top: 12px; }
#ordersAccordionWrapper .order-status-editor__feedback[data-state=success] { color: #047857; }
#ordersAccordionWrapper .order-status-editor__feedback[data-state=error] { color: #b42318; }
#ordersAccordionWrapper .order-status-editor__retry { margin-top: 10px; padding: 8px 12px; border: 1px solid #d7e1dc; border-radius: 8px; background: #fff; color: #047857; font: inherit; font-size: 12px; cursor: pointer; }
#ordersAccordionWrapper .order-status-shipped, .cid-JXc4BzaesW .status-shipped { background: #e8edff; color: #4338a0 !important; }
#ordersAccordionWrapper .order-status-cancelled, .cid-JXc4BzaesW .status-cancelled { background: #ffebe8; color: #b42318 !important; }
#ordersAccordionWrapper .btn-export-order { border: 1px solid #d7e1dc; border-radius: 10px; padding: 12px 22px; color: #475569; background: #fff; font: inherit; cursor: pointer; }
#ordersAccordionWrapper .btn-export-order:hover { border-color: #a4b9af; background: #f8fbfa; }
@media (max-width: 575px) {
  #ordersAccordionWrapper .order-status-editor { padding: 16px; }
  #ordersAccordionWrapper .order-status-editor__controls { flex-direction: column; }
  #ordersAccordionWrapper .order-status-editor__submit { width: 100%; }
  #ordersAccordionWrapper .order-status-editor__heading { gap: 10px; }
  #ordersAccordionWrapper .order-status-editor__hint { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #ordersAccordionWrapper .order-status-editor__select, #ordersAccordionWrapper .order-status-editor__submit { transition: none; }
}
