/* Modal (shared by the Orders page, Print Jobs page, and the Settings > Logs tab) */
.weship-acs-sync-modal { position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; overflow: auto; background: rgba(0,0,0,0.4); }
.weship-acs-sync-modal-content { background: #fff; margin: 60px auto; padding: 20px; border: 1px solid #ccc; width: 90%; max-width: 900px; position: relative; }
.weship-acs-sync-modal-content--narrow { max-width: 700px; }
.weship-acs-sync-modal-close { position: absolute; right: 16px; top: 10px; font-size: 24px; cursor: pointer; }

/* Settings page: form filter/toggle layout */
.weship-acs-sync-logs-filters { margin: 1em 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }

/* Settings > Logs tab pagination */
.weship-acs-sync-pagination .tablenav-pages { margin: 1em 0; }
.weship-acs-sync-pagination .page-numbers { display: inline-block; min-width: 30px; margin: 0 2px; padding: 6px 10px; text-align: center; border: 1px solid #dcdcde; border-radius: 3px; background: #fff; color: #2271b1; text-decoration: none; box-sizing: border-box; }
.weship-acs-sync-pagination .page-numbers:hover { background: #f0f6fc; border-color: #2271b1; }
.weship-acs-sync-pagination .page-numbers.current { background: #2271b1; border-color: #2271b1; color: #fff; font-weight: 600; }
.weship-acs-sync-pagination .page-numbers.dots { border: none; background: none; }

/* Print Jobs page: Order Details modal pagination (same pill look as
   .weship-acs-sync-pagination above, scoped separately since this one
   also has a disabled state for the prev/next arrows at either end). */
.weship-acs-sync-orders-pagination { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.weship-acs-sync-orders-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; margin: 0; padding: 0 10px; box-sizing: border-box; text-align: center; line-height: 1; border: 1px solid #dcdcde; border-radius: 3px; background: #fff; color: #2271b1; text-decoration: none; }
.weship-acs-sync-orders-pagination .page-numbers:hover:not(.current):not(.disabled) { background: #f0f6fc; border-color: #2271b1; }
.weship-acs-sync-orders-pagination .page-numbers.current { background: #2271b1; border-color: #2271b1; color: #fff; font-weight: 600; cursor: default; }
.weship-acs-sync-orders-pagination .page-numbers.dots { border: none; background: none; min-width: auto; padding: 0 4px; }
.weship-acs-sync-orders-pagination .page-numbers.disabled { opacity: 0.5; cursor: default; pointer-events: none; }

/* Orders page */
.weship-acs-sync-order-check:disabled { opacity: 0.4; cursor: not-allowed; }
.weship-acs-sync-filters { margin: 1em 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.weship-acs-sync-print-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.weship-acs-sync-actions-col { width: 150px; }
.weship-acs-sync-order-actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 130px; }
.weship-acs-sync-order-actions .button { width: 100%; text-align: center; white-space: nowrap; margin: 0; box-sizing: border-box; }
.button .spinner { float: none; margin: 0 4px 0 0; vertical-align: middle; }
