@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/WMBlazorSlickCarousel/WMBlazorSlickCarousel.bundle.scp.css';

/* /Components/Pages/Commitments/CommitmentEmissions.razor.rz.scp.css */
/* Each emission type is a group header: tinted, accented on the left, set apart from the previous group. */
.emission-type-row > td[b-m0zfezjjbt] {
    background-color: var(--primary005);
    border-top: 1px solid var(--primary02);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.emission-type-row > td:first-child[b-m0zfezjjbt] {
    box-shadow: inset 3px 0 0 rgb(var(--primary-rgb));
}

.emission-type-row.is-empty > td[b-m0zfezjjbt] {
    background-color: var(--gray-1);
}

.emission-type-row.is-empty > td:first-child[b-m0zfezjjbt] {
    box-shadow: inset 3px 0 0 var(--gray-4);
}

.emission-billing-pill[b-m0zfezjjbt] {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-4);
    color: var(--gray-7);
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #fff;
}

.emission-instance-row > td:first-child[b-m0zfezjjbt] {
    box-shadow: inset 3px 0 0 var(--primary02);
}

.emission-instance-row:hover > td[b-m0zfezjjbt],
.emission-instance-row.is-expanded > td[b-m0zfezjjbt] {
    background-color: var(--gray-1);
}

/* The detail hangs under its line: same accent, indented, framed. */
.emission-detail-row > td[b-m0zfezjjbt] {
    padding: 0 0.75rem 0.75rem 0;
    background-color: var(--gray-1);
    box-shadow: inset 3px 0 0 var(--primary02);
}

.emission-detail[b-m0zfezjjbt] {
    margin-left: 2.5rem;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid var(--gray-3);
    border-radius: 0.375rem;
}

.emission-detail-title[b-m0zfezjjbt] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gray-6);
    margin-bottom: 0.25rem;
}
/* /Components/Pages/Commitments/CommitmentInvoicing.razor.rz.scp.css */
/* The big blocks of the page, each under its own header and set apart from the previous one. */
.invoicing-section + .invoicing-section[b-pzevf0e2ah] {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-3);
}

.invoicing-section-header[b-pzevf0e2ah] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.invoicing-section-icon[b-pzevf0e2ah] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: var(--primary01);
    color: rgb(var(--primary-rgb));
    font-size: 0.9rem;
    flex-shrink: 0;
}

.invoicing-section-title[b-pzevf0e2ah] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-8);
}
/* /Components/Pages/EmissionTypes/EmissionTypeIndex.razor.rz.scp.css */
.emission-type-parent-row > td[b-tu46sufkdk] {
    background-color: var(--primary005);
    border-top: 1px solid var(--primary02);
}

.emission-type-parent-row > td:first-child[b-tu46sufkdk] {
    box-shadow: inset 3px 0 0 rgb(var(--primary-rgb));
}
/* /Components/Pages/Workflows/WorkflowEdit.razor.rz.scp.css */
.wf-stats[b-u2gg9j1rda] {
    font-size: 0.8125rem;
    white-space: nowrap;
}

/* ---- layout: list + drawer ---- */
.wf-layout[b-u2gg9j1rda] {
    display: flex;
    min-height: 60vh;
    align-items: stretch;
}

.wf-list[b-u2gg9j1rda] {
    min-width: 0;
    overflow: auto;
}

/* ---- table ---- */
.wf-table[b-u2gg9j1rda] {
    width: 100%;
    border-collapse: collapse;
}

.wf-table thead th[b-u2gg9j1rda] {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 2.75rem;
    background: var(--tblr-bg-surface);
    text-align: left;
    padding: 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tblr-secondary);
    border-bottom: 1px solid var(--tblr-border-color);
}

.wf-status-row > td[b-u2gg9j1rda] {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--tblr-border-color-light, var(--tblr-border-color));
    vertical-align: middle;
    cursor: pointer;
}

.wf-status-row:hover[b-u2gg9j1rda] {
    background: var(--tblr-bg-surface-secondary);
}

