/* /Pages/Invoices/InvoiceFileViewer.razor.rz.scp.css */
.viewer-normal[b-h2getct9j9] {
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
}

.viewer-fullscreen[b-h2getct9j9] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.viewer-header[b-h2getct9j9] {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

.viewer-filename[b-h2getct9j9] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60ch;
}

.viewer-body[b-h2getct9j9] {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

.viewer-embed[b-h2getct9j9] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.viewer-image-wrap[b-h2getct9j9] {
    position: absolute;
    inset: 0;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.viewer-image[b-h2getct9j9] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* /Pages/Suppliers/OrderEditor.razor.rz.scp.css */
.oe-root[b-pb9umszbly] { position:relative; display:flex; flex-direction:column; height:calc(100vh - var(--mud-appbar-height, 64px)); background:#0e0f14; color:#f1f3f8; font-family:'DM Sans',sans-serif; overflow:hidden; }

/* Header */
.oe-header[b-pb9umszbly] { display:flex; align-items:center; gap:14px; padding:14px 22px; border-bottom:1px solid #272b3a; background:#161922; flex-shrink:0; }
.oe-icon-btn[b-pb9umszbly] { width:38px; height:38px; border-radius:10px; background:#1c1f2b; border:1px solid #272b3a; color:#f1f3f8; cursor:pointer; font-size:18px; }
.oe-title[b-pb9umszbly] { font-size:18px; font-weight:800; }
.oe-subtitle[b-pb9umszbly] { color:#22c67a; font-size:11.5px; margin-top:1px; }
.oe-header-ctx[b-pb9umszbly] { margin-left:auto; display:flex; align-items:center; gap:10px; }
.oe-ctx-chip[b-pb9umszbly] { display:flex; align-items:center; gap:9px; background:#1c1f2b; border:1px solid #272b3a; border-radius:11px; padding:7px 12px; }
.oe-ctx-avatar[b-pb9umszbly] { width:30px; height:30px; border-radius:8px; background:rgba(232,138,60,.13); color:#e88a3c; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; }
.oe-ctx-name[b-pb9umszbly] { font-size:13px; font-weight:700; }
.oe-date[b-pb9umszbly] { max-width:190px; }

/* Toolbar */
.oe-toolbar[b-pb9umszbly] { display:flex; align-items:center; gap:12px; padding:12px 22px; border-bottom:1px solid #272b3a; background:#0e0f14; flex-shrink:0; flex-wrap:wrap; }
.oe-supplier-select[b-pb9umszbly] { min-width:280px; }
.oe-search[b-pb9umszbly] { display:flex; align-items:center; gap:9px; background:#1c1f2b; border:1px solid #323750; border-radius:11px; padding:9px 13px; width:280px; }
.oe-search-input[b-pb9umszbly] { flex:1; background:transparent; border:none; color:#f1f3f8; font-size:13.5px; outline:none; }
.oe-clear[b-pb9umszbly] { background:transparent; border:none; color:#8b90a6; cursor:pointer; }
.oe-tabs[b-pb9umszbly] { display:flex; gap:6px; flex:1; flex-wrap:wrap; }
.oe-tab[b-pb9umszbly] { background:#1c1f2b; border:1px solid #272b3a; color:#8b90a6; border-radius:9px; padding:8px 13px; font-size:13px; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:6px; white-space:nowrap; }
.oe-tab-on[b-pb9umszbly] { background:rgba(232,138,60,.11); border-color:rgba(232,138,60,.4); color:#e88a3c; }
.oe-tab-count[b-pb9umszbly] { background:#e88a3c; color:#0d0f14; border-radius:9px; padding:0 6px; font-size:11px; font-weight:800; }

/* Split */
.oe-split[b-pb9umszbly] { flex:1; display:flex; min-height:0; }
.oe-catalogue[b-pb9umszbly] { flex:1; display:flex; flex-direction:column; min-width:0; }
.oe-colhead[b-pb9umszbly] { background:#12141c; border-bottom:1px solid #272b3a; padding:10px 0; flex-shrink:0; }
.oe-table-scroll[b-pb9umszbly] { flex:1; overflow-y:auto; }
.oe-th[b-pb9umszbly] { color:#565d76; font-size:10.5px; text-transform:uppercase; letter-spacing:.07em; font-weight:700; }
.oe-right[b-pb9umszbly] { text-align:right; } .oe-center[b-pb9umszbly] { text-align:center; }

.oe-row[b-pb9umszbly] { display:grid; grid-template-columns:1fr 160px 110px 90px 132px 96px; align-items:center; gap:12px; border-bottom:1px solid #272b3a; position:relative; padding:11px 14px; }
/* Sans la colonne « Stock projeté » (110px retirée) */
.oe-no-stock .oe-row[b-pb9umszbly] { grid-template-columns:1fr 160px 90px 132px 96px; }
.oe-row-head[b-pb9umszbly] { border-bottom:none; padding:0 14px; }
.oe-row-on[b-pb9umszbly] { background:#1c1f2b; }
.oe-accent[b-pb9umszbly] { position:absolute; left:0; top:0; bottom:0; width:3px; background:transparent; }
.oe-accent-on[b-pb9umszbly] { background:#e88a3c; }
.oe-name[b-pb9umszbly] { font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.oe-select[b-pb9umszbly] { width:100%; background:#222633; border:1px solid #323750; border-radius:8px; padding:8px 10px; color:#8b90a6; font-size:12.5px; cursor:pointer; color-scheme:dark; }
.oe-c-price[b-pb9umszbly] { color:#e88a3c; font-size:13.5px; font-weight:700; text-align:right; font-variant-numeric:tabular-nums; }
.oe-c-qty[b-pb9umszbly] { display:flex; justify-content:center; }
.oe-c-total[b-pb9umszbly] { font-size:14px; font-weight:800; text-align:right; font-variant-numeric:tabular-nums; }

.oe-pill[b-pb9umszbly] { display:inline-flex; align-items:center; gap:6px; border-radius:8px; padding:5px 10px; font-size:12px; font-weight:700; white-space:nowrap; }
.oe-pill-dot[b-pb9umszbly] { width:6px; height:6px; border-radius:50%; background:currentColor; }
.oe-green[b-pb9umszbly] { background:rgba(34,198,122,.09); color:#22c67a; }
.oe-yellow[b-pb9umszbly] { background:rgba(240,180,41,.09); color:#f0b429; }
.oe-red[b-pb9umszbly] { background:rgba(239,68,68,.09); color:#ef4444; }

.oe-cat-head[b-pb9umszbly] { display:flex; align-items:center; gap:12px; padding:14px 14px 8px; position:sticky; top:0; background:#0e0f14; z-index:1; }
.oe-cat-label[b-pb9umszbly] { font-size:13px; font-weight:700; }
.oe-cat-count[b-pb9umszbly] { color:#565d76; font-size:12px; }
.oe-cat-sub[b-pb9umszbly] { margin-left:auto; color:#e88a3c; font-size:12px; font-weight:700; }
.oe-empty[b-pb9umszbly] { color:#565d76; text-align:center; padding:50px 0; font-size:14px; }

/* Récap */
.oe-summary[b-pb9umszbly] { width:360px; flex-shrink:0; background:#161922; border-left:1px solid #272b3a; display:flex; flex-direction:column; }
.oe-sum-head[b-pb9umszbly] { display:flex; align-items:flex-start; justify-content:space-between; padding:20px 20px 14px; border-bottom:1px solid #272b3a; }
.oe-sum-title[b-pb9umszbly] { font-size:17px; font-weight:800; }
.oe-sum-sub[b-pb9umszbly] { color:#8b90a6; font-size:12.5px; margin-top:3px; }
.oe-sum-clear[b-pb9umszbly] { background:transparent; border:1px solid #323750; color:#8b90a6; border-radius:8px; padding:6px 12px; font-size:12px; cursor:pointer; }
.oe-sum-list[b-pb9umszbly] { flex:1; overflow-y:auto; padding:8px 16px; }
.oe-sum-empty[b-pb9umszbly] { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; height:100%; color:#565d76; font-size:13px; gap:6px; padding:40px 20px; }
.oe-sum-empty-sub[b-pb9umszbly] { font-size:12px; }
.oe-sum-item[b-pb9umszbly] { display:flex; align-items:center; gap:9px; padding:10px 0; border-bottom:1px solid #272b3a; }
.oe-sum-item-info[b-pb9umszbly] { flex:1; min-width:0; }
.oe-sum-item-name[b-pb9umszbly] { font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.oe-sum-item-meta[b-pb9umszbly] { color:#8b90a6; font-size:11.5px; margin-top:2px; }
.oe-sum-item-total[b-pb9umszbly] { font-size:13px; font-weight:800; width:62px; text-align:right; flex-shrink:0; font-variant-numeric:tabular-nums; }
.oe-sum-del[b-pb9umszbly] { background:transparent; border:none; cursor:pointer; }
.oe-sum-foot[b-pb9umszbly] { padding:16px 20px 20px; border-top:1px solid #272b3a; background:#1c1f2b; }
.oe-sum-total[b-pb9umszbly] { display:flex; justify-content:space-between; align-items:baseline; font-size:15px; font-weight:800; margin-bottom:14px; }
.oe-sum-total-val[b-pb9umszbly] { color:#e88a3c; font-size:22px; }
.oe-validate[b-pb9umszbly] { box-shadow:0 6px 20px rgba(232,138,60,.27); }
.oe-sum-cancel[b-pb9umszbly] { width:100%; background:transparent; border:none; color:#8b90a6; padding:12px; font-size:13px; cursor:pointer; margin-top:4px; }

/* Le stepper est stylé dans son propre CSS scopé (Stepper.razor.css) :
   l'isolation CSS Blazor n'applique pas ce fichier aux éléments du composant enfant. */

/* Mobile — en-tête fidèle à la maquette (retour + titre centré + fermer) */
.oe-m-header[b-pb9umszbly] { display:flex; align-items:center; gap:8px; padding:14px 12px 8px; flex-shrink:0; }
.oe-m-title-wrap[b-pb9umszbly] { flex:1; text-align:center; min-width:0; }
.oe-m-context[b-pb9umszbly] { display:flex; gap:8px; padding:6px 14px 8px; flex-shrink:0; align-items:center; }
.oe-m-ctx-chip[b-pb9umszbly] { flex:1; min-width:0; }
/* Date mobile : champ natif compact, largeur fixe garantie (pas de min-width MudBlazor). */
.oe-m-date[b-pb9umszbly] { flex:0 0 128px; width:128px; background:#1c1f2b; border:1px solid #272b3a; border-radius:11px; padding:0 10px; height:44px; color:#f1f3f8; font-size:13px; font-family:inherit; color-scheme:dark; }
.oe-m-date[b-pb9umszbly]::-webkit-calendar-picker-indicator { filter:invert(.7); cursor:pointer; }
.oe-m-sticky[b-pb9umszbly] { padding:4px 14px 8px; flex-shrink:0; background:#0e0f14; border-bottom:1px solid #272b3a; }
.oe-m-sticky .oe-search[b-pb9umszbly] { width:auto; margin-bottom:9px; }
.oe-m-chips[b-pb9umszbly] { display:flex; gap:7px; overflow-x:auto; padding-bottom:2px; }
.oe-chip[b-pb9umszbly] { background:#1c1f2b; border:1px solid #272b3a; color:#8b90a6; border-radius:20px; padding:7px 13px; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; display:flex; align-items:center; gap:6px; flex-shrink:0; }
.oe-chip-on[b-pb9umszbly] { background:rgba(232,138,60,.11); border-color:rgba(232,138,60,.4); color:#e88a3c; }

.oe-m-list[b-pb9umszbly] { flex:1; overflow-y:auto; padding:12px 14px 0; }
.oe-m-cat-head[b-pb9umszbly] { display:flex; align-items:center; justify-content:space-between; padding:2px 2px 8px; }
.oe-m-row[b-pb9umszbly] { border:1px solid #272b3a; border-radius:14px; margin-bottom:7px; padding:12px; overflow:hidden; }
.oe-m-row-on[b-pb9umszbly] { background:#1c1f2b; border-color:rgba(232,138,60,.25); }
.oe-m-main[b-pb9umszbly] { display:flex; align-items:center; gap:10px; position:relative; }
.oe-m-info[b-pb9umszbly] { flex:1; min-width:0; cursor:pointer; }
.oe-m-meta[b-pb9umszbly] { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:3px; }
.oe-m-price[b-pb9umszbly] { color:#e88a3c; font-weight:700; font-size:13px; }
.oe-m-dot[b-pb9umszbly] { color:#565d76; font-size:12px; }
.oe-m-cond[b-pb9umszbly] { color:#8b90a6; font-size:12px; }
.oe-m-right[b-pb9umszbly] { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.oe-m-line-total[b-pb9umszbly] { font-size:13px; font-weight:800; }
.oe-m-expand[b-pb9umszbly] { margin-top:11px; padding-top:11px; border-top:1px solid #272b3a; }
.oe-m-expand-label[b-pb9umszbly] { color:#8b90a6; font-size:10px; text-transform:uppercase; letter-spacing:.07em; margin-bottom:8px; }
.oe-m-cond-row[b-pb9umszbly] { display:flex; gap:7px; flex-wrap:wrap; }
.oe-m-cond-chip[b-pb9umszbly] { background:transparent; border:1px solid #323750; color:#8b90a6; border-radius:8px; padding:7px 12px; font-size:12px; font-weight:600; cursor:pointer; }
.oe-m-cond-on[b-pb9umszbly] { background:rgba(232,138,60,.11); color:#e88a3c; border-color:rgba(232,138,60,.33); }

.oe-m-bottombar[b-pb9umszbly] { position:absolute; left:0; right:0; bottom:0; padding:10px 14px 20px; background:linear-gradient(to top,#0e0f14 60%,transparent); z-index:30; }
.oe-m-cart[b-pb9umszbly] { width:100%; display:flex; align-items:center; justify-content:space-between; background:#e88a3c; border:none; border-radius:15px; padding:11px 16px; cursor:pointer; box-shadow:0 8px 28px rgba(232,138,60,.33); }
.oe-m-cart:disabled[b-pb9umszbly] { opacity:.5; cursor:not-allowed; }
.oe-m-cart-left[b-pb9umszbly] { display:flex; align-items:center; gap:12px; }
.oe-m-cart-ico[b-pb9umszbly] { position:relative; width:38px; height:38px; border-radius:11px; background:rgba(0,0,0,.14); display:flex; align-items:center; justify-content:center; }
.oe-m-cart-badge[b-pb9umszbly] { position:absolute; top:-5px; right:-5px; background:#0d0f14; color:#e88a3c; border-radius:10px; min-width:19px; height:19px; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; padding:0 5px; }
.oe-m-cart-products[b-pb9umszbly] { color:#0d0f14; font-size:11px; font-weight:700; opacity:.7; }
.oe-m-cart-total[b-pb9umszbly] { color:#0d0f14; font-size:17px; font-weight:800; }
.oe-m-cart-go[b-pb9umszbly] { color:#0d0f14; font-size:13px; font-weight:800; }

.oe-m-overlay[b-pb9umszbly] { position:absolute; inset:0; background:rgba(0,0,0,.55); z-index:40; display:flex; align-items:flex-end; }
.oe-m-sheet[b-pb9umszbly] { width:100%; max-height:82%; background:#161922; border-radius:22px 22px 0 0; display:flex; flex-direction:column; border-top:1px solid #323750; padding-bottom:24px; }
.oe-m-grab[b-pb9umszbly] { width:38px; height:4px; border-radius:2px; background:#323750; margin:10px auto 4px; }
.oe-m-sheet-head[b-pb9umszbly] { padding:6px 20px 12px; border-bottom:1px solid #272b3a; }
.oe-m-sheet-list[b-pb9umszbly] { flex:1; overflow-y:auto; padding:10px 16px; }
.oe-m-sheet-foot[b-pb9umszbly] { padding:14px 20px 0; border-top:1px solid #272b3a; }

@media (max-width:960px) {
  .oe-toolbar .oe-tabs[b-pb9umszbly] { overflow-x:auto; flex-wrap:nowrap; }
  .oe-header-ctx .oe-date[b-pb9umszbly] { max-width:150px; }
}
/* /Pages/Suppliers/Stepper.razor.rz.scp.css */
/* Styles du stepper — dans le CSS scopé du composant lui-même.
   (L'isolation CSS Blazor n'applique PAS le CSS du parent OrderEditor aux
   éléments rendus par ce composant enfant.) */
.oe-stepper-out[b-lo19szyvoc] { display:inline-flex; align-items:center; background:rgba(239,68,68,.09); color:#ef4444; border-radius:8px; padding:6px 12px; font-size:12px; font-weight:700; white-space:nowrap; }
.oe-stepper-ro[b-lo19szyvoc] { display:inline-flex; align-items:center; justify-content:center; min-width:34px; font-size:15px; font-weight:800; color:#f1f3f8; font-variant-numeric:tabular-nums; }
.oe-stepper-ro-empty[b-lo19szyvoc] { color:#565d76; font-weight:600; }
.oe-stepper-add[b-lo19szyvoc] { display:inline-flex; align-items:center; gap:4px; background:rgba(232,138,60,.08); border:1px solid rgba(232,138,60,.33); color:#e88a3c; border-radius:9px; padding:7px 13px; font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; }
.oe-stepper[b-lo19szyvoc] { display:inline-flex; align-items:center; background:#222633; border-radius:10px; border:1px solid #323750; padding:3px; }
.oe-stepper.oe-sm[b-lo19szyvoc] { padding:2px; }
.oe-stepper-btn[b-lo19szyvoc] { width:32px; height:32px; border-radius:7px; border:none; background:transparent; color:#f1f3f8; font-size:18px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; line-height:1; }
.oe-stepper.oe-sm .oe-stepper-btn[b-lo19szyvoc] { width:28px; height:28px; }
.oe-stepper-plus[b-lo19szyvoc] { background:#e88a3c; color:#0d0f14; }
.oe-stepper-input[b-lo19szyvoc] { width:34px; background:transparent; border:none; color:#f1f3f8; font-size:15px; font-weight:800; text-align:center; font-variant-numeric:tabular-nums; -moz-appearance:textfield; }
.oe-stepper.oe-sm .oe-stepper-input[b-lo19szyvoc] { width:28px; }
