/* Shared chrome for the entity pickers' "create a new one right here" slot (PickerCreateSlot.razor).

   MudBlazor 9 renders AfterItemsTemplate as .mud-autocomplete-after-items, the last child of .mud-list
   (the popover's scroll container), so the button would scroll away with the rows. Pinning it to the bottom
   edge keeps it reachable however far down the list the user has searched.

   An autocomplete opts in by carrying these two classes:
       PopoverClass="… picker-create-popover"  ListClass="… picker-create-list" */

.picker-create-popover .picker-create-list {
    padding-bottom: 0 !important;
}

.picker-create-popover .mud-autocomplete-after-items {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: 0 !important;
    margin-top: auto;
    background-color: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-divider);
}

.picker-create-slot {
    padding: 8px;
    width: 100%;
}

.picker-create-btn {
    border-style: dashed !important;
    font-weight: 600 !important;
    text-transform: none !important;
}
