@use 'common-mixins';

.search-container {
    margin-top: 16px;
}

redaction-team-members {
    margin-top: -4px;
    display: block;
}

.members-list {
    margin-top: 16px;
    overflow-y: hidden;
    width: 587px;

    &:hover {
        overflow-y: auto;
        @include common-mixins.scroll-bar;
    }

    > div {
        margin-bottom: 2px;
        padding: 3px 5px;
        border-radius: 4px;
        position: relative;
        transition: background-color ease-in-out 0.1s;
        width: 560px;
        box-sizing: border-box;

        .make-approver {
            display: flex;
            align-items: center;
        }

        .actions {
            display: none;
            position: absolute;
            right: 13px;
            top: 0;
            height: 38px;
            align-items: center;

            mat-icon {
                width: 14px;
                height: 14px;
                margin-left: 24px;
            }
        }

        &:not(.disabled) {
            cursor: pointer;
        }

        &.selected,
        &:hover {
            background-color: var(--iqser-alt-background);

            .actions {
                display: flex;
            }
        }
    }
}
