/* Select2 — match Anglocita form styling.
   Uses the app-ui.css tokens where available and falls back to literals so the
   theme also works on public pages that do not load the design system. */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single {
    height: auto; min-height: 42px;
    border: 1.5px solid var(--ui-border-strong, #e2e2e9);
    border-radius: 11px; display: flex; align-items: center; padding: 4px 8px;
    background: #fff; transition: all .2s ease;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.4; color: var(--ui-text, #1b1b25); font-size: 0.875rem; padding-left: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }
.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
    border-color: var(--ui-brand, #A84052);
    box-shadow: 0 0 0 3px rgba(168, 64, 82, 0.14);
}
.select2-dropdown {
    border: 1.5px solid var(--ui-border-strong, #e2e2e9);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(20, 20, 28, 0.12);
}
.select2-search--dropdown .select2-search__field {
    border: 1.5px solid var(--ui-border, #e8e8ef); border-radius: 8px; padding: 7px 10px; font-size: .85rem;
}
.select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: var(--ui-brand, #A84052);
    box-shadow: 0 0 0 3px rgba(168, 64, 82, 0.12);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--ui-brand, #A84052); color: #fff;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background: var(--ui-brand-100, #f7e9ec); color: var(--ui-brand-700, #742b39); font-weight: 600;
}
.select2-container--default .select2-results__option[aria-selected=true].select2-results__option--highlighted {
    background: var(--ui-brand, #A84052); color: #fff;
}
.select2-results__option { font-size: 0.875rem; padding: 8px 12px; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--ui-muted, #9ca3af); }

/* Rose accent variant for public pages (pesan) */
.select2-rose .select2-container--open .select2-selection--single,
.select2-rose .select2-container--focus .select2-selection--single { border-color:#a63d58; box-shadow:0 0 0 3px rgba(166,61,88,0.12); }
