.select2-container { display:block; min-width:0; max-width:100%; vertical-align:middle; text-align:right; font-family:inherit; }
label > .select2-container,
.form-group > .select2-container,
.lc-field > .select2-container { width:100% !important; }
.input-group > .select2-container { flex:1 1 auto; width:1% !important; min-width:0; }
.select2-container .selection { display:block; width:100%; }
.select2-container > .dropdown-wrapper { position:absolute; }
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple { box-sizing:border-box; width:100%; min-height:var(--panel-select-height,44px); border:1px solid #cbd5e1; border-radius:10px; background:#fff; }
.select2-container--default .select2-selection--single { display:flex; height:var(--panel-select-height,44px) !important; min-height:var(--panel-select-height,44px); align-items:center; padding:0 !important; border-radius:10px !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { display:block; width:100%; line-height:normal; color:#334155; padding-inline:12px 36px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top:0; height:100%; }
.select2-container--default .select2-selection--multiple .select2-selection__rendered { display:flex; min-height:calc(var(--panel-select-height,44px) - 2px); align-items:center; flex-wrap:wrap; gap:4px; padding:4px 8px; }
.select2-container--default .select2-selection--multiple .select2-search--inline { float:none; }
.select2-container--default .select2-selection--multiple .select2-search__field { height:30px; margin:0; font-family:inherit; }
.select2-dropdown { border-color: #cbd5e1; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgb(15 23 42 / 12%); }
.select2-container--default .select2-search--dropdown .select2-search__field { min-height: 36px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #334155; text-align: right; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: #4f46e5; color: #fff; }
.select2-container--default .select2-selection--multiple .select2-selection__choice { background: #eef2ff; border-color: #c7d2fe; }
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single { border-color: #6366f1; }
.call-action-row > .select2-container { flex: 1 1 220px; }
.select2-container--default.select2-container--disabled .select2-selection--single { background: #f1f5f9; }

/* Custom admin filters inherit the established Filament palette and wrappers. */
.fi-body .select2-container { font-size: .875rem; }
.fi-body .select2-container--default .select2-selection--single,
.fi-body .select2-container--default .select2-selection--multiple { border-color: rgb(209 213 219); border-radius: .5rem; }
.fi-body .fi-input-wrp .select2-selection { border: 0; background: transparent; border-radius: inherit; }
.fi-body .select2-container--default.select2-container--open .select2-selection--single { border-color: rgb(16 185 129); }
.fi-body .select2-container--default .select2-results__option--highlighted[aria-selected] { background: rgb(5 150 105); }
.dark .fi-body .select2-selection,
.dark .fi-body .select2-dropdown,
.dark .fi-body .select2-search__field { background: rgb(17 24 39); color: rgb(243 244 246); border-color: rgb(55 65 81); }
.dark .fi-body .select2-container--default .select2-selection__rendered { color: rgb(243 244 246); }
.dark .fi-body .select2-container--default .select2-selection__choice { background: rgb(31 41 55); color: rgb(243 244 246); border-color: rgb(55 65 81); }
.dark .fi-body .select2-container--default.select2-container--disabled .select2-selection { background: rgb(31 41 55); }

.fi-body .fi-input-wrp .select2-selection,
.dark .fi-body .fi-input-wrp .select2-selection { background: transparent; color: inherit; }
.fi-body .fi-input-wrp .select2-selection__rendered { color: inherit; }
