/* /Components/Banners/BannerEditorDialog.razor.rz.scp.css */
/* قائمة اختيار المنتج تحتها مربّع بحث، فهي متعدّدة الأسطر لا منسدلة: النتائج
   تتغيّر مع كل حرف، والمنسدلة كانت تُغلق نفسها في كل تحديث. */
.field select[size][b-kz9nacerqn] {
    padding: 4px;
}

.field .hint[b-kz9nacerqn] {
    margin: 0;
    font-size: 11.5px;
    color: var(--text-faint);
}
/* /Components/Banners/BannersTable.razor.rz.scp.css */
.banners-table .thumb[b-87wf0p12tg] { width: 96px; }
.banners-table .swatch[b-87wf0p12tg] {
    width: 76px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.banners-table .swatch img[b-87wf0p12tg] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banners-table .title .strong[b-87wf0p12tg] { font-weight: 600; color: var(--text); }
.banners-table .title .muted[b-87wf0p12tg] { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.banners-table .badge[b-87wf0p12tg] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    background: var(--brand-champagne-soft);
    color: var(--brand-champagne);
    border: 1px solid var(--warning-border);
    margin-bottom: 4px;
}

/* الوجهة لا تُبتر: تلتفّ على سطرين ويحملها title كاملةً. */
.banners-table .link[b-87wf0p12tg] {
    min-width: 200px;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.banners-table .actions[b-87wf0p12tg] { width: 92px; white-space: nowrap; text-align: end; }
/* /Components/Branches/BranchesTable.razor.rz.scp.css */
/* اسم الفرع يلتفّ بدل أن يمطّ الجدول أو يُقصّ. */
.branches-table .name[b-2hqp9g27qw] { white-space: normal; overflow-wrap: anywhere; }

.branches-table .address[b-2hqp9g27qw] {
    max-width: 260px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.6;
}
.branches-table .contact .mono[b-2hqp9g27qw] { font-size: 13px; direction: ltr; text-align: right; }

.branches-table .actions[b-2hqp9g27qw] { width: 150px; white-space: nowrap; text-align: end; }
/* /Components/Branches/BranchMembersDialog.razor.rz.scp.css */
.members-section[b-rl8yz4xexk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.members-section + .members-section[b-rl8yz4xexk] {
    padding-top: 12px;
    border-top: 1px solid var(--divider);
}

.members-section h4[b-rl8yz4xexk] {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-strong);
    display: flex;
    align-items: center;
    gap: 8px;
}

.members-section h4 .count[b-rl8yz4xexk] {
    font-family: var(--font-numeric);
    font-size: 11px;
    font-weight: 600;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.member-row[b-rl8yz4xexk] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 4px;
}

.member-row .ava[b-rl8yz4xexk] {
    flex: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 600;
}

.member-row .who[b-rl8yz4xexk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.member-row .name[b-rl8yz4xexk] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-strong);
}

.member-row .phone[b-rl8yz4xexk] {
    font-family: var(--font-numeric);
    font-size: 12px;
    color: var(--text-muted);
    direction: ltr;
    text-align: right;
}

.members-empty[b-rl8yz4xexk] {
    margin: 0;
    padding: 10px 4px;
    font-size: 12.5px;
    color: var(--text-faint);
}
/* /Components/Categories/CategoriesTable.razor.rz.scp.css */
.cats-table .thumb[b-k1wtglto7s] { width: 64px; }
.cats-table .thumb img[b-k1wtglto7s] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
    display: block;
}
.cats-table .no-image[b-k1wtglto7s] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px dashed var(--border-strong);
    background: var(--surface-2);
    color: var(--text-faint);
    display: grid;
    place-items: center;
}
.cats-table .no-image svg[b-k1wtglto7s] { width: 18px; height: 18px; }

