.list-group.list-group-flush {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.list-group-flush > .list-group-item {
    background-color: var(--bg-3);
    border-color: var(--border-faint);
    border-left: 3px solid transparent;
    color: var(--text-primary);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.card .list-group-flush > .list-group-item {
    background-color: var(--bg-2);
}

.list-group-flush > .list-group-item:last-child { border-bottom: none; }

.list-group-item-action:hover,
.list-group-item-action:focus {
    background-color: var(--bg-4) !important;
}

.list-group-item.active {
    background-color: rgba(124, 92, 255, 0.1);
    border-color: var(--brand-3);
    color: #fff !important;
}

/* chevron nudge on hover, wherever a bi-chevron-right sits inside an actionable row */
.bi-chevron-right { transition: transform .2s ease, color .2s ease; }
.list-group-item-action:hover .bi-chevron-right {
    transform: translateX(2px);
    color: var(--brand-green);
}