.wf-status-row.selected[b-u2gg9j1rda] {
    background: var(--tblr-primary-lt);
}

.wf-grip[b-u2gg9j1rda] {
    cursor: grab;
}

.wf-grip:active[b-u2gg9j1rda] {
    cursor: grabbing;
}

.wf-order[b-u2gg9j1rda] {
    font-family: var(--tblr-font-monospace);
    font-size: 0.75rem;
    color: var(--tblr-secondary);
    min-width: 1.25rem;
    text-align: left;
}

.wf-status-label[b-u2gg9j1rda] {
    font-weight: 500;
    color: var(--tblr-body-color);
}

.wf-code[b-u2gg9j1rda] {
    font-family: var(--tblr-font-monospace);
    font-size: 0.75rem;
    color: var(--tblr-secondary);
}

.wf-module-cell[b-u2gg9j1rda] {
    white-space: nowrap;
}

.wf-module-text[b-u2gg9j1rda] {
    font-size: 0.8125rem;
    color: var(--tblr-body-color);
}

.wf-module[b-u2gg9j1rda] {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--tblr-secondary);
    background: var(--tblr-bg-surface-secondary);
    border: 1px solid var(--tblr-border-color);
    padding: 0.05rem 0.4rem;
    border-radius: var(--tblr-border-radius);
    white-space: nowrap;
}

/* ---- dots ---- */
.wf-dot[b-u2gg9j1rda] {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-block;
}

.wf-dot.sm[b-u2gg9j1rda] {
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.35rem;
}

/* ---- count badges ---- */
.wf-badge[b-u2gg9j1rda] {
    display: inline-flex;
    min-width: 1.5rem;
    justify-content: center;
    font-family: var(--tblr-font-monospace);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    padding: 0.1rem 0.45rem;
}

.wf-badge.on[b-u2gg9j1rda] {
    color: var(--tblr-body-color);
    background: var(--tblr-bg-surface-secondary);
}

.wf-drawer-section-title[b-u2gg9j1rda] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tblr-secondary);
    margin-bottom: 0.5rem;
}

.wf-drawer-section-title[b-u2gg9j1rda] {
    margin-top: 1.1rem;
}

.wf-trans-empty[b-u2gg9j1rda] {
    font-size: 0.8125rem;
    color: var(--tblr-secondary);
    font-style: italic;
}

.wf-trans-item[b-u2gg9j1rda] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    text-align: left;
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    background: var(--tblr-bg-surface);
    cursor: pointer;
    margin-bottom: 0.35rem;
}

.wf-trans-item:hover[b-u2gg9j1rda] {
    border-color: var(--tblr-primary);
}

.wf-trans-action[b-u2gg9j1rda] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tblr-body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wf-trans-tools[b-u2gg9j1rda] {
    margin-left: auto;
    display: inline-flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.wf-trans-target[b-u2gg9j1rda] {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--tblr-body-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wf-bidi[b-u2gg9j1rda] {
    margin-left: auto;
    color: var(--tblr-secondary);
    flex-shrink: 0;
}

/* ---- drawer ---- */
.wf-drawer[b-u2gg9j1rda] {
    background: var(--tblr-bg-surface);
    border-left: 1px solid var(--tblr-border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wf-drawer-head[b-u2gg9j1rda] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(2.75rem + 1px);
    padding: 0 1rem;
    border-bottom: 1px solid var(--tblr-border-color);
}

.wf-kind[b-u2gg9j1rda] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tblr-primary);
    background: var(--tblr-primary-lt);
    padding: 0.2rem 0.55rem;
    border-radius: var(--tblr-border-radius);
}

.wf-kind.trans[b-u2gg9j1rda] {
    color: var(--tblr-purple);
    background: var(--tblr-purple-lt);
}

.wf-close[b-u2gg9j1rda],
.wf-back[b-u2gg9j1rda] {
    border: none;
    background: var(--tblr-bg-surface-secondary);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--tblr-border-radius);
    color: var(--tblr-secondary);
    cursor: pointer;
}