.cats-table .name .strong[b-k1wtglto7s] { font-weight: 600; color: var(--text); }
.cats-table .name .muted[b-k1wtglto7s],
.cats-table .parent .muted[b-k1wtglto7s] { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

.tag.seller[b-k1wtglto7s] { background: var(--brand-champagne-soft); color: var(--brand-champagne); border-color: var(--warning-border); }

.cats-table .actions[b-k1wtglto7s] { width: 92px; white-space: nowrap; text-align: end; }
/* /Components/ConfirmDialog.razor.rz.scp.css */
.confirm-modal[b-fi0b8c942e] {
    max-width: 420px;
}

.confirm-message[b-fi0b8c942e] {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text);
}
/* /Components/Data/ExportMenu.razor.rz.scp.css */
.export-menu[b-n0mrmmsctd] {
    position: relative;
}

/* التصدير فعلٌ ثانوي: زرّ بحدّ لا زرٌّ ممتلئ ينافس «إضافة» على الانتباه. */
.export-menu .trigger[b-n0mrmmsctd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--control-h);
    padding: 0 12px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    font: inherit;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .12s, border-color .12s;
}

.export-menu .trigger:hover:not(:disabled)[b-n0mrmmsctd] {
    background: var(--hover);
    border-color: var(--border-hover);
}
.export-menu .trigger:disabled[b-n0mrmmsctd] { opacity: .65; cursor: progress; }

.export-menu .trigger svg[b-n0mrmmsctd] { width: 16px; height: 16px; color: var(--text-muted); }
.export-menu .trigger .caret[b-n0mrmmsctd] {
    width: 14px; height: 14px;
    transition: transform .15s ease;
}
.export-menu.open .trigger .caret[b-n0mrmmsctd] { transform: rotate(180deg); }

/* الستارة والقائمة فوق الشريط العلوي (60) والجانبي (70): كانتا تحتهما فيصل
   النقر إلى ما خلفهما بلا أن تُغلق القائمة. */
.export-menu .menu-scrim[b-n0mrmmsctd] {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.export-menu .menu[b-n0mrmmsctd] {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    min-width: 190px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    padding: 6px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.export-menu .menu button[b-n0mrmmsctd] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 10px;
    background: transparent;
    border: none;
    border-radius: var(--r-sm);
    color: var(--text);
    font: inherit;
    font-size: 13.5px;
    cursor: pointer;
    text-align: right;
}
.export-menu .menu button:hover[b-n0mrmmsctd] { background: var(--hover); }
.export-menu .menu button svg[b-n0mrmmsctd] { width: 16px; height: 16px; color: var(--text-muted); }
/* /Components/Data/FilterChip.razor.rz.scp.css */
.chip[b-qk2qqqd264] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 999px;
    font: inherit;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .12s, color .12s, border-color .12s;
}

.chip:hover[b-qk2qqqd264] {
    border-color: var(--border-strong);
    color: var(--text-strong);
}

.chip.active[b-qk2qqqd264] {
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent-strong);
    font-weight: 600;
}

.chip .count[b-qk2qqqd264] {
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--neutral-soft);
    font-size: 11.5px;
    font-weight: 600;
    display: inline-grid;
    place-items: center;
    font-variant-numeric: tabular-nums;
}

.chip.active .count[b-qk2qqqd264] { background: var(--on-accent); }
/* /Components/Data/PaginationBar.razor.rz.scp.css */
.pager[b-ltlswjqifi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    min-height: 56px;
    padding: 10px 16px;
    border-top: 1px solid var(--divider);
    background: var(--surface);
    flex-wrap: wrap;
}

.pager .info[b-ltlswjqifi] {
    color: var(--text-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.pager .info strong[b-ltlswjqifi] { color: var(--text-strong); font-weight: 600; }

.pager .controls[b-ltlswjqifi] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pager .size[b-ltlswjqifi] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}
.pager .size select[b-ltlswjqifi] {
    width: auto;
    min-width: 72px;
    min-height: 32px;
    height: 32px;
    font-size: 13px;
}

.pager .buttons[b-ltlswjqifi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pager .buttons button[b-ltlswjqifi] {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: var(--r-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .12s, border-color .12s, color .12s;
}
.pager .buttons button:hover:not(:disabled)[b-ltlswjqifi] { background: var(--hover); border-color: var(--border-strong); }
.pager .buttons button:disabled[b-ltlswjqifi] { opacity: .4; cursor: not-allowed; }
.pager .buttons button.current[b-ltlswjqifi] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
}
.pager .buttons button svg[b-ltlswjqifi] { width: 15px; height: 15px; }
.pager .buttons .dots[b-ltlswjqifi] { color: var(--text-faint); padding: 0 2px; }

@media (max-width: 720px) {
    .pager[b-ltlswjqifi] { justify-content: center; }
    .pager .size span[b-ltlswjqifi] { display: none; }
}

/* أرقام الصفحات تُنقر بالإصبع: 44px أرضيةً على أدوات التأشير الخشنة. */
@media (pointer: coarse) {
    .pager .buttons button[b-ltlswjqifi] { min-width: 44px; min-height: 44px; height: auto; }
}
/* /Components/Data/SearchBox.razor.rz.scp.css */
.searchbox[b-9ygld15g44] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--control-h);
    padding: 0 10px 0 6px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    transition: border-color .12s ease, box-shadow .12s ease;
    width: 100%;
}

