/* Scoped styles: isolate the plugin from theme defaults and force Persian RTL layout. */
.wdd-root{direction:rtl!important;text-align:right!important;unicode-bidi:plaintext;max-width:100%;color:inherit;line-height:1.8}
.wdd-root,.wdd-root *{box-sizing:border-box}
.wdd-root .wdd-toolbar,.wdd-root .wdd-filters,.wdd-root .wdd-phone-search,.wdd-root .wdd-phone-boxes,.wdd-root .wdd-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;direction:rtl!important;text-align:right!important}
.wdd-root .wdd-filters{direction:ltr!important;justify-content:space-between}
.wdd-root .wdd-phone-search{direction:ltr!important}
.wdd-root .wdd-phone-boxes{direction:ltr!important}
.wdd-root .wdd-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bbb;border-radius:6px;padding:7px 12px;background:#f7f7f7;color:#222;text-decoration:none;cursor:pointer;font:inherit;line-height:1.5}
.wdd-root .wdd-button:hover{background:#eee;color:#111}
.wdd-root .wdd-button:disabled{opacity:.45;cursor:not-allowed}
.wdd-root .wdd-phone-filter{display:flex;flex-direction:column;gap:5px;direction:ltr!important}
.wdd-root .wdd-phone-search{flex-wrap:nowrap;gap:8px;margin:0;direction:ltr!important;justify-content:flex-start}
.wdd-root .wdd-phone-prefix{display:inline-flex;align-items:center;justify-content:center;direction:ltr;unicode-bidi:isolate;font-weight:700;min-width:48px;height:42px;padding:0 8px;border:1px solid #bbb;border-radius:5px;background:#f2f2f2;letter-spacing:.5px}
.wdd-root .wdd-phone-boxes{flex-wrap:nowrap;gap:5px;margin:0;direction:ltr!important}
.wdd-root .wdd-phone-digit{flex:0 0 38px;width:38px;height:42px;border:1px solid #999;border-radius:5px;text-align:center!important;font:inherit;direction:ltr!important;unicode-bidi:isolate;background:#fff;color:#111;padding:4px}
.wdd-root .wdd-summary{margin:10px 0;font-weight:600;direction:rtl!important;text-align:right!important}
.wdd-root .wdd-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;direction:rtl!important}
.wdd-root .wdd-table{width:100%;border-collapse:collapse;min-width:560px;background:transparent;direction:ltr!important;text-align:right!important;margin-inline:0}
.wdd-root .wdd-table th,.wdd-root .wdd-table td{border:1px solid #ddd;padding:9px 10px;text-align:right!important;direction:rtl!important;vertical-align:middle;overflow-wrap:anywhere}
.wdd-root .wdd-table th{background:#f2f2f2;font-weight:700}
/* Phone numbers: preserve digit order while aligning the formatted number to the right edge. */
.wdd-root .wdd-table td.wdd-phone-cell{direction:ltr!important;text-align:right!important;unicode-bidi:isolate!important;white-space:nowrap;font-variant-numeric:tabular-nums}

.wdd-root .wdd-table tbody tr:nth-child(even){background:rgba(0,0,0,.025)}
.wdd-root .wdd-sort{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;padding:0;text-align:right;direction:rtl}
.wdd-root .wdd-pagination{justify-content:center;margin-top:14px}
.wdd-root .wdd-page-info{padding:0 8px}
.wdd-error{border-right:4px solid #b42318;background:#fff1f0;padding:12px;margin:12px 0;color:#721c24;direction:rtl!important;text-align:right!important}
@media(max-width:600px){.wdd-root .wdd-toolbar .wdd-button{flex:1}.wdd-root .wdd-phone-digit{flex-basis:31px;width:31px;height:40px;padding:2px}.wdd-root .wdd-phone-search{gap:5px}.wdd-root .wdd-phone-boxes{gap:3px}.wdd-root .wdd-phone-prefix{min-width:43px;height:40px}}
@media print{.wdd-root .wdd-toolbar,.wdd-root .wdd-filters,.wdd-root .wdd-pagination{display:none!important}}

/* Compact, purpose-sized columns and emphasized phone numbers. */
.wdd-root .wdd-table th.wdd-row-col,.wdd-root .wdd-table td.wdd-row-col{width:1%;min-width:3.2em;max-width:4.2em;white-space:nowrap;text-align:center!important;padding-left:5px;padding-right:5px}
.wdd-root .wdd-table th.wdd-price-col,.wdd-root .wdd-table td.wdd-price-col{width:1%;min-width:5.5em;max-width:7.5em;white-space:nowrap;padding-left:6px;padding-right:6px}
.wdd-root .wdd-table th.wdd-status-col,.wdd-root .wdd-table td.wdd-status-col{width:1%;min-width:6.5em;max-width:9em;white-space:nowrap;padding-left:6px;padding-right:6px}
.wdd-root .wdd-table td.wdd-phone-cell{font-size:2.5em!important;font-weight:700!important;line-height:1.35;letter-spacing:0}
.wdd-root .wdd-status-filter{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.wdd-root .wdd-status-select{max-width:100%;min-width:125px;padding:7px 9px;border:1px solid #bbb;border-radius:6px;background:#fff;color:#222;font:inherit;line-height:1.5}
@media(max-width:600px){.wdd-root .wdd-table td.wdd-phone-cell{font-size:2.5em!important}.wdd-root .wdd-status-filter{flex:1 1 auto}.wdd-root .wdd-status-select{min-width:0;flex:1}}
/* Eight-column Word layout: two independent listings share each visual row. */
.wdd-root .wdd-table.wdd-paired-table{width:max-content!important;min-width:0!important;max-width:none;table-layout:auto}
.wdd-root .wdd-table.wdd-paired-table th,.wdd-root .wdd-table.wdd-paired-table td{padding-left:5px;padding-right:5px}
.wdd-root .wdd-table.wdd-paired-table td.wdd-phone-cell{font-size:2em!important}
.wdd-root .wdd-table.wdd-paired-table th.wdd-phone-col,.wdd-root .wdd-table.wdd-paired-table td.wdd-phone-cell{width:1%;min-width:0!important;white-space:nowrap}
.wdd-root .wdd-table.wdd-paired-table th.wdd-row-col,.wdd-root .wdd-table.wdd-paired-table td.wdd-row-col{min-width:2.7em}
@media(max-width:600px){.wdd-root .wdd-table.wdd-paired-table{min-width:0!important}.wdd-root .wdd-table.wdd-paired-table td.wdd-phone-cell{font-size:2em!important}}

/* v1.3.1: paired table visual order is RTL so each group reads status, price, phone, row from left to right. */
.wdd-root .wdd-table.wdd-paired-table{direction:rtl!important}

/* v1.3.4: remove oversized phone-cell minimum width and forced 980px table minimum; let columns size to content. */
.wdd-root .wdd-table-wrap:has(.wdd-table.wdd-paired-table){text-align:left}
.wdd-root .wdd-table.wdd-paired-table th.wdd-phone-col,.wdd-root .wdd-table.wdd-paired-table td.wdd-phone-cell{width:1%;}


/* v1.3.8: refreshed red-accent styling; brand accent RGB(248,49,9) = #F83109. */
.wdd-root{--wdd-accent:#F83109;--wdd-accent-soft:rgba(248,49,9,.08);--wdd-border:#e6e6e6}
.wdd-root .wdd-button{border:1px solid var(--wdd-accent);background:var(--wdd-accent);color:#fff;border-radius:8px;font-weight:600;transition:background .15s ease,border-color .15s ease}
.wdd-root .wdd-button:hover{background:#dc2b05;border-color:#dc2b05;color:#fff}
.wdd-root .wdd-button:focus-visible,.wdd-root .wdd-phone-digit:focus-visible,.wdd-root .wdd-status-select:focus-visible{outline:2px solid var(--wdd-accent);outline-offset:2px}
.wdd-root .wdd-phone-prefix{border-color:var(--wdd-accent);background:var(--wdd-accent-soft);color:var(--wdd-accent)}
.wdd-root .wdd-phone-digit{border-color:#d4d4d4;border-radius:7px;transition:border-color .15s ease,box-shadow .15s ease}
.wdd-root .wdd-phone-digit:focus{border-color:var(--wdd-accent);box-shadow:0 0 0 2px rgba(248,49,9,.12);outline:none}
.wdd-root .wdd-status-select{border-color:#d4d4d4;border-radius:8px}
.wdd-root .wdd-status-select:focus{border-color:var(--wdd-accent);outline:none;box-shadow:0 0 0 2px rgba(248,49,9,.12)}
.wdd-root .wdd-table th{background:var(--wdd-accent);color:#fff;border-color:var(--wdd-accent)}
.wdd-root .wdd-table th .wdd-sort{color:#fff}
.wdd-root .wdd-table th .wdd-sort:hover{opacity:.88}
.wdd-root .wdd-table th,.wdd-root .wdd-table td{border-color:var(--wdd-border);text-align:center!important;vertical-align:middle}
.wdd-root .wdd-table tbody tr:nth-child(even){background:rgba(248,49,9,.035)}
.wdd-root .wdd-table tbody tr:hover{background:rgba(248,49,9,.075)}
.wdd-root .wdd-summary{padding:8px 12px;border-right:3px solid var(--wdd-accent);background:var(--wdd-accent-soft);border-radius:4px}
.wdd-root .wdd-pagination .wdd-page-info{font-weight:600}
@media(max-width:600px){.wdd-root .wdd-button{border-radius:7px}.wdd-root .wdd-table th,.wdd-root .wdd-table td{padding:7px 5px}}

/* v1.3.9 requested refinements: restore blue phone-number emphasis, green print button, status chips, align toolbar and table. */
.wdd-root .wdd-table td.wdd-phone-cell{color:#2457a6!important;background:rgba(59,130,246,.10)!important;border-radius:3px}
.wdd-root .wdd-table tbody tr:nth-child(even) td.wdd-phone-cell{background:rgba(59,130,246,.15)!important}
.wdd-root .wdd-table tbody tr:hover td.wdd-phone-cell{background:rgba(59,130,246,.20)!important}
.wdd-root .wdd-button.wdd-print{background:#198754!important;border-color:#198754!important;color:#fff!important}
.wdd-root .wdd-button.wdd-print:hover{background:#157347!important;border-color:#157347!important}
.wdd-root .wdd-button.wdd-print:before{content:"";display:inline-block;width:16px;height:16px;margin-inline-end:7px;flex:0 0 16px;background-color:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v8H6z'/%3E%3C/svg%3E") center/contain no-repeat}
.wdd-root .wdd-table td.wdd-status-col{font-weight:700}
.wdd-root .wdd-table td.wdd-status-col:has(+ td){ }
.wdd-root .wdd-table td.wdd-status-col{border-radius:4px}
/* Use the status text itself for semantic highlighting without changing the underlying DOCX data. */
.wdd-root .wdd-table td.wdd-status-col[data-status="zero"]{background:#dcfce7!important;color:#166534!important}
.wdd-root .wdd-table td.wdd-status-col[data-status="used"]{background:#fef3c7!important;color:#92400e!important}
.wdd-root .wdd-table td.wdd-status-col[data-status="near"]{background:#d1fae5!important;color:#065f46!important}
.wdd-root .wdd-table-wrap:has(.wdd-table.wdd-paired-table){text-align:initial!important}
.wdd-root .wdd-table.wdd-paired-table{margin-inline:auto!important}
.wdd-root .wdd-table-wrap{margin-inline:0!important}
.wdd-root .wdd-table.wdd-paired-table{width:100%!important;max-width:100%!important;table-layout:auto!important}
