/* Listes déroulantes enrichies : thème commun au site et à l'administration.
   Couleurs : --sel-accent (site : --c-primary, administration : --brand). */
:root{--sel-accent:var(--c-primary,var(--brand,#16306b));--sel-line:var(--c-line,var(--line,#e2e8f0));--sel-ink:var(--c-ink,var(--ink,#0f172a));--sel-muted:var(--c-muted,var(--muted,#64748b));--sel-radius:12px}
.select2-container{width:100%!important;font-family:inherit}
.select2-container .select2-selection--single,.select2-container .select2-selection--multiple{min-height:44px;background:linear-gradient(180deg,#fff 0%,#f9fafc 100%);border:1px solid var(--sel-line);border-radius:var(--sel-radius);box-shadow:0 1px 2px rgba(15,23,42,.04),inset 0 0 0 1px rgba(255,255,255,.8);display:flex;align-items:center;position:relative;transition:border-color .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1),transform .2s;outline:none;cursor:pointer}
.select2-container .select2-selection--single:hover,.select2-container .select2-selection--multiple:hover{border-color:color-mix(in srgb,var(--sel-accent) 35%,#cbd5e1);background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.07)}
.select2-container--open .select2-selection--single,.select2-container--focus .select2-selection--single,.select2-container--open .select2-selection--multiple,.select2-container--focus .select2-selection--multiple{border-color:var(--sel-accent)!important;background:#fff;box-shadow:0 0 0 3.5px color-mix(in srgb,var(--sel-accent) 16%,transparent),0 8px 20px color-mix(in srgb,var(--sel-accent) 10%,transparent)!important}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:42px;padding:0 40px 0 14px;font-size:15px;font-weight:400;color:var(--sel-ink);display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.select2-container .select2-selection__placeholder{color:#94a3b8;font-weight:400}
.select2-container .select2-selection--single .select2-selection__arrow{position:absolute;top:0;right:0;width:40px;height:100%;display:flex;align-items:center;justify-content:center}
.select2-container .select2-selection--single .select2-selection__arrow b{display:none}
.select2-container .select2-selection--single .select2-selection__arrow::after{content:"";width:7px;height:7px;border-right:1.6px solid var(--sel-muted);border-bottom:1.6px solid var(--sel-muted);transform:rotate(45deg);margin-top:-3px;transition:transform .25s cubic-bezier(.16,1,.3,1),border-color .2s}
.select2-container--open .select2-selection--single .select2-selection__arrow::after{transform:rotate(-135deg);margin-top:4px;border-color:var(--sel-accent)}
.select2-container .select2-selection__clear{position:absolute;right:34px;top:50%;transform:translateY(-50%);color:var(--sel-muted);font-size:18px;margin:0;padding:0 4px;border:0;background:none}
.select2-dropdown{border:1px solid color-mix(in srgb,var(--sel-accent) 25%,var(--sel-line))!important;border-radius:14px!important;box-shadow:0 22px 48px -12px rgba(15,23,42,.25),0 0 0 1px rgba(0,0,0,.03);background:rgba(255,255,255,.98);backdrop-filter:blur(18px) saturate(170%);-webkit-backdrop-filter:blur(18px) saturate(170%);padding:6px;z-index:1080;overflow:hidden;animation:selIn .18s cubic-bezier(.16,1,.3,1)}
.select2-container--open .select2-dropdown--below{margin-top:6px}
.select2-container--open .select2-dropdown--above{margin-top:-6px}
@keyframes selIn{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:none}}
.select2-search--dropdown{padding:4px 4px 8px}
.select2-search--dropdown .select2-search__field{border:1px solid var(--sel-line)!important;border-radius:10px;padding:9px 12px 9px 36px!important;font:inherit;font-size:14px;color:var(--sel-ink);background:#f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 12px center;outline:none;width:100%}
.select2-search--dropdown .select2-search__field:focus{border-color:var(--sel-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--sel-accent) 15%,transparent);background-color:#fff}
.select2-results__options{max-height:260px;padding:2px;scrollbar-width:thin}
.select2-results__option{padding:9px 13px;font-size:14px;color:#334155;border-radius:9px;margin-bottom:2px;transition:background .12s,color .12s,transform .12s;cursor:pointer;line-height:1.4}
.select2-results__option--highlighted,.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background:var(--sel-accent)!important;color:#fff!important;transform:translateX(2px)}
.select2-results__option--selected,.select2-container--default .select2-results__option--selected{background:color-mix(in srgb,var(--sel-accent) 10%,#fff);color:var(--sel-accent);font-weight:500}
.select2-results__option--disabled{color:#94a3b8!important;background:transparent!important}
.select2-results__message{color:var(--sel-muted);font-size:13.5px}
.select2-container .select2-selection--multiple{padding:3px 8px;flex-wrap:wrap}
.select2-container .select2-selection--multiple .select2-selection__choice{background:color-mix(in srgb,var(--sel-accent) 8%,#fff);border:1px solid color-mix(in srgb,var(--sel-accent) 20%,#fff);border-radius:8px;padding:2px 8px 2px 22px;color:var(--sel-ink);font-size:13px;margin:3px 4px 3px 0;position:relative}
.select2-container .select2-selection--multiple .select2-selection__choice__remove{position:absolute;left:6px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--sel-muted);padding:0}
.select2-container .select2-search--inline .select2-search__field{font:inherit;font-size:14px;margin:6px 0 0}
.select2-container.is-disabled .select2-selection,.select2-container--disabled .select2-selection{opacity:.6;cursor:not-allowed}
select.is-err+.select2-container .select2-selection{border-color:#d9534f!important;background:#fffafa}
.toolbar .select2-container,.form-actions .select2-container,td .select2-container{width:auto!important;min-width:170px}
.toolbar .select2-container .select2-selection--single,.form-actions .select2-container .select2-selection--single,td .select2-container .select2-selection--single{min-height:38px}
.toolbar .select2-selection__rendered,.form-actions .select2-selection__rendered,td .select2-selection__rendered{line-height:36px!important;font-size:13.5px!important}