.searchbox:hover[b-9ygld15g44] { border-color: var(--border-hover); }

.searchbox:focus-within[b-9ygld15g44] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.searchbox svg[b-9ygld15g44] {
    width: 16px; height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.searchbox input[b-9ygld15g44] {
    flex: 1;
    min-width: 0;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    color: var(--text);
}
.searchbox input:focus[b-9ygld15g44] { box-shadow: none; border: none; }
.searchbox input[b-9ygld15g44]::placeholder { color: var(--text-faint); }
.searchbox input[b-9ygld15g44]::-webkit-search-cancel-button { display: none; }

.searchbox .clear[b-9ygld15g44] {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    flex: none;
}
.searchbox .clear svg[b-9ygld15g44] { width: 14px; height: 14px; }
.searchbox .clear:hover[b-9ygld15g44] { background: var(--hover); color: var(--text-strong); }

/* على اللمس: الزرّ داخل الحقل فلا يبلغ 44px بلا كسره — 32 أقصى ما يتّسع له. */
@media (pointer: coarse) {
    .searchbox .clear[b-9ygld15g44] { width: 32px; height: 32px; }
}
/* /Components/Data/SortableHeader.razor.rz.scp.css */
.sortable[b-emc2suwwgo] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    /* لا هامش سالب: الرأس نفسه صار يحمل حشوةً رأسية (‏.data-table thead th) فلا
       حاجة لسحب الزرّ خارج خليّته — والسالب كان يقصّ حلقة التركيز. */
    padding: 4px 6px;
    cursor: pointer;
    color: inherit;
    font: inherit;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    transition: background-color .12s ease, color .12s ease;
}

.sortable:hover[b-emc2suwwgo] { background: var(--bg-elevated); color: var(--text-strong); }

.sortable.active[b-emc2suwwgo] { color: var(--accent-strong); }

.sortable svg[b-emc2suwwgo] { width: 13px; height: 13px; flex: none; }
.sortable svg.dim[b-emc2suwwgo] { opacity: .4; }
/* /Components/Media/ImageGalleryField.razor.rz.scp.css */
.gallery-field[b-euvpxjjyb3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-head[b-euvpxjjyb3] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.gallery-head .label[b-euvpxjjyb3] {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.gallery-head .count[b-euvpxjjyb3] {
    font-family: var(--font-numeric);
    font-variant-numeric: tabular-nums;
    font-size: 11.5px;
    color: var(--text-faint);
}

.gallery-grid[b-euvpxjjyb3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
}

.tile[b-euvpxjjyb3] {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
    overflow: hidden;
}

.tile img[b-euvpxjjyb3] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tile.primary[b-euvpxjjyb3] {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 2px var(--brand-teal-soft);
}

.tile .badge[b-euvpxjjyb3] {
    position: absolute;
    top: 6px;
    inset-inline-start: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    background: var(--brand-teal);
    color: var(--on-accent);
}

.tile-actions[b-euvpxjjyb3] {
    position: absolute;
    bottom: 6px;
    inset-inline-end: 6px;
    display: flex;
    gap: 4px;
}

.tile-btn[b-euvpxjjyb3] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    transition: background .12s, color .12s, border-color .12s;
}
.tile-btn svg[b-euvpxjjyb3] { width: 14px; height: 14px; }
.tile-btn:hover:not(:disabled)[b-euvpxjjyb3] { color: var(--brand-teal); border-color: var(--accent-ring); }
.tile-btn.danger:hover:not(:disabled)[b-euvpxjjyb3] { color: var(--danger); border-color: var(--danger-border); background: var(--danger-soft); }
.tile-btn:disabled[b-euvpxjjyb3] { opacity: .5; cursor: not-allowed; }

.tile.add[b-euvpxjjyb3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-style: dashed;
    border-color: var(--border-strong);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}
.tile.add svg[b-euvpxjjyb3] { width: 20px; height: 20px; }
.tile.add:hover[b-euvpxjjyb3] { border-color: var(--brand-teal); color: var(--brand-teal); }
.tile.add.is-disabled[b-euvpxjjyb3] { opacity: .55; cursor: not-allowed; }

/* ‏InputFile يرسم <input type=file> حقيقياً فيحتاج ::deep كي يُخفى فوق البلاطة. */
.tile.add[b-euvpxjjyb3]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}
.tile.add.is-disabled[b-euvpxjjyb3]  input[type="file"] { cursor: not-allowed; }

