/* Persian numeral glyphs preserve underlying IDs, input values and sorting. */
@font-face{font-family:AdminFaNum;src:url('/fonts/AdminFaNum.woff2') format('woff2');font-weight:100 900;font-display:swap}
html,body,.mud-typography,.mud-input,.mud-table-cell,.mud-pagination-item,.mud-button-root,button,input,select,textarea{font-family:AdminFaNum,Vazir,sans-serif!important}
.mud-main-content{color:#173445;background:#f5f7fb;min-width:0}
.mud-main-content .mud-paper{border-radius:16px;border:1px solid #e1e8ef;box-shadow:0 3px 14px #17344508}
.mud-main-content .mud-tabs{border-radius:16px;overflow:hidden}
.mud-tab{min-height:54px;font-size:13px;line-height:1.8}
.mud-table{border-radius:14px;overflow:hidden}
.mud-table-toolbar{min-height:76px;padding:16px 20px;gap:12px;flex-wrap:wrap}
.mud-table-toolbar .mud-typography-h6{font-size:19px;font-weight:700;color:#173f59}
.mud-table-container{overflow-x:auto!important;scrollbar-width:thin;scrollbar-color:#9fb3c5 #eef3f7}
.mud-table-root .mud-table-head .mud-table-cell{background:#eef3f8;color:#24465c;font-weight:700;padding:14px 16px;border-color:#dce5ee;white-space:nowrap}
.mud-table-root .mud-table-body .mud-table-cell{padding:12px 16px;line-height:1.9;border-color:#e9eef3;vertical-align:middle}
.mud-table-striped .mud-table-body .mud-table-row:nth-of-type(odd){background:#f9fbfd}
.mud-table-hover .mud-table-body .mud-table-row:hover{background:#edf5fa!important}
.mud-table-cell .mud-icon-button{margin:3px;border-radius:9px;box-shadow:none;min-width:34px;min-height:34px}
.mud-table-cell .mud-chip{border-radius:7px}
.mud-table-pagination{border-top:1px solid #e1e8ef;padding:12px;gap:8px;flex-wrap:wrap}
.mud-main-content .mud-input-outlined-border{border-radius:10px;border-color:#cbd7e3}
.mud-main-content .mud-input-control{margin-bottom:8px}
.mud-main-content .mud-input-label{line-height:1.6}
.mud-main-content .mud-divider{border-color:#e4ebf2;margin-block:18px}
.mud-main-content .mud-button-root{border-radius:9px}
input[type=file]::file-selector-button{font-family:inherit;background:#eaf2f8;color:#173f59;border:1px solid #cbd7e3;border-radius:8px;padding:10px 16px;margin-inline-end:12px;cursor:pointer}
@media(max-width:700px){.mud-table-toolbar{padding:12px}.mud-table-root .mud-table-body .mud-table-cell{padding:10px}.mud-main-content .mud-paper{border-radius:12px}}
/* Date ranges share one compact card; fallback also covers already-published markup. */
.mud-data-grid .mud-table-head>.mud-table-row>.mud-table-cell{border-inline-start:1px solid #dce5ee;text-align:center}
.mud-data-grid .mud-table-head .column-header{position:relative;display:flex;justify-content:center;align-items:center;width:100%;min-height:32px;gap:6px}
.mud-data-grid .mud-table-head .column-header:has(.sortable-column-header){padding-inline:36px}
.mud-data-grid .mud-table-head .column-header>.column-options{position:absolute;inset-inline-end:0;margin:0}
.mud-data-grid .mud-table-head .sortable-column-header{flex:0 1 auto;text-align:center;white-space:normal;line-height:1.8}
.mud-data-grid .mud-table-head .filter-header-cell{padding-inline:16px!important}
.mud-data-grid .mud-table-head .filter-header-cell>.d-flex{width:100%;justify-content:center;align-items:center}
.mud-data-grid .mud-table-head .filter-header-cell input[placeholder]{text-align:center}
.mud-data-grid .mud-table-head .filter-header-cell>:is(.admin-created-at-filter,div[dir="rtl"][style*="width:280px"]){margin-inline:auto}
.mud-popover:is(.admin-jalali-calendar,:has(>.mud-paper[style*="min-width:300px"])){width:308px!important;min-width:0!important;max-width:calc(100vw - 24px)!important;border-radius:14px;overflow:hidden;border:1px solid #dce6ed;box-shadow:0 12px 36px #193f5829}
.mud-popover:is(.admin-jalali-calendar,:has(>.mud-paper[style*="min-width:300px"]))>.mud-paper{min-width:0!important;width:100%;box-sizing:border-box;box-shadow:none!important;padding:12px!important}
.mud-popover:is(.admin-jalali-calendar,:has(>.mud-paper[style*="min-width:300px"])) .mud-button-root{border-radius:9px;font-size:12px}
.mud-popover:is(.admin-jalali-calendar,:has(>.mud-paper[style*="min-width:300px"])) .mud-typography-subtitle2{color:#214c67;font-weight:700}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"]){display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:6px 10px;width:350px!important;max-width:none!important;padding:14px!important;border:1px solid #dce6ed;border-radius:14px;background:#fff;box-shadow:0 2px 6px #173f5905;white-space:normal;text-align:right}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"])::before{content:"بازهٔ ثبت آگهی";grid-column:1/-1;color:#214c67;font-size:12px;font-weight:700;padding-bottom:3px}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"])>*{min-width:0}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"])>.mud-typography,:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"])>[role="alert"],:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"])>.d-flex{grid-column:1/-1}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"])>.mud-typography{font-size:10px;line-height:1.9;color:#728697;margin:2px 0}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"]) .mud-input-control{margin:3px 0!important}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"]) .mud-input-label{font-size:11px}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"]) .mud-input{font-size:12px;background:#fafcfd;border-radius:9px}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"]) .mud-input-adornment .mud-icon-button{padding:4px;margin:0;min-width:26px;min-height:26px}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"]) .mud-icon-size-medium{font-size:19px}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"])>.d-flex{margin-top:4px!important;justify-content:flex-start;border-top:1px solid #edf1f5;padding-top:10px}
:is(.admin-created-at-filter,.mud-table-head div[dir="rtl"][style*="width:280px"]) .mud-button{box-shadow:none;border-radius:8px;padding:6px 14px;font-size:11px}
.mud-table-head tr:has(div[dir="rtl"][style*="width:280px"])>.mud-table-cell{vertical-align:top!important;background:#f7fafc!important;padding:12px!important}
.mud-table-head tr:has(div[dir="rtl"][style*="width:280px"]) input[placeholder]{font-size:12px}
.mud-table-head tr:has(div[dir="rtl"][style*="width:280px"]) .mud-input-underline:before{border-color:#cad8e2}
/* Reconnect state and existing fixed-height image cards. */
.mud-data-grid .mud-table-head .admin-date-collapsible:not(.admin-date-open){display:block!important;width:220px!important;max-width:100%!important;padding:0!important;border:0;box-shadow:none;background:transparent}
.mud-table-head .admin-date-collapsible:not(.admin-date-open)::before,.mud-table-head .admin-date-collapsible:not(.admin-date-open)>:not(.admin-date-toggle){display:none!important}
.mud-table-head .admin-date-toggle{display:block;width:100%;min-height:38px;padding:7px 12px;border:1px solid #c9dce8;border-radius:9px;background:#fff;color:#214c67;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;grid-column:1/-1;grid-row:1}
.mud-table-head .admin-date-toggle:hover{background:#edf5fa;border-color:#6598b8}
.mud-table-head .admin-date-toggle:focus-visible{outline:2px solid #318475;outline-offset:2px}
.mud-table-head .admin-date-open{position:fixed!important;left:var(--date-panel-left);top:var(--date-panel-top);z-index:1250;width:350px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px);overflow:auto;box-shadow:0 12px 40px #173f5933!important}
.mud-table-head .admin-date-open::before{display:none}
.mud-table-head .filter-header-cell:has(.admin-date-collapsible){min-width:244px}
.mud-data-grid .mud-table-root .mud-table-head tr:has(.admin-date-collapsible)>.mud-table-cell{height:56px;vertical-align:middle!important;padding:6px 12px!important}
#components-reconnect-modal:not(.components-reconnect-hide){background:rgba(17,42,61,.48);backdrop-filter:blur(6px);padding:20px}
#components-reconnect-modal .components-reconnect-dialog{box-sizing:border-box;width:440px;max-width:100%;padding:32px 28px;border:1px solid #e1e9f0;border-radius:24px;box-shadow:0 24px 80px #102d4933;color:#193f58;outline:none}
#components-reconnect-modal .admin-reconnect-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border-radius:20px;background:#edf6f4;color:#318475;font-size:40px;line-height:1}
#components-reconnect-modal h2{font-size:21px;font-weight:700;margin:0 0 12px;line-height:1.7}
#components-reconnect-modal p{font-size:14px;line-height:2;margin:0;color:#587083}
#components-reconnect-modal small{display:block;margin-top:12px;color:#7a6337;font-size:12px}
#components-reconnect-modal .components-reconnect-actions{gap:12px;margin-top:24px;flex-wrap:wrap}
#components-reconnect-modal .components-reconnect-actions button,#components-reconnect-modal .components-reconnect-actions a{border-radius:10px;padding:11px 18px;font:inherit;font-size:14px;text-decoration:none;line-height:1.6}
#components-reconnect-modal .components-reconnect-actions a{background:#174b6b;color:white}
#components-reconnect-modal .components-reconnect-actions button{background:#edf3f7;color:#174b6b}
#components-reconnect-modal .components-reconnect-actions :focus-visible{outline:3px solid #6ba899;outline-offset:3px}
#components-reconnect-modal .components-reconnect-actions button:disabled{opacity:.55;cursor:wait}
.components-reconnect-show .admin-reconnect-mark{animation:admin-reconnect-pulse 1.5s ease-in-out infinite}
@keyframes admin-reconnect-pulse{50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.components-reconnect-show .admin-reconnect-mark{animation:none}}
.mud-main-content .mud-card-content img.mud-image.object-fill {
  object-fit:contain!important;
  object-position:center;
  max-width:100%;
}