.wf-back:hover[b-u2gg9j1rda] {
    color: var(--tblr-body-color);
    background: var(--tblr-border-color);
}

.wf-drawer-body[b-u2gg9j1rda] {
    padding: 1rem;
    overflow: auto;
    flex: 1;
}

.wf-drawer-title[b-u2gg9j1rda] {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
}

.wf-code-chip[b-u2gg9j1rda] {
    display: inline-block;
    font-family: var(--tblr-font-monospace);
    font-size: 0.6875rem;
    color: var(--tblr-secondary);
    background: var(--tblr-bg-surface-secondary);
    padding: 0.15rem 0.45rem;
    border-radius: var(--tblr-border-radius);
    margin-top: 0.25rem;
}

.wf-drawer-actions[b-u2gg9j1rda] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.wf-drawer-create[b-u2gg9j1rda] {
    margin-top: 0.75rem;
}

.wf-edit-panel[b-u2gg9j1rda] {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--tblr-border-color);
}

.wf-bidi-note[b-u2gg9j1rda] {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--tblr-secondary);
}
/* /Components/Shared/BaseModal.razor.rz.scp.css */
[b-l6kchn6hkw] .modal-xxl {
    max-width: 1400px;
}
/* /Components/Shared/DataTable.razor.rz.scp.css */
.table-responsive[b-8p8ac07okc]  .arco-dt-filters .form-select-sm {
    height: calc(1.25rem + 0.625rem + calc(var(--tblr-border-width) * 2));
    min-height: 0;
}
/* /Components/Shared/InvoiceGroupsEditor.razor.rz.scp.css */
/* An empty group is a drop zone one row high, under its hint. */
[b-2k889cdhbs] .invoice-group-empty {
    min-height: 2.75rem;
}
/* /Components/Shared/MultiSelect.razor.rz.scp.css */
/*
 * multiselect-standalone.css
 * CSS requis pour MultiSelect.razor
 *
 * Dépendances :
 *  - Bootstrap 5 (classe form-control)
 *  - Font Awesome (uniquement si IsToggleActive est utilisé — icônes fa-solid/fa-regular fa-flag)
 *
 * IMPORTANT : le checkmark des items sélectionnés utilise un masque SVG.
 *  → Si tu n'as pas l'image, remplace le bloc  "li > a::after" par la version
 *    CSS pure fournie en commentaire juste en dessous.
 *
 * Installation : copie ce fichier dans wwwroot/css/ de ton projet cible
 * et ajoute <link rel="stylesheet" href="css/multiselect-standalone.css" />
 * dans ton _Host.cshtml / App.razor / index.html.
 */