.hint[b-euvpxjjyb3] {
    margin: 0;
    font-size: 11.5px;
    color: var(--text-faint);
    line-height: 1.5;
}

/* أزرار البلاطة داخل مربّع 96px: 44 تغطّي الصورة كلها، فـ32 سقفها على اللمس. */
@media (pointer: coarse) {
    .tile-btn[b-euvpxjjyb3] { width: 32px; height: 32px; }
}
/* /Components/Media/ImageUploadField.razor.rz.scp.css */
.image-field[b-f6snnggdf6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-field > .label[b-f6snnggdf6] {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.image-field .row[b-f6snnggdf6] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.image-field .preview[b-f6snnggdf6] {
    flex: none;
    width: 96px;
    height: 96px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.image-field .preview img[b-f6snnggdf6] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-field .preview.empty[b-f6snnggdf6] {
    border-style: dashed;
    border-color: var(--border-strong);
    color: var(--text-faint);
}

.image-field .preview.empty svg[b-f6snnggdf6] {
    width: 30px;
    height: 30px;
}

.image-field .controls[b-f6snnggdf6] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

/* ‏InputFile يرسم <input type=file> حقيقياً؛ نخفيه ونجعل الـlabel هو الزر المرئي
   فيبقى فتح المستعرض بالنقر وبلوحة المفاتيح معاً بلا JS.

   ‏::deep إلزامي هنا: العنصر يرسمه مكوّنٌ آخر (‏InputFile) فلا يحمل سِمة نطاق هذا
   المكوّن، وقاعدةٌ بلا ::deep لا تنطبق عليه إطلاقاً — فيظهر زرّ المتصفح الأصلي
   («اختيار الملف · لم يتم اختيار ملف») جنب الزرّ المصمَّم. */
.image-field .controls label[b-f6snnggdf6] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0;
}

.image-field .controls label[b-f6snnggdf6]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.image-field .controls label.is-disabled[b-f6snnggdf6] {
    opacity: .55;
    cursor: not-allowed;
}

.image-field .controls label.is-disabled[b-f6snnggdf6]  input[type="file"] {
    cursor: not-allowed;
}

.image-field .btn-ghost.danger[b-f6snnggdf6] { color: var(--danger); }
.image-field .btn-ghost.danger:hover:not(:disabled)[b-f6snnggdf6] { background: var(--danger-soft); }

.image-field .hint[b-f6snnggdf6] {
    margin: 0;
    font-size: 11.5px;
    color: var(--text-faint);
    line-height: 1.5;
}

.image-field .field-error[b-f6snnggdf6] {
    margin: 0;
    font-size: 12px;
    color: var(--danger);
}

@media (max-width: 520px) {
    .image-field .row[b-f6snnggdf6] { flex-direction: column; }
}
/* /Components/Orders/OrderDetailDialog.razor.rz.scp.css */
.order-detail[b-2rkc0evnul] {
    max-width: 760px;
}

.loading-row[b-2rkc0evnul] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.order-head[b-2rkc0evnul] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.order-head .muted[b-2rkc0evnul] { color: var(--text-faint); font-size: 12px; }

/* ثلاث حقائق في شبكةٍ من عمودين كانت تترك الثالثة وحدها في سطر: أعمدةٌ تتكيّف
   مع العدد بدل عددٍ ثابت. */
.facts[b-2rkc0evnul] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.facts > div[b-2rkc0evnul] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
}

.facts span[b-2rkc0evnul] { font-size: 11.5px; color: var(--text-faint); }
.facts strong[b-2rkc0evnul] { font-size: 13.5px; color: var(--text-strong); font-weight: 600; }
.facts em[b-2rkc0evnul] { font-style: normal; font-size: 12px; color: var(--text-muted); direction: ltr; text-align: right; }

.items-wrap[b-2rkc0evnul] { overflow: auto; border: 1px solid var(--border); border-radius: var(--r-md); }

.items[b-2rkc0evnul] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.items th[b-2rkc0evnul] {
    text-align: right;
    padding: 9px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-2);
    border-bottom: 1px solid var(--divider);
    white-space: nowrap;
}

