/*
    Site-wide rule (2026-11-19): a pick list never paints the picked row with a color. The row keeps the list's own
    background and text; a check at its end marks it. Hover and keyboard focus keep each list's neutral wash.

    Covers every Syncfusion list popup on the web app (SfDropDownList, SfComboBox, the grid pager, SfDateTimePicker's
    time list, SfDateRangePicker presets) plus the custom pop menus. ChipSelect / ChipLookup lists (cs-select-combo)
    already draw their check on .cs-item (chip-select.css), so they only take the neutral row here.
    Loaded after every other sheet, beside no-underline.css and charts-neutral.css.
*/

/* ------------------------------------------------------------------ The picked row: no fill, normal text */

.e-dropdownbase .e-list-item.e-active,
.e-daterangepicker.e-popup .e-presets .e-list-item.e-active,
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active {
    background-color: transparent;
    color: inherit;
    font-weight: inherit;
}

/* Hovered or keyboard-focused picked row: the same neutral wash as any other hovered row (area sheets with their own
   hover token win on specificity). */
.e-dropdownbase .e-list-item.e-active.e-hover,
.e-dropdownbase .e-list-item.e-active.e-item-focus,
.e-daterangepicker.e-popup .e-presets .e-list-item.e-active.e-hover {
    background-color: color-mix(in srgb, currentColor 7%, transparent);
}

/* ------------------------------------------------------------------ The check (lists without their own) */

:is(.e-ddl.e-popup, .e-daterangepicker.e-popup .e-presets):not(.cs-select-combo) .e-list-item,
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item {
    position: relative;
    padding-right: 34px;
}

:is(.e-ddl.e-popup, .e-daterangepicker.e-popup .e-presets):not(.cs-select-combo) .e-list-item.e-active::after,
.e-datetimepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active::after {
    content: "\f00c";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    line-height: 1;
    color: inherit;
    pointer-events: none;
}

/* ------------------------------------------------------------------ Custom pop menus */

/* Recurring > Forecast "Group Coming up" menu (recurring-area.css). */
.rc-menu-pop-item {
    position: relative;
    padding-right: 32px;
}

.rc-menu-pop-item.rc-menu-pop-selected {
    background: transparent;
}

.rc-menu-pop-item.rc-menu-pop-selected:hover {
    background: var(--rc-row-hover);
}

.rc-menu-pop-item.rc-menu-pop-selected::after {
    content: "\f00c";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    line-height: 1;
    color: var(--rc-text);
}