/* ─── Avatar ──────────────────────────────────────────────────── */
.avatar-item[b-baaj9oh30c] {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 1.625rem;
  aspect-ratio: 1/1;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: var(--avatar-item-color, #595959);
  background-color: var(--avatar-item-bg, #f0f0f0);
  border: 1px solid #fff;
  border-radius: 100%;
  padding: 0.0625rem;
  font-size: 0.625rem;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
}

/* ─── Custom Tag (chip sélectionné) ───────────────────────────── */
.custom-tag[b-baaj9oh30c] {
  --custom-tag-gap: 0.25rem;
  color: #000;
  background-color: #f0f0f0;
  border-radius: 0.375rem;
  padding: 0.2rem 0.5rem;
  gap: var(--custom-tag-gap);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.custom-tag .custom-tag-avatar[b-baaj9oh30c] {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.custom-tag .custom-tag-text[b-baaj9oh30c] {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-weight: 500;
}

/* Bouton "Remove" (croix) */
.custom-tag .custom-tag-remove[b-baaj9oh30c] {
  --custom-tag-remove-size: 1.25rem;
  --custom-tag-remove-border-width: 0;
  --custom-tag-remove-border-radius: 0;
  --custom-tag-remove-z-index: 10;
  --custom-tag-remove-ico-size: 60%;
  --custom-tag-remove-ico-line-width: 0.2rem;
  --custom-tag-remove-ico-line-border-radius: 999.9rem;
  --custom-tag-remove-opacity: 1;
  --custom-tag-remove-color: #000;
  --custom-tag-remove-bg: transparent;
  --custom-tag-remove-hover-ico-size: calc(var(--custom-tag-remove-ico-size) + 10%);
  --custom-tag-remove-hover-color: var(--custom-tag-remove-color);
  --custom-tag-remove-hover-bg: var(--custom-tag-remove-bg);
  --custom-tag-remove-hover-border-color: var(--custom-tag-remove-bg);
  --custom-tag-remove-hover-opacity: 1;
  --custom-tag-remove-focus-shadow: none;
  --custom-tag-remove-focus-opacity: 1;
  position: relative;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  z-index: var(--custom-tag-remove-z-index);
  width: var(--custom-tag-remove-size);
  height: var(--custom-tag-remove-size);
  padding: 0;
  color: var(--custom-tag-remove-color);
  background: var(--custom-tag-remove-bg);
  border: var(--custom-tag-remove-border-width) solid var(--custom-tag-remove-bg);
  border-radius: var(--custom-tag-remove-border-radius);
  opacity: var(--custom-tag-remove-opacity);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}
.custom-tag .custom-tag-remove[b-baaj9oh30c]::before,
.custom-tag .custom-tag-remove[b-baaj9oh30c]::after {
  content: "";
  position: absolute;
  z-index: var(--custom-tag-remove-z-index);
  top: 50%;
  left: 50%;
  width: var(--custom-tag-remove-ico-size);
  height: var(--custom-tag-remove-ico-line-width);
  background-color: var(--custom-tag-remove-color);
  border-radius: var(--custom-tag-remove-ico-line-border-radius);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.custom-tag .custom-tag-remove[b-baaj9oh30c]::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}
.custom-tag .custom-tag-remove[b-baaj9oh30c]::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
.custom-tag .custom-tag-remove:hover[b-baaj9oh30c] {
  text-decoration: none;
  color: var(--custom-tag-remove-hover-color);
  background-color: var(--custom-tag-remove-hover-bg);
  border-color: var(--custom-tag-remove-hover-border-color);
  opacity: var(--custom-tag-remove-hover-opacity);
}
.custom-tag .custom-tag-remove:hover[b-baaj9oh30c]::before,
.custom-tag .custom-tag-remove:hover[b-baaj9oh30c]::after {
  width: var(--custom-tag-remove-hover-ico-size);
  background-color: var(--custom-tag-remove-hover-color);
}
.custom-tag .custom-tag-remove:focus[b-baaj9oh30c] {
  outline: 0;
  -webkit-box-shadow: var(--custom-tag-remove-focus-shadow);
          box-shadow: var(--custom-tag-remove-focus-shadow);
  opacity: var(--custom-tag-remove-focus-opacity);
}

/* Bouton flag (toggle) dans le tag */
.custom-tag .custom-tag-toggle[b-baaj9oh30c] {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
}
.custom-tag .custom-tag-toggle:hover[b-baaj9oh30c] {
  color: #f32727;
}
.custom-tag .custom-tag-toggle.active[b-baaj9oh30c] {
  color: #f32727;
}

/* ─── Custom Multi-Select (conteneur principal) ───────────────── */
.custom-multi-select[b-baaj9oh30c] {
  --custom-multi-select-gap: 0.25rem;
  position: relative;
  width: 100%;
}

/* Corps (tags + input) — hauteur calquée sur form-select Bootstrap 5 (~38px) */
.custom-multi-select .custom-multi-select-body[b-baaj9oh30c] {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--custom-multi-select-gap);
  padding: 0.375rem 0.5rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  -webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.custom-multi-select .custom-multi-select-body .custom-multi-select-input[b-baaj9oh30c] {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.custom-multi-select .custom-multi-select-body .custom-multi-select-input .form-control[b-baaj9oh30c] {
  display: block;
  width: 100%;
  height: auto;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: transparent;
  border: none;
  padding: 0 0.25rem;
  margin: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.custom-multi-select .custom-multi-select-body .custom-multi-select-input .form-control[b-baaj9oh30c]::placeholder {
  color: #000;
  opacity: 1;
}
.custom-multi-select .custom-multi-select-body .custom-multi-select-input .form-control:focus[b-baaj9oh30c],
.custom-multi-select .custom-multi-select-body .custom-multi-select-input .form-control:active[b-baaj9oh30c] {
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* Dropdown */
.custom-multi-select .custom-multi-select-drop[b-baaj9oh30c] {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 100%;
  margin-top: var(--custom-multi-select-gap);
  padding: 0.375rem 0.75rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  -webkit-box-shadow: 0 0.125rem 0.75rem 0 rgba(0, 0, 0, 0.08);
          box-shadow: 0 0.125rem 0.75rem 0 rgba(0, 0, 0, 0.08);
}

/* Liste des résultats */
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results[b-baaj9oh30c] {
  list-style: none;
  margin: 0;
  padding: 0;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li[b-baaj9oh30c] {
  padding-block: 0.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li:hover[b-baaj9oh30c],
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.highlighted[b-baaj9oh30c] {
  background-color: #f0f0f0;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li > a[b-baaj9oh30c] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--custom-multi-select-gap);
  text-decoration: none;
  color: #000;
  width: 100%;
  position: relative;
}

/*
 * Checkmark de sélection — version SVG masque (R-Stream original) :
 *
 *   .custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li > a::after {
 *     content: "";
 *     width: 2rem; height: 2rem;
 *     flex-shrink: 0;
 *     -webkit-mask-image: url(../images/ico-check-blue-01.svg);
 *             mask-image: url(../images/ico-check-blue-01.svg);
 *     -webkit-mask-size: 2rem 2rem;
 *             mask-size: 2rem 2rem;
 *     -webkit-mask-repeat: no-repeat;
 *             mask-repeat: no-repeat;
 *     color: #597ef7;
 *     background-color: currentColor;
 *     position: absolute;
 *     inset-block-start: 50%; inset-inline-end: 0;
 *     transform: translate(0, -50%);
 *     transition: all 0.3s ease;
 *     opacity: 0;
 *   }
 *
 * Version CSS pure (sans SVG) — décommente si tu n'as pas le fichier image :
 */
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li > a[b-baaj9oh30c]::after {
  content: "✓";
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: #597ef7;
  font-weight: 700;
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.active > a[b-baaj9oh30c]::after {
  opacity: 1;
}

.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li .custom-tag-avatar[b-baaj9oh30c] {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li .custom-multi-select-result-name[b-baaj9oh30c] {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-weight: 500;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li .custom-multi-select-result-label[b-baaj9oh30c] {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: #495057;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
}

/* Optgroup header */
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.custom-multi-select-optgroup[b-baaj9oh30c] {
  padding-block: 0.5rem 0.125rem;
  padding-inline: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: default;
  pointer-events: none;
  border-top: 1px solid #dee2e6;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.custom-multi-select-optgroup:first-child[b-baaj9oh30c] {
  border-top: none;
  padding-block-start: 0.125rem;
}

/* Indentation des items sous un optgroup */
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.custom-multi-select-optgroup-item > a[b-baaj9oh30c] {
  padding-inline-start: 0.5rem;
}

/* Bouton flag dans la liste */
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li > .custom-tag-toggle[b-baaj9oh30c] {
  margin-left: auto;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li > .custom-tag-toggle:hover[b-baaj9oh30c] {
  color: #f32727;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li > .custom-tag-toggle.active[b-baaj9oh30c] {
  color: #f32727;
}

/* État focus — bordure bleue Bootstrap + dropdown visible */
.custom-multi-select.focus .custom-multi-select-body[b-baaj9oh30c] {
  border-color: #86b7fe;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.custom-multi-select.focus .custom-multi-select-drop[b-baaj9oh30c] {
  display: block;
}

/* ─── Single select ───────────────────────────────────────────── */

/* Corps : ressemble à un <select> Bootstrap natif */
.custom-multi-select .custom-single-select-body[b-baaj9oh30c] {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  min-height: calc(1.5em + 0.75rem + 2px);
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Valeur sélectionnée */
.custom-multi-select .custom-single-select-body .custom-single-select-text[b-baaj9oh30c] {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 400;
  color: #212529;
}

/* Placeholder */
.custom-multi-select .custom-single-select-body .custom-single-select-placeholder[b-baaj9oh30c] {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 1rem;
  color: #6c757d;
}

/* Chevron */
.custom-multi-select .custom-single-select-body .custom-select-chevron[b-baaj9oh30c] {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: auto;
  color: #6c757d;
  font-size: 0.75rem;
  pointer-events: none;
}

/* Champ de recherche en haut de la dropdown */
.custom-multi-select .custom-multi-select-drop .custom-single-select-search[b-baaj9oh30c] {
  padding-bottom: 0.375rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #dee2e6;
}
.custom-multi-select .custom-multi-select-drop .custom-single-select-search .form-control[b-baaj9oh30c] {
  width: 100%;
  font-size: 0.875rem;
}

/* Focus state */
.custom-multi-select.focus .custom-single-select-body[b-baaj9oh30c] {
  border-color: #86b7fe;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ─── Input-group compatibility ─────────────────────────────── */
.input-group .custom-multi-select[b-baaj9oh30c] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.input-group .custom-multi-select:not(:last-child) .custom-multi-select-body[b-baaj9oh30c],
.input-group .custom-multi-select:not(:last-child) .custom-single-select-body[b-baaj9oh30c] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* ─── Loading & hint states (server-side search) ─────────────── */
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.custom-multi-select-loading[b-baaj9oh30c],
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.custom-multi-select-hint[b-baaj9oh30c] {
  padding: 0.75rem 0.25rem;
  color: #6c757d;
  font-size: 0.875rem;
  cursor: default;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.custom-multi-select-loading:hover[b-baaj9oh30c],
.custom-multi-select .custom-multi-select-drop .custom-multi-select-results > li.custom-multi-select-hint:hover[b-baaj9oh30c] {
  background-color: transparent;
}
/* /Components/Shared/PresenceIndicator.razor.rz.scp.css */
.presence-badges[b-5x6tvj2ogp] {
    margin-left: auto;
    margin-right: 0.5rem;
}

.presence-badge[b-5x6tvj2ogp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    margin-left: -6px;
    cursor: default;
    text-transform: uppercase;
}

.presence-badge:first-child[b-5x6tvj2ogp] {
    margin-left: 0;
}
/* /Components/Shared/Sortable/SortableList.razor.rz.scp.css */
/* 
  you need the ::deep identifier if you are using scoped styles like this
  because scoped styles are only applied to markup in the component, not
  to the markup inside the render fragment.
*/

/* The landing slot stays visible while dragging, so a dragged row reads as a move, not as nested in its neighbour. */
[b-22oqbqn8e8] .sortable-ghost {
  visibility: visible;
  opacity: 1;
  border: 1px dashed var(--primary-color) !important;
  background-color: rgba(var(--primary-rgb), 0.06) !important;
}

[b-22oqbqn8e8] .sortable-ghost > * {
  visibility: hidden;
}

[b-22oqbqn8e8] .sortable-fallback {
  opacity: 0.85 !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
/* /Components/Shared/VersionBanner.razor.rz.scp.css */
/* Blue like the Versions page's "Editing version" badge: warning is orange here, the same family as the brand. */
.version-banner[b-q6v8zb7b61] {
    background-color: rgba(var(--info-rgb), 0.1);
    border: 1px solid rgba(var(--info-rgb), 0.35);
    border-left: 4px solid rgb(var(--info-rgb));
    color: var(--tblr-body-color, #1d273b);
}

.version-banner-icon[b-q6v8zb7b61] {
    color: rgb(var(--info-rgb));
}