.items td[b-2rkc0evnul] {
    padding: 9px 12px;
    border-bottom: 1px solid var(--divider);
    vertical-align: top;
}

.items .num[b-2rkc0evnul] { text-align: center; white-space: nowrap; }
.items .muted[b-2rkc0evnul] { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.items .was[b-2rkc0evnul] { display: block; color: var(--text-faint); font-size: 11.5px; }

.items tfoot td[b-2rkc0evnul] {
    border-bottom: 0;
    font-weight: 600;
    color: var(--text-strong);
    background: var(--surface-2);
}
.items tfoot .total[b-2rkc0evnul] { font-size: 14px; }

.note[b-2rkc0evnul] {
    padding: 10px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}
.note span[b-2rkc0evnul] { font-size: 11.5px; color: var(--text-faint); }
.note p[b-2rkc0evnul] { margin: 2px 0 0; font-size: 13px; color: var(--text); line-height: 1.7; }
.note.danger[b-2rkc0evnul] { background: var(--danger-soft); border-color: var(--danger-border); }

.timeline[b-2rkc0evnul] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 12.5px;
}
.timeline li[b-2rkc0evnul] { display: flex; gap: 6px; color: var(--text-muted); }
.timeline em[b-2rkc0evnul] { font-style: normal; color: var(--text); font-family: var(--font-numeric); }

.alofoq[b-2rkc0evnul] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
}
.alofoq .row[b-2rkc0evnul] { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-muted); }
.alofoq .row strong[b-2rkc0evnul] { color: var(--text-strong); }

.modal-footer .destructive[b-2rkc0evnul] { color: var(--danger); }
.modal-footer .destructive:hover:not(:disabled)[b-2rkc0evnul] { background: var(--danger-soft); color: var(--danger); }

@media (max-width: 560px) {
    .facts[b-2rkc0evnul] { grid-template-columns: 1fr; }
}
/* /Components/Orders/OrdersTable.razor.rz.scp.css */
.orders-table tbody tr.clickable[b-9iekbtvufh] { cursor: pointer; }
.orders-table tbody tr.clickable:focus-visible[b-9iekbtvufh] { outline: 2px solid var(--brand-teal); outline-offset: -2px; }

.orders-table .number[b-9iekbtvufh] { white-space: nowrap; font-weight: 600; direction: ltr; text-align: right; }
.orders-table .buyer .muted[b-9iekbtvufh] { direction: ltr; text-align: right; margin-top: 2px; }

.orders-table .status[b-9iekbtvufh] { white-space: nowrap; }
/* /Components/Products/DiscountEditorDialog.razor.rz.scp.css */
.discount-editor[b-dyakk0hov9] {
    max-width: 520px;
}

.segmented[b-dyakk0hov9] {
    display: inline-flex;
    padding: 3px;
    gap: 3px;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
    align-self: flex-start;
}

.seg[b-dyakk0hov9] {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background .12s, color .12s;
}
.seg:hover:not(:disabled)[b-dyakk0hov9] { color: var(--text); }
.seg.active[b-dyakk0hov9] { background: var(--surface); color: var(--brand-teal-strong); font-weight: 600; box-shadow: var(--shadow-xs); }
.seg:disabled[b-dyakk0hov9] { cursor: not-allowed; }

.preview[b-dyakk0hov9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    font-size: 13px;
}
.preview .row[b-dyakk0hov9] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--text-muted); }
.preview .row strong[b-dyakk0hov9] { color: var(--text-strong); font-weight: 700; }
.preview .row s[b-dyakk0hov9] { color: var(--text-faint); }
.preview .final-price[b-dyakk0hov9] { color: var(--brand-teal-strong); }
.preview .percent[b-dyakk0hov9] { color: var(--danger); }
.preview .muted[b-dyakk0hov9] { color: var(--text-faint); }
.preview .hint[b-dyakk0hov9] { margin: 2px 0 0; font-size: 11.5px; color: var(--text-faint); }

.modal-footer .remove[b-dyakk0hov9] { color: var(--danger); }
.modal-footer .remove:hover:not(:disabled)[b-dyakk0hov9] { background: var(--danger-soft); color: var(--danger); }
.modal-footer .spacer[b-dyakk0hov9] { flex: 1; }
/* /Components/Products/ProductEditorDialog.razor.rz.scp.css */
/* الحوار أعرض من حوار الفئة: ثلاثة أسعار في صفّ ومعرض صور. */
.product-editor[b-vb6d0d0d37] {
    max-width: 720px;
}

.grid-3[b-vb6d0d0d37] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.section-title[b-vb6d0d0d37] {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--divider);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-strong);
}

.loading-row[b-vb6d0d0d37] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 4px;
    color: var(--text-muted);
    font-size: 13px;
}

@media (max-width: 560px) {
    .grid-3[b-vb6d0d0d37] { grid-template-columns: 1fr; }
}
/* /Components/Products/ProductsTable.razor.rz.scp.css */
.products-table tbody tr.is-hidden td[b-7qrfp5hznf] { color: var(--text-muted); }

.products-table .thumb[b-7qrfp5hznf] { width: 64px; }
.products-table .thumb img[b-7qrfp5hznf] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
    display: block;
}
.products-table .no-image[b-7qrfp5hznf] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px dashed var(--border-strong);
    background: var(--surface-2);
    color: var(--text-faint);
    display: grid;
    place-items: center;
}
.products-table .no-image svg[b-7qrfp5hznf] { width: 18px; height: 18px; }

.products-table .name[b-7qrfp5hznf] { min-width: 220px; }
.products-table .name .strong[b-7qrfp5hznf] { font-weight: 600; color: var(--text); }
.products-table .name .muted[b-7qrfp5hznf] { color: var(--text-muted); font-size: 12px; margin-top: 2px; direction: ltr; text-align: right; }

.products-table .price[b-7qrfp5hznf] { white-space: nowrap; }
.products-table .price .now[b-7qrfp5hznf] { font-weight: 600; color: var(--text-strong); }
.products-table .price .was[b-7qrfp5hznf] { margin-top: 2px; font-size: 12px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.products-table .price .off[b-7qrfp5hznf] {
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--danger-soft);
    color: var(--danger);
}

.products-table .stock[b-7qrfp5hznf] { white-space: nowrap; }
.products-table .stock .out[b-7qrfp5hznf] { color: var(--danger); font-weight: 600; }
.products-table .stock .mono + .muted[b-7qrfp5hznf] { margin-inline-start: 4px; }

.products-table .discount[b-7qrfp5hznf] { white-space: nowrap; }
.products-table .discount .muted[b-7qrfp5hznf] { font-size: 11.5px; margin-top: 3px; }

.products-table .actions[b-7qrfp5hznf] { width: 120px; white-space: nowrap; text-align: end; }
/* /Components/Staff/BranchStaffEditorDialog.razor.rz.scp.css */
.branch-options[b-1silmcy3j0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow: auto;
    padding: 2px;
}

.branch-options .option[b-1silmcy3j0] {
    padding: 8px 12px;
}
/* /Components/Staff/BranchStaffTable.razor.rz.scp.css */
.staff-table .ava[b-1jqzx9n87y] { width: 48px; }
.staff-table .avatar[b-1jqzx9n87y] {
    width: 36px; height: 36px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.staff-table .name .strong[b-1jqzx9n87y] { font-weight: 600; color: var(--text); }
.staff-table .name .muted[b-1jqzx9n87y] { color: var(--text-muted); font-size: 12.5px; margin-top: 2px; }
.staff-table .contact .mono[b-1jqzx9n87y] { font-family: var(--font-numeric); font-size: 13px; color: var(--text); direction: ltr; text-align: right; }

/* الوسوم تُحدّ بصفّين فلا يتضخّم الصفّ بموظّفٍ في عشرة فروع؛ وtitle يسرد كلّها. */
.staff-table .branches[b-1jqzx9n87y] { max-width: 320px; max-height: 60px; overflow: hidden; line-height: 26px; }

.staff-table .actions[b-1jqzx9n87y] { width: 90px; white-space: nowrap; text-align: end; }
/* /Components/Users/UsersFilters.razor.rz.scp.css */
.filters[b-0bbthl9ig1] {
    padding: 0;
    overflow: hidden;
}

.filters-header[b-0bbthl9ig1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
}

.filters-header .toggle[b-0bbthl9ig1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
}
.filters-header .toggle svg[b-0bbthl9ig1] { width: 16px; height: 16px; }
.filters-header .toggle svg.caret[b-0bbthl9ig1] { width: 14px; height: 14px; transition: transform .15s ease; color: var(--text-muted); }
.filters-header .toggle svg.caret.up[b-0bbthl9ig1] { transform: rotate(180deg); }
.filters-header .badge[b-0bbthl9ig1] {
    background: var(--accent-soft);
    color: var(--accent-strong);
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-grid;
    place-items: center;
}

.filters-header .clear[b-0bbthl9ig1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--danger);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
}
.filters-header .clear:hover[b-0bbthl9ig1] { background: var(--danger-soft); }
.filters-header .clear svg[b-0bbthl9ig1] { width: 14px; height: 14px; }

.filters-grid[b-0bbthl9ig1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px 14px;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--divider);
}
/* /Components/Users/UsersTable.razor.rz.scp.css */
.users-table .ava[b-pzk5xn0bkk] { width: 48px; }
.users-table .avatar[b-pzk5xn0bkk] {
    width: 36px; height: 36px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.users-table .name .strong[b-pzk5xn0bkk] { font-weight: 600; color: var(--text); }
.users-table .name .muted[b-pzk5xn0bkk] { color: var(--text-muted); font-size: 12.5px; margin-top: 2px; }
.users-table .contact .mono[b-pzk5xn0bkk] { font-family: var(--font-numeric); font-size: 13px; color: var(--text); direction: ltr; text-align: right; }
.users-table .location .strong[b-pzk5xn0bkk] { font-weight: 500; }
.users-table .location .muted[b-pzk5xn0bkk] { color: var(--text-muted); font-size: 12px; margin-top: 1px; }
.users-table .rep .strong[b-pzk5xn0bkk] { font-weight: 500; }
.users-table .rep .muted[b-pzk5xn0bkk] { color: var(--text-muted); }

.users-table .role-list[b-pzk5xn0bkk] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.role[b-pzk5xn0bkk] {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: var(--r-xs);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: var(--neutral-soft);
    color: var(--text-muted);
}
.role.admin[b-pzk5xn0bkk] { background: var(--brand-champagne-soft); color: var(--brand-champagne); }
.role.seller[b-pzk5xn0bkk] { background: var(--accent-soft); color: var(--accent-strong); }
.role.customer[b-pzk5xn0bkk] { background: var(--neutral-soft); color: var(--text-muted); }
.role.representative[b-pzk5xn0bkk] { background: var(--info-soft); color: var(--info); }
.role.branch-staff[b-pzk5xn0bkk] { background: var(--purple-soft); color: var(--purple); }
/* /Layout/MainLayout.razor.rz.scp.css */
/* Layout styles live in wwwroot/css/app.css under .shell-* selectors so they
   can be reused across pages and standalone components. This isolated CSS
   slot is kept empty intentionally. */
/* /Layout/NavMenu.razor.rz.scp.css */
/* Empty — see MainLayout.razor / wwwroot/css/app.css for nav styles. */
